uawdijnntqw1x1x1
IP : 216.73.216.219
Hostname : webm009.cluster128.gra.hosting.ovh.net
Kernel : Linux webm009.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
chauffn
/
vuzelia
/
2023
/
cf455
/
..
/
plugins
/
system
/
helix3
/
fields
/
modpos.php
/
/
<?php /** * @package Helix3 Framework * @author JoomShaper https://www.joomshaper.com * @copyright (c) 2010 - 2026 JoomShaper * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later */ //no direct accees defined('_JEXEC') or die('resticted aceess'); use Joomla\CMS\Factory; use Joomla\CMS\Form\FormHelper; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Version; FormHelper::loadFieldClass('text'); $version = new Version(); $JoomlaVersion = $version->getShortVersion(); if (version_compare($JoomlaVersion, '4.0.0', '>=')) { JLoader::registerAlias('JFormFieldText', 'Joomla\CMS\Form\Field\TextField'); } /** * Supports a modal article picker. * * @package Joomla.Administrator * @subpackage com_modules * @since 1.6 */ class JFormFieldModPos extends JFormFieldText { /** * The form field type. * * @var string * @since 1.6 */ protected $type = 'ModPos'; /** * Method to get the field input markup. * * @return string The field input markup. * @since 1.6 */ protected function getInput() { $db = Factory::getDbo(); $query = 'SELECT `position` FROM `#__modules` WHERE `client_id`=0 AND ( `published` !=-2 AND `published` !=0 ) GROUP BY `position` ORDER BY `position` ASC'; $db->setQuery($query); $dbpositions = (array) $db->loadAssocList(); $template = $this->form->getValue('template'); $templateXML = JPATH_SITE . '/templates/' . $template . '/templateDetails.xml'; $template = simplexml_load_file($templateXML); $options = []; foreach ($dbpositions as $positions) { $options[] = $positions['position']; } foreach ($template->positions[0] as $position) { $options[] = (string) $position; } $options = array_unique($options); $selectOption = []; sort($selectOption); foreach ($options as $option) { $selectOption[] = HTMLHelper::_('select.option', $option, $option); } return HTMLHelper::_('select.genericlist', $selectOption, 'jform[params][' . $this->element['name'] . ']', 'class="form-select ' . $this->element['class'] . '"', 'value', 'text', $this->value, 'jform_params_helix_' . $this->element['name']); } }
/home/chauffn/vuzelia/2023/cf455/../plugins/system/helix3/fields/modpos.php