projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged changes from stable branch up to 2.3.23.
[fa-stable.git]
/
includes
/
page
/
header.inc
diff --git
a/includes/page/header.inc
b/includes/page/header.inc
index 880c03f449489eb4ac4729bfbb63327ce3741dd2..721ba242d258ad3a6cc495054b40a2b170ef3f41 100644
(file)
--- a/
includes/page/header.inc
+++ b/
includes/page/header.inc
@@
-40,9
+40,9
@@
function help_url($context=null)
if ($clean)
$help_page_url = access_string($help_page_url, true);
if ($clean)
$help_page_url = access_string($help_page_url, true);
- return $SysPrefs->help_base_url
+ return
htmlspecialchars(
$SysPrefs->help_base_url
.urlencode(strtr(ucwords($help_page_url), array(' '=>'', '/'=>'', '&'=>'And')))
.urlencode(strtr(ucwords($help_page_url), array(' '=>'', '/'=>'', '&'=>'And')))
- .'&ctxhelp=1&lang='.$country;
+ .'&ctxhelp=1&lang='.$country
, ENT_QUOTES)
;
}
function send_scripts()
}
function send_scripts()
@@
-122,7
+122,7
@@
function page_header($title, $no_menu=false, $is_index=false, $onload="", $js=""
$encoding = $_SESSION['language']->encoding;
if (!headers_sent()){
$encoding = $_SESSION['language']->encoding;
if (!headers_sent()){
- header("Content-type: text/html; charset=
'$encoding'
");
+ header("Content-type: text/html; charset=
$encoding
");
}
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n";
echo "<html dir='" . $_SESSION['language']->dir . "' >\n";
}
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n";
echo "<html dir='" . $_SESSION['language']->dir . "' >\n";