From: hickert Date: Mon, 15 May 2006 03:26:40 +0000 (+0000) Subject: Fixed BaseSelectBox for Mulstiselect dialogs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=156ed69e4b82e6227a8fe3456be7e5b3f010507d;p=gosa.git Fixed BaseSelectBox for Mulstiselect dialogs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3324 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_MultiSelectWindow.inc b/include/class_MultiSelectWindow.inc index 7ba7c89c7..7bea177b2 100644 --- a/include/class_MultiSelectWindow.inc +++ b/include/class_MultiSelectWindow.inc @@ -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])){