summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-10-30 00:50:11 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-10-30 00:50:11 +0100
commitf1fda7c8b9cf4646374cc708c14942e5feed82d1 (patch)
tree1708c582d6292dcf8cf9457fc81620305e30c9e8
parent38d2f3ab2c59f1ef9636990854fb9314dd8799d6 (diff)
downloadbugzilla-f1fda7c8b9cf4646374cc708c14942e5feed82d1.tar.gz
bugzilla-f1fda7c8b9cf4646374cc708c14942e5feed82d1.tar.xz
'cgi' is not defined in templates, see bug 913364
-rw-r--r--template/en/default/global/choose-classification.html.tmpl4
-rw-r--r--template/en/default/global/choose-product.html.tmpl4
2 files changed, 6 insertions, 2 deletions
diff --git a/template/en/default/global/choose-classification.html.tmpl b/template/en/default/global/choose-classification.html.tmpl
index 815e625a6..8433380ea 100644
--- a/template/en/default/global/choose-classification.html.tmpl
+++ b/template/en/default/global/choose-classification.html.tmpl
@@ -19,7 +19,9 @@
[% DEFAULT title = "Choose the classification" %]
[% PROCESS global/header.html.tmpl %]
-[% previous_params = cgi.canonicalise_query('classification') %]
+[% USE Bugzilla %]
+[% previous_params = Bugzilla.cgi.canonicalise_query('classification') %]
+
<h2>First, you must pick a classification on which to enter [% terms.abug %]:</h2>
<table id="choose_classification">
<tr>
diff --git a/template/en/default/global/choose-product.html.tmpl b/template/en/default/global/choose-product.html.tmpl
index 5dc619087..7349d1ced 100644
--- a/template/en/default/global/choose-product.html.tmpl
+++ b/template/en/default/global/choose-product.html.tmpl
@@ -28,7 +28,9 @@
[% DEFAULT title = "Choose a Product" %]
[% PROCESS global/header.html.tmpl %]
-[% previous_params = cgi.canonicalise_query('classification', 'product') %]
+[% USE Bugzilla %]
+[% previous_params = Bugzilla.cgi.canonicalise_query('classification', 'product') %]
+
<h2>[% h2 FILTER html %]</h2>
<table id="choose_product">