Commit 99c542cd authored by cyeh%bluemartini.com's avatar cyeh%bluemartini.com

fix for "My Votes" floating in space like a disconnected astronaut

parent 6ba10a1b
...@@ -1073,7 +1073,13 @@ Actions: ...@@ -1073,7 +1073,13 @@ Actions:
$html .= $html .=
qq{ <BR> <INPUT TYPE=SUBMIT VALUE="Find"> bug \# <INPUT NAME=id SIZE=6>}; qq{ <BR> <INPUT TYPE=SUBMIT VALUE="Find"> bug \# <INPUT NAME=id SIZE=6>};
$html .= " | <a href='reports.cgi'>Reports</a></TD>\n"; $html .= " | <a href='reports.cgi'>Reports</a>";
if ($loggedin) {
if ($::anyvotesallowed) {
$html .= " | <A HREF=\"showvotes.cgi\">My votes</A>";
}
}
$html .= "</TD>\n";
if ($loggedin) { if ($loggedin) {
#a little mandatory SQL, used later on #a little mandatory SQL, used later on
SendSQL("SELECT mybugslink, userid, blessgroupset FROM profiles " . SendSQL("SELECT mybugslink, userid, blessgroupset FROM profiles " .
...@@ -1108,9 +1114,6 @@ Actions: ...@@ -1108,9 +1114,6 @@ Actions:
if (!defined $::anyvotesallowed) { if (!defined $::anyvotesallowed) {
GetVersionTable(); GetVersionTable();
} }
if ($::anyvotesallowed) {
$html .= qq{ <BR> <A HREF="showvotes.cgi"><NOBR>My votes</NOBR></A>};
}
$html .= "</TR><TR>"; $html .= "</TR><TR>";
$html .= "<TD>Preset Queries: </TD>"; $html .= "<TD>Preset Queries: </TD>";
$html .= "<TD colspan=2>\n"; $html .= "<TD colspan=2>\n";
......
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