"
lang="<% var name="Document:Lang" %>"
dir="<% var name="Document:Direction" %>"
xmlns="http://www.w3.org/1999/xhtml"
>
<% http %>
Status: 200 OK
Content-Type: text/html; charset=UTF-8
Last-Modified: <% http_date %>
Content-Language: <% var name="Document:Lang" %>
<% if name="Cookie_Name" %>
Set-Cookie: <% var name="Cookie_Name" %>=voted; path=/; expires=<% var name="Far_Away" %>
<% end-if %>
<% end-http %>
"
summary="[[This is a layout table.]]"
>
<% comment %>
This is the site logo.
<% end-comment %>
<% include file="explorer/document_component/logo/xx.html" %>
|
<% comment %>
This is the main menu.
<% end-comment %>
<% include file="explorer/document_component/menu/xx.html" %>
<% comment %>
This is the search form.
<% end-comment %>
<% include file="explorer/document_component/search/xx.html" %>
|
|
|
"
class="body-cell"
>
"
lang="<% var name="Document:Lang" %>"
class="<% var name="Document:Lang" %>"
>
<% var name="Poll:Question" encode_html="1" %>
<% if name="Already_Voted" %>
[[It seems that you have already voted, you are only allowed to vote once in this poll.]]
<% else %>
[[Thank you for voting in this poll.]]
<% end-if %>
<% if name="Poll:Results" %>
"
summary="[[This table contains the poll results.]]"
>
"
lang="<% var name="Document:Lang" %>"
class="<% var name="Document:Lang" %>"
align="<% var name="Document:Align" %>"
title="[[Poll question: <% var name="Poll:Question" encode_html="1" %>]]"
>
<% var name="Poll:Question" encode_html="1" %>
"
title="[[This column contains the poll answers.]]"
>
[[Answer]]
|
"
title="[[This column contains the number of votes.]]"
>
[[Votes]]
|
"
title="[[This column contains the proportion of the votes.]]"
>
[[Proportion]]
|
"
>
<% if name="Poll:is_stopped" %>
[[This poll has ended, it ran from
<% var name="Poll:StartDate" encode_html="1" %>
to
<% var name="Poll:StopDate" encode_html="1" %>.
During this time
<% var name="Poll:Count_Votes" %>
vote(s) were cast.]]
<% else %>
[[This poll opened on
<% var name="Poll:StartDate" encode_html="1" %>
and will close on
<% var name="Poll:StopDate" encode_html="1" %>.
So far
<% var name="Poll:Count_Votes" %>
vote(s) have been cast.]]
<% end-if %>
|
<% loop name="Poll:Results" %>
"
lang="<% var name="Document:Lang" %>"
class="<% var name="Document:Lang" %>"
align="<% var name="Document:Align" %>"
title="[[Poll answer: "<% var name="Answer" encode_html="1" %>"]]"
>
<% var name="Answer" encode_html="1" %>
|
"
title="[[<% var name="Votes" %> vote(s) for "<% var name="Answer" encode_html="1" %>"]]"
>
<% var name="Votes" %>
|
"
title="[[<% var name="Score" %>% voted for "<% var name="Answer" encode_html="1" %>"]]"
>
<% comment %>
You can loop through the score
<% loop name="Score_Array" %>
.static/images/poll.gif"
alt="|"
/>
<% end-loop %>
<% end-comment %>
.static/images/poll.gif"
width="<% var name="Score" %>"
height="8"
alt="[[Bar representing <% var name="Score" %>%]]"
/>
<% var name="Score" %>%
|
<% end-loop %>
<% end-if %>
|
|
<% if name="Document:Align" eq="left" %>
|