Code

logview links fixed ... search ends in 404 ...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Jun 2005 11:53:46 +0000 (11:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Jun 2005 11:53:46 +0000 (11:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@876 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/addons/logview/class_logview.inc
plugins/addons/logview/contents.tpl

index c378c411409c131be8dc8a840e97d0887771d9c0..59c5884800b36c22099be079f2b471dd8fea4048 100644 (file)
@@ -232,7 +232,7 @@ class logview extends plugin
 
        /* Show main page */
        $smarty->assign("search_result", $res);
-       $smarty->assign("plug", validate($_GET['plug']));
+       $smarty->assign("plug", "?plug=".validate($_GET['plug']));
        $smarty->assign("search_image", get_template_path('images/search.png'));
        $smarty->assign("time_image", get_template_path('images/time.png'));
        $smarty->assign("server_image", get_template_path('images/server.png'));
index 471f14de55d70f7b8334718cc94ef946ddc9e5cd..d1ae26ccfceeddd59e97f226661d8f33340f01b4 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={$plug}&amp;sort=0>{t}Level{/t} {$mode0}</a></td>
-   <td><a href=main.php?plug={$plug}&amp;sort=1>{t}Hostname{/t} {$mode1}</a></td>
-   <td width=15%><a href=main.php?plug={$plug}&amp;sort=2>{t}Date{/t} {$mode2}</a></td>
-   <td><a href=main.php?plug={$plug}&amp;sort=3>{t}Message{/t} {$mode3}</a></td>
+   <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>
   </tr>
   {$search_result}
  </table>