<?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">
<order>12</order>
</attribute>
</attributes>
+
</template>