global $ff_mossite, $ff_admsite, $ff_admicon, $ff_comsite; global $ff_config, $ff_compatible, $ff_install; $mainframe = JFactory::getApplication(); // load ff stuff and get config require_once($ff_compath.'/facileforms.class.php'); require_once($ff_admpath.'/admin/config.class.php'); $ff_config = new facileFormsConfig(); initFacileForms(); $ff_admsite = $ff_mossite.'/administrator'.$comppath; $ff_admicon = $ff_admsite.'/images/icons'; // load html file require_once($ff_admpath.'/toolbar.facileforms.html.php'); $ff_compatible = true; if ($ff_compatible) { // check for post installation tasks if ($act != 'installation') $ff_install = !file_exists($ff_compath.'/facileforms.config.php'); if (!$ff_install) switch ($act) { case 'configuration': if ($task == 'instpackage') menuFacileForms::INSTPACKAGE_MENU(); break; } // switch } // if ?>