From: hickert Date: Wed, 25 May 2011 11:28:14 +0000 (+0000) Subject: Updated Fax Plugin X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bcb9b7a94dc55555bd9810ed26f84dc7108e17ff;p=gosa.git Updated Fax Plugin git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20894 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc b/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc index c00522e9b..e835ba5ea 100644 --- a/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc +++ b/gosa-plugins/gofax/gofax/faxreports/class_faxreport.inc @@ -208,8 +208,10 @@ class faxreport extends plugin } $format= _("Y-M-D"); $queuing_time= $line['queuing_time']; - $smarty->assign("plug", "?plug=".get_post('plug')); - $smarty->assign("detail", set_post(get_post($detail))); + + $plug = (isset($_GET['plug'])) ? '?plug='.$_GET['plug'] : ''; + $smarty->assign("plug", $plug); + $smarty->assign("detail", set_post($detail)); $date= preg_replace("/Y/", substr($queuing_time,0,4), $format); $date= preg_replace("/M/", substr($queuing_time,4,2), $date); $date= preg_replace("/D/", substr($queuing_time,6,2), $date); @@ -455,6 +457,7 @@ class viewFaxEntries extends plugin { "plProvidedAcls" => array( "detailedView" => _("Detailed view and download"), "id" => _("Fax ID"), + "uid" => _("The username"), "queuingtime" => _("Date")." / "._("Time"), "status" => _("Status"), "senderid" => _("Sender ID"),