Location: PHPKode > projects > LDAPted > ldapted/adapted/forms/demo/person.xml
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
<formular name="Person Managment">
	<options>
		<option name="rdn">cn</option>
	</options>
  <layout>
    <option name="width">800</option>
    <option name="height">640</option>
    <option name="template">person.tpl</option>
  </layout>

  <attribute name="cn" objectClass="top" type="text" identifier="true" search="true">
    <option name="width">200</option>
    <option name="required">1</option>
    <label lang="en_US">
      common name
    </label>
    <label lang="de_DE">
      vollstaendiger Name
    </label>
    <description lang="en_US">
      The entire Name of a person. For example 'Philipp Kamps'
    </description>
  </attribute>

  <attribute name="jpegphoto" objectClass="person" type="image" search="false">
    <option name="maxsize">100000</option>
    <option name="maxheight">150px</option>
    <label lang="de_DE">
      Portrait (jpeg)
    </label>
    <label lang="en_US">
      Portrait (jpeg)
    </label>
    <description lang="en">Be sure to upload only jpeg-files.</description>
    <description lang="de">Nur jpeg koennen uebertragen werden.</description>
  </attribute>

  <attribute name="givenname" objectClass="inetOrgPerson" type="text">
    <option name="width">150</option>
    <option name="maxlength">15</option>
    <label lang="de_DE">
      Vorname
    </label>
    <label lang="en_US">
      first
    </label>
  </attribute>

  <attribute name="sn" objectClass="inetOrgPerson" type="text">
    <option name="required">1</option>
    <option name="width">150</option>
    <option name="maxlength">20</option>
    <label lang="de_DE">
      Nachname
    </label>
    <label lang="en_US">
      last
    </label>
  </attribute>

  <attribute name="postaladdress" objectClass="inetOrgPerson" type="text">
    <option name="template_edit">nolable_edit.tpl</option>
    <option name="template_view">nolable_view.tpl</option>
    <option name="width">300</option>
    <option name="maxlength">25</option>
    <label lang="de_DE">
      Strasse
    </label>
    <label lang="en_US">
      street
    </label>
    <description lang="en">
      The street of a person
    </description>
  </attribute>

  <attribute name="postalcode" objectClass="inetOrgPerson" type="text">
    <option name="template_edit">nolable_edit.tpl</option>
    <option name="template_view">nolable_view.tpl</option>
    <option name="width">70</option>
    <option name="maxlength">15</option>
    <label lang="de_DE">
      Postleitzahl
    </label>
    <label lang="en_US">
      postal code
    </label>
  </attribute>

  <attribute name="l" objectClass="inetOrgPerson" type="text">
    <option name="template_edit">nolable_edit.tpl</option>
    <option name="template_view">nolable_view.tpl</option>
    <label lang="de_DE">
      Stadt
    </label>
    <label lang="en_US">
      City
    </label>
  </attribute>

  <attribute name="telephonenumber" objectClass="inetOrgPerson" type="text">
    <label lang="de_DE">
      geschaeftlich
    </label>
    <label lang="en_US">
      bussniss
    </label>
    <description lang="en">
      All the phone numbers of a person
    </description>
  </attribute>

  <attribute name="mobile" objectClass="inetOrgPerson" type="text">
    <label lang="de_DE">
      Handy
    </label>
    <label lang="en_US">
      mobil
    </label>
    <description lang="en_US">
      All the phone numbers of a person
    </description>
  </attribute>

  <attribute name="homephone" objectClass="inetOrgPerson" type="text">
    <label lang="de_DE">
      privat
    </label>
    <label lang="en_US">
      home
    </label>
    <description lang="en">
      All the phone numbers of a person
    </description>
  </attribute>

  <attribute name="mail" objectClass="inetOrgPerson" type="customlist" search="true">
    <option name="size">5</option>
    <option name="width">170</option>
    <label lang="de_DE">
      eMail-Adresse
    </label>
    <label lang="en_US">
      mail
    </label>
  </attribute>

</formular>
Return current item: LDAPted