--- mambo/branches/4.6/administrator/includes/menubar.html.php 2006/05/27 03:42:35 549 +++ mambo/branches/4.6/administrator/includes/menubar.html.php 2006/05/29 17:21:00 550 @@ -352,10 +352,13 @@ $url = $helpUrl . '/index2.php?option=com_content&task=findkey&pop=1&keyref=' . urlencode( $ref ); } else {*/ $url = $mosConfig_live_site . '/help/'; + $option = $GLOBALS['option']; + if (substr($option,0,4) != 'com_') $option = "com_$option"; + $component = substr($option, 4); if ($com) { - $url = $mosConfig_live_site . '/administrator/components/' . $GLOBALS['option'] . '/help/'; + $url = $mosConfig_live_site . '/administrator/components/' . $option . '/help/'; } - $ref = $ref . '.html'; + $ref = $component.'.'.$ref . '.html'; $url .= $ref; #if (!file_exists($rootpath.'/help/'.$ref)) return false;