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
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];
$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";
}