Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13984
Modified Files:
rss.php serendipity_functions.inc.php
Log Message:
garvin:
>i would like to ask you to please revert that change.
done
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.447
retrieving revision 1.448
diff -u -d -r1.447 -r1.448
--- serendipity_functions.inc.php 19 Oct 2004 19:34:47 -0000 1.447
+++ serendipity_functions.inc.php 19 Oct 2004 20:29:45 -0000 1.448
@@ -2026,7 +2026,7 @@
return preg_replace($p, $r, $html);
}
-function serendipity_printEntries_rss($entries, $version, $comments = false, $full = false) {
+function serendipity_printEntries_rss($entries, $version, $comments = false) {
global $serendipity;
if (is_array($entries)) {
@@ -2041,10 +2041,7 @@
// Embed a link to extended entry, if existing
if ($entry['exflag']) {
- if ($full === true)
- $ext = htmlspecialchars($entry['extended']);
- else
- $ext = '<br /><a href="' . $guid . '#extended">' . sprintf(VIEW_EXTENDED_ENTRY, htmlspecialchars($entry['title'])) . '</a>';
+ $ext = '<br /><a href="' . $guid . '#extended">' . sprintf(VIEW_EXTENDED_ENTRY, htmlspecialchars($entry['title'])) . '</a>';
} else {
$ext = '';
}
Index: rss.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/rss.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- rss.php 19 Oct 2004 19:34:46 -0000 1.30
+++ rss.php 19 Oct 2004 20:29:44 -0000 1.31
@@ -14,12 +14,6 @@
$serendipity['GET']['category'] = $_GET['category'];
}
-if (isset($_GET['full'])) {
- $full = ($_GET['full'] == "true");
-} else {
- $full = false;
-}
-
if (!isset($_GET['type'])) {
$_GET['type'] = 'content';
}
@@ -225,7 +219,7 @@
die("Invalid RSS version specified\n");
}
-serendipity_printEntries_rss($entries, $version, $comments, $full);
+serendipity_printEntries_rss($entries, $version, $comments);
switch ($version) {
case '0.91':
|