diff --git a/gosa-core/include/class_MultiSelectWindow.inc b/gosa-core/include/class_MultiSelectWindow.inc
index 123b88fe002a685979a556978f38ca4f604ad3b6..a98004cedfd15a298497412d85422d838906a140 100644 (file)
{
if(!empty($this->string_ListDropDown)){
$mid = new LayersMenu(6, 7, 2, 1);
- $mid->setImgwww("./images/");
- $mid->setIcondir("./images/");
+ $mid->setImgwww("./images/layer_menu/");
+ $mid->setIcondir("./images/layer_menu/");
$mid->setDirroot("../include/utils/layer-menu/");
$mid->setHorizontalMenuTpl("../ihtml/".get_template_path("",FALSE).'GOsa_MultiSelectHeader.ihtml');
$mid->setSubMenuTpl("../ihtml/".get_template_path("",FALSE).'GOsa_MultiSelectHeaderSubEntry.ihtml');
$divlist->SetEntriesPerPage(0); // 0 for scrollable list
/* Display list footer with summary of all listed entries */
- if(isset($this->config->data['MAIN']['LIST_SUMMARY']) && preg_match("/true/i",$this->config->data['MAIN']['LIST_SUMMARY'])){
+ if ($this->config->get_cfg_value("listSummary") == "true"){
$divlist->SetFooter($this->get_List_Bottom_Info());
}
/* Ensure that we do not handle posts for other dialogs
*/
if((isset($_POST['POST_ID']) && $_POST['POST_ID'] != $this->post_id) ||
- (isset($_GET['POST_ID']) && $_GET['POST_ID'] != $this->post_id)){
+ (isset($_GET['post_id']) && $_GET['post_id'] != $this->post_id)){
return;
}
if(isset($_GET['act'])&& ($_GET['act'] == "dep_open")){
$s_entry = $_GET['dep_id'];
if (!isset($this->departments[$s_entry])){
+
msg_dialog::display(_("LDAP error"), sprintf(_("Inconsistent DN encoding detected: '%s'"), LDAP::fix($s_entry)), ERROR_DIALOG);
} else {
$this->selectedBase = $this->departments[$s_entry]['dn'];
}
}
}
+
+ /* Save currenlty selected base in session */
+ session::set("CurrentMainBase",$this->selectedBase);
}