phpldapadmin: Upgrade configuration to 1.2.0.5.
[matthijs/servers/drsnuggles.git] / etc / phpldapadmin / templates / modification / inetOrgPerson.xml
index 385b47266c76b6d5b27f12c0fb8e62a6306df982..7d53ccdb458ed9a2d246c5bff6f579d736400916 100644 (file)
@@ -1,32 +1,40 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!DOCTYPE template SYSTEM "template.dtd">
+
 <template>
-<title>Address Book Entry</title>
-<regexp>^uid=.*,</regexp>
-<icon>images/user.png</icon>
-<visible>0</visible>
-<rdn>uid</rdn>
+<description>Address Book Entry</description>
+<icon>address-book.png</icon>
+<invalid>0</invalid>
+<rdn>cn</rdn>
+<noleaf>1</noleaf>
+<!--<regexp>^ou=People,o=.*,</regexp>-->
+<title>Generic: Address Book Entry</title>
+<visible>1</visible>
 
 <objectClasses>
 <objectClass id="inetOrgPerson"></objectClass>
-<objectClass id="top"></objectClass>
 </objectClasses>
 
 <attributes>
 <attribute id="givenName">
        <display>First name</display>
-       <icon>images/uid.png</icon>
-       <onchange>autoFill:cn,%givenName% %sn%</onchange>
+       <icon>ldap-uid.png</icon>
+       <onchange>=autoFill(cn;%givenName% %sn%)</onchange>
        <order>1</order>
 </attribute>
 <attribute id="sn">
        <display>Last name</display>
-       <onchange>autoFill:cn,%givenName% %sn%</onchange>
+       <onchange>=autoFill(cn;%givenName% %sn%)</onchange>
        <order>2</order>
 </attribute>
 <attribute id="cn">
        <display>Common Name</display>
+       <order>3</order>
        <readonly>1</readonly>
+       <spacer>1</spacer>
+</attribute>
+<attribute id="jpegPhoto">
+       <display>Photo</display>
        <order>3</order>
        <spacer>1</spacer>
 </attribute>
        <order>4</order>
 </attribute>
 <attribute id="street">
-       <display>Street</display>
-       <icon>images/mail.png</icon>
-       <type>textarea</type>
        <cols>50</cols>
-       <rows>4</rows>
+       <display>Street</display>
+       <icon>mail.png</icon>
        <order>5</order>
+       <rows>4</rows>
+       <type>textarea</type>
 </attribute>
 <attribute id="l">
        <display>City</display>
-       <option>Berlin</option>
-       <option>London</option>
-       <option>Paris</option>
-       <option>Washington</option>
-       <option>Other</option>
        <order>6</order>
 </attribute>
 <attribute id="st">
 </attribute>
 <attribute id="postalCode">
        <display>Postal code</display>
-       <maxlength>5</maxlength>
        <order>8</order>
        <spacer>1</spacer>
 </attribute>
 <attribute id="telephoneNumber">
        <display>Work phone</display>
-       <icon>images/phone.png</icon>
+       <icon>phone.png</icon>
        <order>9</order>
 </attribute>
 <attribute id="facsimileTelephoneNumber">
@@ -79,4 +81,5 @@
        <order>12</order>
 </attribute>
 </attributes>
+
 </template>