$lang =& JFactory::getLanguage(); $langTag = $lang->getTag(); // INCLUDE LANGUAGE FILES if (file_exists($mosConfig_absolute_path . '/administrator/components/' . $option . '/language/' . $langTag . '.php')) { include_once $mosConfig_absolute_path . '/administrator/components/' . $option . '/language/' . $langTag . '.php'; } else { include_once $mosConfig_absolute_path . '/administrator/components/' . $option . '/language/en-GB.php'; } require_once JApplicationHelper::getPath('class'); require_once JApplicationHelper::getPath('admin_html'); $cid = JRequest::getVar('cid', array(0), '', 'array'); JArrayHelper::toInteger($cid, array(0)); $catid = JRequest::getVar('catid', 0); // Output HTML_FPSlideShow::showHeader($option, $task); HTML_FPSlideShow::showNavBar($option, $task); switch ($task) { // CONFIG case "save_config": saveConfig($option, $mosConfig_absolute_path); break; case "config": editConfig($fpss_config, $option); break; // CATEGORIES // CATEGORIES case "cancel_category": cancelCategory($option); break; case "categories": showCategories($option);