| Server IP : 87.98.154.146 / Your IP : 216.73.216.101 Web Server : Apache System : Linux webm005.cluster126.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 User : bsiadvisil ( 110003) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/bsiadvisil/www/plugins/content/nexevocontact/ |
Upload File : |
<?php defined("_JEXEC") or die('Restricted access');
/**
@Nexevo Responsive Conact Form
@author Nexevo Technologies <info@nexevo.in>
@link http://www.Nexevo.in
@copyright (C) 2010 - 2011 Nexevo-Extension
@license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
class plgContentnexevocontact extends JPlugin
{
function onContentPrepareForm($form, $data)
{
$is_module = is_object($data) && isset($data->module) && $data->module == "mod_nexevocontact";
$is_menu_item = is_array($data) && isset($data["request"]["option"]) && $data["request"]["option"] == "com_nexevocontact";
$language = JFactory::getLanguage();
$enGB = $language->get("tag") == $language->getDefault();
if ($is_module || ($is_menu_item && !$enGB))
{
$component_name = "com_" . basename(realpath(dirname(__FILE__)));
$language->load($component_name, JPATH_ADMINISTRATOR, $language->getDefault(), true);
$language->load($component_name, JPATH_ADMINISTRATOR, null, true);
}
return true;
}
}