diff options
| author | James Atkinson <thefinn@users.sourceforge.net> | 2001-05-27 03:11:27 +0000 |
|---|---|---|
| committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-05-27 03:11:27 +0000 |
| commit | 9889b8ba53ca33e81b8731d52960bf5c5057be00 (patch) | |
| tree | 186b3b2f5b56bf476f954434491baf33ad0f2f6c /phpBB/viewtopic.php | |
| parent | 1fc155f93d658c8d390a7edd8182262c10549d51 (diff) | |
| download | forums-9889b8ba53ca33e81b8731d52960bf5c5057be00.tar forums-9889b8ba53ca33e81b8731d52960bf5c5057be00.tar.gz forums-9889b8ba53ca33e81b8731d52960bf5c5057be00.tar.bz2 forums-9889b8ba53ca33e81b8731d52960bf5c5057be00.tar.xz forums-9889b8ba53ca33e81b8731d52960bf5c5057be00.zip | |
More work on posting. Editing now works. Also replies can have subjects.
git-svn-id: file:///svn/phpbb/trunk@336 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
| -rw-r--r-- | phpBB/viewtopic.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 3818e2d6b0..23c6e7a1a4 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -201,7 +201,7 @@ if(!isset($start)) $start = 0; } -$sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, p.post_time, p.post_id, p.bbcode_uid, pt.post_text +$sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, p.post_time, p.post_id, p.bbcode_uid, pt.post_text, pt.post_subject FROM ".POSTS_TABLE." p, ".USERS_TABLE." u, ".POSTS_TEXT_TABLE." pt WHERE p.topic_id = $topic_id AND p.poster_id = u.user_id @@ -321,6 +321,7 @@ for($x = 0; $x < $total_posts; $x++) $delpost_img = "<a href=\"".append_sid("topicadmin.$phpEx?mode=delpost$post_id=".$postrow[$x]['post_id'])."\"><img src=\"".$images['delpost']."\" alt=\"$l_delete\" border=\"0\"></a>"; } + $post_subject = stripslashes($postrow[$x]['post_subject']); $message = stripslashes($postrow[$x]['post_text']); $bbcode_uid = $postrow[$x]['bbcode_uid']; $user_sig = stripslashes($postrow[$x]['user_sig']); @@ -365,6 +366,7 @@ for($x = 0; $x < $total_posts; $x++) "POSTER_POSTS" => $poster_posts, "POSTER_FROM" => $poster_from, "POST_DATE" => $post_date, + "POST_SUBJECT" => $post_subject, "MESSAGE" => $message, "PROFILE_IMG" => $profile_img, "EMAIL_IMG" => $email_img, |
