Code

Updated texts
[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                         {if $item.VALUE_CNT}
18                                 <select name="value_{$key}" style='width:180px;'>
19                                 {foreach from=$item.VALUE key=k item=i}
20                                         <option {if $item.DEFAULT == $i} selected {/if} value="{$i}">{$i}</option>
21                                 {/foreach}
22                                 </select>
23                         {else}
24                                 <input type='input' name='value_{$key}' value="{$item.DEFAULT}" style='width:280px;'>
25                         {/if}
27                 </td>
28         </tr>
29 {/foreach}
30 </table>
32 {/if}
33 <p class="seperator">&nbsp;</p>
34 <div style='width:100%; text-align: right; padding:3px;'>
35 {if $cfg_count != 0}
36         <input type='submit' name='save_properties' value='{msgPool type='saveButton'}'>
37         &nbsp;
38 {/if}
39         <input type='submit' name='cancel_properties' value='{msgPool type='cancelButton'}'>
40 </div>