Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
99ffb603
Commit
99ffb603
authored
Jul 25, 2002
by
gerv%gerv.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 159200 - support accesskey in search page. Patch by gerv; 2xr=timeless.
parent
e6b98f8f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
67 additions
and
30 deletions
+67
-30
form.html.tmpl
template/en/default/search/form.html.tmpl
+67
-30
No files found.
template/en/default/search/form.html.tmpl
View file @
99ffb603
...
...
@@ -331,7 +331,7 @@ function selectProduct(f) {
<table>
<tr>
<th align="right">
S
ummary:</th>
<th align="right">
<u>S</u>
ummary:</th>
<td>
<select name="short_desc_type">
[% FOREACH qv = query_variants %]
...
...
@@ -341,7 +341,8 @@ function selectProduct(f) {
</select>
</td>
<td>
<input name="short_desc" size="40" value="[% default.short_desc.0 FILTER html %]">
<input name="short_desc" size="40" accesskey="s"
value="[% default.short_desc.0 FILTER html %]">
</td>
<td>
<input type="submit" value="[% button_name %]">
...
...
@@ -354,12 +355,14 @@ function selectProduct(f) {
<td colspan="4">
<table>
<tr valign="bottom">
<th align="left">Product:</th>
<th align="left"><a href="describecomponents.cgi">Component</a>:</th>
<th align="left">Version:</th>
<th align="left"><u>P</u>roduct:</th>
<th align="left">
<a href="describecomponents.cgi">Co<u>m</u>ponent</a>:
</th>
<th align="left"><u>V</u>ersion:</th>
[% IF (Param("usetargetmilestone")) %]
<th align="left">
T
arget:</th>
<th align="left">
<u>T</u>
arget:</th>
[% END %]
</tr>
...
...
@@ -368,29 +371,39 @@ function selectProduct(f) {
[%# Can't use the select block here because of onChange and the fact that
'component' is a toolkit reserved word - we use 'component_' instead. %]
<td align="left">
<select name="product" multiple="multiple" size="5" onchange="selectProduct(this.form);">
<label for="product" accesskey="p">
<select name="product" multiple="multiple" size="5" id="product"
onchange="selectProduct(this.form);">
[% FOREACH p = product %]
<option value="[% p FILTER html %]"
[% " selected" IF lsearch(default.product, p) != -1 %]>
[% p FILTER html %]</option>
[% END %]
</select>
</label>
</td>
<td align="left">
<select name="component" multiple="multiple" size="5">
<label for="component" accesskey="m">
<select name="component" id="component"
multiple="multiple" size="5">
[% FOREACH c = component_ %]
<option value="[% c FILTER html %]"
[% " selected" IF lsearch(default.component, c) != -1 %]>
[% c FILTER html %]</option>
[% END %]
</select>
</label>
</td>
[% PROCESS select sel = { name => 'version', size => 5 } %]
[% PROCESS select sel = { name => 'version',
size => 5,
accesskey => 'v' } %]
[% IF Param('usetargetmilestone') && target_milestone.size > 0 %]
[% PROCESS select sel = { name => 'target_milestone', size => 5 } %]
[% PROCESS select sel = { name => 'target_milestone',
size => 5,
accesskey => 't' } %]
[% END %]
</tr>
</table>
...
...
@@ -400,9 +413,12 @@ function selectProduct(f) {
[%# *** Comment URL Whiteboard Keywords *** %]
[% FOREACH field = [
{ name => "long_desc", description => "A comment" },
{ name => "bug_file_loc", description => "The URL" },
{ name => "status_whiteboard", description => "Whiteboard" } ] %]
{ name => "long_desc", description => "A <u>C</u>omment",
accesskey => 'c' },
{ name => "bug_file_loc", description => "The <u>U</u>RL",
accesskey => 'u' },
{ name => "status_whiteboard", description => "<u>W</u>hiteboard",
accesskey => 'w' } ] %]
[% UNLESS field.name == 'status_whiteboard' AND NOT Param('usestatuswhiteboard') %]
<tr>
...
...
@@ -416,8 +432,9 @@ function selectProduct(f) {
[% END %]
</select>
</td>
<td><input name="[% field.name %]" size="40" value="
[% default.${field.name}.0 FILTER html %]">
<td><input name="[% field.name %]" size="40"
accesskey="[% field.accesskey %]"
value="[% default.${field.name}.0 FILTER html %]">
</td>
<td></td>
</tr>
...
...
@@ -426,7 +443,9 @@ function selectProduct(f) {
[% IF have_keywords %]
<tr>
<th align="right"><a href="describekeywords.cgi">Keywords</a>:</th>
<th align="right">
<a href="describekeywords.cgi"><u>K</u>eywords</a>:
</th>
<td>
<select name="keywords_type">
[% FOREACH qv = [
...
...
@@ -441,7 +460,8 @@ function selectProduct(f) {
</select>
</td>
<td>
<input name="keywords" size="40" value="[% default.keywords.0 FILTER html %]">
<input name="keywords" size="40" accesskey="k"
value="[% default.keywords.0 FILTER html %]">
</td>
</tr>
[% END %]
...
...
@@ -453,21 +473,35 @@ function selectProduct(f) {
<table>
<tr>
<th align="left"><a href="queryhelp.cgi#status">Status</a>:</th>
<th align="left"><a href="queryhelp.cgi#resolution">Resolution</a>:</th>
<th align="left"><a href="queryhelp.cgi#severity">Severity</a>:</th>
<th align="left"><a href="queryhelp.cgi#priority">Priority</a>:</th>
<th align="left"><a href="queryhelp.cgi#platform">Hardware</a>:</th>
<th align="left"><a href="queryhelp.cgi#opsys">OS</a>:</th>
<th align="left"><a href="queryhelp.cgi#status">St<u>a</u>tus</a>:</th>
<th align="left">
<a href="queryhelp.cgi#resolution"><u>R</u>esolution</a>:
</th>
<th align="left"><a href="queryhelp.cgi#severity">S<u>e</u>verity</a>:</th>
<th align="left"><a href="queryhelp.cgi#priority">Pr<u>i</u>ority</a>:</th>
<th align="left"><a href="queryhelp.cgi#platform"><u>H</u>ardware</a>:</th>
<th align="left"><a href="queryhelp.cgi#opsys"><u>O</u>S</a>:</th>
</tr>
<tr valign="top">
[% PROCESS select sel = { name => 'bug_status', size => 7 } %]
[% PROCESS select sel = { name => 'resolution', size => 7 } %]
[% PROCESS select sel = { name => 'bug_severity', size => 7 } %]
[% PROCESS select sel = { name => 'priority', size => 7 } %]
[% PROCESS select sel = { name => 'rep_platform', size => 7 } %]
[% PROCESS select sel = { name => 'op_sys', size => 7 } %]
[% PROCESS select sel = { name => 'bug_status',
size => 7,
accesskey => 'a' } %]
[% PROCESS select sel = { name => 'resolution',
size => 7,
accesskey => 'r' } %]
[% PROCESS select sel = { name => 'bug_severity',
size => 7 }
accesskey => 'e' %]
[% PROCESS select sel = { name => 'priority',
size => 7 }
accesskey => 'i' %]
[% PROCESS select sel = { name => 'rep_platform',
size => 7 }
accesskey => 'h' %]
[% PROCESS select sel = { name => 'op_sys',
size => 7 }
accesskey => 'o' %]
</tr>
</table>
...
...
@@ -659,12 +693,15 @@ function selectProduct(f) {
[% BLOCK select %]
<td align="left">
<select name="[% sel.name %]" multiple="multiple" size="[% sel.size %]">
<label for="[% sel.name %]" accesskey="[% sel.accesskey %]">
<select name="[% sel.name %]" id="[% sel.name %]"
multiple="multiple" size="[% sel.size %]">
[% FOREACH name = ${sel.name} %]
<option value="[% name FILTER html %]"
[% " selected" IF lsearch(default.${sel.name}, name) != -1 %]>
[% name FILTER html %]</option>
[% END %]
</select>
</label>
</td>
[% END %]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment