summaryrefslogtreecommitdiffstats
path: root/template/en/default/pages
diff options
context:
space:
mode:
authorkiko%async.com.br <>2004-04-12 06:31:44 +0200
committerkiko%async.com.br <>2004-04-12 06:31:44 +0200
commitfcf2c1a1a5900f51a6e20c6b2391677bf6fb729c (patch)
treecf7053f9d72de657ec11a909632a65a96b0d7ab6 /template/en/default/pages
parent4d1ced8f750508a70c938a932c09a0cd56103c28 (diff)
downloadbugzilla-fcf2c1a1a5900f51a6e20c6b2391677bf6fb729c.tar.gz
bugzilla-fcf2c1a1a5900f51a6e20c6b2391677bf6fb729c.tar.xz
Fix for bug 238865-v1: remove %FORM from page.cgi. Does so, fixing the
linked page template and adding a code error for the "bad id provided" case. r=vladd, a=myk.
Diffstat (limited to 'template/en/default/pages')
-rw-r--r--template/en/default/pages/linked.html.tmpl6
1 files changed, 4 insertions, 2 deletions
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>