Code

Select boxes now W3c conform if empty
[gosa.git] / plugins / gofax / blocklists / headpage.tpl
index ec0a2889a74d34af1d8297c2f5fa522cbd367b22..e66e7840f7754e5a9a61332a9d812d695533c4d5 100644 (file)
@@ -9,8 +9,9 @@
   <div class="contentboxb">
     <p class="contentboxb">
       <select style="width:500px; height:450px;" name="blocklist" size=15 ondblclick="this.form.edit_helper.value='1'; this.form.submit()">
-       {html_options options=$blocklists}
-      </select>
+         {html_options options=$blocklists}
+      <option disabled></option>
+         </select>
       <br>
       <input type=submit value="{t}New{/t}..." name="new_blocklist">&nbsp;
       <input type=submit value="{t}Edit{/t}" name="select_blocklist">&nbsp;
@@ -56,6 +57,7 @@
        <td>
                        <select name="depselect" size=1 onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}">
                             {html_options options=$deplist selected=$depselect}
+                       <option disabled></option>
                    </select>
                </td>
        </tr>