| Server IP : 104.21.84.107 / Your IP : 104.23.243.196 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/idiomas/components/com_dpcalendar/tmpl/locations/ |
Upload File : |
<?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;
use Joomla\CMS\Uri\Uri;
?>
<div class="com-dpcalendar-locations__details com-dpcalendar-locations-limited__details">
<?php foreach ($this->locationGroups as $id => $locations) { ?>
<div class="dp-location-group dp-location-group-<?php echo $id; ?>">
<?php if ($id) { ?>
<h2 class="dp-location-group__label">
<?php echo $this->params->get('locations_output_grouping', 0) != 'country' ? $id : $locations[0]->country_code_value; ?>
</h2>
<?php } ?>
<div class="dp-location-group__locations">
<?php foreach ($locations as $location) { ?>
<?php $description = '<a href="' . $this->router->getLocationRoute($location) . '">' . $location->title . '</a>'; ?>
<div class=dp-location" id="<?php echo 'dp-location-' . $location->id; ?>">
<h<?php echo $id ? 3 : 2; ?> class="dp-heading">
<span class="dp-heading__icon" style="color: #<?php echo $location->color; ?>">
<?php echo $this->layoutHelper->renderLayout('block.icon', ['icon' => Icon::LOCATION]); ?>
</span>
<a href="<?php echo $this->router->getLocationRoute($location, Uri::getInstance()); ?>" class="dp-link">
<?php echo $location->title; ?>
</a>
</h<?php echo $id ? 3 : 2; ?>>
<div class="dp-location__details"
data-latitude="<?php echo $location->latitude; ?>"
data-longitude="<?php echo $location->longitude; ?>"
data-title="<?php echo $location->title; ?>"
data-description="<?php echo $this->escape($description); ?>"
data-color="<?php echo $location->color; ?>">
</div>
</div>
<?php } ?>
</div>
</div>
<?php } ?>
</div>