voting/foundation.gnome.org/vote/include/step1-login.php
Vincent Untz d49c1a02f2 add anonymous voting scripts
2005-10-24  Vincent Untz  <vuntz@gnome.org>

	* configure.in:
	* foundation.gnome.org/Makefile.am:
	* foundation.gnome.org/vote/*: add anonymous voting scripts
2005-10-24 17:59:15 +00:00

19 lines
594 B
PHP

<?php
function step1_do () {
global $email;
global $token;
$result = "<h2>Step 1/4 - Login</h2>\n";
$result .= "<p>Please login using the informations that was sent to you in a ballot by e-mail.</p>\n";
$result .= "<div class=\"votedata\">\n";
$result .= "<p><label for=\"email\">E-mail: </label><input type=\"text\" name=\"email\" value=\"".htmlspecialchars ($email)."\" /></p>\n";
$result .= "<p><label for=\"token\">Vote token: </label><input type=\"text\" name=\"token\" value=\"".htmlspecialchars ($token)."\" /></p>\n";
$result .= "</div>\n";
return $result;
}
?>