14 lines
		
	
	
		
			834 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			834 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<%~if error%>
 | 
						|
<p class="error">
 | 
						|
<%~if error eq 'POLL_VOTE_EMPTY'%><b>Error recording vote.</b>
 | 
						|
<%~elsif error eq 'POLL_DOES_NOT_EXIST'%><b>No such poll/quiz exists.</b>
 | 
						|
<%~elsif error eq 'POLL_DISABLED'%><b>Sorry, it is enabled.</b>
 | 
						|
<%~elsif error eq 'POLL_ALREADY_VOTED'%><b>Sorry, you have already voted once.</b>
 | 
						|
<%~endif%>
 | 
						|
</p>
 | 
						|
<p>Click <a href="<%if in.call_from eq 'glinks'%>/cgi-bin/articles/poll.cgi?poll_view=vote_view<%else%><%GForum::SEO::url(params => "forum=$forum_id&poll_view=vote_view")%><%endif%>">here</a> to go back to the poll</p>
 | 
						|
<%~else%>
 | 
						|
<b>Your vote has been recorded!</b>
 | 
						|
<p>Click <a href="<%if in.call_from eq 'glinks'%>/cgi-bin/articles/poll.cgi?poll_view=results_view<%else%><%GForum::SEO::url(params => "forum=$forum_id&poll_view=results_view")%><%endif%>">here</a> to see the poll results</p>
 | 
						|
<%~endif%>
 |