Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv874
Modified Files:
serendipity.css.php serendipity_functions.inc.php
Log Message:
Minor bugfix:
* use compat.php in serendipity.css.php for installation on machines with PHP < 4.3.x [file_get_contents]
* Removed invalid '#' from <a (name|id)='#anchorname'>.
Index: serendipity.css.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity.css.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- serendipity.css.php 10 Aug 2003 18:10:00 -0000 1.21
+++ serendipity.css.php 11 Feb 2004 12:23:12 -0000 1.22
@@ -1,5 +1,6 @@
<?php # $Id$
+include_once('compat.php');
header('Content-type: text/css');
function serendipity_printStylesheet($file) {
global $serendipity;
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.202
retrieving revision 1.203
diff -u -d -r1.202 -r1.203
--- serendipity_functions.inc.php 10 Feb 2004 15:48:45 -0000 1.202
+++ serendipity_functions.inc.php 11 Feb 2004 12:23:12 -0000 1.203
@@ -746,7 +746,7 @@
$html_extended = '';
if ($extended && strlen($entry['extended'])) {
- $html_extended = '<a ' . ($serendipity['XHTML11'] ? 'id' : 'name') . '="#extended"></a>';
+ $html_extended = '<a ' . ($serendipity['XHTML11'] ? 'id' : 'name') . '="extended"></a>';
$html_extended .= nl2br(serendipity_emoticate(serendipity_markup_text($entry['extended'], $entry['id'])));
}
|