Code

Updated generic templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 4 Mar 2010 07:47:29 +0000 (07:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 4 Mar 2010 07:47:29 +0000 (07:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16010 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/generic/class_user.inc
gosa-core/plugins/personal/generic/generic.tpl
gosa-core/plugins/personal/generic/generic_certs.tpl
gosa-core/plugins/personal/generic/generic_picture.tpl
gosa-core/plugins/personal/generic/password.tpl
gosa-core/plugins/personal/generic/paste_generic.tpl

index 8bb519724d0dcd165d361570d101b01a6ac2f800..cce9ec8d8b76bd382df4643b65c50a45ff463e51 100644 (file)
@@ -566,7 +566,7 @@ class user extends plugin
             $add_str_info = "<br><i>"._("(Some types of certificates are currently not supported and may be displayed as 'invalid'.)")."</i>";
           }
 
-          $str = "<table summary=\"\" border=0>
+          $str = "<table \"\" border=0>
                     <tr>
                       <td style='vertical-align:top'>CN</td>
                       <td>".preg_replace("/ /", "&nbsp;", $certificate->getname())."</td>
index 06bcfca5c9152800e2d8e4d8d857082a0dcf046d..7d8ec7f7b08a7210f3bfeaff64b1e348388faa55 100644 (file)
@@ -1,21 +1,16 @@
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="4" border="0">
- <!-- Headline container -->
- <tr>
-  <td colspan="4">
-   <h3>{t}Personal information{/t}</h3>
-  </td>
- </tr>
- <!-- Base 1 container -->
+
+
+<h3>{t}Personal information{/t}</h3>
+
+
+<table summary="{t}Personal information{/t}">
  <tr>
-  
-  <!-- Image container -->
-  <!-- Image container -->
   <td style="vertical-align:top">
-   <table>
+
+   <!-- The users picture settings container -->
+   <table summary="{t}The users picture{/t}">
     <tr>
-     <td style='width:147px; height: 200px;' bgcolor="gray">
+     <td style="vertical-align: middle; width:147px; height:200px; background-color:gray;">
       {if !$userPicture_is_readable}
       <img  src="plugins/users/images/default.jpg" alt=''>
       {else}
      </td>
     </tr>
    </table>
-  </td>
-  
-  <!-- Name, ... -->
+  <!-- /The users picture settings container -->
+
+  </td> 
   <td style="vertical-align:top;">
-   <table summary=""> 
-    {if $is_template ne "true"}
+
+   {if $is_template ne "true"}
+
+   <!-- The users personal settings container -->
+   <table summary="{t}Account settings{/t}"> 
     <tr>
-     <td><label for="sn">{t}Last name{/t}{$must}</label></td>
+     <td>
+      <label for="sn">{t}Last name{/t}{$must}</label>
+     </td>
      <td>
       {if $multiple_support}
-      <input type="text" id="sn" name="dummy2" size=25 maxlength=60 value="{t}Multiple edit{/t}" disabled>
+       <input type="text" id="sn" name="dummy2" maxlength=60 value="{t}Multiple edit{/t}" disabled>
       {else}
-      {render acl=$snACL}
-      <input type="text" id="sn" name="sn" size=25 maxlength=60 value="{$sn}">
-      {/render}
+       {render acl=$snACL}
+        <input type="text" id="sn" name="sn" maxlength=60 value="{$sn}">
+       {/render}
       {/if}
      </td>
     </tr>
-    {else}
-    <tr>
-     <td><label for="sn">{t}Template name{/t}{$must}</label></td>
-     <td>{render acl=$snACL}<input type="text" id="sn" name="sn" size=25 maxlength=60 value="{$sn}">{/render}</td>
-    </tr>
-    {/if}
-    
-    {if $is_template ne "true"}
     <tr>
-     <td><label for="givenName">{t}First name{/t}{$must}</label></td>
      <td>
-      
+      <label for="givenName">{t}First name{/t}{$must}</label>
+     </td>
+     <td>
       {if $multiple_support}
-      <input type="text" id="givenName" name="dummy3" size=25 maxlength=60 value="{t}Multiple edit{/t}" disabled>
+       <input type="text" id="givenName" name="dummy3" maxlength=60 value="{t}Multiple edit{/t}" disabled>
       {else}
-      {render acl=$givenNameACL}
-      <input type="text" id="givenName" name="givenName" size=25 maxlength=60 value="{$givenName}">
-      {/render}
+       {render acl=$givenNameACL}
+        <input type="text" id="givenName" name="givenName" maxlength=60 value="{$givenName}">
+       {/render}
       {/if}
      </td>
     </tr>
     <tr>
-     <td><label for="uid">{t}Login{/t}{$must}</label></td>
+     <td>
+      <label for="uid">{t}Login{/t}{$must}</label>
+     </td>
      <td>
       {if !$multiple_support}
-      {render acl=$uidACL}
-      <input type="text" id="uid" name="uid" size=25 maxlength=60  value="{$uid}">
-      {/render}
+       {render acl=$uidACL}
+        <input type="text" id="uid" name="uid" maxlength=60  value="{$uid}">
+       {/render}
       {else}
-      <input type="text" id="uid" name="dummy1" size=25 maxlength=60  value="{t}Multiple edit{/t}" disabled>
+       <input type="text" id="uid" name="dummy1" maxlength=60  value="{t}Multiple edit{/t}" disabled>
       {/if}
      </td>
     </tr>
-    {/if}
+
+   {else}
+
+   <!-- The template settings container -->
+   <table summary="{t}Account settings{/t}"> 
+    <tr>
+     <td><label for="sn">{t}Template name{/t}{$must}</label></td>
+     <td>{render acl=$snACL}<input type="text" id="sn" name="sn" maxlength=60 value="{$sn}">{/render}</td>
+    </tr>
+
+   {/if}
     
+   <!-- Additional account/template settings -->
     <tr>
      <td>
-      <div style="height:10px;"></div>
       <label for="personalTitle">{t}Personal title{/t}</label>
      </td>
      <td>
-      <div style="height:10px;"></div>
       {render acl=$personalTitleACL checkbox=$multiple_support checked=$use_personalTitle}
-      <input type="text" id="personalTitle" name="personalTitle" size=25 maxlength=60 value="{$personalTitle}">
+       <input type="text" id="personalTitle" name="personalTitle" maxlength=60 value="{$personalTitle}">
       {/render}
      </td>
     </tr>
     <tr>
-     <td><label for="academicTitle">{t}Academic title{/t}</label></td>
+     <td>
+      <label for="academicTitle">{t}Academic title{/t}</label>
+     </td>
      <td>
       {render acl=$academicTitleACL checkbox=$multiple_support checked=$use_academicTitle}
-      <input type="text" id="academicTitle" name="academicTitle" size=25 maxlength=60 value="{$academicTitle}">
+       <input type="text" id="academicTitle" name="academicTitle" maxlength=60 value="{$academicTitle}">
       {/render}
      </td>
     </tr>
+
     {if !$multiple_support}
+
+    <!-- Date of birth container (not visible in mutliple edit) -->
     <tr>
      <td>
       <div style="height:10px;"></div>
      </td>
      <td>
       <div style="height:10px;"></div>
-      {render acl=$dateOfBirthACL}
-      <input type="text" id="dateOfBirth" name="dateOfBirth" class="date" style='width:100px' value="{$dateOfBirth}">
-      {if $dateOfBirthACL|regex_replace:"/[cdmr]/":"" == "w"}
-      <script type="text/javascript">
-      {literal}
-      var datepicker  = new DatePicker({ relative : 'dateOfBirth', language : '{/literal}{$lang}{literal}', keepFieldEmpty : true,
-      enableCloseEffect : false, enableShowEffect : false });
-      {/literal}
-      </script>
-      {/if}
+       {render acl=$dateOfBirthACL}
+        <input type="text" id="dateOfBirth" name="dateOfBirth" class="date" value="{$dateOfBirth}">
+         {if $dateOfBirthACL|regex_replace:"/[cdmr]/":"" == "w"}
+          <script type="text/javascript">
+           {literal}
+            var datepicker  = new DatePicker(
+                  { relative : 'dateOfBirth', 
+                    language : '{/literal}{$lang}{literal}', 
+                    keepFieldEmpty : true,
+                    enableCloseEffect : false, 
+                    enableShowEffect : false });
+           {/literal}
+          </script>
+         {/if}
       {/render}
      </td>
     </tr>
      </td>
      <td>
       {render acl=$genderACL}
-      <select size="1" id="gender" name="gender">
-       {html_options options=$gender_list selected=$gender}
-      </select>
+       <select id="gender" name="gender">
+        {html_options options=$gender_list selected=$gender}
+       </select>
       {/render}
      </td>
     </tr>
     {/if}
+
     <tr>
      <td>
       <label for="preferredLanguage">{t}Preferred langage{/t}</label>
      </td>
      <td>
       {render acl=$preferredLanguageACL checkbox=$multiple_support checked=$use_preferredLanguage}
-      <select size="1" id="preferredLanguage" name="preferredLanguage">
+      <select id="preferredLanguage" name="preferredLanguage">
        {html_options options=$preferredLanguage_list selected=$preferredLanguage}
       </select>
       {/render}
      </td>
     </tr>
    </table>
+
   </td>
   <td style="border-left:1px solid #A0A0A0">
    &nbsp;
   </td>
+
   <td style="vertical-align:top;">
-   
-   <!-- Address, ... -->
-   <table summary="" style="width:100%"> 
+   <table style="width:100%" summary="{t}Postal address{/t}"> 
     <tr>
      <td style="vertical-align:top;"><label for="homePostalAddress">{t}Address{/t}</label></td>
      <td>
      <td><label for="homePhone">{t}Private phone{/t}</label>
       </td><td>
       {render acl=$homePhoneACL checkbox=$multiple_support checked=$use_homePhone}
-      <input type="text" id="homePhone" name="homePhone" size=25 maxlength=60 value="{$homePhone}">
+      <input type="text" id="homePhone" name="homePhone" maxlength=60 value="{$homePhone}">
       {/render}
      </td>
     </tr>
      <td><label for="labeledURI">{t}Homepage{/t}</label></td>
      <td>
       {render acl=$labeledURIACL checkbox=$multiple_support checked=$use_labeledURI}
-      <input type="text" id="labeledURI" name="labeledURI" size=25 maxlength=60 value="{$labeledURI}">
+      <input type="text" id="labeledURI" name="labeledURI" maxlength=60 value="{$labeledURI}">
       {/render}
      </td>
     </tr>
-    <tr>
-     <td colspan=2>
-      <div style="height:10px;"></div>
-     </td>
-    </tr>
     <tr>
      <td><label for="pw_storage">{t}Password storage{/t}</label></td>
      <td>
       {render acl=$passwordStorageACL checkbox=$multiple_support checked=$use_pw_storage}
-      <select size="1" id="pw_storage" name="pw_storage" onchange='document.mainform.submit()'>
+      <select 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}
       {$gosaLoginRestrictionWidget}
       {/render}
       {render acl=$gosaLoginRestrictionACL}
-      <input type="text" id="res" name="res" size=22 maxlength=33 
+      <input type="text" id="res" name="res" maxlength=33 
       value="{t}IP or network{/t}" onFocus='document.getElementById("res").value=""'>
       {/render}
       {render acl=$gosaLoginRestrictionACL}
       {$gosaLoginRestrictionWidget}
       {/render}
       {render acl=$gosaLoginRestrictionACL}
-      <input type="text" id="res" name="res" size=22 maxlength=33 
+      <input type="text" id="res" name="res" maxlength=33 
       value="{t}IP or network{/t}" onFocus='document.getElementById("res").value=""'>
       {/render}
       {render acl=$gosaLoginRestrictionACL}
  </tr>
 </table>
 
+<hr>
 
-<table summary="" class="line" style="width:100%; vertical-align:top; text-align:left;" cellpadding="4" border="0">
- <!-- Headline container -->
+<table summary="{t}Organizational information{/t}">
  <tr>
   <td colspan="3">
    <h3>{t}Organizational information{/t}</h3>
   </td>
  </tr>
- <!-- Base 2 container -->
  <tr>
-  
+
   {if $governmentmode ne "true"}
   <!-- Company, ... -->
   <td style="vertical-align:top;">
-   <table summary=""> 
+   <table summary="{t}Organizational information{/t} - {t}part{/t} 1">
     <tr>
      <td><label for="o">{t}Organization{/t}</label></td>
      <td>      
       {render acl=$oACL checkbox=$multiple_support checked=$use_o}
-      <input type="text" id="o" name="o" size=22 maxlength=60 value="{$o}">
+      <input type="text" id="o" name="o" maxlength=60 value="{$o}">
       {/render}
      </td>
     </tr>
      <td><label for="ou">{t}Department{/t}</label></td>
      <td>
       {render acl=$ouACL checkbox=$multiple_support checked=$use_ou}
-      <input type="text" id="ou" name="ou" size=22 maxlength=60 value="{$ou}">
+      <input type="text" id="ou" name="ou" maxlength=60 value="{$ou}">
       {/render}
      </td>
     </tr>
      <td><label for="departmentNumber">{t}Department No.{/t}</label></td>
      <td>
       {render acl=$departmentNumberACL checkbox=$multiple_support checked=$use_departmentNumber}
-      <input type="text" id="departmentNumber" name="departmentNumber" size=22 maxlength=60 value="{$departmentNumber}">
+      <input type="text" id="departmentNumber" name="departmentNumber" maxlength=60 value="{$departmentNumber}">
       {/render}
      </td>
     </tr>
      <td><label for="employeeNumber">{t}Employee No.{/t}</label></td>
      <td>
       {render acl=$employeeNumberACL checkbox=$multiple_support checked=$use_employeeNumber}
-      <input type="text" id="employeeNumber" name="employeeNumber" size=22 maxlength=60 value="{$employeeNumber}">
+      <input type="text" id="employeeNumber" name="employeeNumber" maxlength=60 value="{$employeeNumber}">
       {/render}
      </td>
     </tr>
      <td><label for="employeeType">{t}Employee type{/t}</label></td>
      <td>
       {render acl=$employeeTypeACL checkbox=$multiple_support checked=$use_employeeType}
-      <input type="text" id="employeeType" name="employeeType" size=22 maxlength=60 value="{$employeeType}">
+      <input type="text" id="employeeType" name="employeeType" maxlength=60 value="{$employeeType}">
       {/render}
      </td>
     </tr>
   
   <!-- Phone, ... -->
   <td style="vertical-align:top;">
-   <table summary=""> 
+   <table summary="{t}Organizational information{/t} - {t}part{/t} 2">
     <tr>
      <td><label for="roomNumber">{t}Room No.{/t}</label></td>
      <td>
       {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber}
-      <input type="text" id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
+      <input type="text" id="roomNumber" name="roomNumber" maxlength=60 value="{$roomNumber}">
       {/render}
      </td>
     </tr>
      <td><label for="telephoneNumber">{t}Phone{/t}</label></td>
      <td>
       {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber}
-      <input type="text" id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}">
+      <input type="text" id="telephoneNumber" name="telephoneNumber" maxlength=60 value="{$telephoneNumber}">
       {/render}
      </td>
     </tr>
      <td><label for="mobile">{t}Mobile{/t}</label></td>
      <td>
       {render acl=$mobileACL checkbox=$multiple_support checked=$use_mobile}
-      <input type="text" id="mobile" name="mobile" size=22 maxlength=60 value="{$mobile}">
+      <input type="text" id="mobile" name="mobile" maxlength=60 value="{$mobile}">
       {/render}
      </td>
     </tr>
      <td><label for="pager">{t}Pager{/t}</label></td>
      <td>
       {render acl=$pagerACL checkbox=$multiple_support checked=$use_pager}
-      <input type="text" id="pager" name="pager" size=22 maxlength=60 value="{$pager}">
+      <input type="text" id="pager" name="pager" maxlength=60 value="{$pager}">
       {/render}
      </td>
     </tr>
      <td><label for="facsimileTelephoneNumber">{t}Fax{/t}</label></td>
      <td>
       {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber}
-      <input type="text" id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60 value="{$facsimileTelephoneNumber}">
+      <input type="text" id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" maxlength=60 value="{$facsimileTelephoneNumber}">
       {/render}
      </td>
     </tr>
   
   <!-- Location, ... -->
   <td style="vertical-align:top;">
-   <table summary="" style="width:100%"> 
+   <table summary="{t}Organizational information{/t} - {t}part{/t} 3">
     <tr>
      <td><label for="l">{t}Location{/t}</label></td>
      <td>
       {render acl=$lACL checkbox=$multiple_support checked=$use_l}
-      <input type="text" id="l" name="l" size=22 maxlength=60 value="{$l}">
+      <input type="text" id="l" name="l" maxlength=60 value="{$l}">
       {/render}
      </td>
     </tr>
      <td><label for="st">{t}State{/t}</label></td>
      <td>
       {render acl=$stACL checkbox=$multiple_support checked=$use_st}
-      <input type="text" id="st" name="st" size=22 maxlength=60 value="{$st}">
+      <input type="text" id="st" name="st" maxlength=60 value="{$st}">
       {/render}
      </td>
     </tr>
   
   <!-- Beschreibung, ... -->
   <td style="vertical-align:top;border-right:1px solid #b0b0b0">
-   <table summary=""> 
+   <table summary="{t}Organizational information{/t} - {t}part{/t} 1">
     <tr>
      <td><label for="vocation">{t}Vocation{/t}</label></td>
      <td>
       {render acl=$vocationACL checkbox=$multiple_support checked=$use_vocation}
-      <input type="text" id="vocation" name="vocation" size=22 maxlength=60 value="{$vocation}">
+      <input type="text" id="vocation" name="vocation" maxlength=60 value="{$vocation}">
       {/render}
      </td>
     </tr>
      <td><label for="gouvernmentOrganizationalUnitDescription">{t}Unit description{/t}</label></td>
      <td>
       {render acl=$gouvernmentOrganizationalUnitDescriptionACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitDescription}
-      <input type="text" id="gouvernmentOrganizationalUnitDescription" name="gouvernmentOrganizationalUnitDescription" size=22 maxlength=60
+      <input type="text" id="gouvernmentOrganizationalUnitDescription" name="gouvernmentOrganizationalUnitDescription" maxlength=60
       value="{$gouvernmentOrganizationalUnitDescription}">
       {/render}
      </td>
      <td><label for="gouvernmentOrganizationalUnitSubjectArea">{t}Subject area{/t}</label></td>
      <td>
       {render acl=$gouvernmentOrganizationalUnitSubjectAreaACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnitSubjectArea}
-      <input type="text" id="gouvernmentOrganizationalUnitSubjectArea" name="gouvernmentOrganizationalUnitSubjectArea" size=22 maxlength=60
+      <input type="text" id="gouvernmentOrganizationalUnitSubjectArea" name="gouvernmentOrganizationalUnitSubjectArea" maxlength=60
       value="{$gouvernmentOrganizationalUnitSubjectArea}">
       {/render}
      </td>
      <td><label for="functionalTitle">{t}Functional title{/t}</label></td>
      <td>
       {render acl=$functionalTitleACL checkbox=$multiple_support checked=$use_functionalTitle}
-      <input type="text" name="functionalTitle" id="functionalTitle"  size=22 maxlength=60
+      <input type="text" name="functionalTitle" id="functionalTitle"  maxlength=60
       value="{$functionalTitle}">
       {/render}
      </td>
      <td><label for="role">{t}Role{/t}</label></td>
      <td>
       {render acl=$roleACL checkbox=$multiple_support checked=$use_role}
-      <input type="text" id="role" name="role" size=22 maxlength=60 value="{$role}">
+      <input type="text" id="role" name="role" maxlength=60 value="{$role}">
       {/render}
      </td>
     </tr>
   
   <!-- Phone, ... -->
   <td style="vertical-align:top;border-right:1px solid #b0b0b0">
-   <table summary=""> 
+   <table summary="{t}Organizational information{/t} - {t}part{/t} 2">
     <tr>
      <td><label for="gouvernmentOrganizationalPersonLocality">{t}Person locality{/t}</label></td>
      <td>
       {render acl=$gouvernmentOrganizationalPersonLocalityACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalPersonLocality}
-      <input type="text" id="gouvernmentOrganizationalPersonLocality" name="gouvernmentOrganizationalPersonLocality" size=22 maxlength=60
+      <input type="text" id="gouvernmentOrganizationalPersonLocality" name="gouvernmentOrganizationalPersonLocality" maxlength=60
       value="{$gouvernmentOrganizationalPersonLocality}">
       {/render}
      </td>
      <td><label for="gouvernmentOrganizationalUnit">{t}Unit{/t}</label></td>
      <td>
       {render acl=$gouvernmentOrganizationalUnitACL checkbox=$multiple_support checked=$use_gouvernmentOrganizationalUnit}
-      <input type="text" id="gouvernmentOrganizationalUnit" name="gouvernmentOrganizationalUnit" size=22 maxlength=60 
+      <input type="text" id="gouvernmentOrganizationalUnit" name="gouvernmentOrganizationalUnit" maxlength=60 
       value="{$gouvernmentOrganizationalUnit}">
       {/render}
      </td>
      <td><label for="street">{t}Street{/t}</label></td>
      <td>
       {render acl=$streetACL checkbox=$multiple_support checked=$use_street}
-      <input type="text" name="street" id="street" size=22 maxlength=60 value="{$street}">
+      <input type="text" name="street" id="street" maxlength=60 value="{$street}">
       {/render}
      </td>
     </tr>
      <td><label for="postalCode">{t}Postal code{/t}</label></td>
      <td> 
       {render acl=$postalCodeACL checkbox=$multiple_support checked=$use_postalCode}
-      <input type="text" name="postalCode" id="postalCode" size=22 maxlength=60 value="{$postalCode}">
+      <input type="text" name="postalCode" id="postalCode" maxlength=60 value="{$postalCode}">
       {/render}
      </td>
     </tr>
      <td><label for="houseIdentifier">{t}House identifier{/t}</label></td>
      <td>
       {render acl=$houseIdentifierACL checkbox=$multiple_support checked=$use_houseIdentifier}
-      <input type="text" id="houseIdentifier" name="houseIdentifier" size=22 maxlength=60
+      <input type="text" id="houseIdentifier" name="houseIdentifier" maxlength=60
       value="{$houseIdentifier}">
       {/render}
      </td>
   
   <!-- Location, ... -->
   <td style="vertical-align:top;">
-   <table summary=""> 
+   <table summary="{t}Organizational information{/t} - {t}part{/t} 3">
     <tr>
      <td><label for="roomNumber">{t}Room No.{/t}</label></td>
      <td>
       {render acl=$roomNumberACL checkbox=$multiple_support checked=$use_roomNumber}
-      <input type="text" id="roomNumber" name="roomNumber" size=22 maxlength=60 value="{$roomNumber}">
+      <input type="text" id="roomNumber" name="roomNumber" maxlength=60 value="{$roomNumber}">
       {/render}
      </td>
     </tr>
      <td>
       {render acl=$telephoneNumberACL checkbox=$multiple_support checked=$use_telephoneNumber}
       {if $has_phoneaccount ne "true"}
-      <input type="text" id="telephoneNumber" name="telephoneNumber" size=22 maxlength=60 value="{$telephoneNumber}">
+      <input type="text" id="telephoneNumber" name="telephoneNumber" maxlength=60 value="{$telephoneNumber}">
       {else}
       <i>{t}Please use the phone tab{/t}</i>
       {/if}
      <td><label for="facsimileTelephoneNumber">{t}Fax{/t}</label></td>
      <td>
       {render acl=$facsimileTelephoneNumberACL checkbox=$multiple_support checked=$use_facsimileTelephoneNumber}
-      <input type="text" id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" size=22 maxlength=60 
+      <input type="text" id="facsimileTelephoneNumber" name="facsimileTelephoneNumber" maxlength=60 
       value="{$facsimileTelephoneNumber}">
       {/render}
      </td>
      <td><label for="ivbbLastDeliveryCollective">{t}Last delivery{/t}</label></td>
      <td>
       {render acl=$ivbbLastDeliveryCollectiveACL checkbox=$multiple_support checked=$use_ivbbLastDeliveryCollective}
-      <input type="text" name="ivbbLastDeliveryCollective" size=22 maxlength=60 id="ivbbLastDeliveryCollective" 
+      <input type="text" name="ivbbLastDeliveryCollective" maxlength=60 id="ivbbLastDeliveryCollective" 
       value="{$ivbbLastDeliveryCollective}">
       {/render}
      </td>
      <td><label for="publicVisible">{t}Public visible{/t}</label></td>
      <td>
       {render acl=$publicVisibleACL checkbox=$multiple_support checked=$use_publicVisible}
-      <select size="1" id="publicVisible" name="publicVisible">
+      <select id="publicVisible" name="publicVisible">
        {html_options values=$ivbbmodes output=$ivbbmodes selected=$publicVisible}
       </select>
       {/render}
index 97100e1c4dc6e0f9c393f9fd3983ff15bfc8d1cf..ad71a840182197df82ed7c1c79d226b838278b50 100644 (file)
@@ -1,9 +1,10 @@
 <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
-<h3>
-{t}Certificates{/t}</h3>
-<table width="100%" cellpadding=4 border=0>
+
+<h3>{t}Certificates{/t}</h3>
+
+<table summary="{t}The users standart certificate{/t}" style="width:100%">
  <tr>
-  <td width="12%" style="vertical-align:top">
+  <td width="25%" style="vertical-align:top">
    {t}Standard certificate{/t}
   </td>
   <td style="vertical-align:top">
   </td>
  </tr>
 </table>
-<br>
-<table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
+
+<hr>
+
+<table summary="{t}The users S/MIME certificate{/t}" style="width:100%">
  <tr>
-  <td width="12%" style="vertical-align:top">
+  <td width="25%" style="vertical-align:top">
    {t}S/MIME certificate{/t} 
   </td>
   <td style="vertical-align:top">
   </td>
  </tr>
 </table>
-<br>
-<table summary="" style="vertical-align:top; text-align:left;border-top: 1px solid rgb(176,176,176);" width="100%" cellpadding=4 border=0>
+
+<hr>
+
+<table summary="{t}The users PKCS12 certificate{/t}" style="width:100%">
  <tr>
-  <td width="12%" style="vertical-align:top">
+  <td width="25%" style="vertical-align:top">
    {t}PKCS12 certificate{/t} 
   </td>
   <td style="vertical-align:top">
@@ -85,6 +90,7 @@
  </tr>
  {/if}
 </table>
+<hr>
 <div class='plugin-actions'>
  {render acl=$CertificateACL}
  <button type='submit' name='cert_edit_finish'>
index f0407e78fb2223c6a669e19b2a2af9c704b59b2c..8af82f4c30246298fe06f850ce5e6837cca134a1 100644 (file)
@@ -1,36 +1,18 @@
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
- <!-- Headline container -->
+<h3>{t}Personal picture{/t}</h3>
+<table summary="{t}The users picture{/t}">
  <tr>
-   <td colspan=2>
-     <h3>{t}Personal picture{/t}</h3>
-   </td>
- </tr>
- <!-- Base container -->
- <tr>
- <!-- Image container -->
-  <td>
-   <table>
-    <tr>
-     <td width="147" height="200" bgcolor="gray">
-      <img  src="getbin.php?rand={$rand}" alt='' style='width:147px;' >
-     </td>
-    </tr>
-   </table>
+  <td style="vertical-align: middle; width:147px; height:200px; background-color:gray;">
+   <img src="getbin.php?rand={$rand}" alt='' style='width:147px;' >
   </td>
-       </tr>
-       <tr>
-   <!-- Name, ... -->
-   <td style="vertical-align:bottom; width:100%;">
-     <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
-     <input id="picture_file" name="picture_file" type="file" size="20" maxlength="255" accept="image/*.jpg">
-     &nbsp;
-     <button type='submit' name='picture_remove'>{t}Remove picture{/t}</button>
-
-   </td>
  </tr>
 </table>
-<br>
-
+<p>
+ <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
+  <input id="picture_file" name="picture_file" type="file" size="20" maxlength="255" accept="image/*.jpg">
+   &nbsp;
+  <button type='submit' name='picture_remove'>{t}Remove picture{/t}</button>
+ </p>
+<hr>
 <div class='plugin-actions'>
   <button type='submit' name='picture_edit_finish'>{msgPool type=saveButton}</button>
   <button type='submit' name='picture_edit_cancel'>{msgPool type=cancelButton}</button>
index 6bba5a9b746c14df25cf6560f29fd90221dbd67c..31fa5e04689d0bded5d15cec74ef018ef0dedb11 100644 (file)
@@ -2,7 +2,7 @@
  {t}You have changed the method your password is stored in the ldap database. For that reason you've to enter your password at this point again. GOsa will then encode it with the selected method.{/t}
 </p>
 
-<table summary="" style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
+<table summary="{t}Password change dialog{/t}" style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
   <tr>
     <td><b><LABEL for="new_password">{t}New password{/t}</LABEL></b></td>
     <td><input id="new_password" type="password" name="new_password" size="30" maxlength="40" onFocus="nextfield= 'repeated_password';"></td>
index 67805f2956f0e65283c956866071c3d93129c488..6248fa5aef255036307aad27cefe509e3bce0ac6 100644 (file)
@@ -1,61 +1,47 @@
 <h3>{t}User settings{/t}</h3>
-<table width="100%">
-  <tr>
-       <td style="vertical-align:top; border-right:1px solid #AAA; width:50%">
-         <table>
-               <tr>
-                 <td><label for="sn">{t}Last name{/t}</label></td>
-                 <td><input type='text' id="sn" name="sn" size=25 maxlength=60  value="{$sn}"></td>
-               </tr>
-               <tr>
-                 <td><label for="givenName">{t}First name{/t}</label></td>
-                 <td><input type='text' id="givenName" name="givenName" size=25 maxlength=60 value="{$givenName}"></td>
-               </tr>
-               <tr>
-                 <td><label for="uid">{t}Login{/t}</label></td>
-                 <td><input type='text' id="uid" name="uid" size=25 maxlength=60 value="{$uid}"></td>
-               </tr>
-               <tr>
-                       <td style='vertical-align:top;'>
-                               {t}Password{/t}
-                       </td>
-                       <td>
-                               <input type="radio" {if $passwordTodo=="clear"} checked{/if} name="passwordTodo" value="clear">{t}Clear password{/t}<br>
-                               <input type="radio" {if $passwordTodo=="new"}   checked{/if} name="passwordTodo" value="new">{t}Set new password{/t}
-                       </td>
-               </tr>
-         </table>
-       </td>
-       <td style="vertical-align:top ">
-         <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
-               <tr>
-               <!-- Image container -->
-                 <td colspan="2">
-                       <table>
-                         <tr>
-                               <td width="147" height="200" bgcolor="gray">
-                                 {image path="getbin.php?rand={$rand}"}
 
-                               </td>
-                         </tr>
-                       </table>
-                 </td>
-               </tr>
-               <tr>
-                 <!-- Name, ... -->
-                 <td style="vertical-align:top;">
-                       <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
-                        {t}User picture{/t}
-                 </td>
-                 <td>
-                       <input id="picture_file" name="picture_file" type="file" size="20" maxlength="255" accept="image/*.jpg">
-                       &nbsp;
-                       <button type='submit' name='picture_remove'>{t}Remove picture{/t}</button>
-
-                 </td>
-               </tr>
-         </table>
-       </td>
-  </tr>
+<table width="100%" summary="{t}Paste user{/t}">
+ <tr>
+ <td style="vertical-align:top; border-right:1px solid #AAA; width:50%">
+   <table width="100%" summary="{t}Personal information{/t}">
+       <tr>
+         <td><label for="sn">{t}Last name{/t}</label></td>
+         <td><input type='text' id="sn" name="sn" size=25 maxlength=60  value="{$sn}"></td>
+       </tr>
+       <tr>
+         <td><label for="givenName">{t}First name{/t}</label></td>
+         <td><input type='text' id="givenName" name="givenName" size=25 maxlength=60 value="{$givenName}"></td>
+       </tr>
+       <tr>
+         <td><label for="uid">{t}Login{/t}</label></td>
+         <td><input type='text' id="uid" name="uid" size=25 maxlength=60 value="{$uid}"></td>
+       </tr>
+       <tr>
+               <td style='vertical-align:top;'>
+                       {t}Password{/t}
+               </td>
+               <td>
+                       <input type="radio" {if $passwordTodo=="clear"} checked{/if} name="passwordTodo" value="clear">{t}Clear password{/t}<br>
+                       <input type="radio" {if $passwordTodo=="new"}   checked{/if} name="passwordTodo" value="new">{t}Set new password{/t}
+               </td>
+       </tr>
+   </table>
+ </td>
+ <td style="vertical-align:top ">
+  <table summary="{t}The users picture{/t}">
+   <tr>
+    <td style="vertical-align: middle; width:147px; height:200px; background-color:gray;">
+     <img src="getbin.php?rand={$rand}" alt='' style='width:147px;' >
+    </td>
+   </tr>
+  </table>
+  <p>
+   <input type="hidden" name="MAX_FILE_SIZE" value="2000000">
+    <input id="picture_file" name="picture_file" type="file" size="20" maxlength="255" accept="image/*.jpg">
+     &nbsp;
+    <button type='submit' name='picture_remove'>{t}Remove picture{/t}</button>
+   </p>
+  </td>
+ </tr>
 </table>
 <br>