* @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html * Author: J.O.O.M Solutions Co., Ltd * Websites: http://www.joomlart.com - http://www.joomlancers.com * ------------------------------------------------------------------------ */ // No direct access defined('_JEXEC') or die; //t3import('core.admin.util'); $obj = new JAT3_AdminUtil(); // Check template use old or new folder structure $isNewFolderStruct = $obj->checkUseNewFolderStructure(); $uri = str_replace(DS, "/", str_replace(JPATH_SITE, JURI::base(), dirname(__FILE__))); $uri = str_replace("/administrator", "", $uri); $template = $obj->template; $name = 'pages_profile'; $profiles = $obj->getProfiles(); $pageids = $obj->getPageIds($name); $langlist = $obj->getLanguageList(); jimport('joomla.filesystem.file'); $jsonData = $profiles; $configfile = dirname(__FILE__) . DS . 'config.xml'; if (file_exists($configfile)) { /* For General Tab */ $generalconfig = $obj->getGeneralConfig(); $configform = JForm::getInstance('general', $configfile, array('control' => 'jform')); // $params = new JParameter($generalconfig); // Strict standards: Declaration of JParameter::loadSetupFile() should be compatible with that of JRegistry::loadSetupFile() $params = $generalconfig; if (!$generalconfig instanceof JRegistry) { $params = new JRegistry($generalconfig); }