Code

Updated table summary
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Mar 2010 09:56:37 +0000 (09:56 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Mar 2010 09:56:37 +0000 (09:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17254 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/gotoLpdEnable.tpl

index c27450add5fcc3369d33ce5a54f5e2761a6de58b..3231977454807774018a895d02af0b14ae87cd0e 100644 (file)
@@ -1,45 +1,21 @@
 {if !$is_account}
 
-<table style='width:100%;'>
+<table style='width:100%;' summary="{t}Printer settings{/t}">
        <tr>
                <td style='width:55%;'>
-                       <table>
-                               <tr>
-                                       <td colspan="2">
-                                               {render acl=$acl}
-                                               <input class="center" type='checkbox' onChange="document.mainform.submit();" 
-                                                       {if $is_account} checked {/if}
-                                                       name='gotoLpdEnable_enabled'>&nbsp;{t}Enable printer settings{/t}</td>
-                                               {/render}
-                                       </td>
-                               </tr>
-                       </table>
+      {render acl=$acl}
+      <input class="center" type='checkbox' onChange="document.mainform.submit();" 
+        {if $is_account} checked {/if}
+        name='gotoLpdEnable_enabled'>&nbsp;{t}Enable printer settings{/t}</td>
+      {/render}
                </td>
        </tr>
 </table>
 {else}
-<table style='width:100%;'>
+<table style='width:100%;' summary="{t}Generic settings{/t}">
        <tr>
-               <td style='width:55%;'>
-                       <table>
-<!--
-                               <tr>
-                                       <td>{t}Device{/t}&nbsp;#</td>
-                                       <td>
-                                               <select name='DevID' onChange="document.mainform.submit();">
-                                                       {foreach from=$data key=key item=item}
-       <option {if $key == $DevID} selected {/if} value='{$key}'>{$key+1}: {$item.s_Type} {$item.s_Device}</option>
-                                                       {/foreach}
-                                               </select>
-                                               {if $data_cnt >= 3}
-                                               <input type="button" disabled name="dummy1" value="{msgPool type=addButton}">
-                                               {else}
-                                               <input type="submit" name="add_printer" value="{msgPool type=addButton}">
-                                               {/if}
-                                               <input type="submit" name="del_printer" value="{msgPool type=delButton}">
-                                       </td>
-                               </tr>
--->
+               <td>
+                       <table summary="{t}Generic settings{/t}">
                                <tr>
                                        <td colspan="2">
                                                {render acl=$acl}
@@ -95,7 +71,7 @@
                </td>
                <td>
 {if $s_Type == "S"}
-                       <table>
+                       <table summary="{t}Generic settings{/t}">
                                <tr>
                                        <td>{t}Bit rate{/t}</td>
                                        <td>