__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @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();
use DigitalPeak\Component\DPCalendar\Administrator\Helper\DPCalendarHelper;
use DigitalPeak\Component\DPCalendar\Administrator\HTML\Block\Icon;
$this->translator->translateJS('COM_DPCALENDAR_CONFIRM_DELETE');
?>
<div class="com-dpcalendar-list__events">
<ul class="dp-events dp-list dp-list_unordered">
<?php foreach ($this->events as $event) { ?>
<?php $this->displayData['event'] = $event; ?>
<?php $calendar = \Joomla\CMS\Factory::getApplication()->bootComponent('dpcalendar')->getMVCFactory()->createModel('Calendar', 'Administrator')->getCalendar($event->catid); ?>
<li class="dp-list-unordered__item dp-event dp-event_<?php echo $event->ongoing_start_date ? ($event->ongoing_end_date ? 'started' : 'finished') : 'future'; ?>"
data-id="<?php echo $event->id; ?>" data-calid="<?php echo $calendar->getId(); ?>">
<?php echo $this->loadTemplate('events_title'); ?>
<?php if ($this->params->get('list_show_display_events') && $event->displayEvent->afterDisplayTitle) { ?>
<div class="dp-event__display-after-title"><?php echo $event->displayEvent->afterDisplayTitle; ?></div>
<?php } ?>
<?php echo $this->loadTemplate('events_image'); ?>
<div class="dp-event__details">
<?php if ($calendar->canEdit() || $calendar->canDelete() || ($calendar->canEditOwn() && $event->created_by == $this->user->id)) { ?>
<div class="dp-event__actions">
<?php if ($calendar->canEdit() || ($calendar->canEditOwn() && $event->created_by == $this->user->id)) { ?>
<a href="<?php echo $this->router->getEventFormRoute($event->id, $this->returnPage); ?>" class="dp-link"
aria-label="<?php echo $this->translate('JACTION_EDIT'); ?>">
<?php echo $this->layoutHelper->renderLayout(
'block.icon',
['icon' => Icon::EDIT, 'title' => $this->translate('JACTION_EDIT')]
); ?>
</a>
<?php } ?>
<?php if ($calendar->canDelete() || ($calendar->canEditOwn() && $event->created_by == $this->user->id)) { ?>
<a href="<?php echo $this->router->getEventDeleteRoute($event->id, $this->returnPage); ?>" class="dp-link dp-link_delete"
aria-label="<?php echo $this->translate('JACTION_DELETE'); ?>">
<?php echo $this->layoutHelper->renderLayout(
'block.icon',
['icon' => Icon::DELETE, 'title' => $this->translate('JACTION_DELETE')]
); ?>
</a>
<?php } ?>
</div>
<?php } ?>
<div class="dp-event__date">
<?php echo $this->layoutHelper->renderLayout(
'block.icon',
['icon' => Icon::CLOCK, 'title' => $this->translate('COM_DPCALENDAR_DATE')]
); ?>
<?php echo $this->dateHelper->getDateStringFromEvent(
$event, $this->params->get('event_date_format'), $this->params->get('event_time_format')
); ?>
</div>
<?php if ($event->rrule) { ?>
<span 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)); ?>
</span>
<?php } ?>
<div class="dp-event__calendar">
<?php echo $this->layoutHelper->renderLayout(
'block.icon',
['icon' => Icon::CALENDAR, 'title' => $this->translate('COM_DPCALENDAR_CALENDAR')]
); ?>
<?php echo $calendar != null ? $calendar->getTitle() : $event->catid; ?>
</div>
<?php echo $this->loadTemplate('events_locations'); ?>
<?php echo $this->loadTemplate('events_prices'); ?>
<?php if ($this->params->get('list_show_hits', 1)) { ?>
<div class="dp-event__hits">
<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::BULLSEYE,]); ?>
<?php echo $event->hits . ' ' . $this->translate('COM_DPCALENDAR_FIELD_CONFIG_EVENT_LABEL_HITS'); ?>
</div>
<?php } ?>
</div>
<?php echo $this->loadTemplate('events_cta'); ?>
<?php if ($this->params->get('list_show_display_events') && $event->displayEvent->beforeDisplayContent) { ?>
<div class="dp-event__display-before-content"><?php echo $event->displayEvent->beforeDisplayContent; ?></div>
<?php } ?>
<div class="dp-event__description"><?php echo $event->truncatedDescription; ?></div>
<?php if ($this->params->get('list_show_display_events') && $event->displayEvent->afterDisplayContent) { ?>
<div class="dp-event__display-after-content"><?php echo $event->displayEvent->afterDisplayContent; ?></div>
<?php } ?>
<?php echo $this->layoutHelper->renderLayout('schema.event', $this->displayData); ?>
</li>
<?php } ?>
</ul>
</div>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| blog.php | File | 1.39 KB | 0664 |
|
| blog.xml | File | 42.08 KB | 0664 |
|
| blog_events.php | File | 4.76 KB | 0664 |
|
| blog_events_cta.php | File | 885 B | 0664 |
|
| blog_events_image.php | File | 863 B | 0664 |
|
| blog_events_locations.php | File | 1.57 KB | 0664 |
|
| blog_events_prices.php | File | 1.17 KB | 0664 |
|
| blog_events_title.php | File | 1.29 KB | 0664 |
|
| blog_form.php | File | 767 B | 0664 |
|
| blog_header.php | File | 2.49 KB | 0664 |
|
| blog_heading.php | File | 440 B | 0664 |
|
| blog_map.php | File | 831 B | 0664 |
|
| default.php | File | 1.4 KB | 0664 |
|
| default.xml | File | 42.09 KB | 0664 |
|
| default_events.php | File | 4.87 KB | 0664 |
|
| default_events_cta.php | File | 885 B | 0664 |
|
| default_events_image.php | File | 863 B | 0664 |
|
| default_events_locations.php | File | 1.57 KB | 0664 |
|
| default_events_prices.php | File | 1.17 KB | 0664 |
|
| default_events_title.php | File | 1.29 KB | 0664 |
|
| default_form.php | File | 755 B | 0664 |
|
| default_header.php | File | 2.49 KB | 0664 |
|
| default_heading.php | File | 440 B | 0664 |
|
| default_map.php | File | 831 B | 0664 |
|
| timeline.php | File | 1.41 KB | 0664 |
|
| timeline.xml | File | 42.09 KB | 0664 |
|
| timeline_events.php | File | 5.13 KB | 0664 |
|
| timeline_events_cta.php | File | 885 B | 0664 |
|
| timeline_events_image.php | File | 863 B | 0664 |
|
| timeline_events_locations.php | File | 1.57 KB | 0664 |
|
| timeline_events_prices.php | File | 1.17 KB | 0664 |
|
| timeline_events_title.php | File | 1.39 KB | 0664 |
|
| timeline_form.php | File | 771 B | 0664 |
|
| timeline_header.php | File | 2.5 KB | 0664 |
|
| timeline_heading.php | File | 444 B | 0664 |
|
| timeline_map.php | File | 835 B | 0664 |
|