* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL */ \defined('_JEXEC') or die(); use DigitalPeak\Component\DPCalendar\Administrator\Helper\Booking; use DigitalPeak\Component\DPCalendar\Administrator\Helper\DPCalendarHelper; use DigitalPeak\Component\DPCalendar\Administrator\HTML\Block\Icon; use Joomla\CMS\Helper\ModuleHelper; use Joomla\CMS\HTML\HTMLHelper; if (!$events) { echo $translator->translate($params->get('no_events_text', 'MOD_DPCALENDAR_UPCOMING_NO_EVENT_TEXT')); return; } require ModuleHelper::getLayoutPath('mod_dpcalendar_upcoming', '_scripts'); ?>
translate($params->get('textbefore', ''))); ?>
$events) { ?>

getDate($event->start_date, $event->all_day); ?>
renderLayout('block.flatcalendar', ['date' => $startDate, 'color' => $event->color]); ?>
state == 3) { ?> [translate('MOD_DPCALENDAR_UPCOMING_CANCELED'); ?>] title; ?> get('show_display_events') && $event->displayEvent->afterDisplayTitle) { ?>
displayEvent->afterDisplayTitle; ?>
get('show_location') || $params->get('show_map')) && isset($event->locations) && $event->locations) { ?>
get('show_location')) { ?> renderLayout('block.icon', ['icon' => Icon::LOCATION]); ?> locations as $location) { ?>
get('show_location')) { ?> title; ?> roomTitles[$location->id])) { ?> [roomTitles[$location->id]); ?>]
renderLayout('event.tooltip', $displayData); ?>
renderLayout( 'block.icon', ['icon' => Icon::CLOCK, 'title' => $translator->translate('MOD_DPCALENDAR_UPCOMING_DATE')] ); ?> getDateStringFromEvent($event, $params->get('date_format'), $params->get('time_format')); ?>
rrule) { ?>
renderLayout( 'block.icon', ['icon' => Icon::RECURRING, 'title' => $translator->translate('MOD_DPCALENDAR_UPCOMING_SERIES')] ); ?> transformRRuleToString($event->rrule, $event->start_date, $event->exdates)); ?>
get('show_price') && $event->prices) { ?> prices as $price) { ?> value, $event); ?>
renderLayout( 'block.icon', [ 'icon' => Icon::MONEY, 'title' => $translator->translate('MOD_DPCALENDAR_UPCOMING_PRICES') ] ); ?> label ?: $translator->translate('MOD_DPCALENDAR_UPCOMING_PRICES'); ?> value === '' ? '' : DPCalendarHelper::renderPrice($price->value); ?> value) { ?> description; ?>
get('show_image', 1) && $event->images->image_intro) { ?>
<?php echo $event->images->image_intro_alt; ?>images->image_intro_dimensions; ?>> images->image_intro_caption) { ?>
images->image_intro_caption; ?>
get('show_booking', 1) && Booking::openForBooking($event)) { ?> renderLayout('block.icon', ['icon' => Icon::BOOK]); ?> translate('MOD_DPCALENDAR_UPCOMING_BOOK'); ?> get('show_display_events') && $event->displayEvent->beforeDisplayContent) { ?>
displayEvent->beforeDisplayContent; ?>
truncatedDescription; ?>
get('show_display_events') && $event->displayEvent->afterDisplayContent) { ?>
displayEvent->afterDisplayContent; ?>
renderLayout('schema.event', $displayData); ?>
get('show_map')) { ?>
translate($params->get('textafter', ''))); ?>