From 1624bf7d560af5789416af904e45975618adef8c Mon Sep 17 00:00:00 2001 From: "godzilla80@gmx.net" <> Date: Sun, 22 Mar 2009 06:40:19 +0000 Subject: TBrowserLogRoute: add table-layout:auto and explicit set column with to avoid bad render behavior in table-layout:fixed environment, explicit set text color to increase readability --- framework/Util/TLogRouter.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'framework/Util/TLogRouter.php') diff --git a/framework/Util/TLogRouter.php b/framework/Util/TLogRouter.php index 70c701ee..be6d620a 100644 --- a/framework/Util/TLogRouter.php +++ b/framework/Util/TLogRouter.php @@ -632,14 +632,14 @@ class TBrowserLogRoute extends TLogRoute protected function renderHeader() { $string = << + - - - - + + + EOD; return $string; @@ -654,7 +654,7 @@ EOD; $msg = preg_replace('/\(line[^\)]+\)$/','',$log[0]); //remove line number info $msg = THttpUtility::htmlEncode($msg); $string = << + @@ -682,11 +682,11 @@ EOD; protected function renderFooter() { - $string = "
+ Application Log
 CategoryMessageTime Spent (s)Cumulated Time Spent (s)
 CategoryMessageTime Spent (s)Cumulated Time Spent (s)
  {$log[2]} {$msg}
"; + $string = "
"; foreach(self::$_levelValues as $name => $level) { - $string .= "getColorLevel($level); - $string .= ";margin: 0.5em;\">".strtoupper($name).""; + $string .= "getColorLevel($level); + $string .= ";margin: 0.5em; padding:0.01em;\">".strtoupper($name).""; } $string .= "
"; return $string; -- cgit v1.2.3