Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30688
Modified Files:
serendipity_functions.inc.php
Log Message:
reverted tom's patch from 1.361 to 1.362 - this seriously breaks themes (at
least default theme) when more than one entry is made on a single day.
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.364
retrieving revision 1.365
diff -u -d -r1.364 -r1.365
--- serendipity_functions.inc.php 26 Jul 2004 03:23:06 -0000 1.364
+++ serendipity_functions.inc.php 26 Jul 2004 12:49:07 -0000 1.365
@@ -1187,7 +1187,7 @@
<h4 class="serendipity_title"><a href="<?php echo $entryLink; ?>"><?php echo htmlspecialchars($entry['title']); ?></a></h4>
<div class="serendipity_entry">
- <?php
+<?php
if (is_array($entry['categories'])) {
$icon_string = '';
foreach ($entry['categories'] as $cat) {
@@ -1199,9 +1199,9 @@
echo '<span class="serendipity_entryIcon">' . $icon_string . '</span>';
}
}
- ?>
+?>
<div class="<?php echo $extended_css; ?>"><?php echo $entry['body']; ?></div>
- <?php echo $html_extended; ?>
+ <?php echo $html_extended; ?>
<div class='serendipity_entryFooter'>
<?php
@@ -1267,15 +1267,11 @@
dc:identifier="<?php echo serendipity_archiveURL($entry['id'], $entry['title'], 'baseURL', false); ?>" />
</rdf:RDF>
-->
- <?php
-
- $eventData = array_merge(array('display_dat' => ''), $entry);
- serendipity_plugin_api::hook_event('frontend_display:html:per_entry', $eventData);
- echo $eventData['display_dat'];
-
- ?>
-</div>
<?php
+ $eventData = array_merge(array('display_dat' => ''), $entry);
+ serendipity_plugin_api::hook_event('frontend_display:html:per_entry', $eventData);
+ echo $eventData['display_dat'];
+
if (isset($serendipity['GET']['id'])) {
/********** MESSAGES *********/
@@ -1389,6 +1385,7 @@
}
} // end for-loop (entries)
?>
+ </div>
<?php
} // end for-loop (dates)
|