X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fdepartments%2Fclass_departmentManagement.inc;h=2a1e2e523a85bdc5efbe9d061dff3a96d6cc2b7f;hb=68c8306203abd7ee288216ceed2c085ff3bf90ee;hp=52ff0768c352863f7e39768e8fa2583b03bd5787;hpb=b2e9fd7d69ddc3d473f1b5225e24fe95310a06b8;p=gosa.git
diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc
index 52ff0768c..2a1e2e523 100644
--- a/plugins/admin/departments/class_departmentManagement.inc
+++ b/plugins/admin/departments/class_departmentManagement.inc
@@ -182,7 +182,7 @@ class departmentManagement extends plugin
return(gen_locked_message($user, $this->dn));
} else {
add_lock ($this->dn, $this->ui->dn);
- $smarty->assign("info", sprintf(_("You're about to delete the whole LDAP subtree placed under '%s'."), $this->dn));
+ $smarty->assign("info", sprintf(_("You're about to delete the whole LDAP subtree placed under '%s'."), LDAP::fix($this->dn)));
$display.= $smarty->fetch (get_template_path('remove.tpl', TRUE));
return ($display);
}
@@ -280,7 +280,7 @@ class departmentManagement extends plugin
"
".
" ".
"
".
- _("Current base")." ".
+ _("Base")." ".
" ".
"";
@@ -288,8 +288,8 @@ class departmentManagement extends plugin
$divlist = new divlist("departmenttabs");
$divlist->SetSummary(_("This table displays all departments, in the selected tree."));
$divlist->SetEntriesPerPage(0);
- $actions= "";
- $actions.= "";
+ $actions= "";
+ $actions.= "";
$linkopen = "%s";
@@ -414,6 +414,9 @@ class departmentManagement extends plugin
}
natcasesort ($this->departments);
reset ($this->departments);
+
+ /* Unset global department list */
+ unset($_SESSION['cached_departments']);
}
function remove_from_parent()