Code

replaced <p> seperator style by <hr >
[gosa.git] / gosa-plugins / samba / personal / samba / samba3.tpl
index de68d122528ae880046f0123164f205f3b36a35a..b378276f72b8c2cdef86c289a36da311f1191d12 100644 (file)
@@ -1,14 +1,15 @@
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding="0" border="0">
+<table style="width:100%; vertical-align:top; text-align:left;" cellpadding="0" border="0">
 
  <!-- Headline container -->
  <tr>
   <td colspan="2" style="width:50%; vertical-align:top;">
-   <h2><img class="center" alt="" align="middle" src="images/rightarrow.png"/>&nbsp;{t}Generic{/t}</h2>
+   <h3>{t}Generic{/t}
+</h3>
   </td>
  </tr>
  <tr>
   <td style="vertical-align:top;">
-   <table summary="">
+   <table >
     <tr>
      <td><label for="sambaHomePath">{t}Home directory{/t}</label></td>
      <td>
        {html_options values=$domains output=$domains selected=$sambaDomainName}
       </select>
 {/render}
-     <input type='submit' name='display_information' value='{t}Show information{/t}'>
+{render acl=$sambaDomainNameACL  checkbox=$multiple_support checked=$use_sambaDomainName}
+     <button type='submit' name='display_information'>{t}Show information{/t}</button>
+
+{/render}
      </td>
     </tr>
    </table>
@@ -40,7 +44,7 @@
    &nbsp;
   </td>
   <td style="vertical-align:top;">
-   <table summary="">
+   <table >
     <tr>
      <td><label for="">{t}Script path{/t}</label></td>
      <td>
  </tr>
 </table>
 
-<p class="seperator">&nbsp;</p>
+<hr>
 
-<h2><img class="center" alt="" align="middle" src="plugins/samba/images/terminal_server.png" />&nbsp;{t}Terminal Server{/t}</h2>
+<h3>{t}Terminal Server{/t}
+</h3>
 
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
+<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
  <tr>
   <td style="vertical-align:top;width:50%">
 
 {/render}
 {/if}
    <i>{t}Allow login on terminal server{/t}</i>
-   <table summary="">
+   <table >
     <tr>
      <td><label for="CtxWFHomeDir">{t}Home directory{/t}</label></td>
      <td>
        > 
 {/render}
    <i>{t}Inherit client config{/t}</i>
-   <table summary="">
+   <table >
     <tr>
      <td><label for="CtxInitialProgram">{t}Initial program{/t}</label></td>
      <td>
  </tr>
 </table>
 
-<p class="seperator">&nbsp;</p>
+<hr>
 
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
+<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
  <tr>
   <td style="vertical-align:top;">
    <i>{t}Timeout settings (in minutes){/t}</i>
-   <table summary="">
+   <table >
     <tr>
      <td>
 {if $multiple_support}
      <td>
 {render acl=$AllowLoginOnTerminalServerACL}
       <input name="CtxMaxConnectionTime" id="CtxMaxConnectionTime" size=5 maxlength=5 value="{$CtxMaxConnectionTime}" {$tsloginstate}
-                       { if !$CtxMaxConnectionTimeF } disabled  {/if}>
+                       {if !$CtxMaxConnectionTimeF} disabled  {/if}>
 {/render}
      </td>
     </tr>
      <td>
 {render acl=$AllowLoginOnTerminalServerACL}
       <input name="CtxMaxDisconnectionTime" id="CtxMaxDisconnectionTime" size=5 maxlength=5 value="{$CtxMaxDisconnectionTime}" {$tsloginstate}
-                       { if !$CtxMaxDisconnectionTimeF } disabled  {/if}>
+                       {if !$CtxMaxDisconnectionTimeF} disabled  {/if}>
 {/render}
      </td>
     </tr>
      <td>
 {render acl=$AllowLoginOnTerminalServerACL}
       <input name="CtxMaxIdleTime" id="CtxMaxIdleTime" size=5 maxlength=5 value="{$CtxMaxIdleTime}" {$tsloginstate}
-                       { if !$CtxMaxIdleTimeF } disabled  {/if}>
+                       {if !$CtxMaxIdleTimeF} disabled  {/if}>
 {/render}
      </td>
     </tr>
   <td style="vertical-align:top;">
 
    <i>{t}Client devices{/t}</i>
-   <table summary="">
+   <table >
     <tr>
      <td>
 {render acl=$AllowLoginOnTerminalServerACL  checkbox=$multiple_support checked=$use_connectclientdrives}
   </td>
   <td style="vertical-align:top;width:50%">
    <i>{t}Miscellaneous{/t}</i>
-   <table summary="">
+   <table >
     <tr>
      <td>
       <label for="shadow">{t}Shadowing{/t}</label>
  </tr>
 </table>
 
-<p class="seperator">&nbsp;</p>
+<hr>
 
-<h2><img class="center" alt="" align="middle" src="images/lists/key.png" />&nbsp;{t}Access options{/t}</h2>
+<h3>{t}Access options{/t}
+</h3>
 
-<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
+<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
  <tr>
   <td colspan=2 style="width:50%; vertical-align:top;">
 
       <label for="no_password_required">{t}Login from windows client requires no password{/t}</label>
      </td>
     </tr>
+<!--
     <tr>
      <td colspan=2 style="vertical-align:top;">
       {render acl=$sambaPwdCanChangeACL  checkbox=$multiple_support checked=$use_allow_pwchange}
       <label for="allow_pwchange">{t}Allow user to change password from client{/t}</label>
      </td>   
     </tr>
+-->
     <tr>
      <td colspan=2>
       {render acl=$sambaAcctFlagsLACL  checkbox=$multiple_support checked=$use_temporary_disable}
       <label for="temporary_disable">{t}Lock samba account{/t}</label>
      </td>
     </tr>
+<!--
     <tr>
      <td>
       {render acl=$sambaPwdMustChangeACL  checkbox=$multiple_support checked=$use_password_expires}
       {/render}
      </td>
     </tr>
+  -->
        {if $additional_info_PwdMustChange}
     <tr>
      <td colspan=2 style='padding-left: 10px;'>
     <tr>
      <td colspan=2>
       {render acl=$sambaLogonHoursACL mode=read_active  checkbox=$multiple_support checked=$use_SetSambaLogonHours}
-       {t}Samba logon times{/t}&nbsp;<input type='submit' name='SetSambaLogonHours' value='{t}Edit settings...{/t}'>
+       {t}Samba logon times{/t}&nbsp;<button type='submit' name='SetSambaLogonHours'>{t}Edit settings...{/t}</button>
+
       {/render}
      </td>
     </tr>
        {/foreach}
    </select>
    <br>
-   <input type="submit" value="{msgPool type=addButton}" name="add_ws">
-   <input type="submit" value="{msgPool type=delButton}" name="delete_ws">
+   <button type='submit' name='add_ws'>{msgPool type=addButton}</button>
+
+   <button type='submit' name='delete_ws'>{msgPool type=delButton}</button>
+
 {else}
        {render acl=$sambaUserWorkstationsACL}
           <select id="workstation_list" style="width:100%;" name="workstation_list[]" size=10 multiple>
        {/render}
           <br>
        {render acl=$sambaUserWorkstationsACL}
-          <input type="submit" value="{msgPool type=addButton}" name="add_ws">
+          <button type='submit' name='add_ws'>{msgPool type=addButton}</button>
+
        {/render}
        {render acl=$sambaUserWorkstationsACL}
-          <input type="submit" value="{msgPool type=delButton}" name="delete_ws">
+          <button type='submit' name='delete_ws'>{msgPool type=delButton}</button>
+
        {/render}
 {/if}
   </td>