From 1788e03188b1c9b8ba4bc5614a7985067d754c33 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 28 Apr 2018 00:19:59 -0700 Subject: [PATCH] web: show title in thread preview Why did it take me 15 years to do this? --- html/user/forum_post.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/user/forum_post.php b/html/user/forum_post.php index 6f748e7f65..a05658d629 100644 --- a/html/user/forum_post.php +++ b/html/user/forum_post.php @@ -96,7 +96,8 @@ echo "

"; if ($preview == tra("Preview")) { panel(tra('Preview'), - function() use($content) { + function() use($content, $title) { + echo "$title

\n"; echo output_transform($content, null); } );