changeset 709:1a9005eafb37

Change some element names.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 11 Nov 2014 00:28:42 +0200
parents 114b77baf1c2
children 27f7f437d7d1
files pages/vote.inc.php
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/pages/vote.inc.php	Mon Nov 10 23:27:33 2014 +0200
+++ b/pages/vote.inc.php	Tue Nov 11 00:28:42 2014 +0200
@@ -11,7 +11,7 @@
 function stGetVoteButton()
 {
   return
-    " <div class=\"votectrl\">\n".
+    " <div class=\"voteControls\">\n".
     "  ".stGetFormSubmitInput("vote", "Submit votes and log out", "")."\n".
     " </div>\n";
 }
@@ -68,15 +68,15 @@
   }
 
   echo
-    stGetFormStart("vote", "usrlogin.php").
+    "<div class=\"voteLogin\">\n".
+    " ".stGetFormStart("vote", "usrlogin.php").
     " ".stGetFormHiddenInput("mode", "vote")."\n".
     " ".stGetFormHiddenInput("goto", "vote")."\n".
-    " <div class=\"votectrl\">\n".
     "  Enter your vote key:\n".
     "  ".stGetFormTextInput($userKeyLen > 30 ? $userKeyLen : 30, $userKeyLen, "key", "", "", "", "autocomplete=\"off\" autofocus=\"autofocus\"")."\n".
     "  ".stGetFormSubmitInput("login", "Login")."\n".
-    " </div>\n".
-    "</form>\n";
+    " </form>\n".
+    "</div>\n";
 }
 else
 if (($mode = stGetSessionItem("mode")) == "vote")