Get("Site_Path"); $baseURL = $_SERVER['DOCUMENT_ROOT'].$path_char.$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(); $topic_path = $baseURL.$admin.'/help/topics/'.str_replace(':','@',$section).'.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'); ?>
'.str_replace(':','@',$section).'.txt
' : admin_language('la_help_in_progress'); ?>