summaryrefslogtreecommitdiffstats
path: root/template/en/default/request
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-03-06 17:54:17 +0100
committerjocuri%softhome.net <>2004-03-06 17:54:17 +0100
commit4b4188d7a08098c963183e47d68554545744c483 (patch)
tree501c312756d73979947f6092e181da8d4172a1ac /template/en/default/request
parentaa76a6cc6469aee72d43079db5a23440c3f69d21 (diff)
downloadbugzilla-4b4188d7a08098c963183e47d68554545744c483.tar.gz
bugzilla-4b4188d7a08098c963183e47d68554545744c483.tar.xz
Patch for bug 236019; make request.cgi use $cgi->param instead of %::FORM; r=kiko, a=justdave.
Diffstat (limited to 'template/en/default/request')
-rw-r--r--template/en/default/request/queue.html.tmpl17
1 files changed, 10 insertions, 7 deletions
diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl
index c509324ed..0eb3f21cd 100644
--- a/template/en/default/request/queue.html.tmpl
+++ b/template/en/default/request/queue.html.tmpl
@@ -21,6 +21,9 @@
[% PROCESS global/variables.none.tmpl %]
+[% USE Bugzilla %]
+[% cgi = Bugzilla.cgi %]
+
[%# The javascript and header_html blocks get used in header.html.tmpl. %]
[% javascript = BLOCK %]
var usetms = 0; // do we have target milestone?
@@ -44,14 +47,14 @@
<table id="filter">
<tr>
<th>Requester:</th>
- <td><input type="text" name="requester" value="[% form.requester FILTER html %]" size="20"></td>
+ <td><input type="text" name="requester" value="[% cgi.param('requester') FILTER html %]" size="20"></td>
<th>Product:</th>
<td>
<select name="product" onchange="selectProduct(this.form, 'product', 'component', 'Any');">
<option value="">Any</option>
[% FOREACH item = products %]
<option value="[% item FILTER html %]"
- [% "selected" IF form.product == item %]>[% item FILTER html %]</option>
+ [% "selected" IF cgi.param('product') == item %]>[% item FILTER html %]</option>
[% END %]
</select>
</td>
@@ -60,7 +63,7 @@
[% PROCESS "global/select-menu.html.tmpl"
name="type"
options=types
- default=form.type %]
+ default=cgi.param('type') %]
</td>
[%# We could let people see a "queue" of non-pending requests. %]
@@ -70,20 +73,20 @@
[%# PROCESS "global/select-menu.html.tmpl"
name="status"
options=["all", "?", "+-", "+", "-"]
- default=form.status %]
+ default=cgi.param('status') %]
</td>
-->
</tr>
<tr>
<th>Requestee:</th>
- <td><input type="text" name="requestee" value="[% form.requestee FILTER html %]" size="20"></td>
+ <td><input type="text" name="requestee" value="[% cgi.param('requestee') FILTER html %]" size="20"></td>
<th>Component:</th>
<td>
<select name="component">
<option value="">Any</option>
[% FOREACH item = components %]
- <option value="[% item FILTER html %]" [% "selected" IF form.component == item %]>
+ <option value="[% item FILTER html %]" [% "selected" IF cgi.param('component') == item %]>
[% item FILTER html %]</option>
[% END %]
</select>
@@ -96,7 +99,7 @@
"Flag" => 'type' ,
"Product/Component" => 'category'
} %]
- [% PROCESS "global/select-menu.html.tmpl" name="group" options=groups default=form.group %]
+ [% PROCESS "global/select-menu.html.tmpl" name="group" options=groups default=cgi.param('group') %]
</td>
<td><input type="submit" value="Filter"></td>
</tr>