summaryrefslogtreecommitdiffstats
path: root/template/en/default/sidebar.xul.tmpl
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/sidebar.xul.tmpl
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/sidebar.xul.tmpl')
-rw-r--r--template/en/default/sidebar.xul.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/sidebar.xul.tmpl b/template/en/default/sidebar.xul.tmpl
index 6742889da..e2d0d8e22 100644
--- a/template/en/default/sidebar.xul.tmpl
+++ b/template/en/default/sidebar.xul.tmpl
@@ -26,7 +26,7 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
-<?xml-stylesheet href="[% Param('urlbase') %]skins/standard/panel.css" type="text/css"?>
+<?xml-stylesheet href="[% urlbase FILTER xml %]skins/standard/panel.css" type="text/css"?>
<window
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
@@ -40,7 +40,7 @@ function load_absolute_url( aAbsoluteURL ) {
}
function load_relative_url( aRelativeURL ) {
- aRelativeURL = '[% Param('urlbase') %]' + aRelativeURL;
+ aRelativeURL = '[% urlbase FILTER xml %]' + aRelativeURL;
_content.location = aRelativeURL;
}
@@ -125,7 +125,7 @@ function normal_keypress_handler( aEvent ) {
<box orient="horizontal">
<spring flex="1"/>
<html align="right">
- <html:a class="text-link" href="[% Param('urlbase') %]sidebar.cgi">reload</html:a>
+ <html:a class="text-link" href="[% urlbase FILTER xml %]sidebar.cgi">reload</html:a>
</html>
</box>
</window>