77a9c1489943ae77eeafdded3bc2fa736f4a5fd1
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 type="text" id="sn" name="dummy2" size=25 maxlength=60 value="{t}Multiple edit{/t}" disabled>
53 {else}
54 {render acl=$snACL}
55 <input type="text" 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 type="text" 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 type="text" id="givenName" name="dummy3" size=25 maxlength=60 value="{t}Multiple edit{/t}" disabled>
74 {else}
75 {render acl=$givenNameACL}
76 <input type="text" 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 type="text" id="uid" name="uid" size=25 maxlength=60 value="{$uid}">
87 {/render}
88 {else}
89 <input type="text" 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 type="text" 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 type="text" 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 {$base}
170 {/render}
171 </td>
172 </tr>
173 </table>
174 </td>
175 <td style="border-left:1px solid #A0A0A0">
176
177 </td>
178 <td style="vertical-align:top;">
180 <!-- Address, ... -->
181 <table summary="" style="width:100%">
182 <tr>
183 <td style="vertical-align:top;"><label for="homePostalAddress">{t}Address{/t}</label></td>
184 <td>
185 {render acl=$homePostalAddressACL checkbox=$multiple_support checked=$use_homePostalAddress}
186 <textarea id="homePostalAddress" name="homePostalAddress" rows="3" style="width:100%">{$homePostalAddress}</textarea>
187 {/render}
188 </td>
189 </tr>
190 <tr>
191 <td><label for="homePhone">{t}Private phone{/t}</label>
192 </td><td>
193 {render acl=$homePhoneACL checkbox=$multiple_support checked=$use_homePhone}
194 <input type="text" id="homePhone" name="homePhone" size=25 maxlength=60 value="{$homePhone}">
195 {/render}
196 </td>
197 </tr>
198 <tr>
199 <td><label for="labeledURI">{t}Homepage{/t}</label></td>
200 <td>
201 {render acl=$labeledURIACL checkbox=$multiple_support checked=$use_labeledURI}
202 <input type="text" id="labeledURI" name="labeledURI" size=25 maxlength=60 value="{$labeledURI}">
203 {/render}
204 </td>
205 </tr>
206 <tr>
207 <td colspan=2>
208 <div style="height:10px;"></div>
209 </td>
210 </tr>
211 <tr>
212 <td><label for="pw_storage">{t}Password storage{/t}</label></td>
213 <td>
214 {render acl=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage}
215 <select size="1" id="pw_storage" name="pw_storage" onchange='document.mainform.submit()'>
216 {foreach from=$pwmode key=value item=desc}
217 <option value="{$value}" {if $pwmode_select == $value}selected{/if} >{$desc}</option>
218 {/foreach}
219 </select>
220 {if $pw_configurable eq "true"}
221 <input id="edit_pw_method" type="submit" name="edit_pw_method" value="{t}Configure{/t}...">
222 {/if}
223 {/render}
224 </td>
225 </tr>
227 {if $is_template ne "true" && !$multiple_support}
228 <tr>
229 <td><label for="edit_cert">{t}Certificates{/t}</label></td>
230 <td>
231 {render acl=$CertificatesACL mode=read_active}
232 <input id="edit_cert" type="submit" name="edit_cert" value="{t}Edit certificates{/t}...">
233 {/render}
234 </td>
235 </tr>
236 {/if}
238 <tr>
239 <td colspan=2>
240 <div style="height:10px;"></div>
241 </td>
242 </tr>
243 <tr>
244 <td style='vertical-align:top'><label for="edit_perms">{t}Restrict login to{/t}</label></td>
245 <td>
247 {if !$multiple_support}
248 {$gosaLoginRestrictionWidget}
249 <input type="text" id="res" name="res" size=22 maxlength=33
250 value="{t}IP or network{/t}" onFocus='document.getElementById("res").value=""'>
251 <input id="add_res" type="submit" name="add_res" value="{t}Add{/t}">
252 {else}
253 <input type='checkbox' name='use_gosaLoginRestriction' {if $use_gosaLoginRestriction} checked {/if}
254 onClick='document.mainform.submit();'
255 >
256 {if !$use_gosaLoginRestriction}
257 {render acl=$gosaLoginRestriction_ONLY_R_ACL}
258 {$gosaLoginRestrictionWidget}
259 {/render}
260 {else}
261 {render acl=$gosaLoginRestrictionACL}
262 {$gosaLoginRestrictionWidget}
263 {/render}
264 {render acl=$gosaLoginRestrictionACL}
265 <input type="text" id="res" name="res" size=22 maxlength=33
266 value="{t}IP or network{/t}" onFocus='document.getElementById("res").value=""'>
267 {/render}
268 {render acl=$gosaLoginRestrictionACL}
269 <input id="add_res" type="submit" name="add_res" value="{t}Add{/t}">
270 {/render}
271 {/if}
272 {/if}
273 </td>
274 </tr>
275 </table>
276 </td>
277 </tr>
278 </table>
280 <p class="seperator"> </p>
282 <table summary="" class="line" style="width:100%; vertical-align:top; text-align:left;" cellpadding="4" border="0">
284 <!-- Headline container -->
285 <tr>
286 <td colspan="3">
287 <h2><img alt="" align="middle" src="plugins/generic/images/house.png" class="center"> {t}Organizational information{/t}</h2>
288 </td>
289 </tr>
291 <!-- Base 2 container -->
292 <tr>
294 {if $governmentmode ne "true"}
295 <!-- Company, ... -->
296 <td style="vertical-align:top;">
297 <table summary="">
298 <tr>
299 <td><label for="o">{t}Organization{/t}</label></td>
300 <td>
301 {render acl=$oACL checkbox=$multiple_support checked=$use_o}
302 <input type="text" id="o" name="o" size=22 maxlength=60 value="{$o}">
303 {/render}
304 </td>
305 </tr>
306 <tr>
307 <td><label for="ou">{t}Department{/t}</label></td>
308 <td>
309 {render acl=$ouACL checkbox=$multiple_support checked=$use_ou}
310 <input type="text" id="ou" name="ou" size=22 maxlength=60 value="{$ou}">
311 {/render}
312 </td>
313 </tr>
314 <tr>
315 <td><label for="departmentNumber">{t}Department No.{/t}</label></td>
316 <td>
317 {render acl=$departmentNumberACL checkbox=$multiple_support checked=$use_departmentNumber}
318 <input type="text" id="departmentNumber" name="departmentNumber" size=22 maxlength=60 value="{$departmentNumber}">
319 {/render}
320 </td>
321 </tr>
322 <tr>
323 <td><label for="employeeNumber">{t}Employee No.{/t}</label></td>
324 <td>
325 {render acl=$employeeNumberACL checkbox=$multiple_support checked=$use_employeeNumber}
326 <input type="text" id="employeeNumber" name="employeeNumber" size=22 maxlength=60 value="{$employeeNumber}">
327 {/render}
328 </td>
329 </tr>
330 <tr>
331 <td><label for="employeeType">{t}Employee type{/t}</label></td>
332 <td>
333 {render acl=$employeeTypeACL checkbox=$multiple_support checked=$use_employeeType}
334 <input type="text" id="employeeType" name="employeeType" size=22 maxlength=60 value="{$employeeType}">
335 {/render}
336 </td>
337 </tr>
338 {if !$multiple_support}
339 <tr>
340 <td><label for="manager">{t}Manager{/t}</label></td>
341 <td>
342 {render acl=$managerACL}
343 <input type='text' name='manager_name' id='manager_name' value='{$manager_name}' disabled
344 title='{$manager}'>
345 {/render}
346 {render acl=$managerACL}
347 <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
348 {/render}
349 {if $manager!=""}
350 {render acl=$managerACL}
351 <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
352 {/render}
353 {/if}
354 </td>
355 </tr>
356 {/if}
357 </table>
358 </td>
360 <td style="border-left:1px solid #A0A0A0">
361
362 </td>
364 <!-- Phone, ... -->
365 <td style="vertical-align:top;">
366 <table summary="">
367 <tr>
368 <td><label for="roomNumber">{t}Room No.{/t}</label></td>
369 <td>
370 {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber}
371 <input type="text" id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
372 {/render}
373 </td>
374 </tr>
375 {if $has_phoneaccount ne "true"}
376 <tr>
377 <td><label for="telephoneNumber">{t}Phone{/t}</label></td>
378 <td>
379 {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber}
380 <input type="text" id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}">
381 {/render}
382 </td>
383 </tr>
384 {/if}
385 <tr>
386 <td><label for="mobile">{t}Mobile{/t}</label></td>
387 <td>
388 {render acl=$mobileACL checkbox=$multiple_support checked=$use_mobile}
389 <input type="text" id="mobile" name="mobile" size=22 maxlength=60 value="{$mobile}">
390 {/render}
391 </td>
392 </tr>
393 <tr>
394 <td><label for="pager">{t}Pager{/t}</label></td>
395 <td>
396 {render acl=$pagerACL checkbox=$multiple_support checked=$use_pager}
397 <input type="text" id="pager" name="pager" size=22 maxlength=60 value="{$pager}">
398 {/render}
399 </td>
400 </tr>
401 <tr>
402 <td><label for="facsimileTelephoneNumber">{t}Fax{/t}</label></td>
403 <td>
404 {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber}
405 <input type="text" id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60 value="{$facsimileTelephoneNumber}">
406 {/render}
407 </td>
408 </tr>
409 </table>
410 </td>
412 <td style="border-left:1px solid #A0A0A0">
413
414 </td>
416 <!-- Location, ... -->
417 <td style="vertical-align:top;">
418 <table summary="" style="width:100%">
419 <tr>
420 <td><label for="l">{t}Location{/t}</label></td>
421 <td>
422 {render acl=$lACL checkbox=$multiple_support checked=$use_l}
423 <input type="text" id="l" name="l" size=22 maxlength=60 value="{$l}">
424 {/render}
425 </td>
426 </tr>
427 <tr>
428 <td><label for="st">{t}State{/t}</label></td>
429 <td>
430 {render acl=$stACL checkbox=$multiple_support checked=$use_st}
431 <input type="text" id="st" name="st" size=22 maxlength=60 value="{$st}">
432 {/render}
433 </td>
434 </tr>
435 <tr>
436 <td style="vertical-align:top;"><label for="postalAddress">{t}Address{/t}</label></td>
437 <td>
438 {render acl=$postalAddressACL checkbox=$multiple_support checked=$use_postalAddress}
439 <textarea id="postalAddress" name="postalAddress" rows=3 style="width:100%">{$postalAddress}</textarea>
440 {/render}
441 </td>
442 </tr>
443 </table>
444 </td>
446 {else}
448 <!-- Beschreibung, ... -->
449 <td style="vertical-align:top;border-right:1px solid #b0b0b0">
450 <table summary="">
451 <tr>
452 <td><label for="vocation">{t}Vocation{/t}</label></td>
453 <td>
454 {render acl=$vocationACL checkbox=$multiple_support checked=$use_vocation}
455 <input type="text" id="vocation" name="vocation" size=22 maxlength=60 value="{$vocation}">
456 {/render}
457 </td>
458 </tr>
459 <tr>
460 <td><label for="gouvernmentOrganizationalUnitDescription">{t}Unit description{/t}</label></td>
461 <td>
462 {render acl=$gouvernmentOrganizationalUnitDescriptionACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitDescription}
463 <input type="text" id="gouvernmentOrganizationalUnitDescription" name="gouvernmentOrganizationalUnitDescription" size=22 maxlength=60
464 value="{$gouvernmentOrganizationalUnitDescription}">
465 {/render}
466 </td>
467 </tr>
468 <tr>
469 <td><label for="gouvernmentOrganizationalUnitSubjectArea">{t}Subject area{/t}</label></td>
470 <td>
471 {render acl=$gouvernmentOrganizationalUnitSubjectAreaACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitSubjectArea}
472 <input type="text" id="gouvernmentOrganizationalUnitSubjectArea" name="gouvernmentOrganizationalUnitSubjectArea" size=22 maxlength=60
473 value="{$gouvernmentOrganizationalUnitSubjectArea}">
474 {/render}
475 </td>
476 </tr>
477 <tr>
478 <td><label for="functionalTitle">{t}Functional title{/t}</label></td>
479 <td>
480 {render acl=$functionalTitleACL checkbox=$multiple_support checked=$use_functionalTitle}
481 <input type="text" name="functionalTitle" id="functionalTitle" size=22 maxlength=60
482 value="{$functionalTitle}">
483 {/render}
484 </td>
485 </tr>
486 <tr>
487 <td><label for="role">{t}Role{/t}</label></td>
488 <td>
489 {render acl=$roleACL checkbox=$multiple_support checked=$use_role}
490 <input type="text" id="role" name="role" size=22 maxlength=60 value="{$role}">
491 {/render}
492 </td>
493 </tr>
494 </table>
495 </td>
497 <!-- Phone, ... -->
498 <td style="vertical-align:top;border-right:1px solid #b0b0b0">
499 <table summary="">
500 <tr>
501 <td><label for="gouvernmentOrganizationalPersonLocality">{t}Person locality{/t}</label></td>
502 <td>
503 {render acl=$gouvernmentOrganizationalPersonLocalityACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalPersonLocality}
504 <input type="text" id="gouvernmentOrganizationalPersonLocality" name="gouvernmentOrganizationalPersonLocality" size=22 maxlength=60
505 value="{$gouvernmentOrganizationalPersonLocality}">
506 {/render}
507 </td>
508 </tr>
509 <tr>
510 <td><label for="gouvernmentOrganizationalUnit">{t}Unit{/t}</label></td>
511 <td>
512 {render acl=$gouvernmentOrganizationalUnitACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnit}
513 <input type="text" id="gouvernmentOrganizationalUnit" name="gouvernmentOrganizationalUnit" size=22 maxlength=60
514 value="{$gouvernmentOrganizationalUnit}">
515 {/render}
516 </td>
517 </tr>
518 <tr>
519 <td><label for="street">{t}Street{/t}</label></td>
520 <td>
521 {render acl=$streetACL checkbox=$multiple_support checked=$use_street}
522 <input type="text" name="street" id="street" size=22 maxlength=60 value="{$street}">
523 {/render}
524 </td>
525 </tr>
526 <tr>
527 <td><label for="postalCode">{t}Postal code{/t}</label></td>
528 <td>
529 {render acl=$postalCodeACL checkbox=$multiple_support checked=$use_postalCode}
530 <input type="text" name="postalCode" id="postalCode" size=22 maxlength=60 value="{$postalCode}">
531 {/render}
532 </td>
533 </tr>
534 <tr>
535 <td><label for="houseIdentifier">{t}House identifier{/t}</label></td>
536 <td>
537 {render acl=$houseIdentifierACL checkbox=$multiple_support checked=$use_houseIdentifier}
538 <input type="text" id="houseIdentifier" name="houseIdentifier" size=22 maxlength=60
539 value="{$houseIdentifier}">
540 {/render}
541 </td>
542 </tr>
543 </table>
544 </td>
546 <!-- Location, ... -->
547 <td style="vertical-align:top;">
548 <table summary="">
549 <tr>
550 <td><label for="roomNumber">{t}Room No.{/t}</label></td>
551 <td>
552 {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber}
553 <input type="text" id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
554 {/render}
555 </td>
556 </tr>
557 <tr>
558 <td><label for="telephoneNumber">{t}Phone{/t}</label></td>
559 <td>
560 {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber}
561 {if $has_phoneaccount ne "true"}
562 <input type="text" id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}">
563 {else}
564 <i>{t}Please use the phone tab{/t}</i>
565 {/if}
566 {/render}
567 </td>
568 </tr>
569 <tr>
570 <td><label for="facsimileTelephoneNumber">{t}Fax{/t}</label></td>
571 <td>
572 {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber}
573 <input type="text" id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60
574 value="{$facsimileTelephoneNumber}">
575 {/render}
576 </td>
577 </tr>
578 <tr>
579 <td><label for="ivbbLastDeliveryCollective">{t}Last delivery{/t}</label></td>
580 <td>
581 {render acl=$ivbbLastDeliveryCollectiveACL checkbox=$multiple_support checked=$use_ivbbLastDeliveryCollective}
582 <input type="text" name="ivbbLastDeliveryCollective" size=22 maxlength=60 id="ivbbLastDeliveryCollective"
583 value="{$ivbbLastDeliveryCollective}">
584 {/render}
585 </td>
586 </tr>
587 <tr>
588 <td><label for="publicVisible">{t}Public visible{/t}</label></td>
589 <td>
590 {render acl=$publicVisibleACL checkbox=$multiple_support checked=$use_publicVisible}
591 <select size="1" id="publicVisible" name="publicVisible">
592 {html_options values=$ivbbmodes output=$ivbbmodes selected=$publicVisible}
593 </select>
594 {/render}
595 </td>
596 </tr>
597 </table>
598 </td>
599 {/if}
600 </tr>
601 </table>
603 {if $multiple_support}
604 <input type="hidden" name="user_mulitple_edit" value="1">
605 {/if}
606 <input type=hidden name="generic">
608 <!-- Place cursor -->
609 <script language="JavaScript" type="text/javascript">
610 <!-- // First input field on page
611 focus_field('sn');
612 -->
613 </script>