Code

replaced plugbottom by pluin-actions
[gosa.git] / gosa-plugins / opsi / admin / opsi / properties.tpl
index be54a4a01c593b22b6edb8911d37413131bd3105..3c66e0bd80a90917b97c07a46c73685acca3e75a 100644 (file)
@@ -1,4 +1,4 @@
-<h2>{t}OPSI product properties{/t}</h2>
+<h3>{t}OPSI product properties{/t}</h3>
 
 
 {if $cfg_count == 0}
        <tr>
                <td>{$key}</td>
                <td>
-                       {if $item.VALUE_CNT}
+{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.DEFAULT == $i} selected {/if} value="{$i}">{$i}</option>
+                                       <option {if $item.CURRENT == $i} selected {/if} value="{$i}">{$i}</option>
                                {/foreach}
                                </select>
                        {else}
-                               <input type='input' name='value_{$key}' value="{$item.DEFAULT}" style='width:280px;'>
+                               <input type='input' name='value_{$key}' value="{$item.CURRENT}" style='width:280px;'>
                        {/if}
-
+{/render}
                </td>
        </tr>
 {/foreach}
 </table>
 
 {/if}
-<p class="seperator">&nbsp;</p>
+<hr>
 <div style='width:100%; text-align: right; padding:3px;'>
-{if $cfg_count != 0}
        <input type='submit' name='save_properties' value='{msgPool type='saveButton'}'>
        &nbsp;
-{/if}
        <input type='submit' name='cancel_properties' value='{msgPool type='cancelButton'}'>
 </div>