improved predefined attributes, small translation update
This commit is contained in:
parent
c0eecdc6b6
commit
bbc72b4e94
|
@ -53,21 +53,21 @@ class Ldap{
|
||||||
// construct arrays with known LDAP attributes
|
// construct arrays with known LDAP attributes
|
||||||
$this->ldapUserAttributes = array (
|
$this->ldapUserAttributes = array (
|
||||||
"uid" => _("User ID"),
|
"uid" => _("User ID"),
|
||||||
"uidNumber" => _("UID number"),
|
"uidnumber" => _("UID number"),
|
||||||
"gidNumber" => _("GID number"),
|
"gidnumber" => _("GID number"),
|
||||||
"cn" => _("Username"),
|
"cn" => _("Username"),
|
||||||
"host" => _("Allowed hosts"),
|
"host" => _("Allowed hosts"),
|
||||||
"givenName" => _("First name"),
|
"givenname" => _("First name"),
|
||||||
"sn" => _("Last name"),
|
"sn" => _("Last name"),
|
||||||
"homeDirectory" => _("Home directory"),
|
"homedirectory" => _("Home directory"),
|
||||||
"loginShell" => _("Login shell"),
|
"loginshell" => _("Login shell"),
|
||||||
"mail" => _("E-Mail"),
|
"mail" => _("E-Mail"),
|
||||||
"gecos" => _("Description")
|
"gecos" => _("Description")
|
||||||
);
|
);
|
||||||
$this->ldapGroupAttributes = array (
|
$this->ldapGroupAttributes = array (
|
||||||
"cn" => _("Group name"),
|
"cn" => _("Group name"),
|
||||||
"gidNumber" => _("GID number"),
|
"gidnumber" => _("GID number"),
|
||||||
"memberUID" => _("Group members"),
|
"memberuid" => _("Group members"),
|
||||||
"member" => _("Group member DNs"),
|
"member" => _("Group member DNs"),
|
||||||
"description" => _("Group description")
|
"description" => _("Group description")
|
||||||
);
|
);
|
||||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
||||||
# $Id: messages.po,v 1.9 2003/08/14 13:21:11 gruberroland Exp $
|
# $Id: messages.po,v 1.10 2003/08/14 15:28:06 gruberroland Exp $
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# LDAP Account Manager
|
# LDAP Account Manager
|
||||||
|
@ -2092,11 +2092,11 @@ msgstr "Suffix"
|
||||||
#: ../templates/account.php:439 ../templates/masscreate.php:196
|
#: ../templates/account.php:439 ../templates/masscreate.php:196
|
||||||
#: ../templates/massdetail.php:97 ../help/help.inc:171 ../lib/account.inc:184
|
#: ../templates/massdetail.php:97 ../help/help.inc:171 ../lib/account.inc:184
|
||||||
msgid "Surname"
|
msgid "Surname"
|
||||||
msgstr "Vorname"
|
msgstr "Nachname"
|
||||||
|
|
||||||
#: ../lib/account.inc:184
|
#: ../lib/account.inc:184
|
||||||
msgid "Surname contents invalid characters"
|
msgid "Surname contents invalid characters"
|
||||||
msgstr "Vorname enthält ungültige Zeichen"
|
msgstr "Nachname enthält ungültige Zeichen"
|
||||||
|
|
||||||
#: ../help/help.inc:172
|
#: ../help/help.inc:172
|
||||||
msgid ""
|
msgid ""
|
||||||
|
|
|
@ -84,7 +84,7 @@ else
|
||||||
for ($i = 0; $i < sizeof($temp_array); $i++) {
|
for ($i = 0; $i < sizeof($temp_array); $i++) {
|
||||||
// if value is predifined, look up description in hash_table
|
// if value is predifined, look up description in hash_table
|
||||||
if (substr($temp_array[$i],0,1) == "#") {
|
if (substr($temp_array[$i],0,1) == "#") {
|
||||||
$attr = substr($temp_array[$i],1);
|
$attr = strtolower(substr($temp_array[$i],1));
|
||||||
$attr_array[$i] = $attr;
|
$attr_array[$i] = $attr;
|
||||||
$desc_array[] = strtoupper($hash_table[$attr]);
|
$desc_array[] = strtoupper($hash_table[$attr]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,7 +84,7 @@ else
|
||||||
for ($i = 0; $i < sizeof($temp_array); $i++) {
|
for ($i = 0; $i < sizeof($temp_array); $i++) {
|
||||||
// if value is predifined, look up description in hash_table
|
// if value is predifined, look up description in hash_table
|
||||||
if (substr($temp_array[$i],0,1) == "#") {
|
if (substr($temp_array[$i],0,1) == "#") {
|
||||||
$attr = substr($temp_array[$i],1);
|
$attr = strtolower(substr($temp_array[$i],1));
|
||||||
$attr_array[$i] = $attr;
|
$attr_array[$i] = $attr;
|
||||||
$desc_array[] = strtoupper($hash_table[$attr]);
|
$desc_array[] = strtoupper($hash_table[$attr]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,10 +79,11 @@ if ($_SESSION["config"]->get_MaxListEntries() <= 0)
|
||||||
$max_pageentrys = $_SESSION["config"]->get_MaxListEntries();
|
$max_pageentrys = $_SESSION["config"]->get_MaxListEntries();
|
||||||
|
|
||||||
|
|
||||||
|
// generate column attributes and descriptions
|
||||||
for ($i = 0; $i < sizeof($temp_array); $i++) {
|
for ($i = 0; $i < sizeof($temp_array); $i++) {
|
||||||
// if value is predifined, look up description in hash_table
|
// if value is predifined, look up description in hash_table
|
||||||
if (substr($temp_array[$i],0,1) == "#") {
|
if (substr($temp_array[$i],0,1) == "#") {
|
||||||
$attr = substr($temp_array[$i],1);
|
$attr = strtolower(substr($temp_array[$i],1));
|
||||||
$attr_array[$i] = $attr;
|
$attr_array[$i] = $attr;
|
||||||
$desc_array[] = strtoupper($hash_table[$attr]);
|
$desc_array[] = strtoupper($hash_table[$attr]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue