Code

Select boxes now W3c conform if empty
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Jun 2005 07:06:57 +0000 (07:06 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Jun 2005 07:06:57 +0000 (07:06 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@605 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/gofax/blocklists/generic.tpl
plugins/gofax/blocklists/headpage.tpl

index f479b38e58a95b246910d89598e6ab4f3f6cd018..4c60f20c4499c3ad6dbda36644235b4ffdbae997 100644 (file)
@@ -15,6 +15,7 @@
       <td>
        <select size="1" name="base" {$selectmode} title="{t}Select subtree to place blocklist in{/t}">
         {html_options options=$bases selected=$base_select}
+               <option disabled></option>
        </select>
       </td>
      </tr>
@@ -31,7 +32,8 @@
        <td>{t}Type{/t}</td>
        <td>
         <select size="1" name="type" {$typeACL} title="{t}Select wether to filter incoming or outgoing calls{/t}">
-         {html_options options=$types selected=$type}
+        {html_options options=$types selected=$type}
+               <option disabled></option>
         </select>
         </td>
       </tr>
@@ -54,6 +56,7 @@
      <h2><img alt="" align="middle" src="images/false.png"> {t}Blocked numbers{/t}</h2>
      <select style="width:400px; height:200px;" name="numbers[]" size=15 multiple>
       {html_options values=$goFaxBlocklist output=$goFaxBlocklist}
+         <option disabled></option>
      </select>
      <br>
      <input name="number" size=25 maxlength=60 {$goFaxBlocklistACL}>&nbsp;
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>