changeset 1057:c9676c9eb511

Move results stuff to voting page.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 22 Nov 2015 00:35:34 +0200
parents 6dc4337c7068
children 5bb5586f50c6
files admajax.php
diffstat 1 files changed, 5 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/admajax.php	Sun Nov 22 00:33:51 2015 +0200
+++ b/admajax.php	Sun Nov 22 00:35:34 2015 +0200
@@ -1463,8 +1463,11 @@
         echo
           "</div>\n".
           "<div class=\"tabHeadersSub\">\n".
-          "<a href=\"print.php?type=votekeys\" target=\"_blank\">Show printable key list</a>\n".
-          "<div id=\"vkeyInfo\">".stGetVoteKeyInfo()."</div>\n".
+          " <a href=\"print.php?type=votekeys\" target=\"_blank\">Show printable key list</a>\n".
+          " <a href=\"print.php?type=results&flags=".(RFLAG_NORMAL)."\" target=\"_blank\">Printable results</a>\n".
+          " <a href=\"print.php?type=results&flags=".(RFLAG_DISQUALIFIED)."\" target=\"_blank\">Printable full results</a> (shows also disqualified entries)\n".
+          " <a href=\"print.php?type=results&flags=".(RFLAG_DISQUALIFIED | RFLAG_HIDDEN_COMPOS)."\" target=\"_blank\">Printable FULL results</a> (shows also hidden and empty compos)\n".
+          " <div id=\"vkeyInfo\">".stGetVoteKeyInfo()."</div>\n".
           "</div>\n";
 
         switch ($setVoteKeyMode)
@@ -1515,11 +1518,6 @@
 
       case "compos":
         echo
-          "<div class=\"ctrlModeControls\">\n".
-          " <a href=\"print.php?type=results&flags=".(RFLAG_NORMAL)."\" target=\"_blank\">Printable results</a>\n".
-          " <a href=\"print.php?type=results&flags=".(RFLAG_DISQUALIFIED)."\" target=\"_blank\">Printable full results</a> (shows also disqualified entries)\n".
-          " <a href=\"print.php?type=results&flags=".(RFLAG_DISQUALIFIED | RFLAG_HIDDEN_COMPOS)."\" target=\"_blank\">Printable FULL results</a> (shows also hidden and empty compos)\n".
-          "</div>\n".
           "<form method=\"post\" action=\"\" onsubmit=\"return addCompo()\">\n".
           "<b>Name:<b>".
           "  ".stGetFormTextInput(64, SET_LEN_COMPO_NAME, "", "ncname", "", "")."<br />\n".