diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-08 10:59:36 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-08 10:59:36 +0000 |
| commit | 4306d4d083d50e9ef7ed01260aa95ea4ac453dee (patch) | |
| tree | bd3b63b6a2c30c131790f6b7dd28edddb04589c1 /phpBB/posting.php | |
| parent | 0e7adebad6e61c066b52e5480d5aa36a23571388 (diff) | |
| download | forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.tar forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.tar.gz forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.tar.bz2 forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.tar.xz forums-4306d4d083d50e9ef7ed01260aa95ea4ac453dee.zip | |
- fix some smaller bugs
- removed custom profiles preview field from acp
git-svn-id: file:///svn/phpbb/trunk@6022 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index f8333b5cbd..1ad35959e4 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -248,7 +248,7 @@ if ($mode == 'bump') markread('post', $forum_id, $topic_id, $current_time); - add_log('mod', $forum_id, $topic_id, sprintf($user->lang['LOGM_BUMP'], $post_data['topic_title'])); + add_log('mod', $forum_id, $topic_id, 'LOG_BUMP_TOPIC', $post_data['topic_title']); $meta_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&t=$topic_id&p={$post_data['topic_last_post_id']}") . "#p{$post_data['topic_last_post_id']}"; meta_refresh(3, $meta_url); @@ -958,12 +958,12 @@ if (!sizeof($error) && $preview) $post_data['bbcode_uid'] = ($mode == 'quote' && !$preview && !$refresh && !sizeof($error)) ? $post_data['bbcode_uid'] : $message_parser->bbcode_uid; $message_parser->decode_message($post_data['bbcode_uid']); -if ($mode == 'quote' && !$preview && !$refresh) +if ($mode == 'quote' && !$submit && !$preview && !$refresh) { $message_parser->message = '[quote="' . $post_data['quote_username'] . '"]' . censor_text(trim($message_parser->message)) . "[/quote]\n"; } -if (($mode == 'reply' || $mode == 'quote') && !$preview && !$refresh) +if (($mode == 'reply' || $mode == 'quote') && !$submit && !$preview && !$refresh) { $post_data['post_subject'] = ((!preg_match('/^Re:/', $post_data['post_subject'])) ? 'Re: ' : '') . censor_text($post_data['post_subject']); } |
