From 90d86a9744883ccc120a0a955ffade72990e1505 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 14 Apr 2016 21:03:00 +0200 Subject: Bug 1088022 - Bump min version to CGI 4.09 r=dkl --- template/en/default/bug/process/header.html.tmpl | 6 ++---- template/en/default/bug/process/midair.html.tmpl | 20 ++++++++------------ .../default/bug/process/verify-new-product.html.tmpl | 13 ++++++++----- 3 files changed, 18 insertions(+), 21 deletions(-) (limited to 'template/en/default/bug/process') 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 @@

[% END %] -[% IF cgi.param("comment") %] +[% IF cgi_param("comment") %]

Your comment was:

-    [% cgi.param("comment") FILTER html %]
+    [% cgi_param("comment") FILTER html %]
   

[% END %] @@ -70,16 +66,16 @@ You have the following choices: [% ", except for the added comment(s)" IF comments.size %]. - [% IF cgi.param("comment") %] + [% IF cgi_param("comment") %]
  • - + - - + + - + value="[% cgi_param("comment_is_private") FILTER html %]"> +
  • 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 @@ @@ -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 %]">