cbbca8ed50292e065e46ac314c41447142300680
1 <h3>{t}Personal information{/t}</h3>
3 <div class="container">
5 <div class="container-element">
6 <div class="fieldset-left">
7 <fieldset>
8 {if !$userPicture_is_readable}
9 <img class='center' border="0" src="plugins/users/images/default.jpg" alt="{t}Personal picture{/t}">
10 {else}
11 <img class='center' border="0" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
12 {/if}
13 <br>
14 {render acl=$userPictureACL checkbox=$multiple_support checked=$use_edit_picture}
15 <input style='vertical-align:top;' type="submit" name="edit_picture" value="{t}Change picture{/t}...">
16 {/render}
17 </fieldset>
18 </div>
19 </div>
21 <div class="container-element">
22 <div class="fieldset-middle">
23 <legend>{t}Generic{/t}</legend>
24 <fieldset>
25 {if $is_template eq "true"}
27 <label for="sn">{t}Template name{/t}{$must}</label>
28 {render acl=$snACL}
29 <input type="text" id="sn" name="sn" value="{$sn}">
30 {/render}
31 {else}
33 {if $multiple_support}
35 <label for="sn">{t}Last name{/t}{$must}</label>
36 <input type="text" id="sn" name="dummy2" value="{t}Multiple edit{/t}" disabled>
38 <label for="givenName">{t}Given name{/t}{$must}</label>
39 <input type="text" id="givenName" name="dummy3" value="{t}Multiple edit{/t}" disabled>
41 <label for="uid">{t}Uid{/t}{$must}</label>
42 <input type="text" id="uid" name="dummy1" value="{t}Multiple edit{/t}" disabled>
44 {else}
46 <label for="sn">{t}Last name{/t}{$must}</label>
47 {render acl=$snACL}
48 <input type="text" id="sn" name="sn" value="{$sn}">
49 {/render}
51 <label for="givenName">{t}Given name{/t}{$must}</label>
52 {render acl=$givenNameACL}
53 <input type="text" id="givenName" name="givenName" value="{$givenName}">
54 {/render}
56 <label for="uid">{t}Uid{/t}{$must}</label>
57 {render acl=$uidACL}
58 <input type="text" id="uid" name="uid" value="{$uid}">
59 {/render}
61 {/if}
62 {/if}
64 <div style="height:10px;"></div>
66 <label for="personalTitle">{t}Personal title{/t}</label>
67 {render acl=$personalTitleACL checkbox=$multiple_support checked=$use_personalTitle}
68 <input type="text" id="personalTitle" name="personalTitle" value="{$personalTitle}">
69 {/render}
70 <label for="academicTitle">{t}Academic title{/t}</label>
71 {render acl=$academicTitleACL checkbox=$multiple_support checked=$use_academicTitle}
72 <input type="text" id="academicTitle" name="academicTitle" value="{$academicTitle}">
73 {/render}
75 <div style="height:10px;"></div>
77 {if !$multiple_support}
79 <label for="day">{t}Date of birth{/t}</label>
80 {render acl=$dateOfBirthACL}
81 <input type="text" id="dateOfBirth" name="dateOfBirth" class="date" value="{$dateOfBirth}">
82 {if $dateOfBirthACL|regex_replace:"/[cdmr]/":"" == "w"}
83 <script type="text/javascript">
84 {literal}
85 var datepicker = new DatePicker({ relative : 'dateOfBirth', language : '{/literal}{$lang}{literal}', keepFieldEmpty : true,
86 enableCloseEffect : false, enableShowEffect : false });
87 {/literal}
88 </script>
89 {/if}
90 {/render}
92 <label for="gender">{t}Sex{/t}</label>
93 {render acl=$genderACL}
94 <select size="1" id="gender" name="gender">
95 {html_options options=$gender_list selected=$gender}
96 </select>
97 {/render}
99 {/if}
101 <label for="preferredLanguage">{t}Preferred langage{/t}</label>
102 {render acl=$preferredLanguageACL checkbox=$multiple_support checked=$use_preferredLanguage}
103 <select size="1" id="preferredLanguage" name="preferredLanguage">
104 {html_options options=$preferredLanguage_list selected=$preferredLanguage}
105 </select>
106 {/render}
108 <label for="base">{t}Base{/t}</label>
109 <div style="height:10px;"></div>
110 {render acl=$baseACL checkbox=$multiple_support checked=$use_base}
111 {$base}
112 {/render}
114 </fieldset>
115 </div>
116 </div>
118 <div class="container-element">
119 <div class="fieldset-right">
121 <legend>{t}Postal address{/t}</legend>
122 <fieldset>
124 <label for="homePostalAddress">{t}Address{/t}</label>
125 {render acl=$homePostalAddressACL checkbox=$multiple_support checked=$use_homePostalAddress}
126 <textarea id="homePostalAddress" name="homePostalAddress" rows="3" style="width:100%">{$homePostalAddress}</textarea>
127 {/render}
129 <label for="homePhone">{t}Private phone{/t}</label>
130 {render acl=$homePhoneACL checkbox=$multiple_support checked=$use_homePhone}
131 <input type="text" id="homePhone" name="homePhone" size=25 maxlength=60 value="{$homePhone}">
132 {/render}
134 <label for="labeledURI">{t}Homepage{/t}</label>
135 {render acl=$labeledURIACL checkbox=$multiple_support checked=$use_labeledURI}
136 <input type="text" id="labeledURI" name="labeledURI" size=25 maxlength=60 value="{$labeledURI}">
137 {/render}
139 <div style="height:10px;"></div>
141 <label for="pw_storage">{t}Password storage{/t}</label>
142 {render acl=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage}
143 <select size="1" id="pw_storage" name="pw_storage" onchange='document.mainform.submit()'>
144 {foreach from=$pwmode key=value item=desc}
145 <option value="{$value}" {if $pwmode_select == $value}selected{/if} >{$desc}</option>
146 {/foreach}
147 </select>
148 {/render}
149 {render acl=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage}
150 {if $pw_configurable eq "true"}
151 <input id="edit_pw_method" type="submit" name="edit_pw_method" value="{t}Configure{/t}...">
152 {/if}
153 {/render}
155 {if $is_template ne "true" && !$multiple_support}
156 <label for="edit_cert">{t}Certificates{/t}</label>
157 {render acl=$CertificatesACL mode=read_active}
158 <input id="edit_cert" type="submit" name="edit_cert" value="{t}Edit certificates{/t}...">
159 {/render}
160 {/if}
162 <div style="height:10px;"></div>
164 {if !$multiple_support}
165 {render acl=$gosaLoginRestrictionACL}
166 {$gosaLoginRestrictionWidget}
167 {/render}
168 {render acl=$gosaLoginRestrictionACL}
169 <input type="text" id="res" name="res" size=22 maxlength=33
170 value="{t}IP or network{/t}" onFocus='document.getElementById("res").value=""'>
171 {/render}
172 {render acl=$gosaLoginRestrictionACL}
173 <input id="add_res" type="submit" name="add_res" value="{t}Add{/t}">
174 {/render}
176 {else}
178 <input type='checkbox' name='use_gosaLoginRestriction' {if $use_gosaLoginRestriction} checked {/if}
179 onClick='document.mainform.submit();'>
180 {if !$use_gosaLoginRestriction}
181 {render acl=$gosaLoginRestriction_ONLY_R_ACL}
182 {$gosaLoginRestrictionWidget}
183 {/render}
184 {else}
185 {render acl=$gosaLoginRestrictionACL}
186 {$gosaLoginRestrictionWidget}
187 {/render}
188 {render acl=$gosaLoginRestrictionACL}
189 <input type="text" id="res" name="res" size=22 maxlength=33
190 value="{t}IP or network{/t}" onFocus='document.getElementById("res").value=""'>
191 {/render}
192 {render acl=$gosaLoginRestrictionACL}
193 <input id="add_res" type="submit" name="add_res" value="{t}Add{/t}">
194 {/render}
195 {/if}
196 {/if}
198 </fieldset>
199 </div>
200 </div>
201 </div>
203 <!--
205 <p class="seperator"> </p>
209 <!-- Headline container -->
212 <h2>{t}Organizational information{/t}</h2>
216 <!-- Base 2 container -->
219 {if $governmentmode ne "true"}
220 <!-- Company, ... -->
224 <label for="o">{t}Organization{/t}</label>
226 {render acl=$oACL checkbox=$multiple_support checked=$use_o}
227 <input type="text" id="o" name="o" size=22 maxlength=60 value="{$o}">
228 {/render}
232 <label for="ou">{t}Department{/t}</label>
234 {render acl=$ouACL checkbox=$multiple_support checked=$use_ou}
235 <input type="text" id="ou" name="ou" size=22 maxlength=60 value="{$ou}">
236 {/render}
240 <label for="departmentNumber">{t}Department No.{/t}</label>
242 {render acl=$departmentNumberACL checkbox=$multiple_support checked=$use_departmentNumber}
243 <input type="text" id="departmentNumber" name="departmentNumber" size=22 maxlength=60 value="{$departmentNumber}">
244 {/render}
248 <label for="employeeNumber">{t}Employee No.{/t}</label>
250 {render acl=$employeeNumberACL checkbox=$multiple_support checked=$use_employeeNumber}
251 <input type="text" id="employeeNumber" name="employeeNumber" size=22 maxlength=60 value="{$employeeNumber}">
252 {/render}
256 <label for="employeeType">{t}Employee type{/t}</label>
258 {render acl=$employeeTypeACL checkbox=$multiple_support checked=$use_employeeType}
259 <input type="text" id="employeeType" name="employeeType" size=22 maxlength=60 value="{$employeeType}">
260 {/render}
263 {if !$multiple_support}
265 <label for="manager">{t}Manager{/t}</label>
267 {render acl=$managerACL}
268 <input type='text' name='manager_name' id='manager_name' value='{$manager_name}' disabled
269 title='{$manager}'>
270 {/render}
271 {render acl=$managerACL}
272 <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
273 {/render}
274 {if $manager!=""}
275 {render acl=$managerACL}
276 <img src='images/info_small.png' title='{$manager}' class='center'>
277 {/render}
278 {render acl=$managerACL}
279 <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
280 {/render}
281 {/if}
284 {else}
286 <label for="manager">{t}Manager{/t}</label>
288 <input type='checkbox' value="1" name="use_manager" id="use_manager" {if $use_manager} checked {/if}
289 onClick="document.mainform.submit();">
290 <input type='text' name='manager_name' id='manager_name' value='{$manager_name}' disabled
291 title='{$manager}'>
292 {if $use_manager}
293 <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
294 {if $manager!=""}
295 <img src='images/info_small.png' title='{$manager}' class='center'>
296 <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
297 {/if}
298 {/if}
302 {/if}
307
310 <!-- Phone, ... -->
314 <label for="roomNumber">{t}Room No.{/t}</label>
316 {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber}
317 <input type="text" id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
318 {/render}
321 {if $has_phoneaccount ne "true"}
323 <label for="telephoneNumber">{t}Phone{/t}</label>
325 {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber}
326 <input type="text" id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}">
327 {/render}
330 {/if}
332 <label for="mobile">{t}Mobile{/t}</label>
334 {render acl=$mobileACL checkbox=$multiple_support checked=$use_mobile}
335 <input type="text" id="mobile" name="mobile" size=22 maxlength=60 value="{$mobile}">
336 {/render}
340 <label for="pager">{t}Pager{/t}</label>
342 {render acl=$pagerACL checkbox=$multiple_support checked=$use_pager}
343 <input type="text" id="pager" name="pager" size=22 maxlength=60 value="{$pager}">
344 {/render}
348 <label for="facsimileTelephoneNumber">{t}Fax{/t}</label>
350 {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber}
351 <input type="text" id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60 value="{$facsimileTelephoneNumber}">
352 {/render}
359
362 <!-- Location, ... -->
366 <label for="l">{t}Location{/t}</label>
368 {render acl=$lACL checkbox=$multiple_support checked=$use_l}
369 <input type="text" id="l" name="l" size=22 maxlength=60 value="{$l}">
370 {/render}
374 <label for="st">{t}State{/t}</label>
376 {render acl=$stACL checkbox=$multiple_support checked=$use_st}
377 <input type="text" id="st" name="st" size=22 maxlength=60 value="{$st}">
378 {/render}
384 {render acl=$postalAddressACL checkbox=$multiple_support checked=$use_postalAddress}
385 <textarea id="postalAddress" name="postalAddress" rows=3 style="width:100%">{$postalAddress}</textarea>
386 {/render}
392 {else}
394 <!-- Beschreibung, ... -->
398 <label for="vocation">{t}Vocation{/t}</label>
400 {render acl=$vocationACL checkbox=$multiple_support checked=$use_vocation}
401 <input type="text" id="vocation" name="vocation" size=22 maxlength=60 value="{$vocation}">
402 {/render}
406 <label for="gouvernmentOrganizationalUnitDescription">{t}Unit description{/t}</label>
408 {render acl=$gouvernmentOrganizationalUnitDescriptionACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitDescription}
409 <input type="text" id="gouvernmentOrganizationalUnitDescription" name="gouvernmentOrganizationalUnitDescription" size=22 maxlength=60
410 value="{$gouvernmentOrganizationalUnitDescription}">
411 {/render}
415 <label for="gouvernmentOrganizationalUnitSubjectArea">{t}Subject area{/t}</label>
417 {render acl=$gouvernmentOrganizationalUnitSubjectAreaACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitSubjectArea}
418 <input type="text" id="gouvernmentOrganizationalUnitSubjectArea" name="gouvernmentOrganizationalUnitSubjectArea" size=22 maxlength=60
419 value="{$gouvernmentOrganizationalUnitSubjectArea}">
420 {/render}
424 <label for="functionalTitle">{t}Functional title{/t}</label>
426 {render acl=$functionalTitleACL checkbox=$multiple_support checked=$use_functionalTitle}
427 <input type="text" name="functionalTitle" id="functionalTitle" size=22 maxlength=60
428 value="{$functionalTitle}">
429 {/render}
433 <label for="role">{t}Role{/t}</label>
435 {render acl=$roleACL checkbox=$multiple_support checked=$use_role}
436 <input type="text" id="role" name="role" size=22 maxlength=60 value="{$role}">
437 {/render}
443 <!-- Phone, ... -->
447 <label for="gouvernmentOrganizationalPersonLocality">{t}Person locality{/t}</label>
449 {render acl=$gouvernmentOrganizationalPersonLocalityACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalPersonLocality}
450 <input type="text" id="gouvernmentOrganizationalPersonLocality" name="gouvernmentOrganizationalPersonLocality" size=22 maxlength=60
451 value="{$gouvernmentOrganizationalPersonLocality}">
452 {/render}
456 <label for="gouvernmentOrganizationalUnit">{t}Unit{/t}</label>
458 {render acl=$gouvernmentOrganizationalUnitACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnit}
459 <input type="text" id="gouvernmentOrganizationalUnit" name="gouvernmentOrganizationalUnit" size=22 maxlength=60
460 value="{$gouvernmentOrganizationalUnit}">
461 {/render}
465 <label for="street">{t}Street{/t}</label>
467 {render acl=$streetACL checkbox=$multiple_support checked=$use_street}
468 <input type="text" name="street" id="street" size=22 maxlength=60 value="{$street}">
469 {/render}
473 <label for="postalCode">{t}Postal code{/t}</label>
475 {render acl=$postalCodeACL checkbox=$multiple_support checked=$use_postalCode}
476 <input type="text" name="postalCode" id="postalCode" size=22 maxlength=60 value="{$postalCode}">
477 {/render}
481 <label for="houseIdentifier">{t}House identifier{/t}</label>
483 {render acl=$houseIdentifierACL checkbox=$multiple_support checked=$use_houseIdentifier}
484 <input type="text" id="houseIdentifier" name="houseIdentifier" size=22 maxlength=60
485 value="{$houseIdentifier}">
486 {/render}
492 <!-- Location, ... -->
496 <label for="roomNumber">{t}Room No.{/t}</label>
498 {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber}
499 <input type="text" id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
500 {/render}
504 <label for="telephoneNumber">{t}Phone{/t}</label>
506 {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber}
507 {if $has_phoneaccount ne "true"}
508 <input type="text" id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}">
509 {else}
510 <i>{t}Please use the phone tab{/t}</i>
511 {/if}
512 {/render}
516 <label for="facsimileTelephoneNumber">{t}Fax{/t}</label>
518 {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber}
519 <input type="text" id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60
520 value="{$facsimileTelephoneNumber}">
521 {/render}
525 <label for="ivbbLastDeliveryCollective">{t}Last delivery{/t}</label>
527 {render acl=$ivbbLastDeliveryCollectiveACL checkbox=$multiple_support checked=$use_ivbbLastDeliveryCollective}
528 <input type="text" name="ivbbLastDeliveryCollective" size=22 maxlength=60 id="ivbbLastDeliveryCollective"
529 value="{$ivbbLastDeliveryCollective}">
530 {/render}
534 <label for="publicVisible">{t}Public visible{/t}</label>
536 {render acl=$publicVisibleACL checkbox=$multiple_support checked=$use_publicVisible}
537 <select size="1" id="publicVisible" name="publicVisible">
538 {html_options values=$ivbbmodes output=$ivbbmodes selected=$publicVisible}
539 </select>
540 {/render}
545 {/if}
549 {if $multiple_support}
550 <input type="hidden" name="user_mulitple_edit" value="1">
551 {/if}
552 <input type=hidden name="generic">
554 <!-- Place cursor -->
555 <script language="JavaScript" type="text/javascript">
556 <!-- // First input field on page
557 focus_field('sn');
558 -->
559 </script>
560 -->