summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-04-14 21:03:00 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2016-04-14 21:03:00 +0200
commit90d86a9744883ccc120a0a955ffade72990e1505 (patch)
tree07fd038fc41a2de0259f2f7c6a9de0d55e8a1e34 /template/en
parentae22da8710d00232d28b7c6b9093d2b7e33b0627 (diff)
downloadbugzilla-90d86a9744883ccc120a0a955ffade72990e1505.tar.gz
bugzilla-90d86a9744883ccc120a0a955ffade72990e1505.tar.xz
Bug 1088022 - Bump min version to CGI 4.09
r=dkl
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/account/auth/login.html.tmpl2
-rw-r--r--template/en/default/attachment/midair.html.tmpl8
-rw-r--r--template/en/default/bug/create/comment-guided.txt.tmpl22
-rw-r--r--template/en/default/bug/create/comment.txt.tmpl5
-rw-r--r--template/en/default/bug/create/create-guided.html.tmpl7
-rw-r--r--template/en/default/bug/process/header.html.tmpl6
-rw-r--r--template/en/default/bug/process/midair.html.tmpl20
-rw-r--r--template/en/default/bug/process/verify-new-product.html.tmpl13
-rw-r--r--template/en/default/bug/show.xml.tmpl5
-rw-r--r--template/en/default/global/confirm-user-match.html.tmpl6
-rw-r--r--template/en/default/global/hidden-fields.html.tmpl11
-rw-r--r--template/en/default/global/product-select.html.tmpl4
-rw-r--r--template/en/default/global/user-error.html.tmpl17
-rw-r--r--template/en/default/list/list.html.tmpl6
-rw-r--r--template/en/default/pages/linked.html.tmpl6
-rw-r--r--template/en/default/reports/keywords.html.tmpl4
-rw-r--r--template/en/default/request/queue.html.tmpl18
17 files changed, 69 insertions, 91 deletions
diff --git a/template/en/default/account/auth/login.html.tmpl b/template/en/default/account/auth/login.html.tmpl
index 05d177d09..afa77df7f 100644
--- a/template/en/default/account/auth/login.html.tmpl
+++ b/template/en/default/account/auth/login.html.tmpl
@@ -25,7 +25,7 @@
</h2>
<form id="login_form" name="login" action="[% urlbase FILTER html %][% target FILTER html %]"
- method="POST" [% IF Bugzilla.cgi.param("data") %] enctype="multipart/form-data"[% END %]>
+ method="POST" [% IF cgi_param("data") %] enctype="multipart/form-data"[% END %]>
<table>
<tr>
<th>
diff --git a/template/en/default/attachment/midair.html.tmpl b/template/en/default/attachment/midair.html.tmpl
index 68db5d974..4dd44ef4d 100644
--- a/template/en/default/attachment/midair.html.tmpl
+++ b/template/en/default/attachment/midair.html.tmpl
@@ -14,10 +14,6 @@
# attachment: object; the attachment being changed.
#%]
-[%# The global Bugzilla->cgi object is used to obtain form variable values. %]
-[% USE Bugzilla %]
-[% cgi = Bugzilla.cgi %]
-
[% PROCESS global/header.html.tmpl title = "Mid-air collision!" %]
<h1>Mid-air collision detected!</h1>
@@ -33,11 +29,11 @@
[% PROCESS "bug/activity/table.html.tmpl" incomplete_data=0 %]
</p>
-[% IF cgi.param("comment") %]
+[% IF cgi_param("comment") %]
<p>
Your comment was:<br>
<blockquote><pre class="bz_comment_text">
- [% cgi.param("comment") FILTER html %]
+ [% cgi_param("comment") FILTER html %]
</pre></blockquote>
</p>
[% END %]
diff --git a/template/en/default/bug/create/comment-guided.txt.tmpl b/template/en/default/bug/create/comment-guided.txt.tmpl
index e85a36469..0a7b5223a 100644
--- a/template/en/default/bug/create/comment-guided.txt.tmpl
+++ b/template/en/default/bug/create/comment-guided.txt.tmpl
@@ -8,27 +8,27 @@
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]
User-Agent: [%+ cgi.user_agent() %]
-Build Identifier: [%+ cgi.param("buildid") %]
+Build Identifier: [%+ cgi_param("buildid") %]
-[%+ cgi.param("comment") IF cgi.param("comment") %]
+[%+ cgi_param("comment") IF cgi_param("comment") %]
-[%+ IF cgi.param("reproducible") != "Choose one..." -%]
-Reproducible: [%+ cgi.param("reproducible") %]
+[%+ IF cgi_param("reproducible") != "Choose one..." -%]
+Reproducible: [%+ cgi_param("reproducible") %]
[% END %]
-[% IF !(cgi.param("reproduce_steps").match('^1\.\s*2\.\s*3\.\s*$') || cgi.param("reproduce_steps").match('^\s*$')) %]
+[% IF !(cgi_param("reproduce_steps").match('^1\.\s*2\.\s*3\.\s*$') || cgi_param("reproduce_steps").match('^\s*$')) %]
Steps to Reproduce:
-[%+ cgi.param("reproduce_steps") %]
+[%+ cgi_param("reproduce_steps") %]
[% END %]
-[% IF cgi.param("actual_results") -%]
+[% IF cgi_param("actual_results") -%]
Actual Results:
-[%+ cgi.param("actual_results") %]
+[%+ cgi_param("actual_results") %]
[% END %]
-[% IF cgi.param("expected_results") %]
+[% IF cgi_param("expected_results") %]
Expected Results:
-[%+ cgi.param("expected_results") %]
+[%+ cgi_param("expected_results") %]
[% END %]
-[%+ cgi.param("additional_info") %]
+[%+ cgi_param("additional_info") %]
diff --git a/template/en/default/bug/create/comment.txt.tmpl b/template/en/default/bug/create/comment.txt.tmpl
index 4cd78ddd1..8eb6bfaf0 100644
--- a/template/en/default/bug/create/comment.txt.tmpl
+++ b/template/en/default/bug/create/comment.txt.tmpl
@@ -5,8 +5,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
#%]
-[% USE Bugzilla %]
-[% Hook.process("form") %]
+[% Hook.process("form") %]
-[% Bugzilla.cgi.param("comment") %]
+[% cgi_param("comment") %]
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl
index 1adae4588..0169d9e6b 100644
--- a/template/en/default/bug/create/create-guided.html.tmpl
+++ b/template/en/default/bug/create/create-guided.html.tmpl
@@ -10,9 +10,6 @@
# This template has the same interface as create.html.tmpl
#%]
-[% USE Bugzilla %]
-[% cgi = Bugzilla.cgi %]
-
[% PROCESS global/header.html.tmpl
title = "Enter $terms.ABug"
onload = "PutDescription()"
@@ -165,8 +162,8 @@ function PutDescription() {
</tr>
[%# Accept URL parameter build ID for non-browser products %]
- [% IF cgi.param("buildid") %]
- [% buildid = cgi.param("buildid") %]
+ [% IF cgi_param("buildid") %]
+ [% buildid = cgi_param("buildid") %]
[% END %]
<tr class="guided_form_field">
diff --git a/template/en/default/bug/process/header.html.tmpl b/template/en/default/bug/process/header.html.tmpl
index 55de0c324..b95e1dcd3 100644
--- a/template/en/default/bug/process/header.html.tmpl
+++ b/template/en/default/bug/process/header.html.tmpl
@@ -10,13 +10,11 @@
# As global/header.html.tmpl.
#%]
-[% USE Bugzilla %]
-
[% PROCESS "bug/show-header.html.tmpl" %]
-[% IF title_tag == "bug_processed" %]
+[% IF title_tag == "bug_processed" %]
[% title = BLOCK %]
- [% IF Bugzilla.cgi.param('id') %]
+ [% IF cgi_param('id') %]
[%+ id FILTER html %]
[% ELSE %]
[% terms.Bugs %]
diff --git a/template/en/default/bug/process/midair.html.tmpl b/template/en/default/bug/process/midair.html.tmpl
index f89590df2..ca7e095c1 100644
--- a/template/en/default/bug/process/midair.html.tmpl
+++ b/template/en/default/bug/process/midair.html.tmpl
@@ -15,10 +15,6 @@
# bug: Bugzilla::Bug; the bug being changed.
#%]
-[%# The global Bugzilla->cgi object is used to obtain form variable values. %]
-[% USE Bugzilla %]
-[% cgi = Bugzilla.cgi %]
-
[% UNLESS header_done %]
[% PROCESS bug/process/header.html.tmpl %]
[% END %]
@@ -45,11 +41,11 @@
</p>
[% END %]
-[% IF cgi.param("comment") %]
+[% IF cgi_param("comment") %]
<p>
Your comment was:<br>
<blockquote><pre class="bz_comment_text">
- [% cgi.param("comment") FILTER html %]
+ [% cgi_param("comment") FILTER html %]
</pre></blockquote>
</p>
[% END %]
@@ -70,16 +66,16 @@ You have the following choices:
[% ", except for the added comment(s)" IF comments.size %].
</form>
</li>
- [% IF cgi.param("comment") %]
+ [% IF cgi_param("comment") %]
<li>
<form method="post" action="process_bug.cgi">
- <input type="hidden" name="id" value="[% cgi.param("id") FILTER html %]">
+ <input type="hidden" name="id" value="[% cgi_param("id") FILTER html %]">
<input type="hidden" name="delta_ts" value="[% bug.delta_ts FILTER html %]">
- <input type="hidden" name="comment" value="[% cgi.param("comment") FILTER html %]">
- <input type="hidden" name="use_markdown" value="[% cgi.param("use_markdown") FILTER html %]">
+ <input type="hidden" name="comment" value="[% cgi_param("comment") FILTER html %]">
+ <input type="hidden" name="use_markdown" value="[% cgi_param("use_markdown") FILTER html %]">
<input type="hidden" name="comment_is_private"
- value="[% cgi.param("comment_is_private") FILTER html %]">
- <input type="hidden" name="token" value="[% cgi.param("token") FILTER html %]">
+ value="[% cgi_param("comment_is_private") FILTER html %]">
+ <input type="hidden" name="token" value="[% cgi_param("token") FILTER html %]">
<input type="submit" id="process_comment" value="Submit only my new comment">
</form>
</li>
diff --git a/template/en/default/bug/process/verify-new-product.html.tmpl b/template/en/default/bug/process/verify-new-product.html.tmpl
index c562bf54d..837a9836f 100644
--- a/template/en/default/bug/process/verify-new-product.html.tmpl
+++ b/template/en/default/bug/process/verify-new-product.html.tmpl
@@ -17,6 +17,9 @@
# verify_bug_groups: If groups need to be confirmed in addition to fields.
#%]
+[% USE Bugzilla %]
+[% cgi = Bugzilla.cgi %]
+
[% PROCESS global/header.html.tmpl
title = 'Verify New Product Details...'
style_urls = ['skins/standard/buglist.css']
@@ -165,14 +168,14 @@
<input type="checkbox" name="defined_groups"
id="defined_group_[% group.group.id FILTER html %]"
value="[% group.group.name FILTER html %]"
- [% IF cgi.param("defined_groups").contains(group.group.name) %] checked="checked"[% END %]
+ [% IF cgi.multi_param("defined_groups").contains(group.group.name) %] checked="checked"[% END %]
onchange="turn_off(this, 'group_[% group.group.id FILTER html %]')">
</td>
<td class="center">
<input type="checkbox" name="groups"
id="group_[% group.group.id FILTER html %]"
value="[% group.group.name FILTER html %]"
- [% IF cgi.param("groups").contains(group.group.name) %] checked="checked"[% END %]
+ [% IF cgi.multi_param("groups").contains(group.group.name) %] checked="checked"[% END %]
onchange="turn_off(this, 'defined_group_[% group.group.id FILTER html %]')">
</td>
<td>
@@ -189,7 +192,7 @@
name="groups"
[% ' checked="checked"' IF ((group.membercontrol == constants.CONTROLMAPDEFAULT && user.in_group(group.group.name))
|| (group.othercontrol == constants.CONTROLMAPDEFAULT && !user.in_group(group.group.name))
- || cgi.param("groups").contains(group.group.name)) %]
+ || cgi.multi_param("groups").contains(group.group.name)) %]
value="[% group.group.name FILTER html %]">
<label for="group_[% group.group.id FILTER html %]">
[% group.group.name FILTER html %]: [% group.group.description FILTER html %]
@@ -224,8 +227,8 @@
[%# If 'id' is defined, then we are editing a single bug.
# Else we are editing several bugs at once. %]
-[% IF cgi.param('id') AND cgi.param('id').match('^\d+$') %]
- [% id = cgi.param('id') %]
+[% IF cgi_param('id') AND cgi_param('id').match('^\d+$') %]
+ [% id = cgi_param('id') %]
Cancel and Return to [% "$terms.bug $id" FILTER bug_link(id) FILTER none %]
[% ELSE %]
Cancel and Return to <a href="buglist.cgi?regetlastlist=1">the last search results</a>
diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl
index 10ec0a3c1..2b2d32d5a 100644
--- a/template/en/default/bug/show.xml.tmpl
+++ b/template/en/default/bug/show.xml.tmpl
@@ -6,10 +6,9 @@
# defined by the Mozilla Public License, v. 2.0.
#%]
[% PROCESS bug/time.html.tmpl %]
-[% USE Bugzilla %]
-[% cgi = Bugzilla.cgi %]
+
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
-<!DOCTYPE bugzilla [% IF cgi.param('dtd') %][[% PROCESS pages/bugzilla.dtd.tmpl %]][% ELSE %]SYSTEM "[% urlbase FILTER xml %]page.cgi?id=bugzilla.dtd"[% END %]>
+<!DOCTYPE bugzilla [% IF cgi_param('dtd') %][[% PROCESS pages/bugzilla.dtd.tmpl %]][% ELSE %]SYSTEM "[% urlbase FILTER xml %]page.cgi?id=bugzilla.dtd"[% END %]>
<bugzilla version="[% constants.BUGZILLA_VERSION %]"
urlbase="[% urlbase FILTER xml %]"
diff --git a/template/en/default/global/confirm-user-match.html.tmpl b/template/en/default/global/confirm-user-match.html.tmpl
index 613f097e1..b497256a3 100644
--- a/template/en/default/global/confirm-user-match.html.tmpl
+++ b/template/en/default/global/confirm-user-match.html.tmpl
@@ -41,13 +41,11 @@
[% IF matchsuccess == 1 %]
[% PROCESS global/header.html.tmpl title="Confirm Match" %]
- [% USE Bugzilla %]
-
<form method="post"
[% IF script -%]
action="[% script %]"
[%- END -%]
- [% IF Bugzilla.cgi.param("data") %]
+ [% IF cgi_param("data") %]
enctype="multipart/form-data"
[% END %]
>
@@ -147,7 +145,7 @@
[% SET exclude_these = ['Bugzilla_login', 'Bugzilla_password'] %]
[% FOREACH key IN matches.keys %]
- [% exclude_these.push(key) IF Bugzilla.cgi.param(key) == '' %]
+ [% exclude_these.push(key) IF cgi_param(key) == '' %]
[% END %]
[% SET exclude = '^' _ exclude_these.join('|') _ '$' %]
[% PROCESS "global/hidden-fields.html.tmpl" exclude = exclude %]
diff --git a/template/en/default/global/hidden-fields.html.tmpl b/template/en/default/global/hidden-fields.html.tmpl
index 88d267354..f8f353233 100644
--- a/template/en/default/global/hidden-fields.html.tmpl
+++ b/template/en/default/global/hidden-fields.html.tmpl
@@ -16,12 +16,9 @@
[% cgi = Bugzilla.cgi %]
[%# Generate hidden form fields for non-excluded fields. %]
-[% FOREACH field = cgi.param() %]
+[% FOREACH field = cgi.multi_param() %]
[% NEXT IF exclude && field.search(exclude) %]
- [%# The '.slice(0)' bit is here to force the 'param(field)' to be evaluated
- in a list context, so we can avoid extra code checking for single valued or
- empty fields %]
- [% IF field == "data" && cgi.param("data") %]
+ [% IF field == "data" && cgi_param("data") %]
<div class="box">
<p>
We were unable to store the file you uploaded because of incomplete information
@@ -30,7 +27,7 @@
remaining missing information above.
</p>
<p>
- Please re-attach the file <b>[% cgi.param(field) FILTER html %]</b> in
+ Please re-attach the file <b>[% cgi_param(field) FILTER html %]</b> in
the field below:
</p>
<p>
@@ -38,7 +35,7 @@
</p>
</div>
[% ELSE %]
- [% FOREACH mvalue = cgi.param(field).slice(0) %]
+ [% FOREACH mvalue = cgi.multi_param(field) %]
<input type="hidden" name="[% field FILTER html %]"
value="[% mvalue FILTER html_linebreak %]">
[% END %]
diff --git a/template/en/default/global/product-select.html.tmpl b/template/en/default/global/product-select.html.tmpl
index 23a7b3d58..f9e5670ad 100644
--- a/template/en/default/global/product-select.html.tmpl
+++ b/template/en/default/global/product-select.html.tmpl
@@ -69,7 +69,7 @@
<optgroup label="[% c FILTER html %]">
[% FOREACH p = classifications.$c %]
<option value="[% p.$valueattribute FILTER html %]"
- [% " selected" IF (cgi.param(name) == p.name) || (value.contains(p.name)) %]>
+ [% " selected" IF cgi_param(name) == p.name || value.contains(p.name) %]>
[% p.name FILTER html %]
</option>
[% END %]
@@ -81,7 +81,7 @@
[% END %]
[% FOREACH p = products %]
<option value="[% p.$valueattribute FILTER html %]"
- [% " selected" IF (cgi.param(name) == p.name) || (value.contains(p.name)) %]>
+ [% " selected" IF cgi_param(name) == p.name || value.contains(p.name) %]>
[% p.name FILTER html %]
</option>
[% END %]
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 8c0cc8b7a..bd8c54f2d 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -2036,29 +2036,28 @@
Please press <b>Back</b> and try again.
</p>
-[%# If a saved search fails, people want the ability to edit or delete it.
+[%# If a saved search fails, people want the ability to edit or delete it.
# This is the best way of getting information about that possible saved
# search from any error call location. %]
-[% namedcmd = Bugzilla.cgi.param("namedcmd") %]
-[% sharer_id = Bugzilla.cgi.param("sharer_id") %]
+[% namedcmd = cgi_param("namedcmd") %]
[% IF namedcmd AND error != "missing_query"
AND error != "saved_search_used_by_whines"
- AND !sharer_id %]
- <p>
- Alternatively, you can
+ AND !cgi_param("sharer_id") %]
+ <p>
+ Alternatively, you can
<a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
[% namedcmd FILTER uri %]">forget</a>
-
+
[% FOREACH q = Bugzilla.user.queries %]
[% IF q.name == namedcmd %]
or <a href="query.cgi?[% q.url FILTER html %]">edit</a>
[% END %]
[% END %]
-
+
the saved search '[% namedcmd FILTER html %]'.
</p>
-[% END %]
+[% END %]
[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 42af50123..190486b12 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -33,11 +33,11 @@
[% IF quicksearch %]
[% new_param = BLOCK ~%]
quicksearch=[% quicksearch FILTER uri %]
- [%~ IF cgi.param('list_id') ~%]
- &list_id=[% cgi.param('list_id') FILTER uri %]
+ [%~ IF cgi_param('list_id') ~%]
+ &list_id=[% cgi_param('list_id') FILTER uri %]
[%~ END %]
[% END %]
- [% ELSIF cgi.param('token') != '' %]
+ [% ELSIF cgi_param('token') != '' %]
[% new_param = cgi.canonicalise_query('token', 'cmdtype', 'remtype') %]
[% ELSE %]
[% new_param = cgi.canonicalise_query %]
diff --git a/template/en/default/pages/linked.html.tmpl b/template/en/default/pages/linked.html.tmpl
index ab74470c2..e7e55fa8a 100644
--- a/template/en/default/pages/linked.html.tmpl
+++ b/template/en/default/pages/linked.html.tmpl
@@ -7,8 +7,6 @@
#%]
[% INCLUDE global/header.html.tmpl title = "Your Linkified Text" %]
-[% USE Bugzilla %]
-[% cgi = Bugzilla.cgi %]
<p>
Copy and paste the text below:
@@ -18,7 +16,7 @@
<p>
<pre class="bz_comment_text">
-[%- cgi.param("text") FILTER markdown FILTER html -%]
+[%- cgi_param("text") FILTER markdown FILTER html -%]
</pre>
</p>
@@ -33,7 +31,7 @@
<p>
<pre class="bz_comment_text">
-[%- cgi.param("text") FILTER markdown -%]
+[%- cgi_param("text") FILTER markdown -%]
</pre>
</p>
diff --git a/template/en/default/reports/keywords.html.tmpl b/template/en/default/reports/keywords.html.tmpl
index 6e7ad0c50..9c172ab06 100644
--- a/template/en/default/reports/keywords.html.tmpl
+++ b/template/en/default/reports/keywords.html.tmpl
@@ -18,8 +18,8 @@
title = "$terms.Bugzilla Keyword Descriptions"
style_urls = ['skins/standard/admin.css']
%]
-[% cgi = Bugzilla.cgi %]
-[% show_inactive_keywords = cgi.param("show_inactive_keywords") %]
+
+[% show_inactive_keywords = cgi_param("show_inactive_keywords") %]
<script>
$(document).ready(function () {
diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl
index fd3dbde8a..fe26c53b6 100644
--- a/template/en/default/request/queue.html.tmpl
+++ b/template/en/default/request/queue.html.tmpl
@@ -6,9 +6,6 @@
# defined by the Mozilla Public License, v. 2.0.
#%]
-[% USE Bugzilla %]
-[% cgi = Bugzilla.cgi %]
-
[% PROCESS "global/js-products.html.tmpl" %]
[% PROCESS global/header.html.tmpl
@@ -36,7 +33,7 @@ to some group are shown by default.
[% INCLUDE global/userselect.html.tmpl
id => "requester"
name => "requester"
- value => cgi.param('requester')
+ value => cgi_param('requester')
size => 20
emptyok => 1
field_title => "Requester's email address"
@@ -56,7 +53,7 @@ to some group are shown by default.
[% PROCESS "global/select-menu.html.tmpl"
name="type"
options=types
- default=cgi.param('type') %]
+ default=cgi_param('type') %]
</td>
[%# We could let people see a "queue" of non-pending requests. %]
@@ -66,7 +63,7 @@ to some group are shown by default.
[%# PROCESS "global/select-menu.html.tmpl"
name="status"
options=["all", "?", "+-", "+", "-"]
- default=cgi.param('status') %]
+ default=cgi_param('status') %]
</td>
-->
@@ -77,7 +74,7 @@ to some group are shown by default.
[% INCLUDE global/userselect.html.tmpl
id => "requestee"
name => "requestee"
- value => cgi.param('requestee')
+ value => cgi_param('requestee')
size => 20
emptyok => 1
hyphenok => 1
@@ -89,7 +86,7 @@ to some group are shown by default.
<select name="component">
<option value="">Any</option>
[% FOREACH comp = components %]
- <option value="[% comp FILTER html %]" [% "selected" IF cgi.param('component') == comp %]>
+ <option value="[% comp FILTER html %]" [% "selected" IF cgi_param('component') == comp %]>
[% comp FILTER html %]</option>
[% END %]
</select>
@@ -102,7 +99,8 @@ to some group are shown by default.
"Flag" => 'type' ,
"Product/Component" => 'category'
} %]
- [% PROCESS "global/select-menu.html.tmpl" name="group" options=groups default=cgi.param('group') %]
+ [% PROCESS "global/select-menu.html.tmpl"
+ name = "group", options = groups, default = cgi_param('group') %]
</td>
</tr>
<tr>
@@ -110,7 +108,7 @@ to some group are shown by default.
<td>
<select id="do_union" name="do_union">
<option value="0">Match the requester AND requestee</option>
- <option value="1" [% 'selected="selected"' IF cgi.param('do_union') %]>
+ <option value="1" [% 'selected="selected"' IF cgi_param('do_union') %]>
Match the requester OR requestee</option>
</select>
</td>