Location: PHPKode > projects > LDAPted > ldapted/adapted/forms/demo/iphost.xml
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
<formular name="Host Managment">
  <layout>
    <option name="width">430</option>
    <option name="height">600</option>
    <option name="template"></option>
  </layout>
  <attribute name="cn" objectClass="ipHost" type="text" multivalue="" search="true"  identifier="true">
    <label lang="en">
      Host Name
    </label>
    <label lang="de">
      Rechner Name
    </label>
    <description lang="en">
      The name of the host.
    </description>
  </attribute>
  <attribute name="iphostnumber" objectClass="ipHost" type="text" search="true">
    <label lang="en">
      IP Address
    </label>
    <label lang="de">
      IP Adresse
    </label>
    <description lang="en">
      The IP Address of the Host. (for expample 192.168.0.17)
    </description>
  </attribute>
  <attribute name="l" objectClass="ipHost" type="switchlist">
    <label lang="en">
      Locality Name
    </label>
    <label lang="de">
      Standortname
    </label>
    <selection sourcetype="ldap">
      <field name="returnAttrib">localityname</field>
      <field name="filter">objectClass=locality</field>
    </selection>
  </attribute>
  <attribute name="description" objectClass="ipHost" type="description">
    <label lang="en">
      Description
    </label>
    <label lang="de">
      Beschreibung
    </label>
  </attribute>
</formular>
Return current item: LDAPted