From: yellowled Date: Mon, 14 Apr 2008 04:45:39 +0000 (+0000) Subject: Modified output code for serendipity_plugin_history. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3abb1327e260f19111f7d8b779d9e0661d26ba0e;p=s9y.git Modified output code for serendipity_plugin_history. --- diff --git a/plugins/serendipity_plugin_history/serendipity_plugin_history.php b/plugins/serendipity_plugin_history/serendipity_plugin_history.php index 80e129b..6006c33 100644 --- a/plugins/serendipity_plugin_history/serendipity_plugin_history.php +++ b/plugins/serendipity_plugin_history/serendipity_plugin_history.php @@ -168,7 +168,7 @@ class serendipity_plugin_history extends serendipity_plugin $e = serendipity_fetchEntries(array(($mints-$max_age*86400), ($maxts-$min_age*86400)), $full, $max_entries); $serendipity['fetchLimit'] = $oldLim; - echo (empty($intro)) ? '' : "$intro
"; + echo (empty($intro)) ? '' : '
' . $intro . '
' . "\n"; if (!is_array($e)) { return false; @@ -190,10 +190,10 @@ class serendipity_plugin_history extends serendipity_plugin $t = ($maxlength==0 || strlen($e[$x]['title'])<=$maxlength) ? $e[$x]['title'] : (trim(serendipity_mb('substr', $e[$x]['title'], 0, $maxlength-3)).' [...]'); - echo $author . $date . "". htmlspecialchars($t) ." " . + echo '
' . $author . ' '. $date . " ". htmlspecialchars($t) . '
' . strip_tags($e[$x]['body']) . '
'; } - echo $outro; + echo '
' . $outro . '
'; } }