Code

182734985e774f53c9e2806b2986f5a7c127803b
[gosa.git] / gosa-plugins / opsi / admin / opsi / properties.tpl
1 <h3>{t}OPSI product properties{/t}</h3>
4 {if $cfg_count == 0}
5 <br>
6 <b>{t}This OPSI product has no options.{/t}</b>
7 <br>
8 <br>
10 {else}
12 <table>
13 {foreach from=$cfg item=item key=key}
14         <tr>
15                 <td>{$key}</td>
16                 <td>
17 {render acl=$ACL}
18                         {if isset($item.VALUE_CNT)}
19                                 <select name="value_{$key}" style='width:180px;'>
20                                 {foreach from=$item.VALUE key=k item=i}
21                                         <option {if $item.CURRENT == $i} selected {/if} value="{$i}">{$i}</option>
22                                 {/foreach}
23                                 </select>
24                         {else}
25                                 <input type='input' name='value_{$key}' value="{$item.CURRENT}" style='width:280px;'>
26                         {/if}
27 {/render}
28                 </td>
29         </tr>
30 {/foreach}
31 </table>
33 {/if}
34 <hr>
35 <div style='width:100%; text-align: right; padding:3px;'>
36         <button type='submit' name='save_properties'>{msgPool type=saveButton}</button>
38         &nbsp;
39         <button type='submit' name='cancel_properties'>{msgPool type=cancelButton}</button>
41 </div>