Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv23436
Modified Files:
serendipity_functions.inc.php NEWS
Log Message:
Display link to Trackbacks for the page, where you can see a single articles
(archives/...).
When I view a linked entry to any blog I have just made a trackback to, I
like to be able to see the other trackbacks as well, when clicking on the
link. Moveable Type does this, and I'd like to have serendipity display the
trackbacs as well. Currently you have to switch to the date-view, where the
article appears to get a grip of the existing trackbacks.
So, please update your s9y's or comment on this. ;-)
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -d -r1.147 -r1.148
--- serendipity_functions.inc.php 31 Aug 2003 21:41:49 -0000 1.147
+++ serendipity_functions.inc.php 1 Sep 2003 11:10:14 -0000 1.148
@@ -604,12 +604,12 @@
echo ' | <a href="' . $serendipity['serendipityHTTPPath'] . 'comment.php?serendipity[entry_id]=' . $entry['id'] . '&serendipity[type]=comments"';
echo ' onClick="window.open(this.href, \'comments\', \'width=480,height=480,scrollbars=yes\'); return false;">';
echo $label . '(' . $entry['comments'] . ')</a>';
-
- $label = $entry['trackbacks'] == 1 ? TRACKBACK : TRACKBACKS;
- echo ' | <a href="' . $serendipity['serendipityHTTPPath'] . 'comment.php?serendipity[entry_id]=' . $entry['id'] . '&serendipity[type]=trackbacks"';
- echo ' onClick="window.open(this.href, \'comments\', \'width=480,height=480,scrollbars=yes\'); return false;">';
- echo $label . ' (' . $entry['trackbacks'] . ')</a>';
}
+
+ $label = $entry['trackbacks'] == 1 ? TRACKBACK : TRACKBACKS;
+ echo ' | <a href="' . $serendipity['serendipityHTTPPath'] . 'comment.php?serendipity[entry_id]=' . $entry['id'] . '&serendipity[type]=trackbacks"';
+ echo ' onClick="window.open(this.href, \'comments\', \'width=480,height=480,scrollbars=yes\'); return false;">';
+ echo $label . ' (' . $entry['trackbacks'] . ')</a>';
?>
</div>
Index: NEWS
===================================================================
RCS file: /cvsroot/php-blog/serendipity/NEWS,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- NEWS 31 Aug 2003 22:09:47 -0000 1.20
+++ NEWS 1 Sep 2003 11:10:15 -0000 1.21
@@ -2,6 +2,7 @@
Version 0.3 ()
------------------------------------
+ * Display link to trackbacks on single-article view (garvinhicking)
* Enable preview to include extended body (garvinhicking)
* Display author in previewed entry (tomsommer)
* Added option to preview entries (jhermanns)
|