Update of /cvsroot/php-blog/serendipity/templates/newspaper
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16673/templates/newspaper
Modified Files:
Tag: branch_0_6
layout.php
Log Message:
Use Content-Type headers for all pages (including admin area).
Use htmlspecialchars() instead of htmlentities() to not encode native characters.
Index: layout.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/templates/newspaper/layout.php,v
retrieving revision 1.9
retrieving revision 1.9.4.1
diff -u -d -r1.9 -r1.9.4.1
--- layout.php 24 Mar 2004 20:02:16 -0000 1.9
+++ layout.php 7 Apr 2004 12:38:36 -0000 1.9.4.1
@@ -29,7 +29,7 @@
<tr>
<td colspan="3" width="100%" class="serendipityBanner">
<div id="serendipity_banner">
- <h1><a class="homelink1" href="<?php echo $serendipity['baseURL']; ?>"><?php echo htmlentities($serendipity['blogTitle']); ?></a></h1>
+ <h1><a class="homelink1" href="<?php echo $serendipity['baseURL']; ?>"><?php echo htmlspecialchars($serendipity['blogTitle']); ?></a></h1>
<h2>
<?php
$sub = isset($serendipity['blogSubTitle']) ? $serendipity['blogSubTitle'] : $serendipity['blogDescription'];
|