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
9f13cc2f
Commit
9f13cc2f
authored
Dec 04, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 523759: Template hooks for the Advanced Search form
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
parent
bc19204d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
6 deletions
+17
-6
form.html.tmpl
template/en/default/search/form.html.tmpl
+17
-6
No files found.
template/en/default/search/form.html.tmpl
View file @
9f13cc2f
...
...
@@ -153,6 +153,7 @@ function doOnSelectProduct(selectmode) {
<td colspan="4">
<table>
<tr>
[% Hook.process('before_selects_top') %]
[% IF Param('useclassification') %]
<td valign="top">
<table>
...
...
@@ -252,6 +253,7 @@ function doOnSelectProduct(selectmode) {
</table>
</td>
[% END %]
[% Hook.process('after_selects_top') %]
</tr>
</table>
</td>
...
...
@@ -259,18 +261,24 @@ function doOnSelectProduct(selectmode) {
[%# *** Comment URL Whiteboard Keywords *** %]
[%
FOREACH field
= [
[%
SET freetext_fields
= [
{ name => "longdesc", 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') %]
accesskey => 'w' }
] %]
[% Hook.process('before_freetext_fields') %]
[% FOREACH field = freetext_fields %]
[% NEXT IF field.name == 'status_whiteboard'
AND NOT Param('usestatuswhiteboard')
%]
<tr>
<th align="right">
<label for="[% field.name %]" accesskey="[% field.accesskey %]">[% field.description %]</label>:
<label for="[% field.name %]"
accesskey="[% field.accesskey %]">[% field.description %]</label>:
</th>
<td>
[% type = field.name _ "_type" %]
...
...
@@ -283,7 +291,6 @@ function doOnSelectProduct(selectmode) {
</td>
<td></td>
</tr>
[% END %]
[% END %]
[% IF use_keywords %]
...
...
@@ -321,6 +328,8 @@ function doOnSelectProduct(selectmode) {
</td>
</tr>
[% END %]
[% Hook.process('after_freetext_fields') %]
</table>
...
...
@@ -330,6 +339,7 @@ function doOnSelectProduct(selectmode) {
<table>
<tr>
[% Hook.process('before_selects_bottom') %]
<td>
<table>
<tr>
...
...
@@ -408,6 +418,7 @@ function doOnSelectProduct(selectmode) {
</tr>
</table>
</td>
[% Hook.process('after_selects_bottom') %]
</tr>
</table>
...
...
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