| 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/html/pregrados/ingenieria-agronomica/templates/g5_helium/fields/ |
Upload File : |
<?php
/**
* @package Gantry 5 Theme
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2022 RocketTheme, LLC
* @license GNU/GPLv2 and later
*
* http://www.gnu.org/licenses/gpl-2.0.html
*/
use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;
/**
* Class JFormFieldWarning
*/
class JFormFieldWarning extends JFormField
{
/** @var string */
protected $type = 'Warning';
/**
* @return string
* @throws Exception
*/
protected function getInput()
{
$app = Factory::getApplication();
if ($app->isClient('administrator')) {
$app->enqueueMessage(Text::_('GANTRY5_THEME_INSTALL_GANTRY'), 'error');
} else {
$app->enqueueMessage(Text::_('GANTRY5_THEME_FRONTEND_SETTINGS_DISABLED'), 'warning');
}
return '';
}
}