phpldapadmin: Upgrade configuration to 1.2.0.5.
[matthijs/servers/drsnuggles.git] / etc / phpldapadmin / templates / creation / kolabPerson.xml
index 042984203585f24cdef4cfcfc8329cd2cd78b689..8be2e6b974f683a9704e0e54da370f3ed0e85cb9 100644 (file)
@@ -1,14 +1,15 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!DOCTYPE template SYSTEM "template.dtd">
+
 <template>
-<title>Kolab User Entry</title>
-<!--<regexp>^ou=People,o=.*,</regexp>-->
-<icon>images/user.png</icon>
-<description>New Address Book Entry</description>
 <askcontainer>1</askcontainer>
+<description>New Address Book Entry</description>
+<icon>address-book.png</icon>
+<invalid>0</invalid>
 <rdn>cn</rdn>
+<!--<regexp>^ou=People,o=.*,</regexp>-->
+<title>Kolab: User Entry</title>
 <visible>1</visible>
-<invalid>1</invalid>
 
 <objectClasses>
 <objectClass id="inetOrgPerson"></objectClass>
 <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">
 </attribute>
 <attribute id="userPassword">
        <display>Password</display>
-       <icon>images/lock.png</icon>
-       <type>password</type>
-       <verify>1</verify>
-       <helper>
-               <display>Encryption</display>
-               <id>enc</id>
-               <option>blowfish</option>
-               <option>clear</option>
-               <option>crypt</option>
-               <option>ext_des</option>
-               <option>md5</option>
-               <option>md5crypt</option>
-               <option>sha</option>
-               <option>smd5</option>
-               <option>ssha</option>
-               <value>md5</value>
-       </helper>
-       <post>=php.Password(%enc%,%userPassword%)</post>
+       <icon>lock.png</icon>
        <order>5</order>
+       <post>=php.PasswordEncrypt(%enc%;%userPassword%)</post>
        <spacer>1</spacer>
+       <verify>1</verify>
 </attribute>
-
 <attribute id="title">
        <display>Title</display>
-       <icon>images/ou.png</icon>
+       <icon>ldap-ou.png</icon>
        <order>6</order>
 </attribute>
 <attribute id="alias">
        <order>10</order>
        <spacer>1</spacer>
 </attribute>
-
 <attribute id="street">
        <display>Address</display>
-       <icon>images/mail.png</icon>
+       <icon>mail.png</icon>
        <order>11</order>
 </attribute>
 <attribute id="postOfficeBox">
        <display>Postal code</display>
        <order>15</order>
 </attribute>
-<attribute id="c">
+<!-- <attribute id="c">
        <display>Country</display>
        <order>16</order>
        <spacer>1</spacer>
-</attribute>
+</attribute> -->
 <attribute id="telephoneNumber">
        <display>Work phone</display>
-       <icon>images/phone.png</icon>
+       <icon>phone.png</icon>
        <order>17</order>
 </attribute>
 <attribute id="facsimileTelephoneNumber">
        <order>19</order>
 </attribute>
 </attributes>
+
 </template>