phpldapadmin/templates/modification/inetOrgPerson.xml
2009-07-01 16:09:17 +10:00

94 lines
2.1 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE template SYSTEM "template.dtd">
<template>
<description>Address Book Entry</description>
<icon>images/user.png</icon>
<invalid>0</invalid>
<rdn>cn</rdn>
<regexp>^uid=.*,</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>
<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>
<order>3</order>
<readonly>1</readonly>
<spacer>1</spacer>
</attribute>
<attribute id="jpegPhoto">
<display>Photo</display>
<order>3</order>
<readonly>0</readonly>
<spacer>1</spacer>
</attribute>
<attribute id="o">
<display>Organisation</display>
<order>4</order>
</attribute>
<attribute id="street">
<cols>50</cols>
<display>Street</display>
<icon>images/mail.png</icon>
<order>5</order>
<rows>4</rows>
<type>textarea</type>
</attribute>
<attribute id="l">
<display>City</display>
<order>6</order>
<type>select</type>
<value id="Berlin">Berlin</value>
<value id="London">London</value>
<value id="Paris">Paris</value>
<value id="Washington">Washington</value>
<value id="Other">Other</value>
</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>