From 10fcd252bebb2805acf10693a30f686ef7312e61 Mon Sep 17 00:00:00 2001 From: Matthias Mees <mm@yellowled.de> Date: Mon, 14 Apr 2008 05:07:06 +0000 Subject: [PATCH] Modified output code for serendipity_plugin_history to put the body into an additional div. --- .../serendipity_plugin_history/serendipity_plugin_history.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/serendipity_plugin_history/serendipity_plugin_history.php b/plugins/serendipity_plugin_history/serendipity_plugin_history.php index 6b39f53d..b6b8e3a3 100644 --- a/plugins/serendipity_plugin_history/serendipity_plugin_history.php +++ b/plugins/serendipity_plugin_history/serendipity_plugin_history.php @@ -190,8 +190,8 @@ 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 '<div class="serendipity_history_info"><span class="serendipity_history_author">' . $author . '</span> <span class="serendipity_history_date">'. $date . "</span> <a href='$url' title='".str_replace("'", '`', htmlspecialchars($e[$x]['title']))."'>". htmlspecialchars($t) . '</a></div>' . - strip_tags($e[$x]['body']) . '<br />'; + echo '<div class="serendipity_history_info"><span class="serendipity_history_author">' . $author . '</span> <span class="serendipity_history_date">'. $date . "</span> <a href='$url' title='".str_replace("'", '`', htmlspecialchars($e[$x]['title']))."'>". htmlspecialchars($t) . '</a></div>' . '<div class="serendipity_history_body">' . + strip_tags($e[$x]['body']) . '</div>'; } echo (empty($outro)) ? '' : '<div class="serendipity_history_outro">' . $outro . '</div>'; }