From b8364b42f32804374fdd13806a5e4801a6c2d29a Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 27 Jun 2005 11:50:00 +0000 Subject: [PATCH] Fax plugin, hrefs fixed git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@875 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/index.php | 1 + plugins/gofax/reports/class_faxreport.inc | 6 +++--- plugins/gofax/reports/contents.tpl | 12 ++++++------ 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/html/index.php b/html/index.php index c2ce1dc0f..33a89c339 100644 --- a/html/index.php +++ b/html/index.php @@ -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(); diff --git a/plugins/gofax/reports/class_faxreport.inc b/plugins/gofax/reports/class_faxreport.inc index c8f29707e..f793cf308 100644 --- a/plugins/gofax/reports/class_faxreport.inc +++ b/plugins/gofax/reports/class_faxreport.inc @@ -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++){ diff --git a/plugins/gofax/reports/contents.tpl b/plugins/gofax/reports/contents.tpl index e8ed99734..d2129f8cc 100644 --- a/plugins/gofax/reports/contents.tpl +++ b/plugins/gofax/reports/contents.tpl @@ -27,12 +27,12 @@ {if $search_result ne ""} - - - - - - + + + + + + {$search_result}
{t}User{/t} {$mode0}{t}Date{/t} {$mode1}{t}Status{/t} {$mode2}{t}Sender{/t} {$mode3}{t}Receiver{/t} {$mode4}{t}# pages{/t} {$mode5}{t}User{/t} {$mode0}{t}Date{/t} {$mode1}{t}Status{/t} {$mode2}{t}Sender{/t} {$mode3}{t}Receiver{/t} {$mode4}{t}# pages{/t} {$mode5}
-- 2.30.2