| Server IP : 104.21.84.107 / Your IP : 104.23.197.208 Web Server : Apache/2.4.63 (Ubuntu) System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.4.5 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/fcs/components/com_dpcalendar/tmpl/event/ |
Upload File : |
<?php
/**
* @package DPCalendar
* @copyright Copyright (C) 2017 Digital Peak GmbH. <https://www.digital-peak.com>
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
*/
\defined('_JEXEC') or die();
$url = str_replace(['?tmpl=component', 'tmpl=component'], '', (string) $this->router->getEventRoute($this->event->id, $this->event->catid));
?>
<h<?php echo $this->heading + 1; ?> class="com-dpcalendar-event__title dp-heading">
<?php if ($this->input->get('tmpl') == 'component') { ?>
<a href="<?php echo $url; ?>" class="com-dpcalendar-event__link" target="_parent"><?php echo $this->event->title; ?></a>
<?php } else { ?>
<?php echo $this->event->title; ?>
<?php } ?>
<?php if ($this->event->state == 0) { ?>
<span class="com-dpcalendar-event__title_unpublished"><?php echo $this->translate('JUNPUBLISHED'); ?></span>
<?php } ?>
<?php if ($this->event->state == 2) { ?>
<span class="com-dpcalendar-event__title_archived"><?php echo $this->translate('JARCHIVED'); ?></span>
<?php } ?>
<?php if ($this->event->state == 3) { ?>
<span class="com-dpcalendar-event__title_canceled"><?php echo $this->translate('COM_DPCALENDAR_FIELD_VALUE_CANCELED'); ?></span>
<?php } ?>
<?php if ($this->event->state == 4) { ?>
<span class="com-dpcalendar-event__title_reported"><?php echo $this->translate('COM_DPCALENDAR_FIELD_VALUE_REPORTED'); ?></span>
<?php } ?>
<?php if ($this->event->state == -2) { ?>
<span class="com-dpcalendar-event__title_trashed"><?php echo $this->translate('JTRASHED'); ?></span>
<?php } ?>
</h<?php echo $this->heading + 1; ?>>
<div class="com-dpcalendar-event__event-text">
<?php echo $this->event->displayEvent->afterDisplayTitle; ?>
</div>