Code

Updated opsi Pruduct Property editor to use ACLs
[gosa.git] / gosa-plugins / opsi / admin / opsi / properties.tpl
1 <h2>{t}OPSI product properties{/t}</h2>
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 $item.VALUE_CNT}
19                                 <select name="value_{$key}" style='width:180px;'>
20                                 {foreach from=$item.VALUE key=k item=i}
21                                         <option {if $item.DEFAULT == $i} selected {/if} value="{$i}">{$i}</option>
22                                 {/foreach}
23                                 </select>
24                         {else}
25                                 <input type='input' name='value_{$key}' value="{$item.DEFAULT}" style='width:280px;'>
26                         {/if}
27 {/render}
28                 </td>
29         </tr>
30 {/foreach}
31 </table>
33 {/if}
34 <p class="seperator">&nbsp;</p>
35 <div style='width:100%; text-align: right; padding:3px;'>
36 {if $cfg_count != 0}
37         <input type='submit' name='save_properties' value='{msgPool type='saveButton'}'>
38         &nbsp;
39 {/if}
40         <input type='submit' name='cancel_properties' value='{msgPool type='cancelButton'}'>
41 </div>