Get("Site_Path"); $baseURL = $pathtoroot; //.$objConfig->Get("Site_Path"); $admin = $objConfig->Get("AdminDirectory"); if(!strlen($admin)) $admin = "admin"; $localURL=$rootURL."kernel/"; $adminURL = $rootURL.$admin; $imagesURL = $adminURL."/images"; //admin only util $pathtolocal = $pathtoroot."kernel/"; require_once ($pathtoroot.$admin."/include/elements.php"); //require_once ($pathtoroot."kernel/admin/include/navmenu.php"); //require_once ($pathtolocal."admin/include/navmenu.php"); require_once($pathtoroot.$admin."/toolbar.php"); $section = $_REQUEST["section"]; $envar = BuildEnv(); int_help_header(); $section = explode(':', $section); if($section[0] == 'in-portal') $section[0] = 'kernel'; $topic_path = $baseURL.$section[0].'/'.$admin.'/include/help/'.$section[1].'.txt'; // for debugging: save new help content if( GetVar('action') == 'save_help' ) { error_reporting(E_ALL); $fp = fopen($topic_path, 'w'); fwrite($fp, stripslashes(GetVar('help_content')) ); fclose($fp); } $help_data = file_exists($topic_path) ? file_get_contents($topic_path) : GetVar('help_content'); if($section[0] == 'kernel') $section[0] = 'in-portal'; ?>
'.$section[1].'.txt
' : admin_language('la_help_in_progress'); ?>