 6810d2ffbd
			
		
	
	
		6810d2ffbd
		
	
	
	
	
		
			
			2005-10-24 Vincent Untz <vuntz@gnome.org> * foundation.gnome.org/vote/*: s/option/choice/, also rename the variable for the temporary token to tmp_token * foundation.gnome.org/vote/include/election-sql.php: make it possible to use a local configuration for testing
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			610 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			610 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| function step1_do () {
 | |
|   global $email;
 | |
|   global $tmp_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=\"tmp_token\">Vote token: </label><input type=\"text\" name=\"tmp_token\" value=\"".htmlspecialchars ($tmp_token)."\" /></p>\n";
 | |
|   $result .= "</div>\n";
 | |
| 
 | |
|   return $result;
 | |
| }
 | |
| 
 | |
| ?>
 |