From 7d8d21a7ec9322e38ec8f8cbd06674b82b28902c Mon Sep 17 00:00:00 2001 From: "bzrmirror%bugzilla.org" Date: Thu, 30 Oct 2014 00:00:48 +0000 Subject: [PATCH] 'cgi' is not defined in templates, see bug 913364 git-svn-id: svn://10.0.0.236/trunk@265653 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/.gitrev | 2 +- .../en/default/global/choose-classification.html.tmpl | 4 +++- .../template/en/default/global/choose-product.html.tmpl | 4 +++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 70f72ca78e6..4e5498fb505 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -9194 \ No newline at end of file +9195 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/.gitrev b/mozilla/webtools/bugzilla/.gitrev index 4339d2aab71..c71e149732c 100644 --- a/mozilla/webtools/bugzilla/.gitrev +++ b/mozilla/webtools/bugzilla/.gitrev @@ -1 +1 @@ -38d2f3ab2c59f1ef9636990854fb9314dd8799d6 \ No newline at end of file +f1fda7c8b9cf4646374cc708c14942e5feed82d1 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/template/en/default/global/choose-classification.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/global/choose-classification.html.tmpl index 815e625a611..8433380ea39 100644 --- a/mozilla/webtools/bugzilla/template/en/default/global/choose-classification.html.tmpl +++ b/mozilla/webtools/bugzilla/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/mozilla/webtools/bugzilla/template/en/default/global/choose-product.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/global/choose-product.html.tmpl index 5dc619087d7..7349d1ced1f 100644 --- a/mozilla/webtools/bugzilla/template/en/default/global/choose-product.html.tmpl +++ b/mozilla/webtools/bugzilla/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 %]