From: hickert Date: Mon, 26 Jul 2010 10:08:00 +0000 (+0000) Subject: Updated post handling for printers X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fc69c60cfbf1e87c9cd75212d3be40b4a7347c72;p=gosa.git Updated post handling for printers git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19105 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc index e3663950c..ccebb737f 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc @@ -385,7 +385,7 @@ class printgeneric extends plugin /* Assign attributes */ foreach ($this->attributes as $attr){ - $smarty->assign("$attr", $this->$attr); + $smarty->assign("$attr", set_post($this->$attr)); } $smarty->assign("base", $this->baseSelector->render()); @@ -564,7 +564,7 @@ class printgeneric extends plugin $smarty->assign("driverInfo", "".sprintf(_("Your currently selected PPD file '%s' doesn't exist."),$path.$this->gotoPrinterPPD).""); }else{ $ppdDesc = $ppdManager->loadDescription($path.$this->gotoPrinterPPD); - $smarty->assign("driverInfo", $ppdDesc['name']); + $smarty->assign("driverInfo", set_post($ppdDesc['name'])); } }else{ $smarty->assign("driverInfo", _("Not defined")); @@ -1134,7 +1134,7 @@ class printgeneric extends plugin function saveCopyDialog() { if(isset($_POST['cn'])){ - $this->cn = $_POST['cn']; + $this->cn = get_post('cn'); } }