diff --git a/phpBB/posting.php b/phpBB/posting.php index cd041fc62c..2f40ca83d0 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -40,6 +40,7 @@ include($phpbb_root_path . 'includes/message_parser.'.$phpEx); // Start session management $user->start(); $auth->acl($user->data); +$user->setup(); // Grab only parameters needed here $mode = (!empty($_REQUEST['mode'])) ? strval($_REQUEST['mode']) : ''; @@ -1148,8 +1149,6 @@ function topic_review($topic_id, $is_inline_review = false) global $user, $auth, $db, $template, $bbcode; global $censors, $config, $phpbb_root_path, $phpEx, $SID; - $user->setup(); - // Define censored word matches if (empty($censors)) { @@ -1235,6 +1234,7 @@ function topic_review($topic_id, $is_inline_review = false) 'POSTER_NAME' => $poster, 'POST_DATE' => $user->format_date($row['post_time']), 'POST_SUBJECT' => $post_subject, + 'POST_ID' => $row['post_id'], 'MESSAGE' => nl2br($message), 'S_ROW_COUNT' => $i++) diff --git a/phpBB/templates/subSilver/editor.js b/phpBB/templates/subSilver/editor.js index 0ef736c94a..3bcd035346 100644 --- a/phpBB/templates/subSilver/editor.js +++ b/phpBB/templates/subSilver/editor.js @@ -84,6 +84,7 @@ function bbstyle(bbnumber) { donotinsert = false; theSelection = false; bblast = 0; + document.forms[form_name].elements[text_name].focus(); if (bbnumber == -1) { // Close all open tags & default button names while (bbcode[0]) { diff --git a/phpBB/templates/subSilver/posting_topic_review.html b/phpBB/templates/subSilver/posting_topic_review.html index 1ffbf5d7dc..14025cf8b7 100644 --- a/phpBB/templates/subSilver/posting_topic_review.html +++ b/phpBB/templates/subSilver/posting_topic_review.html @@ -5,12 +5,58 @@ {L_TOPIC_REVIEW} -