Code

Fixed logging col names
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 29 May 2007 10:42:37 +0000 (10:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 29 May 2007 10:42:37 +0000 (10:42 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6506 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/addons/logview/class_gosa_logview.inc
plugins/addons/logview/gosa_log_contents.tpl

index 0e84cbcb8bf9726ba9a612f3b46cad45db20038f..92c572559246d06efbbb71ffd81835f698eaf7ce 100644 (file)
@@ -255,9 +255,9 @@ class gosa_logview extends plugin
           }
 
           $res.=" <tr style=\"$col\">\n";
-          $res.="   <td>".$line['action']."</td>";
+          $res.="   <td title='".$line['objecttype']."'>".$line['action']."</td>";
           $res.="   <td>".date("H:i:s d.m.Y",$line['timestamp'])."</td>";
-          $res.="   <td>".preg_replace("/,/",", ",$line['user'])."</td>"; 
+          $res.="   <td title='".$line['object']."'>".preg_replace("/,/",", ",$line['user'])."</td>"; 
           $res.="   <td>".$line['result']."</td>";
           $res.=" </tr>\n";
         }
index 824963789a781ff53e5a66d91fd7be0bd2185861..f2c4b34082e21e0c14d50841d9cf381c14eb2978 100644 (file)
@@ -80,8 +80,8 @@
  <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}&amp;sort=0&amp;direction={$direction}>{t}Action{/t} {$mode0}</a></td>
-   <td><a href=main.php{$plug}&amp;sort=1&amp;direction={$direction}>{t}Object{/t} {$mode1}</a></td>
    <td><a href=main.php{$plug}&amp;sort=2&amp;direction={$direction}>{t}Date{/t} {$mode2}</a></td>
+   <td><a href=main.php{$plug}&amp;sort=1&amp;direction={$direction}>{t}User{/t} {$mode1}</a></td>
    <td><a href=main.php{$plug}&amp;sort=3&amp;direction={$direction}>{t}Message{/t} {$mode3}</a></td>
   </tr>
   {$search_result}