summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
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/bug
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/bug')
-rw-r--r--template/en/default/bug/edit.html.tmpl2
-rw-r--r--template/en/default/bug/show.xml.tmpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 037ea443d..215595e5a 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -556,7 +556,7 @@
<b>[% terms.Bug %]#</b>:
</td>
<td>
- <a href="[% Param('urlbase') %]show_bug.cgi?id=[% bug.bug_id %]">
+ <a href="[% urlbase FILTER html %]show_bug.cgi?id=[% bug.bug_id %]">
[% bug.bug_id %]</a>
</td>
</tr>
diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl
index 61b597f72..6db4aab27 100644
--- a/template/en/default/bug/show.xml.tmpl
+++ b/template/en/default/bug/show.xml.tmpl
@@ -22,10 +22,10 @@
#%]
[% PROCESS bug/time.html.tmpl %]
<?xml version="1.0" [% IF Param('utf8') %]encoding="UTF-8" [% END %]standalone="yes" ?>
-<!DOCTYPE bugzilla SYSTEM "[% Param('urlbase') %]bugzilla.dtd">
+<!DOCTYPE bugzilla SYSTEM "[% urlbase FILTER html %]bugzilla.dtd">
<bugzilla version="[% constants.BUGZILLA_VERSION %]"
- urlbase="[% Param('urlbase') %]"
+ urlbase="[% urlbase FILTER xml %]"
maintainer="[% Param('maintainer') FILTER xml %]"
[% IF user.id %]
exporter="[% user.email FILTER xml %]"