Index: trunk/admin/help/help.php =================================================================== diff -u -r41 -r49 --- trunk/admin/help/help.php (.../help.php) (revision 41) +++ trunk/admin/help/help.php (.../help.php) (revision 49) @@ -85,8 +85,11 @@ $envar = BuildEnv(); int_help_header(); -$topic_path = $baseURL.$admin.'/help/topics/'.str_replace(':','@',$section).'.txt'; +$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' ) { @@ -107,7 +110,7 @@ if( file_exists($topic_path) ) echo $help_data; else - echo defined('DEBUG_HELP') ? 'missing section help file <b>'.str_replace(':','@',$section).'.txt</b><br>' : admin_language('la_help_in_progress'); + echo defined('DEBUG_HELP') ? 'missing section help file <b>'.$section[1].'.txt</b><br>' : admin_language('la_help_in_progress'); ?> </div> @@ -118,7 +121,7 @@ <br><input type="button" onclick="document.save_help.submit();" value="Save Changes" style="font-weight: bolder; background-color: #F6F6F6;"><br> <form name="save_help" id="save_help" method="post" action="<?php echo $_SERVER['PHP_SELF'].'?env='.$envar; ?>"> <textarea id="help_content" name="help_content" rows="15" cols="85"><?php echo $help_data; ?></textarea> - <input type="hidden" name="section" value="<?php echo $section; ?>"> + <input type="hidden" name="section" value="<?php echo implode(':',$section); ?>"> <input type="hidden" name="action" value="save_help"> <?php if( GetVar('help_usage') ) { ?> <input type="hidden" name="help_usage" value="<?php echo GetVar('help_usage'); ?>">