diff --git a/gosa-plugins/opsi/admin/opsi/properties.tpl b/gosa-plugins/opsi/admin/opsi/properties.tpl
index f38fe4b06f4874eb42f0dcd3ffd01cc4e14c0b9c..3c66e0bd80a90917b97c07a46c73685acca3e75a 100644 (file)
-<h2><img src='plugins/opsi/images/product.png' class='center' alt=''> {t}Opsi product properties{/t}</h2>
+<h3>{t}OPSI product properties{/t}</h3>
{if $cfg_count == 0}
<br>
-<b>{t}This product has no options.{/t}</b>
+<b>{t}This OPSI product has no options.{/t}</b>
<br>
<br>
{foreach from=$cfg item=item key=key}
<tr>
<td>{$key}</td>
- <td><input type='input' name='value_{$key}' value="{$item}"></td>
+ <td>
+{render acl=$ACL}
+ {if isset($item.VALUE_CNT)}
+ <select name="value_{$key}" style='width:180px;'>
+ {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}
</table>
{/if}
-<p class="seperator"> </p>
+<hr>
<div style='width:100%; text-align: right; padding:3px;'>
<input type='submit' name='save_properties' value='{msgPool type='saveButton'}'>