{* file: plugin_eventcal_cal.tpl - 2015-12-04, Ian *} {if $is_eventcal_articleformat == true}

{$CONST.PLUGIN_EVENTCAL_TITLE}

{if $is_eventcal_headline == true}

{$plugin_eventcal_headline}

{/if}
{/if}
{if $plugin_eventcal_cal_preface}
{$plugin_eventcal_cal_preface}
{/if} {if $is_eventcal_error}{if $is_eventcal_cal_admin_clear == true}
{/if}
{$plugin_eventcal_error}
{/if} {if $is_eventcal_message}
{$plugin_eventcal_cal_admin}
{foreach from=$plugin_eventcal_message item="message"}
{$message}
{/foreach}
{/if} {if $admin_delete == true}
{$CONST.CAL_EVENT_USER_FREE_SURE}

{$CONST.NOT_REALLY} {$CONST.DUMP_IT}

{/if} {if $admin_dodelete == true && $rip_entry}
{$rip_entry}
{/if} {if $is_eventcal_cal_debug_fdc}
  function: {$is_eventcal_cal_debug_fdc}
{/if} {if $is_eventcal_cal_debug_fcwe}
  function: {$is_eventcal_cal_debug_fcwe}
{/if} {if $is_eventcal_cal_debug_fs1}
  function: {$is_eventcal_cal_debug_fs1}
{/if} {if $is_eventcal_icalswitch == true}
{$CONST.PLUGIN_EVENTCAL_ICAL_ICSURL_BLAH}

{foreach key="icsktype" item="icsvtype" from=$plugin_eventcal_ical_types} {/foreach}
{if $icsktype == 'ml'} To: {$CONST.EMAIL} {else} {/if}
{/if}{* icalswitch end *} {if $plugin_eventcal_cal_monthviewnav} {/if}{* monthviewnav end *} {if $is_eventcal_cal_admin_clear != true} {/if}{* admin clear end *} {* now we include the separate build single event day entry - plugin_eventcal_entry.tpl *} {if $plugin_eventcal_cal_buildsetable} {$plugin_eventcal_cal_buildsetable} {/if} {* now we include the the open/close form button and the open/close lookout for unapproved events table *} {if $is_eventcal_cal_buildbuttons == true} {if $is_eventcal_cal_buildbuttonadd == true} {if $is_eventcal_cal_admin_clear != true} {/if}{* admin clear end *} {* now we include the open form table - plugin_eventcal_add.tpl *} {if $plugin_eventcal_cal_buildaddtable} {$plugin_eventcal_cal_buildaddtable} {/if} {/if}{* buildbuttonadd end *} {if $is_eventcal_cal_buildbuttonapp == true} {if $is_eventcal_cal_admin_clear != true} {/if}{* admin clear end *} {* now we include the lookout for unapproved events table - plugin_eventcal_app.tpl *} {if $plugin_eventcal_cal_buildapptable} {$plugin_eventcal_cal_buildapptable} {/if} {/if}{* buildbuttonapp end *} {/if}{* buildbuttons end *} {* placeholder admin links *}
{if $plugin_eventcal_cal_sedweek} {else} {/if}
{$plugin_eventcal_cal_cmonth}
{if $plugin_eventcal_cal_sed} {foreach from=$plugin_eventcal_cal_sed item="r"} {/foreach} {foreach from=$plugin_eventcal_cal_sed item="week"} {if $week.days} {foreach from=$week.days item="day"} {/foreach} {/if} {/foreach}
{$r.head}
{$week.cwnm}
{if $day.today == 'today'}
{$CONST.CAL_EVENT_TODAY}
{elseif $day.today == 'blank'} {else} {/if}
{$day.label|default:' '}
{if !$day.arrdata} {/if} {foreach from=$day.arrdata item="r"}{* start=1 *} {$r.sdesc}
{/foreach}
{/if}{* sed end *} {* now we include the weekly event table if there is - plugin_eventcal_calweek.tpl *} {if $plugin_eventcal_cal_buildweektable} {$plugin_eventcal_cal_buildweektable} {/if}
notes-add-reject {$CONST.CAL_EVENT_FORM_BUTTON_ADD_EVENT}
notes-add-reject {$CONST.CAL_EVENT_FORM_BUTTON_APPROVE_EVENT} [ {$plugin_eventcal_cal_crs} {$CONST.CAL_EVENT_FORM_BUTTON_TOAPPROVE} ]
 
{if $is_eventcal_ical && !$plugin_eventcal_cal_sedweek} {* now we create the monthly ical link, depending on config settings *} {if $plugin_eventcal_icsdl == 'ud'} {else} {/if} {/if}
Single Events Multi Events Monthly Events Weekly Events ical month feedical month feed

{if $is_eventcal_articleformat == true}
{/if}{* articleformat end *}