Code

fixed search
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Aug 2005 05:57:25 +0000 (05:57 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 24 Aug 2005 05:57:25 +0000 (05:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1214 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofon/reports/class_fonreport.inc
plugins/gofon/reports/contents.tpl

index 737141d00d92aa263015769922acc6de55e5895e..3fe547d8df8aab91e6cd735b0010d999f0b9303b 100644 (file)
@@ -226,7 +226,7 @@ class fonreport extends plugin
        }
 
        /* Show main page */
-       $smarty->assign("plug", validate($_GET['plug']));
+       $smarty->assign("plug", "?plug=".validate($_GET['plug']));
        $smarty->assign("launchimage", get_template_path('images/launch.png'));
        $smarty->assign("search_image", get_template_path('images/search.png'));
         for($i= 0; $i<7; $i++){
index d760ba9bbe4a89471e1c064d8fe2fd156c59c091..962878b7ba17166df6b72dab4cfcad29555f9910 100644 (file)
 {if $search_result ne ""}
  <table style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;" cellpadding=2 cellspacing=1 border=0 rules="cols" summary="">
   <tr style="background-color: #E8E8E8; height:26px; font-weight:bold">
-   <td><a href="main.php?plug={$plug}&amp;sort=0">{t}Date{/t} {$mode0}</a></td>
-   <td><a href="main.php?plug={$plug}&amp;sort=1">{t}Source{/t} {$mode1}</a></td>
-   <td><a href="main.php?plug={$plug}&amp;sort=2">{t}Destination{/t} {$mode2}</a></td>
-   <td><a href="main.php?plug={$plug}&amp;sort=3">{t}Channel{/t} {$mode3}</a></td>
-   <td><a href="main.php?plug={$plug}&amp;sort=4">{t}Application{/t} {$mode4}</a></td>
-   <td><a href="main.php?plug={$plug}&amp;sort=5">{t}Status{/t} {$mode5}</a></td>
-   <td><a href="main.php?plug={$plug}&amp;sort=6">{t}Duration{/t} {$mode6}</a></td>
+   <td><a href="main.php{$plug}&amp;sort=0">{t}Date{/t} {$mode0}</a></td>
+   <td><a href="main.php{$plug}&amp;sort=1">{t}Source{/t} {$mode1}</a></td>
+   <td><a href="main.php{$plug}&amp;sort=2">{t}Destination{/t} {$mode2}</a></td>
+   <td><a href="main.php{$plug}&amp;sort=3">{t}Channel{/t} {$mode3}</a></td>
+   <td><a href="main.php{$plug}&amp;sort=4">{t}Application{/t} {$mode4}</a></td>
+   <td><a href="main.php{$plug}&amp;sort=5">{t}Status{/t} {$mode5}</a></td>
+   <td><a href="main.php{$plug}&amp;sort=6">{t}Duration{/t} {$mode6}</a></td>
   </tr>
   {$search_result}
  </table>