Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6838
Modified Files:
serendipity_functions.inc.php NEWS
Log Message:
Fix leftover from rewrite of... rewrite rules :)
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -d -r1.207 -r1.208
--- serendipity_functions.inc.php 14 Feb 2004 18:20:52 -0000 1.207
+++ serendipity_functions.inc.php 14 Feb 2004 18:56:23 -0000 1.208
@@ -774,7 +774,7 @@
<div class='serendipity_entryFooter'>
<?php
- echo ' ' . POSTED_BY . ' ' . htmlentities($entry['username']) . ($entry['category_name'] ? ' ' . IN . ' <a href="' . $serendipity['serendipityHTTPPath'] . ($serendipity['rewrite'] == 'true' ? $serendipity['indexFile'] . '?/' : '') . 'categories/' . $entry['categoryid'] . '_' . serendipity_makeFilename($entry['category_name']) . '">' . $entry['category_name'] . '</a> ' : ' ') . AT . ' <a href="' . $entryLink . '">' . date('H:i', $entry['timestamp']) . '</a>'. "\n";
+ echo ' ' . POSTED_BY . ' ' . htmlentities($entry['username']) . ($entry['category_name'] ? ' ' . IN . ' <a href="' . $serendipity['serendipityHTTPPath'] . ($serendipity['rewrite'] == 'none' ? $serendipity['indexFile'] . '?/' : '') . 'categories/' . $entry['categoryid'] . '_' . serendipity_makeFilename($entry['category_name']) . '">' . $entry['category_name'] . '</a> ' : ' ') . AT . ' <a href="' . $entryLink . '">' . date('H:i', $entry['timestamp']) . '</a>'. "\n";
if (serendipity_db_bool($entry['allow_comments']) || !isset($entry['allow_comments']) || $entry['comments'] > 0) {
if (!isset($serendipity['GET']['id'])) {
Index: NEWS
===================================================================
RCS file: /cvsroot/php-blog/serendipity/NEWS,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- NEWS 14 Feb 2004 18:35:31 -0000 1.70
+++ NEWS 14 Feb 2004 18:56:23 -0000 1.71
@@ -2,6 +2,7 @@
Version 0.5.1 ()
------------------------------------
+ * Fixed wrong link to entry when not using any rewrite rule (tomsommer & AlfaTeK)
* Changed type of DB password to 'protected' to avoid it being displayed a plaintext (tomsommer)
* Added danish language file (tomsommer & Jeppe Lund)
* Added notice when using a wrong username or password to gain access to admin/author suites (tomsommer)
|