Code

Samba tab update
[gosa.git] / gosa-plugins / samba / personal / samba / samba3.tpl
index 45718c092d5bf2965fa5f7ecc744cfaee6f91fec..5a25e213efe28d013c5b656b732a9f11a75418b5 100644 (file)
@@ -17,7 +17,6 @@
 {/render}
 {render acl=$sambaHomeDriveACL  checkbox=$multiple_support checked=$use_sambaHomeDrive}
       <select size="1" name="sambaHomeDrive">
-       <option disabled>&nbsp;</option>
        {html_options values=$drives output=$drives selected=$sambaHomeDrive}
       </select>
 {/render}
      <td><label for="sambaDomainName">{t}Domain{/t}</label></td>
      <td>
 {render acl=$sambaDomainNameACL  checkbox=$multiple_support checked=$use_sambaDomainName}
-      <select id="sambaDomainName" size="1" name="sambaDomainName">
+      <select id="sambaDomainName" size="1" name="sambaDomainName"
+       {if $display_information} onChange="document.mainform.submit();" {/if}>
        {html_options values=$domains output=$domains selected=$sambaDomainName}
       </select>
 {/render}
      </td>
     </tr>
+    <tr>
+     <td>{t}Information{/t}</td>
+     <td>
+      {if $display_information}
+      <input type='submit' name='display_information' value='{t}Hide{/t}'>
+      {else}
+      <input type='submit' name='display_information' value='{t}Show{/t}'>
+      {/if}
+     </td>
+    </tr>
+    <tr>
+     <td colspan="2">
+     {if $display_information}
+               {$samba_information}
+     {/if}
+     <td>
+    </tr>
    </table>
   </td>
   <td style="border-left:1px solid #A0A0A0">
@@ -63,7 +80,7 @@
 
 <p class="seperator">&nbsp;</p>
 
-<h2><img class="center" alt="" align="middle" src="images/display.png" />&nbsp;{t}Terminal Server{/t}</h2>
+<h2><img class="center" alt="" align="middle" src="plugins/samba/images/terminal_server.png" />&nbsp;{t}Terminal Server{/t}</h2>
 
 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
  <tr>
 {/render}
 {render acl=$AllowLoginOnTerminalServerACL  checkbox=$multiple_support checked=$use_CtxWFHomeDirDrive}
       <select size="1" id="CtxWFHomeDirDrive" name="CtxWFHomeDirDrive"  {$tsloginstate}>
-       <option disabled>&nbsp;</option>
        {html_options values=$drives output=$drives selected=$CtxWFHomeDirDrive}
       </select>
 {/render}
 
 <p class="seperator">&nbsp;</p>
 
-<h2><img class="center" alt="" align="middle" src="images/certs.png" />&nbsp;{t}Access options{/t}</h2>
+<h2><img class="center" alt="" align="middle" src="images/lists/key.png" />&nbsp;{t}Access options{/t}</h2>
 
 <table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4 border=0>
  <tr>
        {/foreach}
    </select>
    <br>
-   <input type="submit" value="{t}Add{/t}" name="add_ws">
-   <input type="submit" value="{t}Delete{/t}" name="delete_ws">
+   <input type="submit" value="{msgPool type=addButton}" name="add_ws">
+   <input type="submit" value="{msgPool type=delButton}" name="delete_ws">
 {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="{t}Add{/t}" name="add_ws">
+          <input type="submit" value="{msgPool type=addButton}" name="add_ws">
        {/render}
        {render acl=$sambaUserWorkstationsACL}
-          <input type="submit" value="{t}Delete{/t}" name="delete_ws">
+          <input type="submit" value="{msgPool type=delButton}" name="delete_ws">
        {/render}
 {/if}
   </td>