diff --git a/gosa-core/plugins/personal/generic/generic.tpl b/gosa-core/plugins/personal/generic/generic.tpl
index 7d8ec7f7b08a7210f3bfeaff64b1e348388faa55..548ae1c68916b699a7ad1b277bf7c42991e9b7f1 100644 (file)
<table summary="{t}Personal information{/t}">
<tr>
<table summary="{t}Personal information{/t}">
<tr>
- <td style="vertical-align:top">
+ <td>
<!-- The users picture settings container -->
<table summary="{t}The users picture{/t}">
<tr>
<!-- The users picture settings container -->
<table summary="{t}The users picture{/t}">
<tr>
- <td style="vertical-align: middle; width:147px; height:200px; background-color:gray;">
+ <td style='width:147px; height:200px; background-color:gray;'>
{if !$userPicture_is_readable}
<img src="plugins/users/images/default.jpg" alt=''>
{else}
{if !$userPicture_is_readable}
<img src="plugins/users/images/default.jpg" alt=''>
{else}
<tr>
<td>
{render acl=$userPictureACL checkbox=$multiple_support checked=$use_edit_picture}
<tr>
<td>
{render acl=$userPictureACL checkbox=$multiple_support checked=$use_edit_picture}
- <button style='vertical-align:top;' type="submit" name="edit_picture">{t}Change picture{/t}...</button>
+ <button type="submit" name="edit_picture">{t}Change picture{/t}...</button>
{/render}
</td>
</tr>
{/render}
</td>
</tr>
<!-- /The users picture settings container -->
</td>
<!-- /The users picture settings container -->
</td>
- <td style="vertical-align:top;">
+ <td>
{if $is_template ne "true"}
{if $is_template ne "true"}
</td>
<td>
{render acl=$genderACL}
</td>
<td>
{render acl=$genderACL}
- <select id="gender" name="gender">
+ <select size="1" id="gender" name="gender">
{html_options options=$gender_list selected=$gender}
</select>
{/render}
{html_options options=$gender_list selected=$gender}
</select>
{/render}
</td>
<td>
{render acl=$preferredLanguageACL checkbox=$multiple_support checked=$use_preferredLanguage}
</td>
<td>
{render acl=$preferredLanguageACL checkbox=$multiple_support checked=$use_preferredLanguage}
- <select id="preferredLanguage" name="preferredLanguage">
+ <select size="1" id="preferredLanguage" name="preferredLanguage">
{html_options options=$preferredLanguage_list selected=$preferredLanguage}
</select>
{/render}
{html_options options=$preferredLanguage_list selected=$preferredLanguage}
</select>
{/render}
</table>
</td>
</table>
</td>
- <td style="border-left:1px solid #A0A0A0">
-
+ <td class='left-border'>
</td>
</td>
- <td style="vertical-align:top;">
+ <td>
<table style="width:100%" summary="{t}Postal address{/t}">
<tr>
<table style="width:100%" summary="{t}Postal address{/t}">
<tr>
- <td style="vertical-align:top;"><label for="homePostalAddress">{t}Address{/t}</label></td>
+ <td><label for="homePostalAddress">{t}Address{/t}</label></td>
<td>
{render acl=$homePostalAddressACL checkbox=$multiple_support checked=$use_homePostalAddress}
<textarea cols='200' id="homePostalAddress" name="homePostalAddress" rows="3" style="width:100%">{$homePostalAddress}</textarea>
<td>
{render acl=$homePostalAddressACL checkbox=$multiple_support checked=$use_homePostalAddress}
<textarea cols='200' id="homePostalAddress" name="homePostalAddress" rows="3" style="width:100%">{$homePostalAddress}</textarea>
<td><label for="pw_storage">{t}Password storage{/t}</label></td>
<td>
{render acl=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage}
<td><label for="pw_storage">{t}Password storage{/t}</label></td>
<td>
{render acl=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage}
- <select id="pw_storage" name="pw_storage" onchange='document.mainform.submit()'>
+ <select size="1" id="pw_storage" name="pw_storage" onchange='document.mainform.submit()'>
{foreach from=$pwmode key=value item=desc}
<option value="{$value}" {if $pwmode_select == $value}selected{/if} >{$desc}</option>
{/foreach}
{foreach from=$pwmode key=value item=desc}
<option value="{$value}" {if $pwmode_select == $value}selected{/if} >{$desc}</option>
{/foreach}
</td>
</tr>
<tr>
</td>
</tr>
<tr>
- <td colspan="2" style='vertical-align:top'><label for="res">{t}Restrict login to{/t}</label>
+ <td colspan="2"><label for="res">{t}Restrict login to{/t}</label>
{if !$multiple_support}
{render acl=$gosaLoginRestrictionACL}
{if !$multiple_support}
{render acl=$gosaLoginRestrictionACL}
{if $governmentmode ne "true"}
<!-- Company, ... -->
{if $governmentmode ne "true"}
<!-- Company, ... -->
- <td style="vertical-align:top;">
+ <td>
<table summary="{t}Organizational information{/t} - {t}part{/t} 1">
<tr>
<td><label for="o">{t}Organization{/t}</label></td>
<table summary="{t}Organizational information{/t} - {t}part{/t} 1">
<tr>
<td><label for="o">{t}Organization{/t}</label></td>
<td>
{render acl=$managerACL}
<input type='text' name='manager_name' id='manager_name' value='{$manager_name}' disabled title='{$manager}'
<td>
{render acl=$managerACL}
<input type='text' name='manager_name' id='manager_name' value='{$manager_name}' disabled title='{$manager}'
- style='width:130px;'>
+ style='width:120px;'>
{/render}
{image path="images/lists/edit.png" action="editManager" acl=$managerACL}
{/render}
{image path="images/lists/edit.png" action="editManager" acl=$managerACL}
</table>
</td>
</table>
</td>
- <td style="border-left:1px solid #A0A0A0">
-
+ <td class='left-border'>
</td>
<!-- Phone, ... -->
</td>
<!-- Phone, ... -->
- <td style="vertical-align:top;">
+ <td>
<table summary="{t}Organizational information{/t} - {t}part{/t} 2">
<tr>
<td><label for="roomNumber">{t}Room No.{/t}</label></td>
<table summary="{t}Organizational information{/t} - {t}part{/t} 2">
<tr>
<td><label for="roomNumber">{t}Room No.{/t}</label></td>
</table>
</td>
</table>
</td>
- <td style="border-left:1px solid #A0A0A0">
-
+ <td class='left-border'>
</td>
<!-- Location, ... -->
</td>
<!-- Location, ... -->
- <td style="vertical-align:top;">
+ <td>
<table summary="{t}Organizational information{/t} - {t}part{/t} 3">
<tr>
<td><label for="l">{t}Location{/t}</label></td>
<table summary="{t}Organizational information{/t} - {t}part{/t} 3">
<tr>
<td><label for="l">{t}Location{/t}</label></td>
</td>
</tr>
<tr>
</td>
</tr>
<tr>
- <td style="vertical-align:top;"><label for="postalAddress">{t}Address{/t}</label></td>
+ <td><label for="postalAddress">{t}Address{/t}</label></td>
<td>
{render acl=$postalAddressACL checkbox=$multiple_support checked=$use_postalAddress}
<textarea cols="200" id="postalAddress" name="postalAddress" rows=3 style="width:100%">{$postalAddress}</textarea>
<td>
{render acl=$postalAddressACL checkbox=$multiple_support checked=$use_postalAddress}
<textarea cols="200" id="postalAddress" name="postalAddress" rows=3 style="width:100%">{$postalAddress}</textarea>
{else}
<!-- Beschreibung, ... -->
{else}
<!-- Beschreibung, ... -->
- <td style="vertical-align:top;border-right:1px solid #b0b0b0">
+ <td class="right-border">
<table summary="{t}Organizational information{/t} - {t}part{/t} 1">
<tr>
<td><label for="vocation">{t}Vocation{/t}</label></td>
<table summary="{t}Organizational information{/t} - {t}part{/t} 1">
<tr>
<td><label for="vocation">{t}Vocation{/t}</label></td>
</td>
<!-- Phone, ... -->
</td>
<!-- Phone, ... -->
- <td style="vertical-align:top;border-right:1px solid #b0b0b0">
+ <td class='right-border'>
<table summary="{t}Organizational information{/t} - {t}part{/t} 2">
<tr>
<td><label for="gouvernmentOrganizationalPersonLocality">{t}Person locality{/t}</label></td>
<table summary="{t}Organizational information{/t} - {t}part{/t} 2">
<tr>
<td><label for="gouvernmentOrganizationalPersonLocality">{t}Person locality{/t}</label></td>
</td>
<!-- Location, ... -->
</td>
<!-- Location, ... -->
- <td style="vertical-align:top;">
+ <td>
<table summary="{t}Organizational information{/t} - {t}part{/t} 3">
<tr>
<td><label for="roomNumber">{t}Room No.{/t}</label></td>
<table summary="{t}Organizational information{/t} - {t}part{/t} 3">
<tr>
<td><label for="roomNumber">{t}Room No.{/t}</label></td>
<td><label for="publicVisible">{t}Public visible{/t}</label></td>
<td>
{render acl=$publicVisibleACL checkbox=$multiple_support checked=$use_publicVisible}
<td><label for="publicVisible">{t}Public visible{/t}</label></td>
<td>
{render acl=$publicVisibleACL checkbox=$multiple_support checked=$use_publicVisible}
- <select id="publicVisible" name="publicVisible">
+ <select size="1" id="publicVisible" name="publicVisible">
{html_options values=$ivbbmodes output=$ivbbmodes selected=$publicVisible}
</select>
{/render}
{html_options values=$ivbbmodes output=$ivbbmodes selected=$publicVisible}
</select>
{/render}