From 4e4db4133bb7bdbc99d83934081b0315c461861a Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sun, 4 Nov 2012 16:49:47 +0100 Subject: header.php: Do not lowercase language selection entries Commit 091c2b5f5523773604699b914c19e6b02ce290bc introduced lower casing to the language drop-down list. Revert this and use htmlspecialchars() to escape language entries instead. Addresses FS#32453. Signed-off-by: Lukas Fleischer --- web/template/header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/template/header.php') diff --git a/web/template/header.php b/web/template/header.php index a60174b3..92cb2ff8 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -37,9 +37,9 @@ reset($SUPPORTED_LANGS); foreach ($SUPPORTED_LANGS as $lang => $lang_name) { - print '\n"; + '>' . htmlspecialchars($lang) . "\n"; } ?> -- cgit v1.2.3-24-g4f1b