From e0abf5a6e9bc24ddda2b38d260859192a6bbbc3a Mon Sep 17 00:00:00 2001
From: "gerv%gerv.net" <>
Date: Thu, 25 Apr 2002 01:25:49 +0000
Subject: Bug 136180 - use uri/url_quote filters correctly. Patch by ddk;
2xr=gerv.
---
template/en/default/account/email/change-new.txt.tmpl | 4 ++--
template/en/default/account/email/change-old.txt.tmpl | 2 +-
template/en/default/bug/create/create.html.tmpl | 2 +-
template/en/default/bug/edit.html.tmpl | 2 +-
template/en/default/global/choose-product.html.tmpl | 2 +-
template/en/default/list/list.html.tmpl | 3 ++-
template/en/default/list/table.html.tmpl | 6 ++++--
template/en/default/reports/keywords.html.tmpl | 2 +-
template/en/default/sidebar.xul.tmpl | 2 +-
9 files changed, 14 insertions(+), 11 deletions(-)
(limited to 'template/en/default')
diff --git a/template/en/default/account/email/change-new.txt.tmpl b/template/en/default/account/email/change-new.txt.tmpl
index 5a5ae2535..4739c50e7 100644
--- a/template/en/default/account/email/change-new.txt.tmpl
+++ b/template/en/default/account/email/change-new.txt.tmpl
@@ -27,10 +27,10 @@ for the [% oldemailaddress %] account to your address.
To confirm the change, visit the following link:
-[% Param('urlbase') %]token.cgi?a=cfmem&t=[% token FILTER html %]
+[% Param('urlbase') %]token.cgi?a=cfmem&t=[% token FILTER url_quote %]
If you are not the person who made this request, or you wish to cancel
this request, visit the following link:
-[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token FILTER html %]
+[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token FILTER url_quote %]
diff --git a/template/en/default/account/email/change-old.txt.tmpl b/template/en/default/account/email/change-old.txt.tmpl
index 82ecf1dfc..ac42cccb0 100644
--- a/template/en/default/account/email/change-old.txt.tmpl
+++ b/template/en/default/account/email/change-old.txt.tmpl
@@ -31,5 +31,5 @@ for your account to [% newemailaddress %].
If you are not the person who made this request, or you wish to cancel
this request, visit the following link:
-[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token FILTER html %]
+[% Param('urlbase') %]token.cgi?a=cxlem&t=[% token FILTER url_quote %]
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index fe9688acd..5047a2131 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -71,7 +71,7 @@
-
+
Component:
|
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index deeb4e24d..2dfd4278f 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -90,7 +90,7 @@
-
+
Component:
|
diff --git a/template/en/default/global/choose-product.html.tmpl b/template/en/default/global/choose-product.html.tmpl
index 1d68f7fe7..df7e0fb48 100644
--- a/template/en/default/global/choose-product.html.tmpl
+++ b/template/en/default/global/choose-product.html.tmpl
@@ -27,7 +27,7 @@
[% FOREACH p = proddesc.keys.sort %]
-
+
[% p FILTER html %]:
|
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 1665d7a1e..15d5fc0a0 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -25,6 +25,7 @@
[% DEFAULT title = "Bug List" %]
[% style_url = "css/buglist.css" %]
+[% qorder = order FILTER url_quote IF order %]
[%############################################################################%]
@@ -137,7 +138,7 @@
[% IF bugs.size > 1 && caneditbugs && !dotweak %]
Change Several
+ [%- "&order=$qorder" FILTER html IF order %]&tweak=1">Change Several
Bugs at Once
[% END %]
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index 2afc9bb9d..230fb0875 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -49,6 +49,8 @@
}
%]
+[% qorder = order FILTER url_quote IF order %]
+
[%############################################################################%]
[%# Table Header #%]
[%############################################################################%]
@@ -98,8 +100,8 @@
[% BLOCK columnheader %]
+ [% column.name FILTER url_quote FILTER html %]
+ [% ",$qorder" FILTER html IF order %]">
[%- abbrev.$id.title || column.title -%]
|
[% END %]
diff --git a/template/en/default/reports/keywords.html.tmpl b/template/en/default/reports/keywords.html.tmpl
index 28f684f46..665e360c0 100644
--- a/template/en/default/reports/keywords.html.tmpl
+++ b/template/en/default/reports/keywords.html.tmpl
@@ -53,7 +53,7 @@
[% keyword.description %] |
[% IF keyword.bugcount > 0 %]
-
+
[% keyword.bugcount %]
[% ELSE %]
none
diff --git a/template/en/default/sidebar.xul.tmpl b/template/en/default/sidebar.xul.tmpl
index 652317642..65af4de4c 100644
--- a/template/en/default/sidebar.xul.tmpl
+++ b/template/en/default/sidebar.xul.tmpl
@@ -98,7 +98,7 @@ function normal_keypress_handler( aEvent ) {
[%- END %]
[%- FOREACH name = namedqueries %]
-
+
[% END %]
[% ELSE %]
--
cgit v1.2.3-24-g4f1b
|