web: show title in thread preview

Why did it take me 15 years to do this?
This commit is contained in:
David Anderson 2018-04-28 00:19:59 -07:00
parent ddedde6c1f
commit 1788e03188
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ echo "<p></p>";
if ($preview == tra("Preview")) {
panel(tra('Preview'),
function() use($content) {
function() use($content, $title) {
echo "<span class=lead>$title</span><p>\n";
echo output_transform($content, null);
}
);