<?xml version="1.0" encoding="UTF-8" ?>
<Module>
  <ModulePrefs author="eXoPlatform"
		title="My Tasks"
		directory_title="My Tasks"
		title_url="http://www.exoplatform.org"
		description="Tasks list."
		thumbnail="http://localhost:8080/csResources/gadgets/tasks/skin/Tasks.png">
		<Locale messages="/csResources/gadgets/tasks/locale/default.xml" />
		<Locale lang="ar" messages="/csResources/gadgets/tasks/locale/ar.xml" language_direction="rtl"/>
		<Locale lang="fr" messages="/csResources/gadgets/tasks/locale/fr.xml" />
		<Locale lang="vi" messages="/csResources/gadgets/tasks/locale/vi.xml" />
		<Require feature="setprefs"/>
		<Require feature="dynamic-height"/>
		<UserPref name="setting" default_value="/calendar;/portal/rest/private/cs/calendar/upcoming;10;AM/PM;Default" datatype="hidden" />
	</ModulePrefs>
  <Content type="html">
    <![CDATA[
      <link type="text/css" href="skin/tasks.css" rel="stylesheet">
			<script type="text/javascript" src="skin/tasks.js"></script>
			<form id="Setting" onSubmit="return eXoEventGadget.saveSetting();" action="#" style="display:none;">
			<table>
				<tr>
					<td>__MSG_baseurl__</td>
					<td><input type="text" name="url"></td>
				</tr>
				<tr>
					<td>__MSG_subscribeurl__</td>
					<td><input type="text" name="subscribeurl"></td>
				</tr>
				<tr>
					<td>__MSG_limit__</td>
					<td><input type="text" name="limit"></td>
				</tr>
				<tr>
					<td>__MSG_format__</td>
					<td>
						<select type="text" name="timeformat">
							<option value="0">AM/PM</option>
							<option value="1">24</option>
						</select>
					</td>
				</tr>				
				<tr>
					<td>__MSG_calendars__</td>
					<td>
						<select type="text" name="calendars">
							<option value="0">Default</option>
						</select>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<input type="submit" name="save" value="__MSG_save__">
						<input type="button" name="cancel" value="__MSG_cancel__" onclick="eXoEventGadget.showHideSetting(false);">
					</td>					
				</tr>
			</table>
			</form>
			<div class="UIGadgetThemes UIYellowThemes">
				<div class="TitGad ClearFix">
					<a href="#demo" class="IconDropDown" id="ShowAll" target="_blank">__MSG_showall__</a>
					<div class="SettingButton" id="SettingButton" title="__MSG_setting__">
						<a href="javascript:eXoEventGadget.showHideSetting(true);"><span></span></a>
					</div>
					<div class="ContTit">__MSG_title__</div>
				</div>
				<div class="GadCont MyTasks" id="ItemContainer">
	        <!--
					<div class="CheckBox">
						<input type="checkbox" name="checkbox" id="abc"></input>
						<label id="abc">09:00<span>Joint PR CS + KS</span></label>
					</div>
	        -->
				</div>
			</div>
    ]]>
  </Content>
</Module>