__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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\HTML\Block\Icon;
$this->translator->translateJS('COM_DPCALENDAR_CONFIRM_DELETE');
?>
<div class="com-dpcalendar-timeline__events">
<div class="com-dpcalendar-timeline__container">
<?php foreach ($this->events as $event) { ?>
<?php $startDate = $this->dateHelper->getDate($event->start_date, $event->all_day); ?>
<?php $this->displayData['event'] = $event; ?>
<?php $calendar = \Joomla\CMS\Factory::getApplication()->bootComponent('dpcalendar')->getMVCFactory()->createModel('Calendar', 'Administrator')->getCalendar($event->catid); ?>
<div class="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(); ?>">
<div class="dp-event__dot">
<span class="dp-event__dot-date"><?php echo $startDate->format('j M', true); ?></span>
</div>
<div class="dp-event__information">
<?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) { ?>
<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 } ?>
<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 } ?>
</div>
<?php echo $this->layoutHelper->renderLayout('schema.event', $this->displayData); ?>
</div>
<?php } ?>
</div>
</div>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| blog.php | File | 1.4 KB | 0664 |
|
| blog.xml | File | 44.32 KB | 0664 |
|
| blog_events.php | File | 4.76 KB | 0664 |
|
| blog_events_cta.php | File | 854 B | 0664 |
|
| blog_events_image.php | File | 861 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 | 872 B | 0664 |
|
| blog_form.php | File | 1.97 KB | 0664 |
|
| blog_header.php | File | 2.47 KB | 0664 |
|
| blog_heading.php | File | 438 B | 0664 |
|
| blog_map.php | File | 829 B | 0664 |
|
| default.php | File | 1.4 KB | 0664 |
|
| default.xml | File | 44.44 KB | 0664 |
|
| default_events.php | File | 4.87 KB | 0664 |
|
| default_events_cta.php | File | 854 B | 0664 |
|
| default_events_image.php | File | 861 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 | 872 B | 0664 |
|
| default_form.php | File | 1.96 KB | 0664 |
|
| default_header.php | File | 2.47 KB | 0664 |
|
| default_heading.php | File | 438 B | 0664 |
|
| default_map.php | File | 829 B | 0664 |
|
| timeline.php | File | 1.42 KB | 0664 |
|
| timeline.xml | File | 44.02 KB | 0664 |
|
| timeline_events.php | File | 5.13 KB | 0664 |
|
| timeline_events_cta.php | File | 854 B | 0664 |
|
| timeline_events_image.php | File | 861 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.01 KB | 0664 |
|
| timeline_form.php | File | 2 KB | 0664 |
|
| timeline_header.php | File | 2.47 KB | 0664 |
|
| timeline_heading.php | File | 442 B | 0664 |
|
| timeline_map.php | File | 833 B | 0664 |
|