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

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

  <attribute name="jpegphoto" objectClass="inetOrgPerson" type="image" search="false">
    <option name="maxsize">100000</option>
    <option name="maxheight">150px</option>
    <label lang="de">
      Portrait (jpeg)
    </label>
    <label lang="en">
      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">
      Vorname
    </label>
    <label lang="en">
      first
    </label>
  </attribute>

  <attribute name="sn" objectClass="inetOrgPerson" type="text">
    <option name="width">150</option>
    <option name="maxlength">20</option>
    <label lang="de">
      Nachname
    </label>
    <label lang="en">
      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">
      Strasse
    </label>
    <label lang="en">
      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">
      Postleitzahl
    </label>
    <label lang="en">
      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">
      Stadt
    </label>
    <label lang="en">
      City
    </label>
  </attribute>

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

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

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

  <attribute name="mail" objectClass="officePerson" type="urilist" search="true">
    <option name="size">5</option>
    <option name="width">170</option>
    <option name="prefix">mailto:</option>
    <label lang="de">
      eMail-Adresse
    </label>
    <label lang="en">
      mail
    </label>
  </attribute>

  <attribute name="ou" objectClass="inetOrgPerson" type="dnlist" search="true">
    <option name="size">5</option>
    <option name="width">170</option>
    <option name="formular">person</option>
    <label lang="de">
      RFC2256: organizational unit this object belongs to
    </label>
    <label lang="en">
      RFC2256: organizational unit this object belongs to
    </label>
  </attribute>

</formular>
Return current item: LDAPted