From f9148b1b94288ce758406dbd77ae3f76a2ebcc4b Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 6 Mar 2008 13:41:25 +0000 Subject: [PATCH] Added list footer git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9387 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_MultiSelectWindow.inc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gosa-core/include/class_MultiSelectWindow.inc b/gosa-core/include/class_MultiSelectWindow.inc index 226e1344e..fee26be03 100644 --- a/gosa-core/include/class_MultiSelectWindow.inc +++ b/gosa-core/include/class_MultiSelectWindow.inc @@ -59,6 +59,7 @@ class MultiSelectWindow{ var $module= ""; var $IgnoreAccount = TRUE; + var $footer = ""; function ClearElementsList() { @@ -311,6 +312,12 @@ class MultiSelectWindow{ return($this->is_closed); } + + function SetListFooter($str){ + $this->footer = $str; + } + + /* Enable the close button */ function EnableCloseButton($bool) { @@ -442,8 +449,7 @@ class MultiSelectWindow{ /* Check for exeeded sizelimit */ $smarty->assign("hint" , print_sizelimit_warning()); - $smarty->assign("DivList" , $divlist->DrawList()); - + $smarty->assign("DivList" , $divlist->DrawList().$this->footer); if($this->is_headpage){ $smarty->assign("tree_image", get_template_path('images/tree.png')); -- 2.30.2