diff --git a/html/forum/reply.php b/html/forum/reply.php index 9ba73509c5..0f1e61c08b 100644 --- a/html/forum/reply.php +++ b/html/forum/reply.php @@ -1,6 +1,7 @@ reply($user->id, $_POST['content'], $parent_post); @@ -31,10 +31,8 @@ if (empty($_SESSION['authenticator'])) doHeader('Forum'); if (!empty($_GET['post'])) { - $postId = $_GET['post']; -} else { - $postId = -1; -} + $post = getPost($_GET['post']); +} $thread = getThread($_GET['thread']); $forum = getForum($thread->forum); @@ -53,41 +51,14 @@ $logged_in_user = get_logged_in_user(true);
- has_profile) { ?> - name ?> - name; } ?> -
-
- Joined: create_time) ?>
-
Posts: posts ?>
-
Posted: timestamp) ?>
-content)) ?>
-Your Message
+Your Message"; + if ($post) echo " in response to id>Message ID $post->id"; + echo "
"; @@ -134,4 +111,16 @@ Joined: ", date('M j, Y', $logged_in_user->create_time), " echo "