From 43e572aba76756eb2dabe18543430a3a017ee7dd Mon Sep 17 00:00:00 2001 From: "Predrag \"Pele\" Balorda" Date: Sat, 28 Nov 1998 11:57:38 +0000 Subject: [PATCH] Updated some stuff on php3-tool --- contrib/php3-tool/at.conf | 2 +- contrib/php3-tool/include/ldap_entry.inc | 15 +++++---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/contrib/php3-tool/at.conf b/contrib/php3-tool/at.conf index 9d567611db..b47e498431 100644 --- a/contrib/php3-tool/at.conf +++ b/contrib/php3-tool/at.conf @@ -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 diff --git a/contrib/php3-tool/include/ldap_entry.inc b/contrib/php3-tool/include/ldap_entry.inc index d3f19d862d..eb9d387578 100644 --- a/contrib/php3-tool/include/ldap_entry.inc +++ b/contrib/php3-tool/include/ldap_entry.inc @@ -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\tdn).">Browse\n"; $s .= "\t\t\n\t\n"; } + else if ($v == "person") { + $s .= "\n\t\n"; + $s .= "\t\tdn).">Modify\n"; + $s .= "\t\t\n\t\n"; + } else { $s .= "\n\t\n\t\t \n\t\t\n\t\n"; } -- 2.39.5