Code

Fixed BaseSelectBox for Mulstiselect dialogs
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 May 2006 03:26:40 +0000 (03:26 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 15 May 2006 03:26:40 +0000 (03:26 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3324 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_MultiSelectWindow.inc

index 7ba7c89c777d1ae9401d4605269172024a5a6f4a..7bea177b2cb02bf816c0d8a1d9c4f7701d3939a0 100644 (file)
@@ -195,6 +195,15 @@ class MultiSelectWindow{
                $this->bool_DisplaySaveButton = $bool;
        }
 
+  /* Add a list specific filter object to position 
+      1 on top of Information 
+      2 Between Information && Filter
+      3 Below the Filter Part */
+  function AddUserBoxToFilter($position)
+  {
+    return("");
+  }
+
        /* Draw the list with all list elements and filters */
        function Draw()
        {
@@ -205,6 +214,9 @@ class MultiSelectWindow{
                }
 
                $smarty = get_smarty();
+               $smarty->assign("UserBox1",$this->AddUserBoxToFilter(1));
+               $smarty->assign("UserBox2",$this->AddUserBoxToFilter(2));
+               $smarty->assign("UserBox3",$this->AddUserBoxToFilter(3));
 
                $divlist = new divlist($this->string_Title);
                $divlist->SetSummary($this->string_Summary);
@@ -378,6 +390,7 @@ class MultiSelectWindow{
                                        $this->selectedBase= $this->config->departments['/'];
                                }
                        }
+      $_SESSION['CurrentMainBase'] = $this->selectedBase;
                }
 
                if(isset($_POST['MultiSelectWindow'.$this->filterName])){