Code

Fixed styles
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 08:53:45 +0000 (08:53 +0000)
committerhickert <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

index 43f9dab302852dd5cce48e9d4904fdc68fd80c46..5a1ee8f1573545547f48d3d9dedd0c171f491d76 100644 (file)
@@ -34,7 +34,7 @@
     {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>
@@ -42,7 +42,7 @@
      <!-- 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>
@@ -56,7 +56,7 @@
      <!-- 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>
@@ -88,7 +88,7 @@
 <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>