Second pass at adding key files
This commit is contained in:
		
							
								
								
									
										13
									
								
								site/forum/poll_success.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								site/forum/poll_success.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
<%~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%>
 | 
			
		||||
		Reference in New Issue
	
	Block a user