<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.0" method="upgrade">
	<name>JEvents Calendar</name>
	<creationDate>October 2011</creationDate>
	<author>GWE Systems Ltd</author>
	<copyright>(C) 2009-2011 GWE Systems Ltd, 2006-2008 JEvents Project Group</copyright>
	<license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
	<authorEmail></authorEmail>
	<authorUrl>http://www.jevents.net</authorUrl>
	<version>2.0.2</version>
	<description>Shows up to 3 different monthly calendar for JEvents component</description>
	<files>
		<filename module="mod_jevents_cal">mod_jevents_cal.php</filename>
		<filename>helper.php</filename>
		<folder>tmpl</folder>
	</files>
	<params addpath="/administrator/components/com_jevents/elements/">
		<param name="@spacer" type="jevinfo" default="Module_Parameters"   label="" description="" />
		<param name="com_calViewName" type="jevview" default="" label="JEV_VIEWNAME" description="JEV_TIP_VIEWNAME"/>
		<param name="inc_ec_css" type="radio" default="1" label="EVENTS_CAL_CSS" description="EVENTS_CAL_CSS_TIP">
			<option value="0">Jev_no</option>
			<option value="1">Jev_yes</option>
		</param>
		<param name="cache" type="list" default="1" label="Caching" description="Select whether to cache the content of this module">
			<option value="1">Use global</option>
			<option value="0">No caching</option>
		</param>
		<param name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="PARAMMODULECLASSSUFFIX" />
		<param name="noeventcheck" type="jevboolean" default="0" label="JEV_NO_EVENT_CHECK" description="JEV_NO_EVENT_CHECK_TIP" />
		<param name="allcats" type="radio" default="1" label="JEV_FROM_ALL_CATS" description="JEV_FROM_ALL_CATS_TIP">
			<option value="0">Jev_no</option>
			<option value="1">Jev_yes</option>
		</param>
		<param name="catid0" type="category" default="0" scope="com_jevents" label="Specified_category" description="SPECIFIED_CAT_TIP" />
		<param name="catid1" type="category" default="0" scope="com_jevents" label="Additional_category" description="ADDITIONAL_CAT_TIP" />
		<param name="catid2" type="category" default="0" scope="com_jevents" label="Additional_category" description="ADDITIONAL_CAT_TIP" />
		<param name="catid3" type="category" default="0" scope="com_jevents" label="Additional_category" description="ADDITIONAL_CAT_TIP" />
		<param name="catid4" type="category" default="0" scope="com_jevents" label="Additional_category" description="ADDITIONAL_CAT_TIP" />
		<param name="@spacer" type="jevinfo" default="Additional constraints"   label="" description="" />
		<param name="extras0" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
		<param name="extras1" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
		<param name="extras2" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
		<param name="extras3" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
		<param name="extras4" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
		<param name="extras5" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
		<param name="extras6" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
		<param name="extras7" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
		<param name="extras8" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
		<param name="extras9" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />		
		<param name="ignorecatfilter" type="jevboolean" default="0" label="JEV_LOCK_CAT_FILTERS" description="JEV_LOCK_CAT_FILTERS_TIP" />
		<param name="ignorefiltermodule" type="jevboolean" default="0" label="JEV_IGNORE_FILTER_MOD" description="JEV_IGNORE_FILTER_MOD_TIP" />
		<param name="target_itemid" type="jevmenu" default="" label="JEV_TARGET_MENU" description="JEV_TARGET_MENU_TIP" />
		<param name="@spacer" type="jevinfo"  default="JEV_HEADER_LINKS"/>
		<param name="minical_showlink" type="radio" default="1" label="JEV_TITLE_AS" description="JEV_TITLE_AS_TIP">
			<option value="0">None</option>
			<option value="1">JEV_AS_LINK</option>
			<option value="2">JEV_AS_TEXT</option>
		</param>
		<param name="minical_prevyear" type="jevboolean" default="1" label="JEV_PREV_YEAR" description="JEV_PREV_YEAR_TIP" />
		<param name="minical_prevmonth" type="jevboolean" default="1" label="JEV_PREV_MONTH" description="JEV_PREV_MONTH_TIP" />
		<param name="minical_actmonth" type="radio" default="1" label="JEV_CURR_MONTH" description="JEV_CURR_MONTH_TIP">
			<option value="0">Jev_no</option>
			<option value="1">JEV_AS_LINK</option>
			<option value="2">JEV_AS_TEXT</option>
		</param>
		<param name="minical_actyear" type="radio" default="1" label="JEV_CURR_YEAR" description="JEV_CURR_YEAR_TIP">
			<option value="0">Jev_no</option>
			<option value="1">JEV_AS_LINK</option>
			<option value="2">JEV_AS_TEXT</option>
		</param>
		<param name="minical_nextmonth" type="jevboolean" default="1" label="JEV_NEXT_MONTH" description="JEV_NEXT_MONTH_TIP" />
		<param name="minical_nextyear" type="jevboolean" default="1" label="JEV_NEXT_YEAR" description="JEV_NEXT_YEAR_TIP" />
		<param name="minical_usedate" type="jevboolean" default="0" label="JEV_USE_DATE" description="JEV_USE_DATE_TIP" />
		<param name="@spacer" type="spacer" default="" label="" description="" />
		<param name="modcal_useLocalParam" type="list" default="0" label="Use Settings" description="Use settings defined global in Component or defined here">
			<option value="0">Use Component Settings</option>
			<option value="1">Use Settings Below</option>
		</param>
		<param name="modcal_DispLastMonth" type="list" default="NO" label="Display Last Month ?" description="&lt;b&gt;NO:&lt;/b&gt; never display a Last Months calendar&lt;br /&gt;
			   &lt;b&gt;YES - with stop day:&lt;/b&gt; display a Last Months calendar only if there were scheduled events in that month&lt;br /&gt;
			   &lt;b&gt;YES - if has events AND with stop day:&lt;/b&gt; display Last Months calendar only if there were events scheduled for that month. Stop displaying Last Months calendar if this months current day of month is at least r&lt;br /&gt;
			   &lt;b&gt;ALWAYS:&lt;/b&gt; always display a Last Months calendar&lt;br /&gt;
			   &lt;b&gt;ALWAYS - if has events:&lt;/b&gt; display a Last Months calendar. Stop displaying Last Months calendar if this months current day of month is at least r">
			<option value="NO">Jev_no</option>
			<option value="YES_stop">Yes - with stop day</option>
			<option value="YES_stop_events">Yes - if has events AND with stop day</option>
			<option value="ALWAYS">ALWAYS</option>
			<option value="ALWAYS_events">ALWAYS - if has events</option>
		</param>
		<param name="modcal_DispLastMonthDays" type="text" size="2" default="0" label="Day to Stop displaying Last Month" description="Day in Current Month to Stop displaying Last Month" />
		<param name="modcal_DispNextMonth" type="list" default="NO" label="Display Next Month ?" description="&lt;b&gt;NO&lt;/b&gt; never display a Next Months calendar&lt;br /&gt;
			   &lt;b&gt;YES - with start day:&lt;/b&gt; display a Next Months calendar only if there were scheduled events in that month&lt;br /&gt;
			   &lt;b&gt;YES - if has events AND with start day:&lt;/b&gt; display Next Months calendar only if there were events scheduled for that month. Start displaying Next Months calendar if this months current day of month is within r days of the first day of Next month&lt;br /&gt;
			   &lt;b&gt;ALWAYS:&lt;/b&gt; always display a Next Months calendar&lt;br /&gt;
			   &lt;b&gt;ALWAYS - if has events:&lt;/b&gt; display a Next Months calendar. Start displaying Next Months calendar if this months current day of month is within r days of the first day of Next month">
			<option value="NO">Jev_no</option>
			<option value="YES_stop">Yes - with start day</option>
			<option value="YES_stop_events">Yes - if has events AND with start day</option>
			<option value="ALWAYS">ALWAYS</option>
			<option value="ALWAYS_events">ALWAYS - if has events</option>
		</param>
		<param name="modcal_DispNextMonthDays" type="text" size="2" default="0" label="Days left to Start displaying Next Month" description="Days left in Current Month to Start displaying Next Month" />
		<param name="modcal_LinkCloaking" type="jevboolean" default="0" label="Hide Links using Javascript" description="Make links inaccessible to most search engines" />
		<!--<param name="@spacer" type="spacer" default="" label="Advanced Settings" description="The following settings are for advanced users only"/>//-->
		<!--<param name="target_itemid" type="text" default="" label="Target Menu Itemid" description="Menu itemid for target page" />//-->
	</params>
	<config>
		<fields name="params">
			<fieldset name="basic"  addfieldpath="/administrator/components/com_jevents/fields/">
				<field name="@spacer" type="jevinfo" default="Module_Parameters"   label="" description="" />
				<field name="com_calViewName" type="jevview" default="" label="JEV_VIEWNAME" description="JEV_TIP_VIEWNAME"/>
				<field name="inc_ec_css" type="radio" default="1" label="EVENTS_CAL_CSS" description="EVENTS_CAL_CSS_TIP">
					<option value="0">Jev_no</option>
					<option value="1">Jev_yes</option>
				</field>
				<field name="cache" type="list" default="1" label="Caching" description="Select whether to cache the content of this module">
					<option value="1">Use global</option>
					<option value="0">No caching</option>
				</field>
				<field name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="PARAMMODULECLASSSUFFIX" />
				<field name="noeventcheck" type="jevboolean" default="0" label="JEV_NO_EVENT_CHECK" description="JEV_NO_EVENT_CHECK_TIP" />
				<field name="allcats" type="radio" default="1" label="JEV_FROM_ALL_CATS" description="JEV_FROM_ALL_CATS_TIP">
					<option value="0">Jev_no</option>
					<option value="1">Jev_yes</option>
				</field>
				<field name="catid0" type="jevcategory" default="0" scope="com_jevents" label="Specified_category" description="SPECIFIED_CAT_TIP" />
				<field name="catid1" type="jevcategory" default="0" scope="com_jevents" label="Additional_category" description="ADDITIONAL_CAT_TIP" />
				<field name="catid2" type="jevcategory" default="0" scope="com_jevents" label="Additional_category" description="ADDITIONAL_CAT_TIP" />
				<field name="catid3" type="jevcategory" default="0" scope="com_jevents" label="Additional_category" description="ADDITIONAL_CAT_TIP" />
				<field name="catid4" type="jevcategory" default="0" scope="com_jevents" label="Additional_category" description="ADDITIONAL_CAT_TIP" />
				<field name="@spacer" type="jevinfo" default="Additional constraints"   label="" description="" />
				<field name="extras0" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				<field name="extras1" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				<field name="extras2" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				<field name="extras3" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				<field name="extras4" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				<field name="extras5" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				<field name="extras6" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				<field name="extras7" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				<field name="extras8" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				<field name="extras9" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				<field name="extras10" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				<field name="extras11" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				<field name="extras12" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				<field name="extras13" type="jevextras" default="" label="Additional constraints" description="Additional menu constraints from addons" />
				
				<field name="ignorecatfilter" type="jevboolean" default="0" label="JEV_LOCK_CAT_FILTERS" description="JEV_LOCK_CAT_FILTERS_TIP" />
				<field name="ignorefiltermodule" type="jevboolean" default="0" label="JEV_IGNORE_FILTER_MOD" description="JEV_IGNORE_FILTER_MOD_TIP" />
				<field name="target_itemid" type="jevmenu" default="" label="JEV_TARGET_MENU" description="JEV_TARGET_MENU_TIP" />
				<field name="@spacer" type="jevinfo"  default="JEV_HEADER_LINKS"/>
				<field name="minical_showlink" type="radio" default="1" label="JEV_TITLE_AS" description="JEV_TITLE_AS_TIP">
					<option value="0">None</option>
					<option value="1">JEV_AS_LINK</option>
					<option value="2">JEV_AS_TEXT</option>
				</field>
				<field name="minical_prevyear" type="jevboolean" default="1" label="JEV_PREV_YEAR" description="JEV_PREV_YEAR_TIP" />
				<field name="minical_prevmonth" type="jevboolean" default="1" label="JEV_PREV_MONTH" description="JEV_PREV_MONTH_TIP" />
				<field name="minical_actmonth" type="radio" default="1" label="JEV_CURR_MONTH" description="JEV_CURR_MONTH_TIP">
					<option value="0">Jev_no</option>
					<option value="1">JEV_AS_LINK</option>
					<option value="2">JEV_AS_TEXT</option>
				</field>
				<field name="minical_actyear" type="radio" default="1" label="JEV_CURR_YEAR" description="JEV_CURR_YEAR_TIP">
					<option value="0">Jev_no</option>
					<option value="1">JEV_AS_LINK</option>
					<option value="2">JEV_AS_TEXT</option>
				</field>
				<field name="minical_nextmonth" type="jevboolean" default="1" label="JEV_NEXT_MONTH" description="JEV_NEXT_MONTH_TIP" />
				<field name="minical_nextyear" type="jevboolean" default="1" label="JEV_NEXT_YEAR" description="JEV_NEXT_YEAR_TIP" />
				<field name="minical_usedate" type="jevboolean" default="0" label="JEV_USE_DATE" description="JEV_USE_DATE_TIP" />
				<field name="@spacer" type="spacer" default="" label="" description="" />
				<field name="modcal_useLocalParam" type="list" default="0" label="Use Settings" description="Use settings defined global in Component or defined here">
					<option value="0">Use Component Settings</option>
					<option value="1">Use Settings Below</option>
				</field>
				<field name="modcal_DispLastMonth" type="list" default="NO" label="Display Last Month ?" description="&lt;b&gt;NO:&lt;/b&gt; never display a Last Months calendar&lt;br /&gt;
			   &lt;b&gt;YES - with stop day:&lt;/b&gt; display a Last Months calendar only if there were scheduled events in that month&lt;br /&gt;
			   &lt;b&gt;YES - if has events AND with stop day:&lt;/b&gt; display Last Months calendar only if there were events scheduled for that month. Stop displaying Last Months calendar if this months current day of month is at least r&lt;br /&gt;
			   &lt;b&gt;ALWAYS:&lt;/b&gt; always display a Last Months calendar&lt;br /&gt;
			   &lt;b&gt;ALWAYS - if has events:&lt;/b&gt; display a Last Months calendar. Stop displaying Last Months calendar if this months current day of month is at least r">
					<option value="NO">Jev_no</option>
					<option value="YES_stop">Yes - with stop day</option>
					<option value="YES_stop_events">Yes - if has events AND with stop day</option>
					<option value="ALWAYS">ALWAYS</option>
					<option value="ALWAYS_events">ALWAYS - if has events</option>
				</field>
				<field name="modcal_DispLastMonthDays" type="text" size="2" default="0" label="Day to Stop displaying Last Month" description="Day in Current Month to Stop displaying Last Month" />
				<field name="modcal_DispNextMonth" type="list" default="NO" label="Display Next Month ?" description="&lt;b&gt;NO&lt;/b&gt; never display a Next Months calendar&lt;br /&gt;
			   &lt;b&gt;YES - with start day:&lt;/b&gt; display a Next Months calendar only if there were scheduled events in that month&lt;br /&gt;
			   &lt;b&gt;YES - if has events AND with start day:&lt;/b&gt; display Next Months calendar only if there were events scheduled for that month. Start displaying Next Months calendar if this months current day of month is within r days of the first day of Next month&lt;br /&gt;
			   &lt;b&gt;ALWAYS:&lt;/b&gt; always display a Next Months calendar&lt;br /&gt;
			   &lt;b&gt;ALWAYS - if has events:&lt;/b&gt; display a Next Months calendar. Start displaying Next Months calendar if this months current day of month is within r days of the first day of Next month">
					<option value="NO">Jev_no</option>
					<option value="YES_stop">Yes - with start day</option>
					<option value="YES_stop_events">Yes - if has events AND with start day</option>
					<option value="ALWAYS">ALWAYS</option>
					<option value="ALWAYS_events">ALWAYS - if has events</option>
				</field>
				<field name="modcal_DispNextMonthDays" type="text" size="2" default="0" label="Days left to Start displaying Next Month" description="Days left in Current Month to Start displaying Next Month" />
				<field name="modcal_LinkCloaking" type="jevboolean" default="0" label="Hide Links using Javascript" description="Make links inaccessible to most search engines" />
				<!--<field name="@spacer" type="spacer" default="" label="Advanced Settings" description="The following settings are for advanced users only"/>//-->
		<!--<field name="target_itemid" type="text" default="" label="Target Menu Itemid" description="Menu itemid for target page" />//-->
			</fieldset>
		</fields>
	</config>

</install>
