From 40e63525a8bda9132a4d2c0d296b2b7e89fe75de Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 19 Apr 2007 15:05:20 +0000 Subject: Bug 369933: Use Bugzilla::Util::correct_urlbase() everywhere in templates to get the correct URL to the Bugzilla installation - Patch by Alex Eiser r/a=LpSolit --- template/en/default/list/list-simple.html.tmpl | 2 +- template/en/default/list/list.atom.tmpl | 10 +++++----- template/en/default/list/list.ics.tmpl | 4 ++-- template/en/default/list/list.rdf.tmpl | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'template/en/default/list') 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 @@ [% title FILTER html %] - + 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 @@ [% title FILTER xml %] [% date.format(format=>"%Y-%m-%dT%H:%M:%SZ", time=>bugs.nsort('changedtime').last.changedtime, gmt=>1) FILTER xml %] - [% Param('urlbase') %]buglist.cgi?[% urlquerypart FILTER xml %] + [% urlbase FILTER html %]buglist.cgi?[% urlquerypart FILTER xml %] [% FOREACH bug = bugs %] [% "@" IF bug.secure_mode %][[% terms.Bug %] [%+ bug.bug_id FILTER xml %]] [% bug.short_desc FILTER xml %] - [% Param('urlbase') FILTER xml %]show_bug.cgi?id=[% bug.bug_id FILTER xml %] + [% urlbase FILTER xml %]show_bug.cgi?id=[% bug.bug_id FILTER xml %] [% bug.reporter_realname FILTER xml %] 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#"> - - + + [% FOREACH bug = bugs %]
  • - + [% bug.bug_id %] -- cgit v1.2.1