phpldapadmin: Add phpldapadmin configuration.
[matthijs/servers/drsnuggles.git] / etc / phpldapadmin / templates / creation / kolabPerson.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE template SYSTEM "template.dtd">
3 <template>
4 <title>Kolab User Entry</title>
5 <!--<regexp>^ou=People,o=.*,</regexp>-->
6 <icon>images/user.png</icon>
7 <description>New Address Book Entry</description>
8 <askcontainer>1</askcontainer>
9 <rdn>cn</rdn>
10 <visible>1</visible>
11 <invalid>1</invalid>
12
13 <objectClasses>
14 <objectClass id="inetOrgPerson"></objectClass>
15 </objectClasses>
16
17 <attributes>
18 <attribute id="givenName">
19         <display>First name</display>
20         <icon>images/uid.png</icon>
21         <onchange>autoFill:cn,%givenName% %sn%</onchange>
22         <order>1</order>
23 </attribute>
24 <attribute id="sn">
25         <display>Last name</display>
26         <onchange>autoFill:cn,%givenName% %sn%</onchange>
27         <order>2</order>
28 </attribute>
29 <attribute id="cn">
30         <display>Common Name</display>
31         <order>3</order>
32 </attribute>
33 <attribute id="mail">
34         <display>Email</display>
35         <order>4</order>
36 </attribute>
37 <attribute id="userPassword">
38         <display>Password</display>
39         <icon>images/lock.png</icon>
40         <type>password</type>
41         <verify>1</verify>
42         <helper>
43                 <display>Encryption</display>
44                 <id>enc</id>
45                 <option>blowfish</option>
46                 <option>clear</option>
47                 <option>crypt</option>
48                 <option>ext_des</option>
49                 <option>md5</option>
50                 <option>md5crypt</option>
51                 <option>sha</option>
52                 <option>smd5</option>
53                 <option>ssha</option>
54                 <value>md5</value>
55         </helper>
56         <post>=php.Password(%enc%,%userPassword%)</post>
57         <order>5</order>
58         <spacer>1</spacer>
59 </attribute>
60
61 <attribute id="title">
62         <display>Title</display>
63         <icon>images/ou.png</icon>
64         <order>6</order>
65 </attribute>
66 <attribute id="alias">
67         <display>Alias</display>
68         <order>7</order>
69 </attribute>
70 <attribute id="o">
71         <display>Organisation</display>
72         <order>8</order>
73 </attribute>
74 <attribute id="ou">
75         <display>Organisational unit</display>
76         <order>9</order>
77 </attribute>
78 <attribute id="roomNumber">
79         <display>Room Number</display>
80         <order>10</order>
81         <spacer>1</spacer>
82 </attribute>
83
84 <attribute id="street">
85         <display>Address</display>
86         <icon>images/mail.png</icon>
87         <order>11</order>
88 </attribute>
89 <attribute id="postOfficeBox">
90         <display>Post box</display>
91         <order>12</order>
92 </attribute>
93 <attribute id="l">
94         <display>City</display>
95         <order>13</order>
96 </attribute>
97 <attribute id="st">
98         <display>State</display>
99         <order>14</order>
100 </attribute>
101 <attribute id="postalCode">
102         <display>Postal code</display>
103         <order>15</order>
104 </attribute>
105 <attribute id="c">
106         <display>Country</display>
107         <order>16</order>
108         <spacer>1</spacer>
109 </attribute>
110 <attribute id="telephoneNumber">
111         <display>Work phone</display>
112         <icon>images/phone.png</icon>
113         <order>17</order>
114 </attribute>
115 <attribute id="facsimileTelephoneNumber">
116         <display>Fax</display>
117         <order>18</order>
118 </attribute>
119 <attribute id="mobile">
120         <display>Mobile</display>
121         <order>19</order>
122 </attribute>
123 </attributes>
124 </template>