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