summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d4234bc)
raw | patch | inline | side by side (parent: d4234bc)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Mar 2010 10:17:29 +0000 (10:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 23 Mar 2010 10:17:29 +0000 (10:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17018 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/opsi/admin/opsi/properties.tpl | patch | blob | history |
diff --git a/gosa-plugins/opsi/admin/opsi/properties.tpl b/gosa-plugins/opsi/admin/opsi/properties.tpl
index cffab278872512234a565edba1afb0323f4a5508..a763215b7179c91957cdc175d9b5c5320d1d8f29 100644 (file)
-<h3>{t}OPSI product properties{/t}
-</h3>
+<h3>{t}OPSI product properties{/t}</h3>
+
{if $cfg_count == 0}
- <br>
- <b>{t}This OPSI product has no options.{/t}</b>
- <br>
- <br>
+ <h3>{t}This OPSI product has no options.{/t}</h3>
{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;' size=1>{foreach from=$item.VALUE key=k item=i}
-
-
- <option {if $item.CURRENT == $i} selected {/if} value="{$i}">
- {$i}</option>{/foreach}
- </select>
+
+ <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}
+ <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>
- <button type='submit' name='cancel_properties'>
- {msgPool type=cancelButton}</button>
-</div>
\ No newline at end of file
+<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>