From: cajus Date: Tue, 23 May 2006 10:00:07 +0000 (+0000) Subject: Fixed department display popup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=185899862567ff42fbbcf87591da61e460b21189;p=gosa.git Fixed department display popup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3505 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/departments/class_divListDepartment.inc b/plugins/admin/departments/class_divListDepartment.inc index 40ebcb899..4eaea028b 100755 --- a/plugins/admin/departments/class_divListDepartment.inc +++ b/plugins/admin/departments/class_divListDepartment.inc @@ -108,9 +108,8 @@ class divListDepartment extends MultiSelectWindow } } - $title = $this->config->departments[$key]; - $field0 = array("string" => "department", "attach" => "style='text- - align:center;width:20px;'"); + $title = preg_replace('/ /', ' ', @LDAP::fix($this->config->departments[$key])); + $field0 = array("string" => "department", "attach" => "style='text-align:center;width:20px;'"); $field1 = array("string" => sprintf($linkopen,base64_encode($key),$val), "attach" => "style='' title='".$title."'"); $field2 = array("string" => preg_replace("/%KEY%/", base64_encode($key), $actions), "attach" => "style='width:60px;border-right:0px;text-align: right;'");