Code

Updated templates
[gosa.git] / gosa-plugins / opsi / admin / opsi / properties.tpl
index 182734985e774f53c9e2806b2986f5a7c127803b..a763215b7179c91957cdc175d9b5c5320d1d8f29 100644 (file)
@@ -1,41 +1,36 @@
+
 <h3>{t}OPSI product properties{/t}</h3>
 
 
 {if $cfg_count == 0}
-<br>
-<b>{t}This OPSI product has no options.{/t}</b>
-<br>
-<br>
-
-{else}
-
-<table>
-{foreach from=$cfg item=item key=key}
-       <tr>
-               <td>{$key}</td>
-               <td>
-{render acl=$ACL}
-                       {if isset($item.VALUE_CNT)}
-                               <select name="value_{$key}" style='width:180px;'>
-                               {foreach from=$item.VALUE key=k item=i}
-                                       <option {if $item.CURRENT == $i} selected {/if} value="{$i}">{$i}</option>
-                               {/foreach}
-                               </select>
-                       {else}
-                               <input type='input' name='value_{$key}' value="{$item.CURRENT}" style='width:280px;'>
-                       {/if}
-{/render}
-               </td>
-       </tr>
-{/foreach}
-</table>
+ <h3>{t}This OPSI product has no options.{/t}</h3>
+ {else}
 
+ <table summary="{t}Package settings{/t}">
+  {foreach from=$cfg item=item key=key}
+   <tr>
+    <td>
+     {$key}
+    </td>
+    <td>
+     {render acl=$ACL}
+      {if isset($item.VALUE_CNT)}
+       <select name="value_{$key}" style='width:180px;' size=1>
+        {foreach from=$item.VALUE key=k item=i}
+         <option {if $item.CURRENT == $i} selected {/if} value="{$i}">{$i}</option>
+        {/foreach}
+       </select>
+      {else}
+       <input type='input' name='value_{$key}' value="{$item.CURRENT}" style='width:280px;'>
+      {/if}
+     {/render}
+    </td>
+   </tr>
+  {/foreach}
+ </table>
 {/if}
 <hr>
-<div style='width:100%; text-align: right; padding:3px;'>
-       <button type='submit' name='save_properties'>{msgPool type=saveButton}</button>
-
-       &nbsp;
-       <button type='submit' name='cancel_properties'>{msgPool type=cancelButton}</button>
-
+<div class="plugin-actions">
+ <button type='submit' name='save_properties'>{msgPool type=saveButton}</button>
+ <button type='submit' name='cancel_properties'>{msgPool type=cancelButton}</button>
 </div>