From ae570ec3e8bfe3c84197ac74d01c05277768f6ed Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 22 Feb 2008 12:44:26 +0000 Subject: [PATCH] Updated environment printer selection. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9070 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/environment/class_selectPrinterDialog.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/goto/personal/environment/class_selectPrinterDialog.inc b/gosa-plugins/goto/personal/environment/class_selectPrinterDialog.inc index b1ebc4960..648a8b9d8 100644 --- a/gosa-plugins/goto/personal/environment/class_selectPrinterDialog.inc +++ b/gosa-plugins/goto/personal/environment/class_selectPrinterDialog.inc @@ -84,11 +84,13 @@ class selectPrinterDialog extends plugin $this->regex=preg_replace("/\*\*/","*",$this->regex); } + $printer_list = $this->getPrinter(); + $smarty->assign("regexPrinter" ,$this->regex); $smarty->assign("deplistPrinter" ,$this->deplist); $smarty->assign("depselectPrinter",$this->depselect); - $smarty->assign("gotoPrinters",$this->getPrinter()); - $smarty->assign("gotoPrinterKeys",array_flip($this->getPrinter())); + $smarty->assign("gotoPrinters",$printer_list); + $smarty->assign("gotoPrinterKeys",array_flip($printer_list)); $smarty->assign("apply", apply_filter()); $smarty->assign("alphabet", generate_alphabet()); $smarty->assign("subtrees", $this->subtreesearch?"checked":""); @@ -135,7 +137,7 @@ class selectPrinterDialog extends plugin $res = get_list($filter,$module,$base,$attrs, GL_SIZELIMIT | GL_SUBSEARCH); } else { $base= get_ou('printerou').$base; - $res = get_list($filter,$module,$base,$attrs, GL_SIZELIMIT); + $res = get_list($filter,$module,$base,$attrs, GL_SIZELIMIT ); } foreach($res as $printer) { -- 2.30.2