Code

Added list footer
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 6 Mar 2008 13:41:25 +0000 (13:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 6 Mar 2008 13:41:25 +0000 (13:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9387 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_MultiSelectWindow.inc

index 226e1344e545882793864dc4a136437f0f829227..fee26be039adeaa10cbc133a46a80d9559a62ef7 100644 (file)
@@ -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'));