X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fpage%2Fheader.inc;fp=includes%2Fpage%2Fheader.inc;h=7777dae422e66241483f09f5f2800e6160442949;hb=ab17153bb10c41e7fc40ac948708f1fe14d7d117;hp=ec80dc160973052d407325a37d60e7e951cc453c;hpb=d9686aaa821f1c1d55965ae165209f435ca4fcce;p=fa-stable.git diff --git a/includes/page/header.inc b/includes/page/header.inc index ec80dc16..7777dae4 100644 --- a/includes/page/header.inc +++ b/includes/page/header.inc @@ -40,9 +40,10 @@ function help_url($context=null) if ($clean) $help_page_url = access_string($help_page_url, true); - return htmlspecialchars($SysPrefs->help_base_url + return html_specials_encode( + $SysPrefs->help_base_url .urlencode(strtr(ucwords($help_page_url), array(' '=>'', '/'=>'', '&'=>'And'))) - .'&ctxhelp=1&lang='.$country, ENT_QUOTES); + .'&ctxhelp=1&lang='.$country); } function send_css($css = '')