diff options
author | jouni%heikniemi.net <> | 2002-06-24 02:34:09 +0200 |
---|---|---|
committer | jouni%heikniemi.net <> | 2002-06-24 02:34:09 +0200 |
commit | 9f510268889a6ba3ec6da8bf022cc5627ec573d5 (patch) | |
tree | b4b25500c03560dd6c38b6b28c8afa45e0ad4c6c | |
parent | 9521800cced117962859cca4d377a4339199e7ae (diff) | |
download | bugzilla-9f510268889a6ba3ec6da8bf022cc5627ec573d5.tar.gz bugzilla-9f510268889a6ba3ec6da8bf022cc5627ec573d5.tar.xz |
Bug 152632: My bugs query doesn't use the mybugstemplate parameter. Also removes the My Bugs query from the index page.
Patch by m@lcolm.org.uk (Malcolm Scott), r=jouni,gerv
-rwxr-xr-x | index.cgi | 1 | ||||
-rw-r--r-- | template/en/default/global/useful-links.html.tmpl | 3 | ||||
-rw-r--r-- | template/en/default/index.html.tmpl | 1 |
3 files changed, 2 insertions, 3 deletions
@@ -54,7 +54,6 @@ quietly_check_login(); ############################################################################### $vars->{'username'} = $::COOKIE{'Bugzilla_login'} || ''; -$vars->{'subst'} = { 'userid' => $vars->{'username'} }; # Return the appropriate HTTP response headers. print "Content-Type: text/html\n\n"; diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl index 9e2f3040c..807c316b6 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -98,7 +98,8 @@ <td colspan="3"> [% IF user.showmybugslink %] - <a href="buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=[% user.login FILTER url_quote %]&emailtype1=exact&emailassigned_to1=1&emailreporter1=1">My Bugs</a> + [% filtered_username = user.login FILTER url_quote %] + <a href="[% Param('mybugstemplate').replace('%userid%', filtered_username) %]">My Bugs</a> [% print_pipe = 1 %] [% END %] diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index 08804d414..0b1f28e80 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -58,7 +58,6 @@ function addSidebar() { <a href="reports.cgi">Get summary reports</a><br> </p><p> [% IF username %] - <a href="[% PerformSubsts(Param('mybugstemplate'), subst) %]">My Bugs</a><br> <a href="userprefs.cgi">Change password or user preferences</a><br> <a href="relogin.cgi">Logout [% username FILTER html %]</a><br> [% ELSE %] |