phpldapadmin/templates/creation/inetOrgPerson.xml

97 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE template SYSTEM "template.dtd">
<template>
<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>Generic: Address Book Entry</title>
<visible>1</visible>
<objectClasses>
<objectClass id="inetOrgPerson"></objectClass>
</objectClasses>
<attributes>
<attribute id="givenName">
<display>First name</display>
<icon>ldap-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="jpegPhoto">
<display>Photo</display>
<order>3</order>
<spacer>1</spacer>
</attribute>
<attribute id="o">
<display>Organisation</display>
<order>4</order>
<page>1</page>
</attribute>
<attribute id="street">
<cols>50</cols>
<display>Street</display>
<icon>mail.png</icon>
<order>4</order>
<page>1</page>
<rows>4</rows>
<type>textarea</type>
</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>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>