Skip to content
Snippets Groups Projects
Commit 43e572ab authored by Predrag "Pele" Balorda's avatar Predrag "Pele" Balorda
Browse files

Updated some stuff on php3-tool

parent 2fcab46c
No related branches found
No related tags found
No related merge requests found
......@@ -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&nbsp;\n\t\t</td>\n\t</tr>\n";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment