| Server IP : 46.105.57.169 / Your IP : 216.73.216.84 Web Server : Apache System : Linux webd003.cluster120.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 : maitricfuz ( 93378) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/m/a/i/maitricfuz/www/saint-martin-lg/modules/mod_spaccordion/fields/ |
Upload File : |
<?php
/**
* @author Tassos Marinos <info@tassos.gr>
* @link http://www.tassos.gr
* @copyright Copyright © 2020 Tassos Marinos All Rights Reserved
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later
*/
// No direct access to this file
defined('_JEXEC') or die;
require_once JPATH_PLUGINS . '/system/nrframework/fields/nrtoggle.php';
use Joomla\CMS\Language\Text;
use NRFramework\Extension;
class JFormFieldSPFAQSchemaToggle extends JFormFieldNRToggle
{
/**
* Method to get the field input markup.
*
* @return string The field input markup.
*/
public function getInput()
{
// If GSD Pro is not installed and activated abort
if (!Extension::isInstalled('gsd', 'plugin') || !Extension::isPro('plg_system_gsd'))
{
return '<div class="alert alert-warning">' . Text::_('SPACCORDION_SCHEMA_GSD_MISSING') . '</div>';
}
return parent::getInput();
}
}