Editet history plugin to only admit serendipity_history_body if corresponding config option is actually true.
This commit is contained in:
parent
6871d8c01a
commit
73de613a24
@ -196,7 +196,8 @@ class serendipity_plugin_history extends serendipity_plugin
|
||||
$e[$x]['title'] :
|
||||
(trim(serendipity_mb('substr', $e[$x]['title'], 0, $maxlength-3)).' [...]');
|
||||
echo '<a href="' . $url . '" title="' . str_replace("'", "`", htmlspecialchars($e[$x]['title'])) . '">"' . htmlspecialchars($t) . '"</a></div>"';
|
||||
echo '<div class="serendipity_history_body">' . strip_tags($e[$x]['body']) . '</div>';
|
||||
if ($full)
|
||||
{ echo '<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