summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 40596a9)
raw | patch | inline | side by side (parent: 40596a9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Apr 2008 14:27:51 +0000 (14:27 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Apr 2008 14:27:51 +0000 (14:27 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10121 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/sudo/options.tpl | patch | blob | history |
index 58cde16706d0f694a7d2a929d8f0d4e00be9a3a3..2457d574b6c1c64a84a149f2d5b85bfebc9c8bb4 100644 (file)
<td>
{if $options[$item.NAME].TYPE == "STRING"}
- <input type='text' name='option_value__{$key}' value="{$item.value}">
+ <input type='text' name='option_value__{$key}' value="{$item.VALUE.0}" style='width:280px;'>
+ {elseif $options[$item.NAME].TYPE == "INTEGER"}
+ <input type='text' name='option_value__{$key}' value="{$item.VALUE.0}" style='width:280px;'>
{elseif $options[$item.NAME].TYPE == "BOOLEAN"}
- <input type='checkbox' value="1" name='option_value__{$key}' >
-
+ <input type='checkbox' value="1" name='option_value__{$key}'>
+ {elseif $options[$item.NAME].TYPE == "BOOL_INTEGER"}
+ <select name="">
+ <option {if $item.VALUE == "FALSE"} selected {/if}value="FALSE">FALSE</option>
+ <option {if $item.VALUE == "TRUE"} selected {/if}value="TRUE">TRUE</option>
+ <option {if $item.VALUE != "TRUE" && $item.VALUE != "FALSE"} selected {/if}value="STRING">STRING</option>
+ <input type='text' value="{$item.VALUE.0}" style='width:280px;'>
+ </select>
{elseif $options[$item.NAME].TYPE == "STRING_BOOL"}
<select name="">
<option {if $item.VALUE == "FALSE"} selected {/if}value="FALSE">FALSE</option>
<option {if $item.VALUE == "TRUE"} selected {/if}value="TRUE">TRUE</option>
<option {if $item.VALUE != "TRUE" && $item.VALUE != "FALSE"} selected {/if}value="STRING">STRING</option>
- <input type='text' value="{$item.VALUE.0}">
-
+ <input type='text' value="{$item.VALUE.0}" style='width:280px;'>
</select>
{else}
{$options[$item.NAME].TYPE}