diff options
author | cyeh%bluemartini.com <> | 2001-03-10 13:52:54 +0000 |
---|---|---|
committer | cyeh%bluemartini.com <> | 2001-03-10 13:52:54 +0000 |
commit | 99c542cd94fb91f9d763be59eeec9140925245ac (patch) | |
tree | b682a2e9e065f6a468935c5086e4e256443bb0c6 | |
parent | 6ba10a1b6b1f5cc87ec8c885f6e61a0a77166abf (diff) | |
download | bugs-99c542cd94fb91f9d763be59eeec9140925245ac.tar bugs-99c542cd94fb91f9d763be59eeec9140925245ac.tar.gz bugs-99c542cd94fb91f9d763be59eeec9140925245ac.tar.bz2 bugs-99c542cd94fb91f9d763be59eeec9140925245ac.tar.xz bugs-99c542cd94fb91f9d763be59eeec9140925245ac.zip |
fix for "My Votes" floating in space like a disconnected astronaut
-rw-r--r-- | CGI.pl | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1073,7 +1073,13 @@ Actions: $html .= 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) { #a little mandatory SQL, used later on SendSQL("SELECT mybugslink, userid, blessgroupset FROM profiles " . @@ -1108,9 +1114,6 @@ Actions: if (!defined $::anyvotesallowed) { GetVersionTable(); } - if ($::anyvotesallowed) { - $html .= qq{ <BR> <A HREF="showvotes.cgi"><NOBR>My votes</NOBR></A>}; - } $html .= "</TR><TR>"; $html .= "<TD>Preset Queries: </TD>"; $html .= "<TD colspan=2>\n"; |