From 185899862567ff42fbbcf87591da61e460b21189 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 23 May 2006 10:00:07 +0000 Subject: [PATCH] Fixed department display popup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3505 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/departments/class_divListDepartment.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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;'"); -- 2.30.2