diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-08-18 16:18:28 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-09-05 18:51:26 +0200 |
commit | 7a82f3ef2da0da3d49ae5d013734c29fdcdfe728 (patch) | |
tree | 44fe643318104a39cfdc2335b7763852a6b42201 /data/templates/default | |
parent | 000daf70ca8e3301b88be310949d4cd6cbadce4e (diff) | |
download | semanticscuttle-7a82f3ef2da0da3d49ae5d013734c29fdcdfe728.tar.gz semanticscuttle-7a82f3ef2da0da3d49ae5d013734c29fdcdfe728.tar.bz2 |
revise bugfix of unescaped subtitle
Diffstat (limited to 'data/templates/default')
-rw-r--r-- | data/templates/default/top.inc.php | 6 |
1 files changed, 4 insertions, 2 deletions
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'])) { ?></div> <?php -if (isset($subtitle)) { - echo '<h2>'. htmlspecialchars($subtitle) ."</h2>\n"; +if (isset($subtitlehtml)) { + echo '<h2>' . $subtitlehtml . "</h2>\n"; +} else if (isset($subtitle)) { + echo '<h2>' . htmlspecialchars($subtitle) . "</h2>\n"; } if(DEBUG_MODE) { echo '<p class="error">'. 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.') ."</p>\n"; |