summaryrefslogtreecommitdiffstats
path: root/template/en/default/list
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-04-19 17:05:20 +0200
committerlpsolit%gmail.com <>2007-04-19 17:05:20 +0200
commit40e63525a8bda9132a4d2c0d296b2b7e89fe75de (patch)
treec55b68fd0ed29b7752d0956c7cab85d8004882e6 /template/en/default/list
parent29ab35c232fdff053f78b18598bfbe6a13f29826 (diff)
downloadbugzilla-40e63525a8bda9132a4d2c0d296b2b7e89fe75de.tar.gz
bugzilla-40e63525a8bda9132a4d2c0d296b2b7e89fe75de.tar.xz
Bug 369933: Use Bugzilla::Util::correct_urlbase() everywhere in templates to get the correct URL to the Bugzilla installation - Patch by Alex Eiser <aeiser@arc.nasa.gov> r/a=LpSolit
Diffstat (limited to 'template/en/default/list')
-rw-r--r--template/en/default/list/list-simple.html.tmpl2
-rw-r--r--template/en/default/list/list.atom.tmpl10
-rw-r--r--template/en/default/list/list.ics.tmpl4
-rw-r--r--template/en/default/list/list.rdf.tmpl6
4 files changed, 11 insertions, 11 deletions
diff --git a/template/en/default/list/list-simple.html.tmpl b/template/en/default/list/list-simple.html.tmpl
index 8494baf60..60f1a4f3a 100644
--- a/template/en/default/list/list-simple.html.tmpl
+++ b/template/en/default/list/list-simple.html.tmpl
@@ -39,7 +39,7 @@
<head>
<title>[% title FILTER html %]</title>
- <base href="[% Param("urlbase") %]">
+ <base href="[% urlbase FILTER html %]">
<link href="skins/standard/buglist.css" rel="stylesheet" type="text/css">
</head>
diff --git a/template/en/default/list/list.atom.tmpl b/template/en/default/list/list.atom.tmpl
index 630f04638..cf9b8080e 100644
--- a/template/en/default/list/list.atom.tmpl
+++ b/template/en/default/list/list.atom.tmpl
@@ -33,23 +33,23 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<title>[% title FILTER xml %]</title>
<link rel="alternate" type="text/html"
- href="[% Param('urlbase') %]buglist.cgi?
+ href="[% urlbase FILTER html %]buglist.cgi?
[%- urlquerypart.replace('ctype=atom[&]?','') FILTER xml %]"/>
<link rel="self" type="application/atom+xml"
- href="[% Param('urlbase') %]buglist.cgi?
+ href="[% urlbase FILTER html %]buglist.cgi?
[%- urlquerypart FILTER xml %]"/>
<updated>[% date.format(format=>"%Y-%m-%dT%H:%M:%SZ",
time=>bugs.nsort('changedtime').last.changedtime,
gmt=>1) FILTER xml %]</updated>
- <id>[% Param('urlbase') %]buglist.cgi?[% urlquerypart FILTER xml %]</id>
+ <id>[% urlbase FILTER html %]buglist.cgi?[% urlquerypart FILTER xml %]</id>
[% FOREACH bug = bugs %]
<entry>
<title>[% "@" IF bug.secure_mode %][[% terms.Bug %] [%+ bug.bug_id FILTER xml %]] [% bug.short_desc FILTER xml %]</title>
<link rel="alternate" type="text/html"
- href="[% Param('urlbase') FILTER xml %]show_bug.cgi?id=
+ href="[% urlbase FILTER html %]show_bug.cgi?id=
[%- bug.bug_id FILTER xml %]"/>
- <id>[% Param('urlbase') FILTER xml %]show_bug.cgi?id=[% bug.bug_id FILTER xml %]</id>
+ <id>[% urlbase FILTER xml %]show_bug.cgi?id=[% bug.bug_id FILTER xml %]</id>
<author>
<name>[% bug.reporter_realname FILTER xml %]</name>
</author>
diff --git a/template/en/default/list/list.ics.tmpl b/template/en/default/list/list.ics.tmpl
index 814a397aa..6eb9ed731 100644
--- a/template/en/default/list/list.ics.tmpl
+++ b/template/en/default/list/list.ics.tmpl
@@ -27,8 +27,8 @@ VERSION:2.0
BEGIN:VTODO
[%+ PROCESS ics_dtstart +%]
[%+ PROCESS ics_summary +%]
-[%+ PROCESS ics_uid base_url=Param('urlbase') bug_id=bug.bug_id +%]
-[%+ PROCESS ics_url base_url=Param('urlbase') bug_id=bug.bug_id +%]
+[%+ PROCESS ics_uid base_url=urlbase bug_id=bug.bug_id +%]
+[%+ PROCESS ics_url base_url=urlbase bug_id=bug.bug_id +%]
[%+ PROCESS ics_status bug_status = bug.bug_status +%]
[%+ PROCESS ics_dtstamp +%]
[% IF bug.changeddate %]
diff --git a/template/en/default/list/list.rdf.tmpl b/template/en/default/list/list.rdf.tmpl
index 06376aca9..dfba7cb16 100644
--- a/template/en/default/list/list.rdf.tmpl
+++ b/template/en/default/list/list.rdf.tmpl
@@ -26,14 +26,14 @@
xmlns:bz="http://www.bugzilla.org/rdf#"
xmlns:nc="http://home.netscape.com/NC-rdf#">
-<bz:result rdf:about="[% Param('urlbase') %]buglist.cgi?[% urlquerypart FILTER html %]">
- <bz:installation rdf:resource="[% Param('urlbase') %]" />
+<bz:result rdf:about="[% urlbase FILTER xml %]buglist.cgi?[% urlquerypart FILTER html %]">
+ <bz:installation rdf:resource="[% urlbase FILTER xml %]" />
<bz:bugs>
<Seq>
[% FOREACH bug = bugs %]
<li>
- <bz:bug rdf:about="[% Param('urlbase') %]show_bug.cgi?id=[% bug.bug_id %]">
+ <bz:bug rdf:about="[% urlbase FILTER xml %]show_bug.cgi?id=[% bug.bug_id %]">
<bz:id nc:parseType="Integer">[% bug.bug_id %]</bz:id>