c579e787969500cbf393803fa9ad180e5ea161f2
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 <button type="submit" name="edit_picture">{t}Change picture{/t}...</button>
16 {/render}
17 </fieldset>
18 </div>
19 </div>
21 <div class="container-element" style='width:30%;'>
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" style='width:50%;'>
119 <div class="fieldset-right">
121 <fieldset>
123 <label for="homePostalAddress">{t}Address{/t}</label>
124 {render acl=$homePostalAddressACL checkbox=$multiple_support checked=$use_homePostalAddress}
125 <textarea id="homePostalAddress" name="homePostalAddress" rows="3" style="width:100%">{$homePostalAddress}</textarea>
126 {/render}
128 <label for="homePhone">{t}Private phone{/t}</label>
129 {render acl=$homePhoneACL checkbox=$multiple_support checked=$use_homePhone}
130 <input type="text" id="homePhone" name="homePhone" size=25 maxlength=60 value="{$homePhone}">
131 {/render}
133 <label for="labeledURI">{t}Homepage{/t}</label>
134 {render acl=$labeledURIACL checkbox=$multiple_support checked=$use_labeledURI}
135 <input type="text" id="labeledURI" name="labeledURI" size=25 maxlength=60 value="{$labeledURI}">
136 {/render}
138 <div style="height:10px;"></div>
140 <label for="pw_storage">{t}Password storage{/t}</label>
141 {render acl=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage}
142 <select size="1" id="pw_storage" name="pw_storage" onchange='document.mainform.submit()'>
143 {foreach from=$pwmode key=value item=desc}
144 <option value="{$value}" {if $pwmode_select == $value}selected{/if} >{$desc}</option>
145 {/foreach}
146 </select>
147 {/render}
148 {render acl=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage}
149 {if $pw_configurable eq "true"}
150 <button id="edit_pw_method" type="submit" name="edit_pw_method">{t}Configure{/t}...</button>
151 {/if}
152 {/render}
154 {if $is_template ne "true" && !$multiple_support}
155 <label for="edit_cert">{t}Certificates{/t}</label>
156 {render acl=$CertificatesACL mode=read_active}
157 <button id="edit_cert" type="submit" name="edit_cert">{t}Edit certificates{/t}...</button>
158 {/render}
159 {/if}
161 <div style="height:10px;"></div>
163 {if !$multiple_support}
164 {render acl=$gosaLoginRestrictionACL}
165 {$gosaLoginRestrictionWidget}
166 {/render}
167 {render acl=$gosaLoginRestrictionACL}
168 <input type="text" id="res" name="res" size=22 maxlength=33
169 value="{t}IP or network{/t}" onFocus='document.getElementById("res").value=""'>
170 {/render}
171 {render acl=$gosaLoginRestrictionACL}
172 <button id="add_res" type="submit" name="add_res">{t}Add{/t}<button>
173 {/render}
175 {else}
177 <input type='checkbox' name='use_gosaLoginRestriction' {if $use_gosaLoginRestriction} checked {/if}
178 onClick='document.mainform.submit();'>
179 {if !$use_gosaLoginRestriction}
180 {render acl=$gosaLoginRestriction_ONLY_R_ACL}
181 {$gosaLoginRestrictionWidget}
182 {/render}
183 {else}
184 {render acl=$gosaLoginRestrictionACL}
185 {$gosaLoginRestrictionWidget}
186 {/render}
187 {render acl=$gosaLoginRestrictionACL}
188 <input type="text" id="res" name="res" size=22 maxlength=33
189 value="{t}IP or network{/t}" onFocus='document.getElementById("res").value=""'>
190 {/render}
191 {render acl=$gosaLoginRestrictionACL}
192 <input id="add_res" type="submit" name="add_res" value="{t}Add{/t}">
193 {/render}
194 {/if}
195 {/if}
197 </fieldset>
198 </div>
199 </div>
200 </div>
202 <div class='clear'></div>
204 <!--
206 <p class="seperator"> </p>
210 <!-- Headline container -->
213 <h2>{t}Organizational information{/t}</h2>
217 <!-- Base 2 container -->
220 {if $governmentmode ne "true"}
221 <!-- Company, ... -->
225 <label for="o">{t}Organization{/t}</label>
227 {render acl=$oACL checkbox=$multiple_support checked=$use_o}
228 <input type="text" id="o" name="o" size=22 maxlength=60 value="{$o}">
229 {/render}
233 <label for="ou">{t}Department{/t}</label>
235 {render acl=$ouACL checkbox=$multiple_support checked=$use_ou}
236 <input type="text" id="ou" name="ou" size=22 maxlength=60 value="{$ou}">
237 {/render}
241 <label for="departmentNumber">{t}Department No.{/t}</label>
243 {render acl=$departmentNumberACL checkbox=$multiple_support checked=$use_departmentNumber}
244 <input type="text" id="departmentNumber" name="departmentNumber" size=22 maxlength=60 value="{$departmentNumber}">
245 {/render}
249 <label for="employeeNumber">{t}Employee No.{/t}</label>
251 {render acl=$employeeNumberACL checkbox=$multiple_support checked=$use_employeeNumber}
252 <input type="text" id="employeeNumber" name="employeeNumber" size=22 maxlength=60 value="{$employeeNumber}">
253 {/render}
257 <label for="employeeType">{t}Employee type{/t}</label>
259 {render acl=$employeeTypeACL checkbox=$multiple_support checked=$use_employeeType}
260 <input type="text" id="employeeType" name="employeeType" size=22 maxlength=60 value="{$employeeType}">
261 {/render}
264 {if !$multiple_support}
266 <label for="manager">{t}Manager{/t}</label>
268 {render acl=$managerACL}
269 <input type='text' name='manager_name' id='manager_name' value='{$manager_name}' disabled
270 title='{$manager}'>
271 {/render}
272 {render acl=$managerACL}
273 <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
274 {/render}
275 {if $manager!=""}
276 {render acl=$managerACL}
277 <img src='images/info_small.png' title='{$manager}' class='center'>
278 {/render}
279 {render acl=$managerACL}
280 <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
281 {/render}
282 {/if}
285 {else}
287 <label for="manager">{t}Manager{/t}</label>
289 <input type='checkbox' value="1" name="use_manager" id="use_manager" {if $use_manager} checked {/if}
290 onClick="document.mainform.submit();">
291 <input type='text' name='manager_name' id='manager_name' value='{$manager_name}' disabled
292 title='{$manager}'>
293 {if $use_manager}
294 <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
295 {if $manager!=""}
296 <img src='images/info_small.png' title='{$manager}' class='center'>
297 <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
298 {/if}
299 {/if}
303 {/if}
308
311 <!-- Phone, ... -->
315 <label for="roomNumber">{t}Room No.{/t}</label>
317 {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber}
318 <input type="text" id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
319 {/render}
322 {if $has_phoneaccount ne "true"}
324 <label for="telephoneNumber">{t}Phone{/t}</label>
326 {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber}
327 <input type="text" id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}">
328 {/render}
331 {/if}
333 <label for="mobile">{t}Mobile{/t}</label>
335 {render acl=$mobileACL checkbox=$multiple_support checked=$use_mobile}
336 <input type="text" id="mobile" name="mobile" size=22 maxlength=60 value="{$mobile}">
337 {/render}
341 <label for="pager">{t}Pager{/t}</label>
343 {render acl=$pagerACL checkbox=$multiple_support checked=$use_pager}
344 <input type="text" id="pager" name="pager" size=22 maxlength=60 value="{$pager}">
345 {/render}
349 <label for="facsimileTelephoneNumber">{t}Fax{/t}</label>
351 {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber}
352 <input type="text" id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60 value="{$facsimileTelephoneNumber}">
353 {/render}
360
363 <!-- Location, ... -->
367 <label for="l">{t}Location{/t}</label>
369 {render acl=$lACL checkbox=$multiple_support checked=$use_l}
370 <input type="text" id="l" name="l" size=22 maxlength=60 value="{$l}">
371 {/render}
375 <label for="st">{t}State{/t}</label>
377 {render acl=$stACL checkbox=$multiple_support checked=$use_st}
378 <input type="text" id="st" name="st" size=22 maxlength=60 value="{$st}">
379 {/render}
385 {render acl=$postalAddressACL checkbox=$multiple_support checked=$use_postalAddress}
386 <textarea id="postalAddress" name="postalAddress" rows=3 style="width:100%">{$postalAddress}</textarea>
387 {/render}
393 {else}
395 <!-- Beschreibung, ... -->
399 <label for="vocation">{t}Vocation{/t}</label>
401 {render acl=$vocationACL checkbox=$multiple_support checked=$use_vocation}
402 <input type="text" id="vocation" name="vocation" size=22 maxlength=60 value="{$vocation}">
403 {/render}
407 <label for="gouvernmentOrganizationalUnitDescription">{t}Unit description{/t}</label>
409 {render acl=$gouvernmentOrganizationalUnitDescriptionACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitDescription}
410 <input type="text" id="gouvernmentOrganizationalUnitDescription" name="gouvernmentOrganizationalUnitDescription" size=22 maxlength=60
411 value="{$gouvernmentOrganizationalUnitDescription}">
412 {/render}
416 <label for="gouvernmentOrganizationalUnitSubjectArea">{t}Subject area{/t}</label>
418 {render acl=$gouvernmentOrganizationalUnitSubjectAreaACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitSubjectArea}
419 <input type="text" id="gouvernmentOrganizationalUnitSubjectArea" name="gouvernmentOrganizationalUnitSubjectArea" size=22 maxlength=60
420 value="{$gouvernmentOrganizationalUnitSubjectArea}">
421 {/render}
425 <label for="functionalTitle">{t}Functional title{/t}</label>
427 {render acl=$functionalTitleACL checkbox=$multiple_support checked=$use_functionalTitle}
428 <input type="text" name="functionalTitle" id="functionalTitle" size=22 maxlength=60
429 value="{$functionalTitle}">
430 {/render}
434 <label for="role">{t}Role{/t}</label>
436 {render acl=$roleACL checkbox=$multiple_support checked=$use_role}
437 <input type="text" id="role" name="role" size=22 maxlength=60 value="{$role}">
438 {/render}
444 <!-- Phone, ... -->
448 <label for="gouvernmentOrganizationalPersonLocality">{t}Person locality{/t}</label>
450 {render acl=$gouvernmentOrganizationalPersonLocalityACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalPersonLocality}
451 <input type="text" id="gouvernmentOrganizationalPersonLocality" name="gouvernmentOrganizationalPersonLocality" size=22 maxlength=60
452 value="{$gouvernmentOrganizationalPersonLocality}">
453 {/render}
457 <label for="gouvernmentOrganizationalUnit">{t}Unit{/t}</label>
459 {render acl=$gouvernmentOrganizationalUnitACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnit}
460 <input type="text" id="gouvernmentOrganizationalUnit" name="gouvernmentOrganizationalUnit" size=22 maxlength=60
461 value="{$gouvernmentOrganizationalUnit}">
462 {/render}
466 <label for="street">{t}Street{/t}</label>
468 {render acl=$streetACL checkbox=$multiple_support checked=$use_street}
469 <input type="text" name="street" id="street" size=22 maxlength=60 value="{$street}">
470 {/render}
474 <label for="postalCode">{t}Postal code{/t}</label>
476 {render acl=$postalCodeACL checkbox=$multiple_support checked=$use_postalCode}
477 <input type="text" name="postalCode" id="postalCode" size=22 maxlength=60 value="{$postalCode}">
478 {/render}
482 <label for="houseIdentifier">{t}House identifier{/t}</label>
484 {render acl=$houseIdentifierACL checkbox=$multiple_support checked=$use_houseIdentifier}
485 <input type="text" id="houseIdentifier" name="houseIdentifier" size=22 maxlength=60
486 value="{$houseIdentifier}">
487 {/render}
493 <!-- Location, ... -->
497 <label for="roomNumber">{t}Room No.{/t}</label>
499 {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber}
500 <input type="text" id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
501 {/render}
505 <label for="telephoneNumber">{t}Phone{/t}</label>
507 {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber}
508 {if $has_phoneaccount ne "true"}
509 <input type="text" id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}">
510 {else}
511 <i>{t}Please use the phone tab{/t}</i>
512 {/if}
513 {/render}
517 <label for="facsimileTelephoneNumber">{t}Fax{/t}</label>
519 {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber}
520 <input type="text" id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60
521 value="{$facsimileTelephoneNumber}">
522 {/render}
526 <label for="ivbbLastDeliveryCollective">{t}Last delivery{/t}</label>
528 {render acl=$ivbbLastDeliveryCollectiveACL checkbox=$multiple_support checked=$use_ivbbLastDeliveryCollective}
529 <input type="text" name="ivbbLastDeliveryCollective" size=22 maxlength=60 id="ivbbLastDeliveryCollective"
530 value="{$ivbbLastDeliveryCollective}">
531 {/render}
535 <label for="publicVisible">{t}Public visible{/t}</label>
537 {render acl=$publicVisibleACL checkbox=$multiple_support checked=$use_publicVisible}
538 <select size="1" id="publicVisible" name="publicVisible">
539 {html_options values=$ivbbmodes output=$ivbbmodes selected=$publicVisible}
540 </select>
541 {/render}
546 {/if}
550 {if $multiple_support}
551 <input type="hidden" name="user_mulitple_edit" value="1">
552 {/if}
553 <input type=hidden name="generic">
555 <!-- Place cursor -->
556 <script language="JavaScript" type="text/javascript">
557 <!-- // First input field on page
558 focus_field('sn');
559 -->
560 </script>
561 -->