1 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="4" border="0">
3 <!-- Headline container -->
4 <tr>
5 <td colspan="4">
6 <h2><img alt="" align="middle" src="plugins/generic/images/head.png" class="center"> {t}Personal information{/t}</h2>
7 </td>
8 </tr>
10 <!-- Base 1 container -->
11 <tr>
13 <!-- Image container -->
14 <!-- Image container -->
15 <td style="vertical-align:top">
16 <table>
17 <tr>
18 <td width="147" height="200" bgcolor="gray">
19 {if !$userPicture_is_readable}
20 <img class='center' border="0" width="100%" src="plugins/users/images/default.jpg" alt="{t}Personal picture{/t}">
21 {else}
22 <img class='center' border="0" width="100%" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
23 {/if}
24 </td>
25 </tr>
26 <tr>
27 <td>
28 {render acl=$userPictureACL checkbox=$multiple_support checked=$use_edit_picture}
29 <input style='vertical-align:top;' type="submit" name="edit_picture" value="{t}Change picture{/t}...">
30 {/render}
31 </td>
32 </tr>
33 </table>
34 </td>
35 <!--
36 Old image container, with incorrect image scaling.
37 <td style="vertical-align:top">
38 <img align="bottom" border="1" width="145" height="200" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
39 <br>
40 <input type="submit" name="edit_picture" value="{t}Change picture{/t}...">
41 </td>
42 -->
44 <!-- Name, ... -->
45 <td style="vertical-align:top;">
46 <table summary="">
47 {if $is_template ne "true"}
48 <tr>
49 <td><label for="sn">{t}Last name{/t}{$must}</label></td>
50 <td>
51 {if $multiple_support}
52 <input id="sn" name="dummy2" size=25 maxlength=60 value="{t}Multiple edit{/t}" disabled>
53 {else}
54 {render acl=$snACL}
55 <input id="sn" name="sn" size=25 maxlength=60 value="{$sn}">
56 {/render}
57 {/if}
58 </td>
59 </tr>
60 {else}
61 <tr>
62 <td><label for="sn">{t}Template name{/t}{$must}</label></td>
63 <td>{render acl=$snACL}<input id="sn" name="sn" size=25 maxlength=60 value="{$sn}">{/render}</td>
64 </tr>
65 {/if}
67 {if $is_template ne "true"}
68 <tr>
69 <td><label for="givenName">{t}First name{/t}{$must}</label></td>
70 <td>
72 {if $multiple_support}
73 <input id="givenName" name="dummy3" size=25 maxlength=60 value="{t}Multiple edit{/t}" disabled>
74 {else}
75 {render acl=$givenNameACL}
76 <input id="givenName" name="givenName" size=25 maxlength=60 value="{$givenName}">
77 {/render}
78 {/if}
79 </td>
80 </tr>
81 <tr>
82 <td><label for="uid">{t}Login{/t}{$must}</label></td>
83 <td>
84 {if !$multiple_support}
85 {render acl=$uidACL}
86 <input id="uid" name="uid" size=25 maxlength=60 value="{$uid}">
87 {/render}
88 {else}
89 <input id="uid" name="dummy1" size=25 maxlength=60 value="{t}Multiple edit{/t}" disabled>
90 {/if}
91 </td>
92 </tr>
93 {/if}
95 <tr>
96 <td>
97 <div style="height:10px;"></div>
98 <label for="personalTitle">{t}Personal title{/t}</label>
99 </td>
100 <td>
101 <div style="height:10px;"></div>
102 {render acl=$personalTitleACL checkbox=$multiple_support checked=$use_personalTitle}
103 <input id="personalTitle" name="personalTitle" size=25 maxlength=60 value="{$personalTitle}">
104 {/render}
105 </td>
106 </tr>
107 <tr>
108 <td><label for="academicTitle">{t}Academic title{/t}</label></td>
109 <td>
110 {render acl=$academicTitleACL checkbox=$multiple_support checked=$use_academicTitle}
111 <input id="academicTitle" name="academicTitle" size=25 maxlength=60 value="{$academicTitle}">
112 {/render}
113 </td>
114 </tr>
115 {if !$multiple_support}
116 <tr>
117 <td>
118 <div style="height:10px;"></div>
119 <label for="day">{t}Date of birth{/t}</label>
120 </td>
121 <td>
122 <div style="height:10px;"></div>
123 {render acl=$dateOfBirthACL}
124 <input type="text" id="dateOfBirth" name="dateOfBirth" class="date" style='width:100px' value="{$dateOfBirth}">
125 {if $dateOfBirthACL|regex_replace:"/[cdmr]/":"" == "w"}
126 <script type="text/javascript">
127 {literal}
128 var datepicker = new DatePicker({ relative : 'dateOfBirth', language : '{/literal}{$lang}{literal}', keepFieldEmpty : true,
129 enableCloseEffect : false, enableShowEffect : false });
130 {/literal}
131 </script>
132 {/if}
133 {/render}
134 </td>
135 </tr>
136 <tr>
137 <td>
138 <label for="gender">{t}Sex{/t}</label>
139 </td>
140 <td>
141 {render acl=$genderACL}
142 <select size="1" id="gender" name="gender">
143 {html_options options=$gender_list selected=$gender}
144 </select>
145 {/render}
146 </td>
147 </tr>
148 {/if}
149 <tr>
150 <td>
151 <label for="preferredLanguage">{t}Preferred langage{/t}</label>
152 </td>
153 <td>
154 {render acl=$preferredLanguageACL checkbox=$multiple_support checked=$use_preferredLanguage}
155 <select size="1" id="preferredLanguage" name="preferredLanguage">
156 {html_options options=$preferredLanguage_list selected=$preferredLanguage}
157 </select>
158 {/render}
159 </td>
160 </tr>
161 <tr>
162 <td>
163 <div style="height:10px;"></div>
164 <label for="base">{t}Base{/t}</label>
165 </td>
166 <td>
167 <div style="height:10px;"></div>
168 {render acl=$baseACL checkbox=$multiple_support checked=$use_base}
169 <select id="base" size="1" name="base" title="{t}Choose subtree to place user in{/t}">
170 {html_options options=$bases selected=$base_select}
171 </select>
172 {/render}
173 {render acl=$baseACL disable_picture='images/lists/folder_grey.png'}
174 <input type="image" name="chooseBase" src="images/lists/folder.png" class="center" title="{t}Select a base{/t}">
175 {/render}
176 </td>
177 </tr>
178 </table>
179 </td>
180 <td style="border-left:1px solid #A0A0A0">
181
182 </td>
183 <td style="vertical-align:top;">
185 <!-- Address, ... -->
186 <table summary="" style="width:100%">
187 <tr>
188 <td style="vertical-align:top;"><label for="homePostalAddress">{t}Address{/t}</label></td>
189 <td>
190 {render acl=$homePostalAddressACL checkbox=$multiple_support checked=$use_homePostalAddress}
191 <textarea id="homePostalAddress" name="homePostalAddress" rows="3" style="width:100%">{$homePostalAddress}</textarea>
192 {/render}
193 </td>
194 </tr>
195 <tr>
196 <td><label for="homePhone">{t}Private phone{/t}</label>
197 </td><td>
198 {render acl=$homePhoneACL checkbox=$multiple_support checked=$use_homePhone}
199 <input id="homePhone" name="homePhone" size=25 maxlength=60 value="{$homePhone}">
200 {/render}
201 </td>
202 </tr>
203 <tr>
204 <td><label for="labeledURI">{t}Homepage{/t}</label></td>
205 <td>
206 {render acl=$labeledURIACL checkbox=$multiple_support checked=$use_labeledURI}
207 <input id="labeledURI" name="labeledURI" size=25 maxlength=60 value="{$labeledURI}">
208 {/render}
209 </td>
210 </tr>
211 <tr>
212 <td colspan=2>
213 <div style="height:10px;"></div>
214 </td>
215 </tr>
216 <tr>
217 <td><label for="pw_storage">{t}Password storage{/t}</label></td>
218 <td>
219 {render acl=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage}
220 <select size="1" id="pw_storage" name="pw_storage" onchange='document.mainform.submit()'>
221 {foreach from=$pwmode key=value item=desc}
222 <option value="{$value}" {if $pwmode_select == $value}selected{/if} >{$desc}</option>
223 {/foreach}
224 </select>
225 {if $pw_configurable eq "true"}
226 <input id="edit_pw_method" type="submit" name="edit_pw_method" value="{t}Configure{/t}...">
227 {/if}
228 {/render}
229 </td>
230 </tr>
232 {if $is_template ne "true" && !$multiple_support}
233 <tr>
234 <td><label for="edit_cert">{t}Certificates{/t}</label></td>
235 <td>
236 {render acl=$CertificatesACL mode=read_active}
237 <input id="edit_cert" type="submit" name="edit_cert" value="{t}Edit certificates{/t}...">
238 {/render}
239 </td>
240 </tr>
241 {/if}
243 {if !$multiple_support}
244 <tr>
245 <td colspan=2>
246 <div style="height:10px;"></div>
247 </td>
248 </tr>
249 <tr>
250 <td style='vertical-align:top'><label for="edit_perms">{t}Restrict login to{/t}</label></td>
251 <td>
252 {render acl=$gosaLoginRestrictionACL}
253 <select size="3" multiple style='width:100%' id="restrictions" name="restrictions">
254 {html_options values=$gosaLoginRestriction output=$gosaLoginRestriction}
255 </select><br>
256 <input id="res" name="res" size=22 maxlength=33 value="{t}IP or network{/t}" onFocus='document.getElementById("res").value=""'>
257 <input id="add_res" type="submit" name="add_res" value="+">
258 <input id="del_res" type="submit" name="del_res" value="-">
259 {/render}
260 </td>
261 </tr>
262 {/if}
263 </table>
264 </td>
265 </tr>
266 </table>
268 <p class="seperator"> </p>
270 <table summary="" class="line" style="width:100%; vertical-align:top; text-align:left;" cellpadding="4" border="0">
272 <!-- Headline container -->
273 <tr>
274 <td colspan="3">
275 <h2><img alt="" align="middle" src="plugins/generic/images/house.png" class="center"> {t}Organizational information{/t}</h2>
276 </td>
277 </tr>
279 <!-- Base 2 container -->
280 <tr>
282 {if $governmentmode ne "true"}
283 <!-- Company, ... -->
284 <td style="vertical-align:top;">
285 <table summary="">
286 <tr>
287 <td><label for="o">{t}Organization{/t}</label></td>
288 <td>
289 {render acl=$oACL checkbox=$multiple_support checked=$use_o}
290 <input id="o" name="o" size=22 maxlength=60 value="{$o}">
291 {/render}
292 </td>
293 </tr>
294 <tr>
295 <td><label for="ou">{t}Department{/t}</label></td>
296 <td>
297 {render acl=$ouACL checkbox=$multiple_support checked=$use_ou}
298 <input id="ou" name="ou" size=22 maxlength=60 value="{$ou}">
299 {/render}
300 </td>
301 </tr>
302 <tr>
303 <td><label for="departmentNumber">{t}Department No.{/t}</label></td>
304 <td>
305 {render acl=$departmentNumberACL checkbox=$multiple_support checked=$use_departmentNumber}
306 <input id="departmentNumber" name="departmentNumber" size=22 maxlength=60 value="{$departmentNumber}">
307 {/render}
308 </td>
309 </tr>
310 <tr>
311 <td><label for="employeeNumber">{t}Employee No.{/t}</label></td>
312 <td>
313 {render acl=$employeeNumberACL checkbox=$multiple_support checked=$use_employeeNumber}
314 <input id="employeeNumber" name="employeeNumber" size=22 maxlength=60 value="{$employeeNumber}">
315 {/render}
316 </td>
317 </tr>
318 <tr>
319 <td><label for="employeeType">{t}Employee type{/t}</label></td>
320 <td>
321 {render acl=$employeeTypeACL checkbox=$multiple_support checked=$use_employeeType}
322 <input id="employeeType" name="employeeType" size=22 maxlength=60 value="{$employeeType}">
323 {/render}
324 </td>
325 </tr>
326 </table>
327 </td>
329 <td style="border-left:1px solid #A0A0A0">
330
331 </td>
333 <!-- Phone, ... -->
334 <td style="vertical-align:top;">
335 <table summary="">
336 <tr>
337 <td><label for="roomNumber">{t}Room No.{/t}</label></td>
338 <td>
339 {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber}
340 <input id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
341 {/render}
342 </td>
343 </tr>
344 {if $has_phoneaccount ne "true"}
345 <tr>
346 <td><label for="telephoneNumber">{t}Phone{/t}</label></td>
347 <td>
348 {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber}
349 <input id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}">
350 {/render}
351 </td>
352 </tr>
353 {/if}
354 <tr>
355 <td><label for="mobile">{t}Mobile{/t}</label></td>
356 <td>
357 {render acl=$mobileACL checkbox=$multiple_support checked=$use_mobile}
358 <input id="mobile" name="mobile" size=22 maxlength=60 value="{$mobile}">
359 {/render}
360 </td>
361 </tr>
362 <tr>
363 <td><label for="pager">{t}Pager{/t}</label></td>
364 <td>
365 {render acl=$pagerACL checkbox=$multiple_support checked=$use_pager}
366 <input id="pager" name="pager" size=22 maxlength=60 value="{$pager}">
367 {/render}
368 </td>
369 </tr>
370 <tr>
371 <td><label for="facsimileTelephoneNumber">{t}Fax{/t}</label></td>
372 <td>
373 {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber}
374 <input id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60 value="{$facsimileTelephoneNumber}">
375 {/render}
376 </td>
377 </tr>
378 </table>
379 </td>
381 <td style="border-left:1px solid #A0A0A0">
382
383 </td>
385 <!-- Location, ... -->
386 <td style="vertical-align:top;">
387 <table summary="" style="width:100%">
388 <tr>
389 <td><label for="l">{t}Location{/t}</label></td>
390 <td>
391 {render acl=$lACL checkbox=$multiple_support checked=$use_l}
392 <input id="l" name="l" size=22 maxlength=60 value="{$l}">
393 {/render}
394 </td>
395 </tr>
396 <tr>
397 <td><label for="st">{t}State{/t}</label></td>
398 <td>
399 {render acl=$stACL checkbox=$multiple_support checked=$use_st}
400 <input id="st" name="st" size=22 maxlength=60 value="{$st}">
401 {/render}
402 </td>
403 </tr>
404 <tr>
405 <td style="vertical-align:top;"><label for="postalAddress">{t}Address{/t}</label></td>
406 <td>
407 {render acl=$postalAddressACL checkbox=$multiple_support checked=$use_postalAddress}
408 <textarea id="postalAddress" name="postalAddress" rows=3 style="width:100%">{$postalAddress}</textarea>
409 {/render}
410 </td>
411 </tr>
412 </table>
413 </td>
415 {else}
417 <!-- Beschreibung, ... -->
418 <td style="vertical-align:top;border-right:1px solid #b0b0b0">
419 <table summary="">
420 <tr>
421 <td><label for="vocation">{t}Vocation{/t}</label></td>
422 <td>
423 {render acl=$vocationACL checkbox=$multiple_support checked=$use_vocation}
424 <input id="vocation" name="vocation" size=22 maxlength=60 value="{$vocation}">
425 {/render}
426 </td>
427 </tr>
428 <tr>
429 <td><label for="gouvernmentOrganizationalUnitDescription">{t}Unit description{/t}</label></td>
430 <td>
431 {render acl=$gouvernmentOrganizationalUnitDescriptionACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitDescription}
432 <input id="gouvernmentOrganizationalUnitDescription" name="gouvernmentOrganizationalUnitDescription" size=22 maxlength=60
433 value="{$gouvernmentOrganizationalUnitDescription}">
434 {/render}
435 </td>
436 </tr>
437 <tr>
438 <td><label for="gouvernmentOrganizationalUnitSubjectArea">{t}Subject area{/t}</label></td>
439 <td>
440 {render acl=$gouvernmentOrganizationalUnitSubjectAreaACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitSubjectArea}
441 <input id="gouvernmentOrganizationalUnitSubjectArea" name="gouvernmentOrganizationalUnitSubjectArea" size=22 maxlength=60
442 value="{$gouvernmentOrganizationalUnitSubjectArea}">
443 {/render}
444 </td>
445 </tr>
446 <tr>
447 <td><label for="functionalTitle">{t}Functional title{/t}</label></td>
448 <td>
449 {render acl=$functionalTitleACL checkbox=$multiple_support checked=$use_functionalTitle}
450 <input name="functionalTitle" id="functionalTitle" size=22 maxlength=60
451 value="{$functionalTitle}">
452 {/render}
453 </td>
454 </tr>
455 <tr>
456 <td><label for="role">{t}Role{/t}</label></td>
457 <td>
458 {render acl=$roleACL checkbox=$multiple_support checked=$use_role}
459 <input id="role" name="role" size=22 maxlength=60 value="{$role}">
460 {/render}
461 </td>
462 </tr>
463 </table>
464 </td>
466 <!-- Phone, ... -->
467 <td style="vertical-align:top;border-right:1px solid #b0b0b0">
468 <table summary="">
469 <tr>
470 <td><label for="gouvernmentOrganizationalPersonLocality">{t}Person locality{/t}</label></td>
471 <td>
472 {render acl=$gouvernmentOrganizationalPersonLocalityACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalPersonLocality}
473 <input id="gouvernmentOrganizationalPersonLocality" name="gouvernmentOrganizationalPersonLocality" size=22 maxlength=60
474 value="{$gouvernmentOrganizationalPersonLocality}">
475 {/render}
476 </td>
477 </tr>
478 <tr>
479 <td><label for="gouvernmentOrganizationalUnit">{t}Unit{/t}</label></td>
480 <td>
481 {render acl=$gouvernmentOrganizationalUnitACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnit}
482 <input id="gouvernmentOrganizationalUnit" name="gouvernmentOrganizationalUnit" size=22 maxlength=60
483 value="{$gouvernmentOrganizationalUnit}">
484 {/render}
485 </td>
486 </tr>
487 <tr>
488 <td><label for="street">{t}Street{/t}</label></td>
489 <td>
490 {render acl=$streetACL checkbox=$multiple_support checked=$use_street}
491 <input name="street" id="street" size=22 maxlength=60 value="{$street}">
492 {/render}
493 </td>
494 </tr>
495 <tr>
496 <td><label for="postalCode">{t}Postal code{/t}</label></td>
497 <td>
498 {render acl=$postalCodeACL checkbox=$multiple_support checked=$use_postalCode}
499 <input name="postalCode" id="postalCode" size=22 maxlength=60 value="{$postalCode}">
500 {/render}
501 </td>
502 </tr>
503 <tr>
504 <td><label for="houseIdentifier">{t}House identifier{/t}</label></td>
505 <td>
506 {render acl=$houseIdentifierACL checkbox=$multiple_support checked=$use_houseIdentifier}
507 <input id="houseIdentifier" name="houseIdentifier" size=22 maxlength=60
508 value="{$houseIdentifier}">
509 {/render}
510 </td>
511 </tr>
512 </table>
513 </td>
515 <!-- Location, ... -->
516 <td style="vertical-align:top;">
517 <table summary="">
518 <tr>
519 <td><label for="roomNumber">{t}Room No.{/t}</label></td>
520 <td>
521 {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber}
522 <input id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
523 {/render}
524 </td>
525 </tr>
526 <tr>
527 <td><label for="telephoneNumber">{t}Phone{/t}</label></td>
528 <td>
529 {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber}
530 {if $has_phoneaccount ne "true"}
531 <input id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}">
532 {else}
533 <i>{t}Please use the phone tab{/t}</i>
534 {/if}
535 {/render}
536 </td>
537 </tr>
538 <tr>
539 <td><label for="facsimileTelephoneNumber">{t}Fax{/t}</label></td>
540 <td>
541 {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber}
542 <input id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60
543 value="{$facsimileTelephoneNumber}">
544 {/render}
545 </td>
546 </tr>
547 <tr>
548 <td><label for="ivbbLastDeliveryCollective">{t}Last delivery{/t}</label></td>
549 <td>
550 {render acl=$ivbbLastDeliveryCollectiveACL checkbox=$multiple_support checked=$use_ivbbLastDeliveryCollective}
551 <input name="ivbbLastDeliveryCollective" size=22 maxlength=60 id="ivbbLastDeliveryCollective"
552 value="{$ivbbLastDeliveryCollective}">
553 {/render}
554 </td>
555 </tr>
556 <tr>
557 <td><label for="publicVisible">{t}Public visible{/t}</label></td>
558 <td>
559 {render acl=$publicVisibleACL checkbox=$multiple_support checked=$use_publicVisible}
560 <select size="1" id="publicVisible" name="publicVisible">
561 {html_options values=$ivbbmodes output=$ivbbmodes selected=$publicVisible}
562 </select>
563 {/render}
564 </td>
565 </tr>
566 </table>
567 </td>
568 {/if}
569 </tr>
570 </table>
572 {if $multiple_support}
573 <input type="hidden" name="user_mulitple_edit" value="1">
574 {/if}
575 <input type=hidden name="generic">
577 <!-- Place cursor -->
578 <script language="JavaScript" type="text/javascript">
579 <!-- // First input field on page
580 focus_field('sn');
581 -->
582 </script>