Code

Samba tab update
[gosa.git] / gosa-plugins / samba / personal / samba / samba3.tpl
index aecc65815f8fb41725e94af72b21d1fe20f68271..5a25e213efe28d013c5b656b732a9f11a75418b5 100644 (file)
      <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">