From: hickert Date: Mon, 4 Jun 2007 12:37:54 +0000 (+0000) Subject: Fixed sorting X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=73da8348a196ea0fcaa9585561804d382ed57730;p=gosa.git Fixed sorting git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6534 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/addons/logview/class_gosa_logview.inc b/plugins/addons/logview/class_gosa_logview.inc index 41903b60e..7e0027ca6 100644 --- a/plugins/addons/logview/class_gosa_logview.inc +++ b/plugins/addons/logview/class_gosa_logview.inc @@ -239,6 +239,8 @@ class gosa_logview extends plugin @DEBUG (DEBUG_MYSQL, __LINE__, __FUNCTION__, __FILE__, $query, "Database query"); $result = @mysql_query($query); + echo $query; + if(!$result){ new log("debug","logview","",array(),@mysql_error()); } diff --git a/plugins/addons/logview/gosa_log_contents.tpl b/plugins/addons/logview/gosa_log_contents.tpl index 992aef986..dda4503d0 100644 --- a/plugins/addons/logview/gosa_log_contents.tpl +++ b/plugins/addons/logview/gosa_log_contents.tpl @@ -80,8 +80,8 @@ - - + +
{t}Action{/t} {$mode0}{t}Date{/t} {$mode2}{t}User{/t} {$mode1}{t}Date{/t} {$mode1}{t}User{/t} {$mode2} {t}Message{/t} {$mode3} {t}Repeated{/t} {$mode4}