Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -200,10 +200,13 @@
|
||||
<a href='#elCalendarSettings_menu' id='elCalendarSettings' data-ipsMenu data-ipsMenu-alignCenter data-ipsMenu-appendTo="#elCalendarsHeader" class='ipsType_blendLinks'><i class='fa fa-cog'></i></a>
|
||||
{{if ( $thisCalendar AND $thisCalendar->can('add') ) OR ( !$thisCalendar AND \IPS\calendar\Calendar::canOnAny('add') )}}
|
||||
|
||||
{{$day = \IPS\Request::i()->d;}}
|
||||
{{$month = \IPS\Request::i()->m;}}
|
||||
{{$year = \IPS\Request::i()->y;}}
|
||||
{{if $thisCalendar}}
|
||||
<a href='{url="app=calendar&module=calendar&controller=submit&do=submit&id={$thisCalendar->id}" seoTemplate="calendar_submit"}' class='ipsButton ipsButton_important ipsButton_small ipsResponsive_hidePhone ipsResponsive_inlineBlock'>{lang="create_event"}</a>
|
||||
<a href='{url="app=calendar&module=calendar&controller=submit&do=submit&id={$thisCalendar->id}&y={$year}&m={$month}&d={$day}" seoTemplate="calendar_submit"}' class='ipsButton ipsButton_important ipsButton_small ipsResponsive_hidePhone ipsResponsive_inlineBlock'>{lang="create_event"}</a>
|
||||
{{else}}
|
||||
<a href='{url="app=calendar&module=calendar&controller=submit" seoTemplate="calendar_submit"}' data-ipsdialog data-ipsdialog-title='{lang="event_container"}' data-ipsdialog-size='narrow' class='ipsButton ipsButton_important ipsButton_small ipsResponsive_hidePhone ipsResponsive_inlineBlock'>{lang="create_event"}</a>
|
||||
<a href='{url="app=calendar&module=calendar&controller=submit&y={$year}&m={$month}&d={$day}" seoTemplate="calendar_submit"}' data-ipsdialog data-ipsdialog-title='{lang="event_container"}' data-ipsdialog-size='narrow' class='ipsButton ipsButton_important ipsButton_small ipsResponsive_hidePhone ipsResponsive_inlineBlock'>{lang="create_event"}</a>
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
<a href='#elCalendarJump' data-ipsMenu data-ipsMenu-menuID='elCalendarJump' data-ipsMenu-closeOnClick='false' class='ipsButton ipsButton_light ipsButton_small ipsResponsive_hidePhone ipsResponsive_inlineBlock'>{lang="jump_to"} <i class='fa fa-caret-down'></i></a>
|
||||
@@ -323,7 +326,7 @@
|
||||
</ul>
|
||||
{{endif}}
|
||||
{{if isset( $birthdays[ $date->mon . $k ] ) AND $birthdays[ $date->mon . $k ] }}
|
||||
<p class='cCalendar_birthdays ipsType_light'><a class='ipsType_blendLinks' href='{{if $thisCalendar}}{url="app=calendar&module=calendar&controller=view&id={$thisCalendar->_id}&y={$date->year}&m={$date->mon}&d={$k}" seoTemplate="calendar_calday" seoTitle="$thisCalendar->title_seo"}{{else}}{url="app=calendar&module=calendar&controller=view&y={$date->year}&m={$date->mon}&d={$k}" seoTemplate="calendar_day"}{{endif}}'>{lang="birthdays_count" pluralize="$birthdays[ $date->mon . $k ]"}</a></p>
|
||||
<p class='cCalendar_birthdays ipsType_light'><a class='ipsType_blendLinks' data-ipsdialog data-ipsdialog-title='{lang="birthdays"}' href='{{if $thisCalendar}}{url="app=calendar&module=calendar&controller=view&id={$thisCalendar->_id}&y={$date->year}&m={$date->mon}&d={$k}&show=birthdays" seoTemplate="calendar_calday" seoTitle="$thisCalendar->title_seo"}{{else}}{url="app=calendar&module=calendar&controller=view&y={$date->year}&m={$date->mon}&d={$k}&show=birthdays" seoTemplate="calendar_day"}{{endif}}'>{lang="birthdays_count" pluralize="$birthdays[ $date->mon . $k ]"}</a></p>
|
||||
{{endif}}
|
||||
</div>
|
||||
</td>
|
||||
@@ -1020,15 +1023,15 @@
|
||||
{{endif}}]]></template>
|
||||
<template template_group="global" template_name="searchResultEventSnippet" template_data="$indexData, $itemData, $nextOccurance, $startDate, $endDate, $allDay, $condensed" template_location="front" template_app="calendar"><![CDATA[{{if $condensed}}
|
||||
<time datetime='{$nextOccurance->mysqlDatetime()}' class='ipsCalendarDate ipsCalendarDate_small ipsPos_left'>
|
||||
<span class='ipsCalendarDate_month'>{$nextOccurance->monthNameShort}</span>
|
||||
<span class='ipsCalendarDate_date'>{$nextOccurance->mday}</span>
|
||||
<span class='ipsCalendarDate_month' data-controller="core.global.core.datetime" data-time="{$nextOccurance->format('c')}" data-format="%h" >{$nextOccurance->monthNameShort}</span>
|
||||
<span class='ipsCalendarDate_date' data-controller="core.global.core.datetime" data-time="{$nextOccurance->format('c')}" data-format="%d">{$nextOccurance->mday}</span>
|
||||
</time>
|
||||
{{else}}
|
||||
<div class='ipsColumns ipsColumns_collapsePhone'>
|
||||
<div class='ipsColumn ipsColumn_narrow ipsColumn--ipsCalendarDate'>
|
||||
<time datetime='{$nextOccurance->mysqlDatetime()}' class='ipsCalendarDate ipsCalendarDate_large ipsPos_center'>
|
||||
<span class='ipsCalendarDate_month'>{$nextOccurance->monthNameShort}</span>
|
||||
<span class='ipsCalendarDate_date'>{$nextOccurance->mday}</span>
|
||||
<span class='ipsCalendarDate_month' data-controller="core.global.core.datetime" data-time="{$nextOccurance->format('c')}" data-format="%h" >{$nextOccurance->monthNameShort}</span>
|
||||
<span class='ipsCalendarDate_date' data-controller="core.global.core.datetime" data-time="{$nextOccurance->format('c')}" data-format="%d">{$nextOccurance->mday}</span>
|
||||
</time>
|
||||
</div>
|
||||
<div class='ipsColumn ipsColumn_fluid ipsStream_snippetInfo'>
|
||||
@@ -1393,7 +1396,7 @@
|
||||
{{if \IPS\Member::loggedIn()->member_id}}
|
||||
<ul class="ipsToolList ipsClearfix ipsSpacer_both">
|
||||
<li class='ipsToolList_primaryAction'>
|
||||
<a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{url="app=calendar&module=calendar&controller=submit&venue={$venue->id}" seoTemplate="calendar_submit"}" data-ipsDialog data-ipsdialog-size="narrow">{lang="create_event"}</a>
|
||||
<a class="ipsButton ipsButton_medium ipsButton_important ipsButton_fullWidth" href="{url="app=calendar&module=calendar&controller=submit&venue={$venue->id}" seoTemplate="calendar_submit"}" data-ipsDialog data-ipsdialog-size="narrow" rel='nofollow noindex'>{lang="create_event"}</a>
|
||||
</li>
|
||||
</ul>
|
||||
{{endif}}
|
||||
@@ -1677,6 +1680,19 @@
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
</div>
|
||||
{{if settings.core_datalayer_enabled}}
|
||||
<script>
|
||||
$('body').trigger( 'ipsDataLayer', {
|
||||
_key: 'content_view',
|
||||
_properties: {
|
||||
{{foreach $event->getDataLayerProperties() as $key => $value}}
|
||||
$key : {expression="json_encode( $value )" raw="true"},
|
||||
{{endforeach}}
|
||||
view_location: 'hovercard',
|
||||
}
|
||||
} );
|
||||
</script>
|
||||
{{endif}}
|
||||
</div>]]></template>
|
||||
<template template_group="view" template_name="eventBlocks" template_data="$events" template_location="front" template_app="calendar"><![CDATA[
|
||||
<ul class='ipsDataList ipsDataList_reducedSpacing'>
|
||||
|
||||
Reference in new issue
Block a user