diff options
author | justdave%syndicomm.com <> | 2004-04-17 13:41:14 +0200 |
---|---|---|
committer | justdave%syndicomm.com <> | 2004-04-17 13:41:14 +0200 |
commit | aa46318265cf588df667d4828e789aeb3a37527e (patch) | |
tree | a2b16eac6c1f3cb78e8634a961eac9e8cad5dfc1 /template/en | |
parent | bfa503a07fb840d32369a3399821c71dd380445f (diff) | |
download | bugzilla-aa46318265cf588df667d4828e789aeb3a37527e.tar.gz bugzilla-aa46318265cf588df667d4828e789aeb3a37527e.tar.xz |
Bug 238865: removing %::FORM from page.cgi in favor of $cgi->param
Patch by kiko, r=vlad, justdave, a=justdave
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 5 | ||||
-rw-r--r-- | template/en/default/pages/linked.html.tmpl | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 342d67102..c5233b8e8 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -56,6 +56,11 @@ [% ELSIF error == "authres_unhandled" %] An authorization handler return value was not handled by the login code. + [% ELSIF error == "bad_page_cgi_id" %] + [% title = "Invalid Page ID" %] + The ID <code>[% page_id FILTER html %]</code> is not a + valid page identifier. + [% ELSIF error == "bug_error" %] Trying to retrieve [% terms.bug %] [%+ bug.bug_id FILTER html %] returned the error [% bug.error FILTER html %]. diff --git a/template/en/default/pages/linked.html.tmpl b/template/en/default/pages/linked.html.tmpl index 2a3521a35..fcb5ee9d0 100644 --- a/template/en/default/pages/linked.html.tmpl +++ b/template/en/default/pages/linked.html.tmpl @@ -21,6 +21,8 @@ #%] [% INCLUDE global/header.html.tmpl title = "Your Linkified Text" %] +[% USE Bugzilla %] +[% cgi = Bugzilla.cgi %] <p> Copy and paste the text below: @@ -30,7 +32,7 @@ <p> <pre> -[%- form.text FILTER quoteUrls FILTER html -%] +[%- cgi.param("text") FILTER quoteUrls FILTER html -%] </pre> </p> @@ -45,7 +47,7 @@ <p> <pre> -[%- form.text FILTER quoteUrls -%] +[%- cgi.param("text") FILTER quoteUrls -%] </pre> </p> |