96555fbd196e7171083b3bfb9b288adc9c72a2e7
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 <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 type="text" 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 type="text" 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 {$gosaLoginRestrictionWidget}
254 <input type="text" id="res" name="res" size=22 maxlength=33 value="{t}IP or network{/t}" onFocus='document.getElementById("res").value=""'>
255 <input id="add_res" type="submit" name="add_res" value="{t}Add{/t}">
257 {/render}
258 </td>
259 </tr>
260 {/if}
261 </table>
262 </td>
263 </tr>
264 </table>
266 <p class="seperator"> </p>
268 <table summary="" class="line" style="width:100%; vertical-align:top; text-align:left;" cellpadding="4" border="0">
270 <!-- Headline container -->
271 <tr>
272 <td colspan="3">
273 <h2><img alt="" align="middle" src="plugins/generic/images/house.png" class="center"> {t}Organizational information{/t}</h2>
274 </td>
275 </tr>
277 <!-- Base 2 container -->
278 <tr>
280 {if $governmentmode ne "true"}
281 <!-- Company, ... -->
282 <td style="vertical-align:top;">
283 <table summary="">
284 <tr>
285 <td><label for="o">{t}Organization{/t}</label></td>
286 <td>
287 {render acl=$oACL checkbox=$multiple_support checked=$use_o}
288 <input type="text" id="o" name="o" size=22 maxlength=60 value="{$o}">
289 {/render}
290 </td>
291 </tr>
292 <tr>
293 <td><label for="ou">{t}Department{/t}</label></td>
294 <td>
295 {render acl=$ouACL checkbox=$multiple_support checked=$use_ou}
296 <input type="text" id="ou" name="ou" size=22 maxlength=60 value="{$ou}">
297 {/render}
298 </td>
299 </tr>
300 <tr>
301 <td><label for="departmentNumber">{t}Department No.{/t}</label></td>
302 <td>
303 {render acl=$departmentNumberACL checkbox=$multiple_support checked=$use_departmentNumber}
304 <input type="text" id="departmentNumber" name="departmentNumber" size=22 maxlength=60 value="{$departmentNumber}">
305 {/render}
306 </td>
307 </tr>
308 <tr>
309 <td><label for="employeeNumber">{t}Employee No.{/t}</label></td>
310 <td>
311 {render acl=$employeeNumberACL checkbox=$multiple_support checked=$use_employeeNumber}
312 <input type="text" id="employeeNumber" name="employeeNumber" size=22 maxlength=60 value="{$employeeNumber}">
313 {/render}
314 </td>
315 </tr>
316 <tr>
317 <td><label for="employeeType">{t}Employee type{/t}</label></td>
318 <td>
319 {render acl=$employeeTypeACL checkbox=$multiple_support checked=$use_employeeType}
320 <input type="text" id="employeeType" name="employeeType" size=22 maxlength=60 value="{$employeeType}">
321 {/render}
322 </td>
323 </tr>
324 </table>
325 </td>
327 <td style="border-left:1px solid #A0A0A0">
328
329 </td>
331 <!-- Phone, ... -->
332 <td style="vertical-align:top;">
333 <table summary="">
334 <tr>
335 <td><label for="roomNumber">{t}Room No.{/t}</label></td>
336 <td>
337 {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber}
338 <input type="text" id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
339 {/render}
340 </td>
341 </tr>
342 {if $has_phoneaccount ne "true"}
343 <tr>
344 <td><label for="telephoneNumber">{t}Phone{/t}</label></td>
345 <td>
346 {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber}
347 <input type="text" id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}">
348 {/render}
349 </td>
350 </tr>
351 {/if}
352 <tr>
353 <td><label for="mobile">{t}Mobile{/t}</label></td>
354 <td>
355 {render acl=$mobileACL checkbox=$multiple_support checked=$use_mobile}
356 <input type="text" id="mobile" name="mobile" size=22 maxlength=60 value="{$mobile}">
357 {/render}
358 </td>
359 </tr>
360 <tr>
361 <td><label for="pager">{t}Pager{/t}</label></td>
362 <td>
363 {render acl=$pagerACL checkbox=$multiple_support checked=$use_pager}
364 <input type="text" id="pager" name="pager" size=22 maxlength=60 value="{$pager}">
365 {/render}
366 </td>
367 </tr>
368 <tr>
369 <td><label for="facsimileTelephoneNumber">{t}Fax{/t}</label></td>
370 <td>
371 {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber}
372 <input type="text" id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60 value="{$facsimileTelephoneNumber}">
373 {/render}
374 </td>
375 </tr>
376 </table>
377 </td>
379 <td style="border-left:1px solid #A0A0A0">
380
381 </td>
383 <!-- Location, ... -->
384 <td style="vertical-align:top;">
385 <table summary="" style="width:100%">
386 <tr>
387 <td><label for="l">{t}Location{/t}</label></td>
388 <td>
389 {render acl=$lACL checkbox=$multiple_support checked=$use_l}
390 <input type="text" id="l" name="l" size=22 maxlength=60 value="{$l}">
391 {/render}
392 </td>
393 </tr>
394 <tr>
395 <td><label for="st">{t}State{/t}</label></td>
396 <td>
397 {render acl=$stACL checkbox=$multiple_support checked=$use_st}
398 <input type="text" id="st" name="st" size=22 maxlength=60 value="{$st}">
399 {/render}
400 </td>
401 </tr>
402 <tr>
403 <td style="vertical-align:top;"><label for="postalAddress">{t}Address{/t}</label></td>
404 <td>
405 {render acl=$postalAddressACL checkbox=$multiple_support checked=$use_postalAddress}
406 <textarea id="postalAddress" name="postalAddress" rows=3 style="width:100%">{$postalAddress}</textarea>
407 {/render}
408 </td>
409 </tr>
410 </table>
411 </td>
413 {else}
415 <!-- Beschreibung, ... -->
416 <td style="vertical-align:top;border-right:1px solid #b0b0b0">
417 <table summary="">
418 <tr>
419 <td><label for="vocation">{t}Vocation{/t}</label></td>
420 <td>
421 {render acl=$vocationACL checkbox=$multiple_support checked=$use_vocation}
422 <input type="text" id="vocation" name="vocation" size=22 maxlength=60 value="{$vocation}">
423 {/render}
424 </td>
425 </tr>
426 <tr>
427 <td><label for="gouvernmentOrganizationalUnitDescription">{t}Unit description{/t}</label></td>
428 <td>
429 {render acl=$gouvernmentOrganizationalUnitDescriptionACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitDescription}
430 <input type="text" id="gouvernmentOrganizationalUnitDescription" name="gouvernmentOrganizationalUnitDescription" size=22 maxlength=60
431 value="{$gouvernmentOrganizationalUnitDescription}">
432 {/render}
433 </td>
434 </tr>
435 <tr>
436 <td><label for="gouvernmentOrganizationalUnitSubjectArea">{t}Subject area{/t}</label></td>
437 <td>
438 {render acl=$gouvernmentOrganizationalUnitSubjectAreaACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitSubjectArea}
439 <input type="text" id="gouvernmentOrganizationalUnitSubjectArea" name="gouvernmentOrganizationalUnitSubjectArea" size=22 maxlength=60
440 value="{$gouvernmentOrganizationalUnitSubjectArea}">
441 {/render}
442 </td>
443 </tr>
444 <tr>
445 <td><label for="functionalTitle">{t}Functional title{/t}</label></td>
446 <td>
447 {render acl=$functionalTitleACL checkbox=$multiple_support checked=$use_functionalTitle}
448 <input type="text" name="functionalTitle" id="functionalTitle" size=22 maxlength=60
449 value="{$functionalTitle}">
450 {/render}
451 </td>
452 </tr>
453 <tr>
454 <td><label for="role">{t}Role{/t}</label></td>
455 <td>
456 {render acl=$roleACL checkbox=$multiple_support checked=$use_role}
457 <input type="text" id="role" name="role" size=22 maxlength=60 value="{$role}">
458 {/render}
459 </td>
460 </tr>
461 </table>
462 </td>
464 <!-- Phone, ... -->
465 <td style="vertical-align:top;border-right:1px solid #b0b0b0">
466 <table summary="">
467 <tr>
468 <td><label for="gouvernmentOrganizationalPersonLocality">{t}Person locality{/t}</label></td>
469 <td>
470 {render acl=$gouvernmentOrganizationalPersonLocalityACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalPersonLocality}
471 <input type="text" id="gouvernmentOrganizationalPersonLocality" name="gouvernmentOrganizationalPersonLocality" size=22 maxlength=60
472 value="{$gouvernmentOrganizationalPersonLocality}">
473 {/render}
474 </td>
475 </tr>
476 <tr>
477 <td><label for="gouvernmentOrganizationalUnit">{t}Unit{/t}</label></td>
478 <td>
479 {render acl=$gouvernmentOrganizationalUnitACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnit}
480 <input type="text" id="gouvernmentOrganizationalUnit" name="gouvernmentOrganizationalUnit" size=22 maxlength=60
481 value="{$gouvernmentOrganizationalUnit}">
482 {/render}
483 </td>
484 </tr>
485 <tr>
486 <td><label for="street">{t}Street{/t}</label></td>
487 <td>
488 {render acl=$streetACL checkbox=$multiple_support checked=$use_street}
489 <input type="text" name="street" id="street" size=22 maxlength=60 value="{$street}">
490 {/render}
491 </td>
492 </tr>
493 <tr>
494 <td><label for="postalCode">{t}Postal code{/t}</label></td>
495 <td>
496 {render acl=$postalCodeACL checkbox=$multiple_support checked=$use_postalCode}
497 <input type="text" name="postalCode" id="postalCode" size=22 maxlength=60 value="{$postalCode}">
498 {/render}
499 </td>
500 </tr>
501 <tr>
502 <td><label for="houseIdentifier">{t}House identifier{/t}</label></td>
503 <td>
504 {render acl=$houseIdentifierACL checkbox=$multiple_support checked=$use_houseIdentifier}
505 <input type="text" id="houseIdentifier" name="houseIdentifier" size=22 maxlength=60
506 value="{$houseIdentifier}">
507 {/render}
508 </td>
509 </tr>
510 </table>
511 </td>
513 <!-- Location, ... -->
514 <td style="vertical-align:top;">
515 <table summary="">
516 <tr>
517 <td><label for="roomNumber">{t}Room No.{/t}</label></td>
518 <td>
519 {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber}
520 <input type="text" id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
521 {/render}
522 </td>
523 </tr>
524 <tr>
525 <td><label for="telephoneNumber">{t}Phone{/t}</label></td>
526 <td>
527 {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber}
528 {if $has_phoneaccount ne "true"}
529 <input type="text" id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}">
530 {else}
531 <i>{t}Please use the phone tab{/t}</i>
532 {/if}
533 {/render}
534 </td>
535 </tr>
536 <tr>
537 <td><label for="facsimileTelephoneNumber">{t}Fax{/t}</label></td>
538 <td>
539 {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber}
540 <input type="text" id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60
541 value="{$facsimileTelephoneNumber}">
542 {/render}
543 </td>
544 </tr>
545 <tr>
546 <td><label for="ivbbLastDeliveryCollective">{t}Last delivery{/t}</label></td>
547 <td>
548 {render acl=$ivbbLastDeliveryCollectiveACL checkbox=$multiple_support checked=$use_ivbbLastDeliveryCollective}
549 <input type="text" name="ivbbLastDeliveryCollective" size=22 maxlength=60 id="ivbbLastDeliveryCollective"
550 value="{$ivbbLastDeliveryCollective}">
551 {/render}
552 </td>
553 </tr>
554 <tr>
555 <td><label for="publicVisible">{t}Public visible{/t}</label></td>
556 <td>
557 {render acl=$publicVisibleACL checkbox=$multiple_support checked=$use_publicVisible}
558 <select size="1" id="publicVisible" name="publicVisible">
559 {html_options values=$ivbbmodes output=$ivbbmodes selected=$publicVisible}
560 </select>
561 {/render}
562 </td>
563 </tr>
564 </table>
565 </td>
566 {/if}
567 </tr>
568 </table>
570 {if $multiple_support}
571 <input type="hidden" name="user_mulitple_edit" value="1">
572 {/if}
573 <input type=hidden name="generic">
575 <!-- Place cursor -->
576 <script language="JavaScript" type="text/javascript">
577 <!-- // First input field on page
578 focus_field('sn');
579 -->
580 </script>