From f1fda7c8b9cf4646374cc708c14942e5feed82d1 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 30 Oct 2014 00:50:11 +0100 Subject: 'cgi' is not defined in templates, see bug 913364 --- template/en/default/global/choose-classification.html.tmpl | 4 +++- template/en/default/global/choose-product.html.tmpl | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'template/en/default/global') 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') %] +

First, you must pick a classification on which to enter [% terms.abug %]:

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 FILTER html %]

-- cgit v1.2.3-24-g4f1b