<?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>Kolab: User 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>
</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>
</attribute>
<attribute id="mail">
	<display>Email</display>
	<order>4</order>
</attribute>
<attribute id="userPassword">
	<display>Password</display>
	<icon>lock.png</icon>
	<order>5</order>
	<post>=php.PasswordEncrypt(%enc%;%userPassword%)</post>
	<spacer>1</spacer>
	<verify>1</verify>
</attribute>
<attribute id="title">
	<display>Title</display>
	<icon>ldap-ou.png</icon>
	<order>6</order>
</attribute>
<attribute id="alias">
	<display>Alias</display>
	<order>7</order>
</attribute>
<attribute id="o">
	<display>Organisation</display>
	<order>8</order>
</attribute>
<attribute id="ou">
	<display>Organisational unit</display>
	<order>9</order>
</attribute>
<attribute id="roomNumber">
	<display>Room Number</display>
	<order>10</order>
	<spacer>1</spacer>
</attribute>
<attribute id="street">
	<display>Address</display>
	<icon>mail.png</icon>
	<order>11</order>
</attribute>
<attribute id="postOfficeBox">
	<display>Post box</display>
	<order>12</order>
</attribute>
<attribute id="l">
	<display>City</display>
	<order>13</order>
</attribute>
<attribute id="st">
	<display>State</display>
	<order>14</order>
</attribute>
<attribute id="postalCode">
	<display>Postal code</display>
	<order>15</order>
</attribute>
<!-- <attribute id="c">
	<display>Country</display>
	<order>16</order>
	<spacer>1</spacer>
</attribute> -->
<attribute id="telephoneNumber">
	<display>Work phone</display>
	<icon>phone.png</icon>
	<order>17</order>
</attribute>
<attribute id="facsimileTelephoneNumber">
	<display>Fax</display>
	<order>18</order>
</attribute>
<attribute id="mobile">
	<display>Mobile</display>
	<order>19</order>
</attribute>
</attributes>

</template>
