From 9b6663f87a7e679ffba691cf516191fc840cf978 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 24 Nov 2009 19:20:36 -0800 Subject: Update to Kohana r4684 which is now Kohana 2.4 and has substantial changes. --- system/views/profiler/table.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 system/views/profiler/table.php (limited to 'system/views/profiler/table.php') diff --git a/system/views/profiler/table.php b/system/views/profiler/table.php new file mode 100644 index 00000000..7cdf79dd --- /dev/null +++ b/system/views/profiler/table.php @@ -0,0 +1,24 @@ + + + + > + $column) + { + $class = empty($column['class']) ? '' : ' class="'.$column['class'].'"'; + $style = empty($column['style']) ? '' : ' style="'.$column['style'].'"'; + $value = $row['data'][$index]; + $value = (is_array($value) OR is_object($value)) ? '
'.htmlspecialchars(print_r($value, TRUE), ENT_QUOTES, Kohana::CHARSET).'
' : htmlspecialchars($value, ENT_QUOTES, Kohana::CHARSET); + echo '' . wordwrap($value, 100, '
', true) . ''; + } + ?> + + +
-- cgit v1.2.3