mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Updated some stuff on php3-tool
This commit is contained in:
parent
2fcab46c60
commit
43e572aba7
2 changed files with 6 additions and 11 deletions
|
|
@ -31,7 +31,7 @@ naminglink,Naming Link,TRUE
|
|||
nobatchupdates,No Batch Updates,FALSE
|
||||
notice,Notice,TRUE
|
||||
o,Organization,TRUE
|
||||
objectclass,Object Class,FALSE
|
||||
objectclass,Object Class,TRUE
|
||||
onvacation,On Vacation,TRUE
|
||||
ou,Organizational Unit,TRUE
|
||||
owner,Owner,TRUE
|
||||
|
|
|
|||
|
|
@ -61,16 +61,6 @@ class ldap_entry {
|
|||
if ($attrib->isVisible($attrib->name) == "TRUE") {
|
||||
$s .= $attrib->formatHTMLValues();
|
||||
}
|
||||
// switch ($attrib->name) {
|
||||
// case "krbname":
|
||||
// case "objectclass":
|
||||
// case "nobatchupdates":
|
||||
// case "uid":
|
||||
// case "userpassword": break;
|
||||
// default:
|
||||
// $s .= $attrib->formatHTMLValues();
|
||||
// break;
|
||||
// }
|
||||
}
|
||||
$a = $this->attributes[0];
|
||||
$v = $a->values[1];
|
||||
|
|
@ -79,6 +69,11 @@ class ldap_entry {
|
|||
$s .= "\t\t<a href=".$FILE."?host=".urlencode($host)."&ldap_action=list&base_dn=".urlencode($this->dn).">Browse</a>\n";
|
||||
$s .= "\t\t</td>\n\t</tr>\n";
|
||||
}
|
||||
else if ($v == "person") {
|
||||
$s .= "<tr>\n\t<td colspan=2>\n";
|
||||
$s .= "\t\t<a href=".$FILE."?host=".urlencode($host)."&ldap_action=read&admin_action=modify&base_dn=".urlencode($this->dn).">Modify</a>\n";
|
||||
$s .= "\t\t</td>\n\t</tr>\n";
|
||||
}
|
||||
else {
|
||||
$s .= "<tr>\n\t<td colspan=2>\n\t\t \n\t\t</td>\n\t</tr>\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue