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