Code

Replaced \/ and /\ with images in sorting of syslog
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 1 Jul 2008 07:49:11 +0000 (07:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 1 Jul 2008 07:49:11 +0000 (07:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11492 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/log/addons/logview/class_logview.inc
gosa-plugins/log/addons/logview/contents.tpl

index cb2a43c9fee81954deac1c42700076325c135b04..8c74c106c41b279fba36122828ce6326a2feacd2 100644 (file)
@@ -254,10 +254,10 @@ class logview extends plugin
         /* Order setting */
         if ($this->sort_direction == "down"){
           $desc= "DESC";
-          $sort_sign = "\\/";
+          $sort_sign = "<img src='images/lists/sort-down.png' class='center' alt='\\/' border='0'>";
         } else {
           $desc= "";
-          $sort_sign="/\\";
+          $sort_sign = "<img src='images/lists/sort-up.png' class='center' alt='/\\' border='0'>";
         }
         $end= date ("YmdHis");
         $query_base= "  FROM 
index 9a03544f320f8a558dc30f1bec6f859ad48ca3c9..754adc4a7144546e8f76d8a1a79868595a55d3db 100644 (file)
 {if $search_result ne ""}
  <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>{t}Level{/t} {$mode0}</a></td>
-   <td><a href=main.php{$plug}&amp;sort=1>{t}Hostname{/t} {$mode1}</a></td>
-   <td width=15%><a href=main.php{$plug}&amp;sort=2>{t}Date{/t} {$mode2}</a></td>
-   <td><a href=main.php{$plug}&amp;sort=3>{t}Message{/t} {$mode3}</a></td>
+   <td><a href=main.php{$plug}&amp;sort=0>{t}Level{/t}&nbsp;{$mode0}</a></td>
+   <td><a href=main.php{$plug}&amp;sort=1>{t}Hostname{/t}&nbsp;{$mode1}</a></td>
+   <td width=15%><a href=main.php{$plug}&amp;sort=2>{t}Date{/t}&nbsp;{$mode2}</a></td>
+   <td><a href=main.php{$plug}&amp;sort=3>{t}Message{/t}&nbsp;{$mode3}</a></td>
   </tr>
   {$search_result}
  </table>