<?xml version="1.0" encoding="UTF-8" ?>
<Module>
	<ModulePrefs author="eXoPlatform"
		title="Poll"
		directory_title="Polls"
		title_url="http://www.exoplatform.org"
		description="Poll list."
		thumbnail="http://localhost:8080/poll/gadgets/polls/skin/Polls.png"
		height="300">
		<Locale messages="locale/default.xml" />
		<Locale lang="ar" messages="locale/ar.xml" language_direction="rtl"/>
		<Locale lang="fr" messages="locale/fr.xml" />
		<Locale lang="vi" messages="locale/vi.xml" />
		<Require feature="setprefs"/>
		<Require feature="dynamic-height"/>
	</ModulePrefs>
	 
	<Content type="html">
		<![CDATA[
		    <link rel="stylesheet" type="text/css" href="skin/Stylesheet.css"/>
			
			<script type="text/javascript" src="skin/polls.js"></script>
			<div class="UIPollPortlet">
						
				<div class="UITopicPoll" id="UITopicPoll">
					<div class="ForumToolbar">
						<div class="LeftBar">
							<div class="RightBar">
								<div class="CenterBar">
									<div class="Lable Question">
										<span>__MSG_poll__</span>
										<span class="question"></span>
									</div>
									<div class="IconRight" id="EditPollIcon" title="__MSG_editPoll__"><span></span></div>
									<div style="clear:both"><span></span></div>
								</div>
							</div>
						</div>
					</div>
					
					<div class="TopicPollContainer">
						
						<div class="UIFormTabPane">
							<div class="UITabPane">
								<div class="TabPaneContent">
									<div class="WorkingArea">
									 	<div class="HorizontalLayout">
											<div class="UITabContentContainer">
											  
												<div class="UITabContent">
												
												
													<div class="TopicPollContent" id="TopicPollContent" style="display:none;">
														<div class="PollQuestion"><span class="question"></span></div>
														<div class="UIForm">
															<div class="HorizontalLayout">
																<div class="FormContainer">
																	<table class="UIFormGrid">
																		<tbody>
																			<tr>
																				<td class="FieldComponent" style="white-space:normal;">
																					<div id="options"></div>
																				</td>
																			</tr>
																		</tbody>
																	</table>
																	<div class="UIAction">
																		<table class="ActionContainer">
																			<tbody>
																				<tr>
																					<td align="center">
																						<div class="ActionButton LightBlueStyle">
																							<div class="ButtonLeft">
																								<div class="ButtonRight">
																									<div class="ButtonMiddle" style="display:block">
																										<a onclick="voteNow();">__MSG_voteNow__</a>
																									</div>
																								</div>
																							</div>
																						</div>
																					</td>
																				</tr>
																			</tbody>
																		</table>
																	</div>
																	
																</div>
															</div>
														</div>
													</div>
													
													<div class="ViewPollForm" id="ViewPollForm" style="display:none;">
														<table cellspacing="0" cellpadding="0" border="0" class="UIGrid" id="UIGrid">
															<thead>
																<tr>
																	<th>__MSG_options__</th>
																	<th style="width: 35%">__MSG_percentage__</th>
																	<th style="width: 100px;">__MSG_votes__</th>
																</tr>
															</thead>
															<tbody id="dataTable">
															
															</tbody>
														</table>
														<div class="TotalVotes">__MSG_totalVoters__ <span id="sunVote"></span></div>
													</div>

													<div style="display:none;" class="EditPoll" id="EditPoll">
														<div id="SelectContent"></div>
													</div>
													<div style="display:none;" id="comment">__MSG_doNotPermission__</div>
												</div>
												
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
						
					</div>
				</div>
			</div>	
		]]>
	</Content>
</Module>
