phpldapadmin: Add phpldapadmin configuration.
[matthijs/servers/drsnuggles.git] / etc / phpldapadmin / templates / creation / inetOrgPerson.xml
diff --git a/etc/phpldapadmin/templates/creation/inetOrgPerson.xml b/etc/phpldapadmin/templates/creation/inetOrgPerson.xml
new file mode 100644 (file)
index 0000000..e82499f
--- /dev/null
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE template SYSTEM "template.dtd">
+<template>
+<title>Address Book Entry</title>
+<!--<regexp>^ou=People,o=.*,</regexp>-->
+<icon>images/user.png</icon>
+<description>New Address Book Entry</description>
+<askcontainer>1</askcontainer>
+<rdn>cn</rdn>
+<visible>1</visible>
+
+<objectClasses>
+<objectClass id="inetOrgPerson"></objectClass>
+</objectClasses>
+
+<attributes>
+<attribute id="givenName">
+       <display>First name</display>
+       <icon>images/uid.png</icon>
+       <onchange>autoFill:cn,%givenName% %sn%</onchange>
+       <order>1</order>
+       <page>1</page>
+</attribute>
+<attribute id="sn">
+       <display>Last name</display>
+       <onchange>autoFill:cn,%givenName% %sn%</onchange>
+       <order>2</order>
+       <page>1</page>
+</attribute>
+<attribute id="cn">
+       <display>Common Name</display>
+       <order>3</order>
+       <page>1</page>
+       <spacer>1</spacer>
+</attribute>
+<attribute id="o">
+       <display>Organisation</display>
+       <order>4</order>
+       <page>1</page>
+</attribute>
+<attribute id="street">
+       <display>Street</display>
+       <icon>images/mail.png</icon>
+       <type>textarea</type>
+       <cols>50</cols>
+       <rows>4</rows>
+       <order>4</order>
+       <page>1</page>
+</attribute>
+<attribute id="l">
+       <display>City</display>
+       <order>5</order>
+       <page>1</page>
+</attribute>
+<attribute id="st">
+       <display>State</display>
+       <order>6</order>
+       <page>1</page>
+</attribute>
+<attribute id="postalCode">
+       <display>Postal code</display>
+       <order>7</order>
+       <page>1</page>
+       <spacer>1</spacer>
+</attribute>
+<attribute id="telephoneNumber">
+       <display>Work phone</display>
+       <icon>images/phone.png</icon>
+       <order>8</order>
+       <page>1</page>
+</attribute>
+<attribute id="facsimileTelephoneNumber">
+       <display>Fax</display>
+       <order>9</order>
+       <page>1</page>
+</attribute>
+<attribute id="mobile">
+       <display>Mobile</display>
+       <order>9</order>
+       <page>1</page>
+</attribute>
+<attribute id="mail">
+       <display>Email</display>
+       <order>10</order>
+       <page>1</page>
+</attribute>
+</attributes>
+</template>