Code

Fax plugin, hrefs fixed
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Jun 2005 11:50:00 +0000 (11:50 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Jun 2005 11:50:00 +0000 (11:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@875 594d385d-05f5-0310-b6e9-bd551577e9d8

html/index.php
plugins/gofax/reports/class_faxreport.inc
plugins/gofax/reports/contents.tpl

index c2ce1dc0f85f9620b6e08e83a94b529f5ceaa458..33a89c3391250244ac0f66d2d99cf371582d5530 100644 (file)
@@ -154,6 +154,7 @@ if ($_SERVER["REQUEST_METHOD"] == "POST"){
     $checkarr = array();
     foreach($str as $tr){
       if(isset($tr['needonstartup'])){
+//        print_red($tr['msg']);
         print_red(_("Your Schema files are not at actual version, please move your gosa.conf and  run Setup again, to check this."));
         print $_SESSION['errors'];
         exit();
index c8f29707ea32dd7d7add1f46a0497f45b00cf8bd..f793cf308a5cfb2cadcea7cb7488f5aaf79733dc 100644 (file)
@@ -131,8 +131,8 @@ class faxreport extends plugin
                $queuing_time= $line['queuing_time'];
 
                $_SESSION['fuserfilter']= $this->userfilter;
-               $smarty->assign("plug", validate($_GET['plug']));
-               $smarty->assign("detail", validate($_GET['detail']));
+           $smarty->assign("plug", validate($_GET['plug']));
+           $smarty->assign("detail", validate($_GET['detail']));
 
                $format= _("Y-M-D");
                $date= preg_replace("/Y/", substr($queuing_time,0,4), $format);
@@ -292,7 +292,7 @@ class faxreport 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 e8ed997340d2f1440d6864401e893d9047624700..d2129f8cc076003df05bc971375cdbf452219470 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 border=0 rules="cols">
   <tr style="background-color: #E8E8E8; height:26px; font-weight:bold">
-   <td><a href="main.php?plug={$plug}&amp;sort=0">{t}User{/t} {$mode0}</a></td>
-   <td><a href="main.php?plug={$plug}&amp;sort=1">{t}Date{/t} {$mode1}</a></td>
-   <td><a href="main.php?plug={$plug}&amp;sort=2">{t}Status{/t} {$mode2}</a></td>
-   <td><a href="main.php?plug={$plug}&amp;sort=3">{t}Sender{/t} {$mode3}</a></td>
-   <td><a href="main.php?plug={$plug}&amp;sort=4">{t}Receiver{/t} {$mode4}</a></td>
-   <td><a href="main.php?plug={$plug}&amp;sort=5">{t}# pages{/t} {$mode5}</a></td>
+   <td><a href="main.php{$plug}&amp;sort=0">{t}User{/t} {$mode0}</a></td>
+   <td><a href="main.php{$plug}&amp;sort=1">{t}Date{/t} {$mode1}</a></td>
+   <td><a href="main.php{$plug}&amp;sort=2">{t}Status{/t} {$mode2}</a></td>
+   <td><a href="main.php{$plug}&amp;sort=3">{t}Sender{/t} {$mode3}</a></td>
+   <td><a href="main.php{$plug}&amp;sort=4">{t}Receiver{/t} {$mode4}</a></td>
+   <td><a href="main.php{$plug}&amp;sort=5">{t}# pages{/t} {$mode5}</a></td>
   </tr>
   {$search_result}
  </table>