From 7a82f3ef2da0da3d49ae5d013734c29fdcdfe728 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Thu, 18 Aug 2011 16:18:28 +0200 Subject: revise bugfix of unescaped subtitle --- data/templates/default/top.inc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/templates/default/top.inc.php b/data/templates/default/top.inc.php index f2adba4..240e5b2 100644 --- a/data/templates/default/top.inc.php +++ b/data/templates/default/top.inc.php @@ -48,8 +48,10 @@ if(!isset($_GET['popup'])) { ?> '. htmlspecialchars($subtitle) ."\n"; +if (isset($subtitlehtml)) { + echo '

' . $subtitlehtml . "

\n"; +} else if (isset($subtitle)) { + echo '

' . htmlspecialchars($subtitle) . "

\n"; } if(DEBUG_MODE) { echo '

'. T_('Admins, your installation is in "Debug Mode" ($debugMode = true). To go in "Normal Mode" and hide debugging messages, change $debugMode to false into config.php.') ."

\n"; -- cgit v1.2.3