From 242e2351c19bc332a07ae7f6a6d6c8229366c098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 3 Sep 2004 12:10:07 +0000 Subject: Escape theme names (bug #1016608). --- themes.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'themes.php') diff --git a/themes.php b/themes.php index ae85f1a69c..a210a67439 100644 --- a/themes.php +++ b/themes.php @@ -106,7 +106,7 @@ if ($handleThemes = opendir($path_to_themes)) { // open themes ' . $theme_name . ''; + echo '' . htmlspecialchars($theme_name) . ''; ?> @@ -119,17 +119,17 @@ if ($handleThemes = opendir($path_to_themes)) { // open themes if (document.getElementById) { document.write('style="border: 1px solid #000000;" '); } - document.write('alt=" - Theme" '); - document.write('title=" - Theme" />'); + document.write('alt=" - Theme" '); + document.write('title=" - Theme" />'); document.write('
'); document.write('[ '); - document.write(''); + document.write(''); document.write(' ]'); //--> -- cgit v1.2.3