From: jouni%heikniemi.net <> Date: Mon, 24 Jun 2002 00:36:00 +0000 (+0000) Subject: Bug 152632: My bugs query in the footer doesn't use the mybugstemplate parameter... X-Git-Tag: bugzilla-2.16~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dcc9d980e78f9376f9e5371c098a58f1a7ce87b;p=thirdparty%2Fbugzilla.git Bug 152632: My bugs query in the footer doesn't use the mybugstemplate parameter. Also removes the My Bugs link from the index page. Patch by m@lcolm.org.uk (Malcolm Scott), r=jouni,gerv --- diff --git a/index.cgi b/index.cgi index 05f15d288d..d5ee0d28dc 100755 --- a/index.cgi +++ b/index.cgi @@ -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 9e2f3040c3..807c316b64 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -98,7 +98,8 @@
[% IF username %]
- My Bugs
Change password or user preferences
Logout [% username FILTER html %]
[% ELSE %]