summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 13a2b06)
raw | patch | inline | side by side (parent: 13a2b06)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Mar 2010 08:53:45 +0000 (08:53 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Mar 2010 08:53:45 +0000 (08:53 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16714 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/sudo/admin/sudo/options.tpl | patch | blob | history |
index 43f9dab302852dd5cce48e9d4904fdc68fd80c46..5a1ee8f1573545547f48d3d9dedd0c171f491d76 100644 (file)
{elseif $options[$entry.NAME].TYPE == "BOOLEAN"}
<!-- BOOLEAN
-->
- <select name="option_value__{$key}_{$entry_key}" style="width:80px;;">
+ <select name="option_value__{$key}_{$entry_key}" style="width:80px;" size=1>
<option {if $entry.VALUE == "FALSE"} selected {/if}value="FALSE">FALSE</option>
<option {if $entry.VALUE == "TRUE"} selected {/if}value="TRUE">TRUE</option>
</select>
<!-- BOOLEAN_INTEGER
-->
<select name="option_selection__{$key}_{$entry_key}" id="option_selection__{$key}_{$entry_key}"
- style="width:80px;;"
+ style="width:80px;" size=1
onChange="toggle_bool_fields('option_selection__{$key}_{$entry_key}','option_value__{$key}_{$entry_key}');">
<option {if $entry.VALUE == "FALSE"} selected {/if}value="FALSE">FALSE</option>
<option {if $entry.VALUE == "TRUE"} selected {/if}value="TRUE">TRUE</option>
<!-- STRING_BOOLEAN
-->
<select name="option_selection__{$key}_{$entry_key}" id="option_selection__{$key}_{$entry_key}"
- style="width:80px;;"
+ style="width:80px;" size=1
onChange="toggle_bool_fields('option_selection__{$key}_{$entry_key}','option_value__{$key}_{$entry_key}');">
<option {if $entry.VALUE == "FALSE"} selected {/if}value="FALSE">FALSE</option>
<option {if $entry.VALUE == "TRUE"} selected {/if}value="TRUE">TRUE</option>
<br>
<h3>{t}Available options{/t}:</h3>
{render acl=$ACL}
-<select name='option'>
+<select name='option' size=1>
{foreach from=$options item=item key=key}
{if !isset($sudoOption.$key) || ($sudoOption.$key && $item.TYPE == "LISTS")}
<option value='{$key}'>{$item.NAME} ({$map[$item.TYPE]})</option>