summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 59ea42a)
raw | patch | inline | side by side (parent: 59ea42a)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Apr 2008 14:02:53 +0000 (14:02 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Apr 2008 14:02:53 +0000 (14:02 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10367 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc b/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc
index 38ebc8dff11ce02af9ddce448988a9b66e7820cf..378d5beecf8b3000707e0180fddf911f9bd34744 100644 (file)
$ldap = $this->config->get_ldap_link();
$ldap->cd ($this->config->current['BASE']);
$ldap->search("(&(objectClass=gosaGroupOfNames)(cn=*))",array("cn"));
- $this->ObjectGroups['none']=_("none");
+ $tmp= array();
while($attrs = $ldap->fetch()){
- $this->ObjectGroups[$attrs['dn']]= $attrs['cn'][0];
+ $tmp[$attrs['dn']]= $attrs['cn'][0];
}
- asort($this->ObjectGroups);
+ asort($tmp, SORT_LOCALE_STRING);
+ $tmpa['none']=_("none");
+ $this->ObjectGroups= array_merge($tmpa, $tmp);
$this->SystemTypes =array("workstation"=>_("Workstation"), "terminal"=>_("Terminal"), "server"=>_("Server"));
}