Commit 40e63525 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 369933: Use Bugzilla::Util::correct_urlbase() everywhere in templates to get…

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
parent 29ab35c2
......@@ -804,6 +804,9 @@ sub create {
Bugzilla::BugMail::Send($id, $mailrecipients);
},
# Allow templates to access the "corect" URLBase value
'urlbase' => sub { return Bugzilla::Util::correct_urlbase(); },
# These don't work as normal constants.
DB_MODULE => \&Bugzilla::Constants::DB_MODULE,
REQUIRED_MODULES =>
......
......@@ -32,12 +32,12 @@ for the account [% oldemailaddress %] to your address.
To confirm the change, visit the following link:
[%+ Param('urlbase') %]token.cgi?t=[% token FILTER url_quote %]&a=cfmem
[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cfmem
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?t=[% token FILTER url_quote %]&a=cxlem
[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cxlem
If you do nothing, the request will lapse after [%+ max_token_age %] days
(on [%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]).
......@@ -41,7 +41,7 @@ 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?t=[% token FILTER url_quote %]&a=cxlem
[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cxlem
If you do nothing, and [%+ newemailaddress %] confirms this request,
the change will be made permanent after [%+ max_token_age %] days
......
......@@ -34,12 +34,12 @@ using your email address ([% email %]).
To confirm that you want to create an account using that email address,
visit the following link:
[%+ Param('urlbase') %]token.cgi?t=[% token FILTER url_quote %]&a=request_new_account
[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=request_new_account
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?t=[% token FILTER url_quote %]&a=cancel_new_account
[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cancel_new_account
If you do nothing, the request will lapse after [%+ constants.MAX_TOKEN_AGE %] days
(on [%+ time2str("%B %o, %Y at %H:%M %Z", expiration_ts) %]).
......@@ -30,12 +30,12 @@ X-Bugzilla-Type: admin
You have (or someone impersonating you has) requested to change your
[%+ terms.Bugzilla %] password. To complete the change, visit the following link:
[%+ Param('urlbase') %]token.cgi?t=[% token FILTER url_quote %]&a=cfmpw
[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cfmpw
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?t=[% token FILTER url_quote %]&a=cxlpw
[%+ urlbase %]token.cgi?t=[% token FILTER url_quote %]&a=cxlpw
If you do nothing, the request will lapse after [%+ max_token_age +%] days (at
precisely [%+ time2str("%H:%M on the %o of %B, %Y", expiration_ts) -%]) or when you
......
......@@ -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>
......
......@@ -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 %]"
......
......@@ -26,7 +26,7 @@
// the global bugzilla url
var installation = {
base_url : '[% Param('urlbase') FILTER js %]',
base_url : '[% urlbase FILTER js %]',
install_version : '[% constants.BUGZILLA_VERSION FILTER js %]',
maintainer : '[% Param('maintainer') FILTER js %]'
};
......
......@@ -27,7 +27,7 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:bz="http://www.bugzilla.org/rdf#">
<bz:installation rdf:about="[% Param('urlbase') FILTER html %]">
<bz:installation rdf:about="[% urlbase FILTER xml %]">
<bz:install_version>[% constants.BUGZILLA_VERSION FILTER html %]</bz:install_version>
<bz:maintainer>[% Param('maintainer') FILTER html %]</bz:maintainer>
......@@ -107,13 +107,13 @@
<Seq>
[% FOREACH product = products %]
<li>
<bz:product rdf:about="[% Param('urlbase') %]product.cgi?name=[% product.name FILTER uri %]">
<bz:product rdf:about="[% urlbase FILTER xml %]product.cgi?name=[% product.name FILTER uri %]">
<bz:name>[% product.name FILTER html %]</bz:name>
<bz:components>
<Seq>
[% FOREACH component = product.components %]
<li resource="[% Param('urlbase') %]component.cgi?name=[% component.name FILTER uri %]"/>
<li resource="[% urlbase FILTER xml %]component.cgi?name=[% component.name FILTER uri %]"/>
[% END %]
</Seq>
</bz:components>
......@@ -121,7 +121,7 @@
<bz:versions>
<Seq>
[% FOREACH version = product.versions %]
<li resource="[% Param('urlbase') %]version.cgi?name=[% version.name FILTER uri %]"/>
<li resource="[% urlbase FILTER xml %]version.cgi?name=[% version.name FILTER uri %]"/>
[% END %]
</Seq>
</bz:versions>
......@@ -130,7 +130,7 @@
<bz:target_milestones>
<Seq>
[% FOREACH milestone = product.milestones %]
<li resource="[% Param('urlbase') %]milestone.cgi?name=[% milestone.name FILTER uri %]"/>
<li resource="[% urlbase FILTER xml %]milestone.cgi?name=[% milestone.name FILTER uri %]"/>
[% END %]
</Seq>
</bz:target_milestones>
......@@ -147,7 +147,7 @@
[% FOREACH product = products %]
[% FOREACH component = product.components %]
<li>
<bz:component rdf:about="[% Param('urlbase') %]component.cgi?name=[% component.name FILTER uri %]">
<bz:component rdf:about="[% urlbase FILTER xml %]component.cgi?name=[% component.name FILTER uri %]">
<bz:name>[% component.name FILTER html %]</bz:name>
</bz:component>
</li>
......@@ -161,7 +161,7 @@
[% FOREACH product = products %]
[% FOREACH version = product.versions %]
<li>
<bz:version rdf:about="[% Param('urlbase') %]version.cgi?name=[% version.name FILTER uri %]">
<bz:version rdf:about="[% urlbase FILTER xml %]version.cgi?name=[% version.name FILTER uri %]">
<bz:name>[% version.name FILTER html %]</bz:name>
</bz:version>
</li>
......@@ -176,7 +176,7 @@
[% FOREACH product = products %]
[% FOREACH milestone = product.milestones %]
<li>
<bz:target_milestone rdf:about="[% Param('urlbase') %]milestone.cgi?name=[% milestone.name FILTER uri %]">
<bz:target_milestone rdf:about="[% urlbase FILTER xml %]milestone.cgi?name=[% milestone.name FILTER uri %]">
<bz:name>[% milestone.name FILTER html %]</bz:name>
</bz:target_milestone>
</li>
......@@ -191,7 +191,7 @@
[% PROCESS "global/field-descs.none.tmpl" %]
[% FOREACH item = field %]
<li>
<bz:field rdf:about="[% Param('urlbase') %]field.cgi?name=[% item.name FILTER uri %]">
<bz:field rdf:about="[% urlbase FILTER xml %]field.cgi?name=[% item.name FILTER uri %]">
<bz:name>[% item.name FILTER html %]</bz:name>
<bz:description>[% (field_descs.${item.name} OR item.description) FILTER html %]</bz:description>
</bz:field>
......
......@@ -38,12 +38,12 @@ X-Bugzilla-Target-Milestone: [% targetmilestone %]
X-Bugzilla-Changed-Fields: [% changedfields %]
[%+ threadingmarker %]
[%+ Param('urlbase') %]show_bug.cgi?id=[% bugid %]
[%+ urlbase %]show_bug.cgi?id=[% bugid %]
[%+ diffs %]
--
Configure bugmail: [% Param('urlbase') %]userprefs.cgi?tab=email
Configure bugmail: [% urlbase %]userprefs.cgi?tab=email
------- You are receiving this mail because: -------
[% FOREACH relationship = reasons %]
[% SWITCH relationship %]
......
......@@ -25,7 +25,7 @@ To: [% addressee %]
Subject: [[% terms.Bugzilla %]] Sanity Check Results
X-Bugzilla-Type: sanitycheck
[%+ Param('urlbase') %]sanitycheck.cgi
[%+ urlbase %]sanitycheck.cgi
Below can you read the sanity check results.
[% IF error_found %]
......
......@@ -41,4 +41,4 @@ X-Bugzilla-Type: admin
If you feel that this action was inappropiate, please contact
[%+ Param("maintainer") %]. For more information on this feature,
visit <[% Param("urlbase") %]page.cgi?id=sudo.html>.
visit <[% urlbase %]page.cgi?id=sudo.html>.
......@@ -35,5 +35,5 @@ Some or all of your votes have been removed from [% terms.bug %] [%+ bugid %].
Reason: [% reason %]
[% Param("urlbase") %]show_bug.cgi?id=[% bugid %]
[% urlbase %]show_bug.cgi?id=[% bugid %]
......@@ -28,7 +28,7 @@ X-Bugzilla-Type: whine
[This e-mail has been automatically generated.]
You have one or more [% terms.bugs %] assigned to you in the [% terms.Bugzilla %]
[% terms.bug %] tracking system ([% Param("urlbase") %]) that require
[% terms.bug %] tracking system ([% urlbase %]) that require
attention.
All of these [% terms.bugs %] are in the [% get_status("NEW") %] or
......@@ -50,10 +50,10 @@ Generally, this means one of three things:
To get a list of all [% get_status("NEW") %]/[% get_status("REOPENED") %] [%+ terms.bugs %], you can use this URL (bookmark
it if you like!):
[% Param("urlbase") %]buglist.cgi?bug_status=NEW&bug_status=REOPENED&assigned_to=[% email %]
[% urlbase %]buglist.cgi?bug_status=NEW&bug_status=REOPENED&assigned_to=[% email %]
Or, you can use the general query page, at
[%+ Param("urlbase") %]query.cgi
[%+ urlbase %]query.cgi
Appended below are the individual URLs to get to all of your [% get_status("NEW") %] [%+ terms.bugs %]
that haven't been touched for a week or more.
......@@ -62,5 +62,5 @@ You will get this message once a day until you've dealt with these [% terms.bugs
[% FOREACH bug = bugs %]
[%+ bug.summary %]
-> [% Param("urlbase") %]show_bug.cgi?id=[% bug.id %]
-> [% urlbase %]show_bug.cgi?id=[% bug.id %]
[% END %]
......@@ -218,7 +218,7 @@
#%]
<body onload="[% onload %]"
class="[% Param('urlbase').replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]
class="[% urlbase.replace('^https?://','').replace('/$','').replace('[-~@:/.]+','-') %]
[% FOREACH class = bodyclasses %]
[% ' ' %][% class FILTER css_class_quote %]
[% END %]">
......
......@@ -31,7 +31,7 @@
[% cgi = Bugzilla.cgi %]
[% IF NOT (cgi.user_agent("MSIE [1-6]") OR cgi.user_agent("Mozilla/4")) %]
<link rel="Top" href="[% Param('urlbase') %]">
<link rel="Top" href="[% urlbase FILTER html %]">
[%# *** Bug List Navigation *** %]
[% IF bug && bug_list && bug_list.size > 0 %]
......
......@@ -46,7 +46,7 @@ function addSidebar() {
var sidebarname=window.location.host;
if (!/bug/i.test(sidebarname))
sidebarname="[% terms.Bugzilla %] "+sidebarname;
window.sidebar.addPanel (sidebarname, "[% Param('urlbase') %]sidebar.cgi", "");
window.sidebar.addPanel (sidebarname, "[% urlbase FILTER html %]sidebar.cgi", "");
}
else
{
......@@ -129,7 +129,7 @@ function addSidebar() {
[% END %]
<li id="sidebar"><a href="javascript:addSidebar()">Add to Sidebar</a> (requires a Mozilla browser like Mozilla Firefox)</li>
<li id="quick_search_plugin">
<a href="javascript:window.external.AddSearchProvider('[% Param('urlbase') %]search_plugin.cgi')">Install
<a href="javascript:window.external.AddSearchProvider('[% urlbase FILTER html %]search_plugin.cgi')">Install
the Quick Search plugin</a> (requires Firefox 2 or Internet Explorer 7)
</li>
......
......@@ -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>
......
......@@ -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>
......
......@@ -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 %]
......
......@@ -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>
......
......@@ -26,12 +26,12 @@
xmlns:bz="http://www.bugzilla.org/rdf#"
xmlns:nc="http://home.netscape.com/NC-rdf#">
<bz:duplicates_report rdf:about="[% Param('urlbase') %]data/duplicates.rdf">
<bz:duplicates_report rdf:about="[% urlbase FILTER xml %]data/duplicates.rdf">
<bz:bugs>
<Seq>
[% FOREACH bug = bugs %]
<li>
<bz:bug rdf:about="[% Param('urlbase') %]show_bug.cgi?id=[% bug.id %]">
<bz:bug rdf:about="[% urlbase FILTER xml %]show_bug.cgi?id=[% bug.id %]">
<bz:id nc:parseType="Integer">[% bug.id %]</bz:id>
<bz:resolution>[% bug.resolution FILTER html %]</bz:resolution>
<bz:duplicate_count nc:parseType="Integer">[% bug.count %]</bz:duplicate_count>
......
......@@ -50,13 +50,13 @@ X-Bugzilla-Type: request
[% terms.Bug %] [%+ bugidsummary %]
[% END %]
[%+ Param('urlbase') %]show_bug.cgi?id=[% bug.bug_id %]
[%+ urlbase %]show_bug.cgi?id=[% bug.bug_id %]
[% IF attachment %]
[% FILTER bullet = wrap(80) %]
Attachment [% attidsummary %]
[%- END %]
[%+ Param('urlbase') %]attachment.cgi?id=[% attachment.id %]&action=edit
[%+ urlbase %]attachment.cgi?id=[% attachment.id %]&action=edit
[%- END %]
[%- FILTER bullet = wrap(80) %]
......
......@@ -21,8 +21,8 @@
<Description>[% terms.Bugzilla %] Quick Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAABGdBTUEAAK%2FINwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAALBSURBVHjaYnxckcEAA3%2F%2B%2FT%2F17LUcH%2Fevf%2F8U%2BHmYGBkZMABAALEgc%2B68%2F3T227cf2tJKKhJLt59n%2FfmbnYnZV1KEhYkJrgYggBghNrz78fPIi3d8uvKBIdb%2FOaWPnzitLc97%2Bc5rFXnhnVO3%2BslLwjUABBDIhnsfPl%2Fj53VO91FX4Gfgkjxw%2Fd%2F6Q49%2FWStqyAj%2B%2B88gZqn%2B9u5rYU52iAaAAGL69%2F%2F%2F2d9%2FYiMclGT4fv76%2BZ9DbO%2FeA39%2BfJHVcvj5l%2Bnh03e%2FWThOvnwLtwEgAAAxAM7%2FBPj8%2FRYkHQYHAf3%2F%2Fv%2F%2B%2Fv8BAVNTUPX18yorLNHE2S8mB%2FT2%2Bq7a4dvu8iUSDgAAAAKICRgUv3%2F8ZGKGeIvpz6eXBvq61lZWLMwMv%2F5zMP7%2FqSAjVFyZ%2FNvZftuT10DnAAQAMQDO%2FwQIBAPz5Or6%2Ff0CBQEAAgT99ubq38z2%2BwT18%2FAM%2F%2BkNDAv6%2FQMCAA1GVVrhMze5h4kCCORpkd9%2F3n74KiHO%2B%2BffX8b%2Ff7m%2BXWP985%2Bf5R%2BPLNdfoK%2F%2F%2Ffv39%2BePj2%2FkZYR0fe0BAgikQZGX%2B9b9FzLS%2FH%2F%2B%2FGVgYGRlZWNlA7nv7z9QuDP8%2B8nw%2FRXjn68Mv4Gu%2FAwQQCCni3FxPLn7nIGZGegfNhYmNjYWZnBMASOakZER6Eumf9%2FYGT4y%2FHx%2F%2BfBFgAAC2cDGzPT99WeGvwzvv%2Fx89vrr%2F39%2FJER4pcT5Gf4z%2FP37D2jtj9%2B%2FL918fmzrKSsWNoAAgiaN%2Fz9%2Fff%2F6S4CP8%2BWbz9vWHfv54aukpAAz0Og%2Ff%2F7%2F%2Bs36668cO3ugED9QJUAAQTUArf7%2F8x87D9vRjcejhPiZhAUYcACAAGI5%2FOHH9ddvXzAxmjz%2B8P8lw4fXn5l4eRlwA4AAYmaTkBFg%2FKvJwfbkwZuXN57y%2Fv%2F34stXGR4uRmxpGwgAAgwA4%2FkfrfCWvLQAAAAASUVORK5CYII%3D</Image>
<Url type="text/html" method="GET" template="[% Param('urlbase') %]buglist.cgi">
<Url type="text/html" method="GET" template="[% urlbase FILTER xml %]buglist.cgi">
<Param name="quicksearch" value="{searchTerms}"/>
</Url>
<SearchForm>[% Param('urlbase') %]</SearchForm>
<SearchForm>[% urlbase FILTER xml %]</SearchForm>
</OpenSearchDescription>
......@@ -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>
......@@ -51,7 +51,7 @@
<p align="left">
[% IF author.login == recipient.login %]
<a href="[%+ Param('urlbase') FILTER html %]editwhines.cgi">Click
<a href="[%+ urlbase FILTER html %]editwhines.cgi">Click
here to edit your whine schedule</a>
[% ELSE %]
This search was scheduled by [% author.login FILTER html %].
......@@ -77,7 +77,7 @@
[% FOREACH bug=query.bugs %]
<tr>
<td align="left"><a href="[%+ Param('urlbase') FILTER html %]show_bug.cgi?id=
<td align="left"><a href="[%+ urlbase FILTER html %]show_bug.cgi?id=
[%- bug.bug_id %]">[% bug.bug_id %]</a></td>
<td align="left">[% bug.bug_severity FILTER html %]</td>
<td align="left">[% bug.priority FILTER html %]</td>
......
......@@ -40,7 +40,7 @@
[% IF author.login == recipient.login %]
To edit your whine schedule, visit the following URL:
[%+ Param('urlbase') %]editwhines.cgi
[%+ urlbase %]editwhines.cgi
[% ELSE %]
This search was scheduled by [% author.login %].
[% END %]
......@@ -53,7 +53,7 @@
[% FOREACH bug=query.bugs %]
[% terms.Bug +%] [%+ bug.bug_id %]:
[%+ Param('urlbase') %]show_bug.cgi?id=[% bug.bug_id +%]
[%+ urlbase %]show_bug.cgi?id=[% bug.bug_id +%]
Priority: [%+ bug.priority -%]
Severity: [%+ bug.bug_severity -%]
Platform: [%+ bug.rep_platform %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment