summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b1c94c6)
raw | patch | inline | side by side (parent: b1c94c6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jun 2007 12:37:54 +0000 (12:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Jun 2007 12:37:54 +0000 (12:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6534 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/addons/logview/class_gosa_logview.inc | patch | blob | history | |
plugins/addons/logview/gosa_log_contents.tpl | patch | blob | history |
diff --git a/plugins/addons/logview/class_gosa_logview.inc b/plugins/addons/logview/class_gosa_logview.inc
index 41903b60e9415f4a08957aa48d3fe1fac2995354..7e0027ca68cb7bc0efa9963c680fd2dbd3c1366d 100644 (file)
@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 992aef986c259d3daa7431902a507be8bb39725b..dda4503d0a912c1cadb70cb05d7f01a4bc6d728e 100644 (file)
<table summary="" style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=2 cellspacing=1 rules="cols">
<tr style="background-color: #E8E8E8; height:26px; font-weight:bold">
<td><a href=main.php{$plug}&sort=0&direction={$direction}>{t}Action{/t} {$mode0}</a></td>
- <td><a href=main.php{$plug}&sort=2&direction={$direction}>{t}Date{/t} {$mode2}</a></td>
- <td><a href=main.php{$plug}&sort=1&direction={$direction}>{t}User{/t} {$mode1}</a></td>
+ <td><a href=main.php{$plug}&sort=1&direction={$direction}>{t}Date{/t} {$mode1}</a></td>
+ <td><a href=main.php{$plug}&sort=2&direction={$direction}>{t}User{/t} {$mode2}</a></td>
<td><a href=main.php{$plug}&sort=3&direction={$direction}>{t}Message{/t} {$mode3}</a></td>
<td><a href=main.php{$plug}&sort=4&direction={$direction}>{t}Repeated{/t} {$mode4}</a></td>
</tr>