diff --git a/web/template/footer.php b/web/template/footer.php index 435de5c7..0948f686 100644 --- a/web/template/footer.php +++ b/web/template/footer.php @@ -2,7 +2,7 @@ $ver"; + echo "
" . htmlspecialchars($ver) . "
"; } ?> diff --git a/web/template/header.php b/web/template/header.php index 578fcb9a..8749dae6 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -2,7 +2,7 @@ "> + xml:lang="" lang=""> AUR (<?php print htmlspecialchars($LANG); ?>)<?php if ($title != "") { print " - " . htmlspecialchars($title); } ?> @@ -52,8 +52,8 @@ reset($SUPPORTED_LANGS); foreach ($SUPPORTED_LANGS as $lang => $lang_name) { print '" - . strtolower($lang) . "\n"; + ."?setlang=" . htmlspecialchars($lang, ENT_QUOTES) . "\" title=\"" . htmlspecialchars($lang_name, ENT_QUOTES) . "\">" + . htmlspecialchars(strtolower($lang)) . "\n"; } ?>