2 <h3>{t}OPSI product properties{/t}</h3>
5 {if $cfg_count == 0}
6 <h3>{t}This OPSI product has no options.{/t}</h3>
7 {else}
9 <table summary="{t}Package settings{/t}">
10 {foreach from=$cfg item=item key=key}
11 <tr>
12 <td>
13 {$key}
14 </td>
15 <td>
16 {render acl=$ACL}
17 {if isset($item.VALUE_CNT)}
18 <select name="value_{$key}" style='width:180px;' size=1>
19 {foreach from=$item.VALUE key=k item=i}
20 <option {if $item.CURRENT == $i} selected {/if} value="{$i}">{$i}</option>
21 {/foreach}
22 </select>
23 {else}
24 <input type='input' name='value_{$key}' value="{$item.CURRENT}" style='width:280px;'>
25 {/if}
26 {/render}
27 </td>
28 </tr>
29 {/foreach}
30 </table>
31 {/if}
32 <hr>
33 <div class="plugin-actions">
34 <button type='submit' name='save_properties'>{msgPool type=saveButton}</button>
35 <button type='submit' name='cancel_properties'>{msgPool type=cancelButton}</button>
36 </div>