Second pass at adding key files
This commit is contained in:
		
							
								
								
									
										28
									
								
								site/forum/include_poll_widget.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								site/forum/include_poll_widget.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
<%~get_cgi_value('poll_view')%>
 | 
			
		||||
<%~if cgi_poll_view eq 'vote_view'%>
 | 
			
		||||
<%~Poll::list($current_poll, 'vote_view')%>
 | 
			
		||||
<%~elsif cgi_poll_view eq 'results_view'%>
 | 
			
		||||
<%~Poll::list($current_poll, 'results_view')%>
 | 
			
		||||
<%~else%>
 | 
			
		||||
<%~Poll::list($current_poll)%>
 | 
			
		||||
<%~endif%>
 | 
			
		||||
 | 
			
		||||
<%~if poll_loop.length%>
 | 
			
		||||
<div class="widget poll">
 | 
			
		||||
  <h2>Poll</h2>
 | 
			
		||||
  <div id="poll">
 | 
			
		||||
<%loop poll_loop%>
 | 
			
		||||
  <%if remote eq 'view'%>
 | 
			
		||||
    <%include include_poll_result.html%>
 | 
			
		||||
  <%elsif no_results%>
 | 
			
		||||
    <%include include_poll.html%>
 | 
			
		||||
  <%else%>
 | 
			
		||||
    <%include include_poll_result.html%>
 | 
			
		||||
  <%endif%>
 | 
			
		||||
<%endloop%>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
<%~if slowtwitch_forum%>
 | 
			
		||||
<div class="widget-divider"></div>
 | 
			
		||||
<%~endif%>
 | 
			
		||||
<%~endif%>
 | 
			
		||||
		Reference in New Issue
	
	Block a user