Modified output code for serendipity_plugin_history to put the body into an additional div.
This commit is contained in:
parent
ca6484ba4c
commit
10fcd252be
@ -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>';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user