diff options
author | gerv%gerv.net <> | 2002-07-27 07:29:24 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-07-27 07:29:24 +0200 |
commit | d655486c640340549dabf0d16d01330864b90913 (patch) | |
tree | 0ca14b5ba9923d51bb3ba64fe5ffffeeb31e6256 /template | |
parent | 908c0152d67c1bfea09d3bb0af588a05309d62b3 (diff) | |
download | bugzilla-d655486c640340549dabf0d16d01330864b90913.tar.gz bugzilla-d655486c640340549dabf0d16d01330864b90913.tar.xz |
Bug 159582 - search/knob.html.tmpl should use <label> for the radiobuttons. Patch by burnus; r=gerv.
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/search/knob.html.tmpl | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/template/en/default/search/knob.html.tmpl b/template/en/default/search/knob.html.tmpl index e2e6fa53b..32ee2d2d1 100644 --- a/template/en/default/search/knob.html.tmpl +++ b/template/en/default/search/knob.html.tmpl @@ -68,8 +68,9 @@ <table> <tr> <td> - <input type="radio" name="cmdtype" value="doit" checked="checked"> - Run this search + <input type="radio"id="cmdtype-doit" + name="cmdtype" value="doit" checked="checked"> + <label for="cmdtype-doit">Run this search</label> </td> <td> </td> </tr> @@ -77,34 +78,38 @@ <tr> <td valign="top"> - <input type="checkbox" name="remember" value="1" + <input type="checkbox" id="remember" name="remember" value="1" onclick="remCheckboxChanged()"> - and remember it + <label for="remember">and remember it</label> </td> <td> - <input type="radio" name="remtype" value="asnamed" + <input type="radio" id="remtype-asnamed" + name="remtype" value="asnamed" onclick="remTypeChanged()"> - with this name: + <label for="remtype-asnamed">with this name:</label> <input type="text" name="newqueryname"><br> - <input type="checkbox" name="tofooter" value="1"> - and put it in my page footer<br> - <input type="radio" name="remtype" value="asdefault" + <input type="checkbox" id="tofooter" name="tofooter" value="1"> + <label for="tofooter">and put it in my page footer</label><br> + <input type="radio" id="remtype-asdefault" + name="remtype" value="asdefault" onclick="remTypeChanged()"> - as my default options for this page<br> + <label for="remtype-asdefault"> + as my default options for this page + </label><br> </td> </tr> <tr> <td colspan="2"> [% IF namedqueries.size > 0 %] - <input type="radio" name="cmdtype" value="dorem"> + <input type="radio" id="cmdtype-dorem" name="cmdtype" value="dorem"> <select name="remaction" onclick="selectDoRem()"> <option value="run">Run</option> <option value="load">Load</option> <option value="forget">Forget</option> </select> - my remembered search: + <label for="cmdtype-dorem">my remembered search:</label> <select name="namedcmd" onclick="selectDoRem()"> [% FOREACH query = namedqueries %] <option value="[% query FILTER html %]"> |