index fde78d2529b6a5d736eac8aa8b81d2f0ab5077e2..83635680ad6d457c817abd2ad6df11785acb7247 100644 (file)
-<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="4" border="0">
<!-- Headline container -->
<tr>
- <td colspan=4>
- <h2><img alt="" align="middle" src="images/head.png"> {t}Personal information{/t}</h2>
+ <td colspan="4">
+ <h2><img alt="" align="middle" src="images/head.png" class="center"> {t}Personal information{/t}</h2>
</td>
</tr>
<tr>
<!-- Image container -->
+ <!-- Image container -->
+ <td style="vertical-align:top">
+ <table>
+ <tr>
+ <td width="147" height="200" bgcolor="gray">
+ <img align="center" valign="center" border="0" width="100%" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <input valign="top" type="submit" name="edit_picture" {$jpegPhotoACL} value="{t}Change picture{/t}...">
+ </td>
+ </tr>
+ </table>
+ </td>
+ <!--
+ Old image container, with incorrect image scaling.
<td style="vertical-align:top">
- <img align="bottom" border="1" width="145" height="200" src="getpic.php?rand={$rand}" alt="{t}Personal picture{/t}">
+ <img align="bottom" border="1" width="145" height="200" src="getbin.php?rand={$rand}" alt="{t}Personal picture{/t}">
<br>
- <input type=submit name="edit_picture" {$jpegPhotoACL} value="{t}Change picture{/t}...">
+ <input type="submit" name="edit_picture" {$jpegPhotoACL} value="{t}Change picture{/t}...">
</td>
+ -->
<!-- Name, ... -->
<td style="vertical-align:top;">
- <table>
+ <table summary="">
+ {if $is_template ne "true"}
+ <tr>
+ <td><label for="sn">{t}Last name{/t}{$must}</label></td>
+ <td><input id="sn" name="sn" size=25 maxlength=60 {$snACL} value="{$sn}"></td>
+ </tr>
+ {else}
<tr>
- <td>{t}Name{/t}{$must}</td>
- <td><input name="sn" size=25 maxlength=60 {$snACL} value="{$sn}"></td>
+ <td><label for="sn">{t}Template name{/t}{$must}</label></td>
+ <td><input id="sn" name="sn" size=25 maxlength=60 {$snACL} value="{$sn}"></td>
</tr>
+ {/if}
{if $is_template ne "true"}
<tr>
- <td>{t}Given name{/t}{$must}</td>
- <td><input name="givenName" size=25 maxlength=60 {$givenNameACL} value="{$givenName}"></td>
+ <td><label for="givenName">{t}First name{/t}{$must}</label></td>
+ <td><input id="givenName" name="givenName" size=25 maxlength=60 {$givenNameACL} value="{$givenName}"></td>
</tr>
<tr>
- <td>{t}Login{/t}{$must}</td>
- <td><input name="uid" size=25 maxlength=60 {$uidACL} value="{$uid}"></td>
+ <td><label for="uid">{t}Login{/t}{$must}</label></td>
+ <td><input id="uid" name="uid" size=25 maxlength=60 {$uidACL} value="{$uid}"></td>
</tr>
{/if}
<tr>
<td>
<div style="height:10px;"></div>
- {t}Personal title{/t}
+ <label for="personalTitle">{t}Personal title{/t}</label>
</td>
<td>
<div style="height:10px;"></div>
- <input name="personalTitle" size=25 maxlength=60 {$personalTitleACL} value="{$personalTitle}">
+ <input id="personalTitle" name="personalTitle" size=25 maxlength=60 {$personalTitleACL} value="{$personalTitle}">
</td>
</tr>
<tr>
- <td>{t}Academic title{/t}</td>
+ <td><label for="academicTitle">{t}Academic title{/t}</label></td>
<td>
- <input name="academicTitle" size=25 maxlength=60 {$academicTitleACL} value="{$academicTitle}">
+ <input id="academicTitle" name="academicTitle" size=25 maxlength=60 {$academicTitleACL} value="{$academicTitle}">
</td>
</tr>
<tr>
<td>
<div style="height:10px;"></div>
- {t}Date of birth{/t}
+ <label for="day">{t}Date of birth{/t}</label>
</td>
<td>
<div style="height:10px;"></div>
{if $use_dob eq 1}
- <select name=day onChange="createResult(this.form,this.form.dob);" {$dobACL}>
+ <select id="day" name=day onChange="createResult(this.form,this.form.dateOfBirth);" {$dateOfBirthACL}>
{html_options values=$days output=$days selected=$day}
</select>
- <select name=month onChange="populate(this.form,this.form.dob);" {$dobACL}>
+ <select name=month onChange="populate(this.form,this.form.dateOfBirth);" {$dateOfBirthACL}>
{html_options options=$months selected=$month}
</select>
- <select name=year onChange="populate(this.form,this.form.dob);" {$dobACL}>
+ <select name=year onChange="populate(this.form,this.form.dateOfBirth);" {$dateOfBirthACL}>
{html_options values=$years output=$years selected=$year}
</select>
- <input type="hidden" name="dob" value="{$dob}">
- <input type=submit name="set_dob" value="-" {$dobACL}>
+ <input type="hidden" name="dateOfBirth" value="{$dateOfBirth}">
+ <input type="submit" name="set_dob" value="-" {$dateOfBirthACL}>
{else}
- <input type=submit name="set_dob" value="{t}Set{/t}" {$dobACL}>
+ <input type="submit" name="set_dob" value="{t}Set{/t}" {$dateOfBirthACL}>
{/if}
</td>
</tr>
<tr>
<td>
- {t}Sex{/t}
+ <label for="gender">{t}Sex{/t}</label>
</td>
<td>
- <select size="1" name="gender" {$genderACL}>
+ <select size="1" id="gender" name="gender" {$genderACL}>
{html_options options=$gender_list selected=$gender}
</select>
</td>
</tr>
+ <tr>
+ <td>
+ <label for="preferredLanguage">{t}Preferred langage{/t}</label>
+ </td>
+ <td>
+ <select size="1" id="preferredLanguage" name="preferredLanguage" {$preferredLanguageACL}>
+ {html_options options=$preferredLanguage_list selected=$preferredLanguage}
+ </select>
+ </td>
+ </tr>
<tr>
<td>
<div style="height:10px;"></div>
- {t}Base{/t}
+ <label for="base">{t}Base{/t}</label>
</td>
<td>
<div style="height:10px;"></div>
- <select size="1" name="base" {$selectmode} title="{t}Choose subtree to place user in{/t}">
+ <select id="base" size="1" name="base" {$selectmode} title="{t}Choose subtree to place user in{/t}">
{html_options options=$bases selected=$base_select}
</select>
+ {if $selectmode == ""}
+ <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+ {else}
+ <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
+ {/if}
</td>
</tr>
</table>
<td style="vertical-align:top;">
<!-- Address, ... -->
- <table>
+ <table summary="" style="width:100%">
<tr>
- <td style="vertical-align:top;">{t}Address{/t}</td>
- <td><textarea name="homePostalAddress" rows=3 cols=22 {$homePostalAddressACL}>{$homePostalAddress}</textarea></td>
+ <td style="vertical-align:top;"><label for="homePostalAddress">{t}Address{/t}</label></td>
+ <td><textarea id="homePostalAddress" name="homePostalAddress" rows="3" style="width:100%" {$homePostalAddressACL}>{$homePostalAddress}</textarea></td>
</tr>
<tr>
- <td>{t}Private phone{/t}</td>
- <td><input name="homePhone" size=25 maxlength=60 {$homePhoneACL} value="{$homePhone}"></td>
+ <td><label for="homePhone">{t}Private phone{/t}</label></td>
+ <td><input id="homePhone" name="homePhone" size=25 maxlength=60 {$homePhoneACL} value="{$homePhone}"></td>
</tr>
<tr>
- <td>{t}Homepage{/t}</td>
- <td><input name="labeledURI" size=25 maxlength=60 {$labeledURIACL} value="{$labeledURI}"></td>
+ <td><label for="labeledURI">{t}Homepage{/t}</label></td>
+ <td><input id="labeledURI" name="labeledURI" size=25 maxlength=60 {$labeledURIACL} value="{$labeledURI}"></td>
</tr>
<tr>
<td colspan=2>
</td>
</tr>
<tr>
- <td>{t}Password storage{/t}</td>
+ <td><label for="pw_storage">{t}Password storage{/t}</label></td>
<td>
- <select size="1" name="pw_storage" {$passwordStorageACL}>
+ <select size="1" id="pw_storage" name="pw_storage" {$passwordStorageACL}>
{html_options values=$pwmode output=$pwmode selected=$pwmode_select}
</select>
</td>
{if $is_template ne "true"}
<tr>
- <td>{t}Certificates{/t}</td>
+ <td><label for="edit_cert">{t}Certificates{/t}</label></td>
<td>
- <input type=submit name="edit_cert" {$certificatesACL} value="{t}Edit certificates{/t}...">
+ <input id="edit_cert" type="submit" name="edit_cert" {$certificatesACL} value="{t}Edit certificates{/t}...">
</td>
</tr>
<tr>
- <td>{t}Kerberos{/t}</td>
- <td><input type=submit name="edit_krb" disabled value="{t}Edit properties{/t}..."></td>
+ <td><label for="edit_krb">{t}Kerberos{/t}</label></td>
+ <td><input id="edit_krb" type="submit" name="edit_krb" disabled value="{t}Edit properties{/t}..."></td>
</tr>
{/if}
<p class="seperator"> </p>
-<table class="line" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
+<table summary="" class="line" style="width:100%; vertical-align:top; text-align:left;" cellpadding="4" border="0">
<!-- Headline container -->
<tr>
- <td colspan=3>
- <h2><img alt="" align="middle" src="images/house.png"> {t}Organizational information{/t}</h2>
+ <td colspan="3">
+ <h2><img alt="" align="middle" src="images/house.png" class="center"> {t}Organizational information{/t}</h2>
</td>
</tr>
{if $governmentmode ne "true"}
<!-- Company, ... -->
<td style="vertical-align:top;">
- <table>
+ <table summary="">
<tr>
- <td>{t}Organization{/t}</td>
- <td><input name="o" size=22 maxlength=60 {$oACL} value="{$o}"></td>
+ <td><label for="o">{t}Organization{/t}</label></td>
+ <td><input id="o" name="o" size=22 maxlength=60 {$oACL} value="{$o}"></td>
</tr>
<tr>
- <td>{t}Department{/t}</td>
- <td><input name="ou" size=22 maxlength=60 {$ouACL} value="{$ou}"></td>
+ <td><label for="ou">{t}Department{/t}</label></td>
+ <td><input id="ou" name="ou" size=22 maxlength=60 {$ouACL} value="{$ou}"></td>
</tr>
<tr>
- <td>{t}Department No.{/t}</td>
+ <td><label for="departmentNumber">{t}Department No.{/t}</label></td>
<td>
- <input name="departmentNumber" size=22 maxlength=60 {$departmentNumberACL} value="{$departmentNumber}">
+ <input id="departmentNumber" name="departmentNumber" size=22 maxlength=60 {$departmentNumberACL} value="{$departmentNumber}">
</td>
</tr>
<tr>
- <td>{t}Employee No.{/t}</td>
+ <td><label for="employeeNumber">{t}Employee No.{/t}</label></td>
<td>
- <input name="employeeNumber" size=22 maxlength=60 {$employeeNumberACL} value="{$employeeNumber}">
+ <input id="employeeNumber" name="employeeNumber" size=22 maxlength=60 {$employeeNumberACL} value="{$employeeNumber}">
</td>
</tr>
<tr>
- <td>{t}Employee type{/t}</td>
+ <td><label for="employeeType">{t}Employee type{/t}</label></td>
<td>
- <input name="employeeType" size=22 maxlength=60 {$employeeTypeACL} value="{$employeeType}">
+ <input id="employeeType" name="employeeType" size=22 maxlength=60 {$employeeTypeACL} value="{$employeeType}">
</td>
</tr>
</table>
<!-- Phone, ... -->
<td style="vertical-align:top;">
- <table>
+ <table summary="">
<tr>
- <td>{t}Room No.{/t}</td>
- <td><input name="roomNumber" size=22 maxlength=60 {$roomNumberACL} value="{$roomNumber}"></td>
+ <td><label for="roomNumber">{t}Room No.{/t}</label></td>
+ <td><input id="roomNumber" name="roomNumber" size=22 maxlength=60 {$roomNumberACL} value="{$roomNumber}"></td>
</tr>
{if $has_phoneaccount ne "true"}
<tr>
- <td>{t}Phone{/t}</td>
+ <td><label for="telephoneNumber">{t}Phone{/t}</label></td>
<td>
- <input name="telephoneNumber" size=22 maxlength=60 {$telephoneNumberACL} value="{$telephoneNumber}">
+ <input id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 {$telephoneNumberACL} value="{$telephoneNumber}">
</td>
</tr>
{/if}
<tr>
- <td>{t}Mobile{/t}</td>
- <td><input name="mobile" size=22 maxlength=60 {$mobileACL} value="{$mobile}"></td>
+ <td><label for="mobile">{t}Mobile{/t}</label></td>
+ <td><input id="mobile" name="mobile" size=22 maxlength=60 {$mobileACL} value="{$mobile}"></td>
</tr>
<tr>
- <td>{t}Pager{/t}</td>
+ <td><label for="pager">{t}Pager{/t}</label></td>
<td>
- <input name="pager" size=22 maxlength=60 {$pagerACL} value="{$pager}">
+ <input id="pager" name="pager" size=22 maxlength=60 {$pagerACL} value="{$pager}">
</td>
</tr>
<tr>
- <td>{t}Fax{/t}</td>
- <td><input name="facsimileTelephoneNumber" size=22 maxlength=60 {$facsimileTelephoneNumberACL}
+ <td><label for="facsimileTelephoneNumber">{t}Fax{/t}</label></td>
+ <td><input id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60 {$facsimileTelephoneNumberACL}
value="{$facsimileTelephoneNumber}">
</td>
</tr>
<!-- Location, ... -->
<td style="vertical-align:top;">
- <table>
+ <table summary="" style="width:100%">
<tr>
- <td>{t}Location{/t}</td>
- <td><input name="l" size=22 maxlength=60 {$lACL} value="{$l}"></td>
+ <td><label for="l">{t}Location{/t}</l></td>
+ <td><input id="l" name="l" size=22 maxlength=60 {$lACL} value="{$l}"></td>
</tr>
<tr>
- <td>{t}State{/t}</td>
- <td><input name="st" size=22 maxlength=60 {$stACL} value="{$st}"></td>
+ <td><label for="st">{t}State{/t}</label></td>
+ <td><input id="st" name="st" size=22 maxlength=60 {$stACL} value="{$st}"></td>
</tr>
<tr>
- <td style="vertical-align:top;">{t}Address{/t}</td>
+ <td style="vertical-align:top;"><label for="postalAddress">{t}Address{/t}</label></td>
<td>
- <textarea name="postalAddress" rows=3 cols=22 {$postalAddressACL}>{$postalAddress}</textarea>
+ <textarea id="postalAddress" name="postalAddress" rows=3 style="width:100%" {$postalAddressACL}>{$postalAddress}</textarea>
</td>
</tr>
</table>
{else}
<!-- Beschreibung, ... -->
- <td style="vertical-align:top;">
- <table>
+ <td style="vertical-align:top;border-right:1px solid #b0b0b0">
+ <table summary="">
<tr>
- <td>{t}Vocation{/t}</td>
- <td><input name="vocation" size=22 maxlength=60 {$vocationACL} value="{$vocation}"></td>
+ <td><label for="vocation">{t}Vocation{/t}</label></td>
+ <td><input id="vocation" name="vocation" size=22 maxlength=60 {$vocationACL} value="{$vocation}"></td>
</tr>
<tr>
- <td>{t}Unit description{/t}</td>
+ <td><label for="gouvernmentOrganizationalUnitDescription">{t}Unit description{/t}</label></td>
<td>
- <input name="gouvernmentOrganizationalUnitDescription" size=22 maxlength=60
- {$gouvernmentOrganizationalUnitDescriptionACL}
+ <input id="gouvernmentOrganizationalUnitDescription" name="gouvernmentOrganizationalUnitDescription" size=22 maxlength=60
+ {$gouvernmentOrganizationalUnitDescriptionACL}
value="{$gouvernmentOrganizationalUnitDescription}">
</td>
</tr>
<tr>
- <td>{t}Subject area{/t}</td>
+ <td><label for="gouvernmentOrganizationalUnitSubjectArea">{t}Subject area{/t}</label></td>
<td>
- <input name="gouvernmentOrganizationalUnitSubjectArea" size=22 maxlength=60
- {$gouvernmentOrganizationalUnitSubjectAreaACL}
+ <input id="gouvernmentOrganizationalUnitSubjectArea" name="gouvernmentOrganizationalUnitSubjectArea" size=22 maxlength=60
+ {$gouvernmentOrganizationalUnitSubjectAreaACL}
value="{$gouvernmentOrganizationalUnitSubjectArea}">
</td>
</tr>
<tr>
- <td>{t}Functional title{/t}</td>
+ <td><label for="functionalTitle">{t}Functional title{/t}</label></td>
<td>
- <input name="functionalTitle" size=22 maxlength=60 {$functionalTitleACL}
+ <input name="functionalTitle" id="functionalTitle" size=22 maxlength=60 {$functionalTitleACL}
value="{$functionalTitle}">
</td>
</tr>
<tr>
- <td>{t}Role{/t}</td>
+ <td><label for="role">{t}Role{/t}</label></td>
<td>
- <input name="role" size=22 maxlength=60 {$roleACL} value="{$role}">
+ <input id="role" name="role" size=22 maxlength=60 {$roleACL} value="{$role}">
</td>
</tr>
</table>
</td>
<!-- Phone, ... -->
- <td style="vertical-align:top;">
- <table>
+ <td style="vertical-align:top;border-right:1px solid #b0b0b0">
+ <table summary="">
<tr>
- <td>{t}Person locality{/t}</td>
+ <td><label for="gouvernmentOrganizationalPersonLocality">{t}Person locality{/t}</label></td>
<td>
- <input name="gouvernmentOrganizationalPersonLocality" size=22 maxlength=60
+ <input id="gouvernmentOrganizationalPersonLocality" name="gouvernmentOrganizationalPersonLocality" size=22 maxlength=60
{$gouvernmentOrganizationalPersonLocalityACL}
value="{$gouvernmentOrganizationalPersonLocality}">
</td>
</tr>
<tr>
- <td>{t}Unit{/t}</td>
- <td><input name="gouvernmentOrganizationalUnit" size=22 maxlength=60
+ <td><label for="gouvernmentOrganizationalUnit">{t}Unit{/t}</label></td>
+ <td><input id="gouvernmentOrganizationalUnit" name="gouvernmentOrganizationalUnit" size=22 maxlength=60
{$gouvernmentOrganizationalUnitACL}
value="{$gouvernmentOrganizationalUnit}">
</td>
</tr>
<tr>
- <td>{t}Street{/t}</td>
+ <td><label for="street">{t}Street{/t}</label></td>
<td>
- <input name="street" size=22 maxlength=60 {$streetACL} value="{$street}">
+ <input name="street" id="street" size=22 maxlength=60 {$streetACL} value="{$street}">
</td>
</tr>
<tr>
- <td>{t}Postal code{/t}</td>
+ <td><label for="postalCode">{t}Postal code{/t}</label></td>
<td>
- <input name="postalCode" size=22 maxlength=60 {$postalCodeACL} value="{$postalCode}">
+ <input name="postalCode" id="postalCode" size=22 maxlength=60 {$postalCodeACL} value="{$postalCode}">
</td>
</tr>
<tr>
- <td>{t}House identifier{/t}</td>
+ <td><label for="houseIdentifier">{t}House identifier{/t}</label></td>
<td>
- <input name="houseIdentifier" size=22 maxlength=60 {$houseIdentifierACL}
+ <input id="houseIdentifier" name="houseIdentifier" size=22 maxlength=60 {$houseIdentifierACL}
value="{$houseIdentifier}">
</td>
</tr>
<!-- Location, ... -->
<td style="vertical-align:top;">
- <table>
+ <table summary="">
<tr>
- <td>{t}Room No.{/t}</td>
- <td><input name="roomNumber" size=22 maxlength=60 {$roomNumberACL} value="{$roomNumber}"></td>
+ <td><label for="roomNumber">{t}Room No.{/t}</label></td>
+ <td><input id="roomNumber" name="roomNumber" size=22 maxlength=60 {$roomNumberACL} value="{$roomNumber}"></td>
</tr>
<tr>
- <td>{t}Phone{/t}</td>
+ <td><label for="telephoneNumber">{t}Phone{/t}</label></td>
<td>
{if $has_phoneaccount ne "true"}
- <input name="telephoneNumber" size=22 maxlength=60 {$telephoneNumberACL} value="{$telephoneNumber}">
+ <input id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 {$telephoneNumberACL} value="{$telephoneNumber}">
{else}
<i>{t}Please use the phone tab{/t}</i>
{/if}
</td>
</tr>
<tr>
- <td>{t}Fax{/t}</td>
+ <td><label for="facsimileTelephoneNumber">{t}Fax{/t}</label></td>
<td>
- <input name="facsimileTelephoneNumber" size=22 maxlength=60
- {$facsimileTelephoneNumberACL}
+ <input id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60
+ {$facsimileTelephoneNumberACL}
value="{$facsimileTelephoneNumber}">
</td>
</tr>
<tr>
- <td>{t}Last delivery{/t}</td>
+ <td><label for="ivbbLastDeliveryCollective">{t}Last delivery{/t}</label></td>
<td>
- <input name="ivbbLastDeliveryCollective" size=22 maxlength=60
- {$ivbbLastDeliveryCollectiveACL}
+ <input name="ivbbLastDeliveryCollective" size=22 maxlength=60 {$ivbbLastDeliveryCollectiveACL} id="ivbbLastDeliveryCollective"
value="{$ivbbLastDeliveryCollective}">
</td>
</tr>
<tr>
- <td>{t}Public visible{/t}</td>
+ <td><label for="publicVisible">{t}Public visible{/t}</label></td>
<td>
- <select size="1" name="publicVisible" {$publicVisibleACL}>
+ <select size="1" id="publicVisible" name="publicVisible" {$publicVisibleACL}>
{html_options values=$ivbbmodes output=$ivbbmodes selected=$publicVisible}
</select>
</td>
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
document.mainform.sn.focus();
- if (yearSel != "") populate(document.mainform,document.mainform.dob);
+ if (document.mainform.yearSel != "")
+ populate(document.mainform,document.mainform.dateOfBirth);
-->
</script>