From 63223eb3b373a19a2c567613a1ddd8e2d612dfa4 Mon Sep 17 00:00:00 2001 From: "dave%intrec.com" Date: Sat, 10 Mar 2001 22:06:57 +0000 Subject: [PATCH] Attempted fix for bug 71574: footer anomoly cleanup --- webtools/bugzilla/CGI.pl | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/webtools/bugzilla/CGI.pl b/webtools/bugzilla/CGI.pl index 091055dd7342..29d8f68ea913 100644 --- a/webtools/bugzilla/CGI.pl +++ b/webtools/bugzilla/CGI.pl @@ -1059,11 +1059,11 @@ sub GetCommandMenu { my $loggedin = quietly_check_login(); my $html = ""; $html .= <<"--endquote--"; -
+\n"; + } if ($loggedin) { #a little mandatory SQL, used later on SendSQL("SELECT mybugslink, userid, blessgroupset FROM profiles " . @@ -1087,7 +1086,7 @@ Actions: my ($mybugslink, $userid, $blessgroupset) = (FetchSQLData()); #Begin settings - $html .= ""; $html .= ""; - $html .= "\n"; } else { + $html .= "";
Actions: - -New | Query + +New | Query | --endquote-- if (-e "query2.cgi") { @@ -1071,15 +1071,14 @@ Actions: } $html .= - qq{
bug \# }; + qq{ bug \# }; $html .= " | Reports"; if ($loggedin) { if ($::anyvotesallowed) { $html .= " | My votes"; } - } - $html .= "
Edit prefs"; + $html .= " Edit prefs"; if (UserInGroup("tweakparams")) { $html .= ", parameters"; $html .= ", sanity check"; @@ -1116,22 +1115,26 @@ Actions: } $html .= "
Preset Queries: \n"; + $html .= "\n"; if ($mybugslink) { my $mybugsurl = PerformSubsts($mybugstemplate, \%substs); $html = $html . "My bugs"; } SendSQL("SELECT name FROM namedqueries " . "WHERE userid = $userid AND linkinfooter"); + my $anynamedqueries = 0; while (MoreSQLData()) { my ($name) = (FetchSQLData()); - $html .= " | $name"; } $html .= "
 \n"; $html .= - "
New account\n"; + " New account\n"; $html .= " | Log in"; $html .= "