phpldapadmin: Add phpldapadmin configuration.
[matthijs/servers/drsnuggles.git] / etc / phpldapadmin / templates / modification / inetOrgPerson.xml
diff --git a/etc/phpldapadmin/templates/modification/inetOrgPerson.xml b/etc/phpldapadmin/templates/modification/inetOrgPerson.xml
new file mode 100644 (file)
index 0000000..385b472
--- /dev/null
@@ -0,0 +1,82 @@
+<?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>
+
+<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>
+       <order>1</order>
+</attribute>
+<attribute id="sn">
+       <display>Last name</display>
+       <onchange>autoFill:cn,%givenName% %sn%</onchange>
+       <order>2</order>
+</attribute>
+<attribute id="cn">
+       <display>Common Name</display>
+       <readonly>1</readonly>
+       <order>3</order>
+       <spacer>1</spacer>
+</attribute>
+<attribute id="o">
+       <display>Organisation</display>
+       <order>4</order>
+</attribute>
+<attribute id="street">
+       <display>Street</display>
+       <icon>images/mail.png</icon>
+       <type>textarea</type>
+       <cols>50</cols>
+       <rows>4</rows>
+       <order>5</order>
+</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">
+       <display>State</display>
+       <order>7</order>
+</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>
+       <order>9</order>
+</attribute>
+<attribute id="facsimileTelephoneNumber">
+       <display>Fax</display>
+       <order>10</order>
+</attribute>
+<attribute id="mobile">
+       <display>Mobile</display>
+       <order>11</order>
+</attribute>
+<attribute id="mail">
+       <display>Email</display>
+       <order>12</order>
+</attribute>
+</attributes>
+</template>