diff --git a/plugins/admin/departments/class_divListDepartment.inc b/plugins/admin/departments/class_divListDepartment.inc
index a215b9580f83fea223aea656a3340fe4152669a8..ebbb7ac3f77a887250ce3879bcd7bdfb515362f1 100755 (executable)
/* Result page will look like a headpage */
$this->SetHeadpageMode();
- $this->SetInformation(_("This menu allows you to create, delete and edit selected departments. ".
- "Having a large size of departments, you might prefer the range selectors on top of the department list."));
+ $this->SetInformation(_("This menu allows you to create, delete and edit selected departments. Having a large number of departments, you might prefer the range selectors on top of the department list."));
/* Disable buttonsm */
$this->EnableCloseButton(false);
$this->AddCheckBox("SubSearch", _("Select to search within subtrees"), _("Ignore subtrees"), false);
/* Name ,Text ,Default , Connect with alphabet */
- $this->AddRegex ("Regex", _("Regular expression for matching group names"), "*" , true);
+ $this->AddRegex ("Regex", _("Regular expression for matching department names"), "*" , true);
}
}
}
- $title = $this->config->departments[$key];
- $field0 = array("string" => "<img src='images/".$non_empty."folder.png' title='"._("department")."' alt='department'>", "attach" => "style='text-
- align:center;width:20px;'");
+ $title = preg_replace('/ /', ' ', @LDAP::fix($this->config->departments[$key]));
+ $field0 = array("string" => "<img src='images/".$non_empty."folder.png' title='"._("department")."' alt='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;'");