2005-10-24 17:59:15 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
function step1_do () {
|
|
|
|
global $email;
|
2005-10-24 18:25:43 +00:00
|
|
|
global $tmp_token;
|
2005-10-24 17:59:15 +00:00
|
|
|
|
|
|
|
$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";
|
2005-10-24 18:25:43 +00:00
|
|
|
$result .= "<p><label for=\"tmp_token\">Vote token: </label><input type=\"text\" name=\"tmp_token\" value=\"".htmlspecialchars ($tmp_token)."\" /></p>\n";
|
2005-10-24 17:59:15 +00:00
|
|
|
$result .= "</div>\n";
|
|
|
|
|
|
|
|
return $result;
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|