diff options
author | Nils Adermann <naderman@naderman.de> | 2007-04-15 21:40:25 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2007-04-15 21:40:25 +0000 |
commit | c76a2cdfe867952c3b1087a585589debc0b5d648 (patch) | |
tree | c6fab56488507014529675db2a0b361f64273f36 /phpBB/viewtopic.php | |
parent | 6e92276b87ee57b45598cb559ebce7db999ce3ac (diff) | |
download | forums-c76a2cdfe867952c3b1087a585589debc0b5d648.tar forums-c76a2cdfe867952c3b1087a585589debc0b5d648.tar.gz forums-c76a2cdfe867952c3b1087a585589debc0b5d648.tar.bz2 forums-c76a2cdfe867952c3b1087a585589debc0b5d648.tar.xz forums-c76a2cdfe867952c3b1087a585589debc0b5d648.zip |
- viewtopic/forum search boxes should also use search config option and u_search permission [Bug #9850]
- mcp_reports was still using some of the mcp_queue post_id logic, changed enough to report_id logic to make it work properly now. I hope I didn't miss any external places referring to mcp_reports which send it a post_id_list. I really wonder whether people don't test the MCP at all? Good that I noticed this myself when fixing an incorrect language string (No reports selected) message [Bug #9741]
- forgot to check in the changed mcp/info file for mcp_warn with global m_warn option
- mcp_post.html was missing a submit button for changing the poster in prosilver [Bug #9771]
- language variables in javascript in templates should use LA_ not L_ for proper escaping of single quotes
git-svn-id: file:///svn/phpbb/trunk@7361 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 1da4d75fbb..fc323454ee 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -573,7 +573,7 @@ $template->assign_vars(array( 'S_TOPIC_MOD' => ($topic_mod != '') ? '<select name="action">' . $topic_mod . '</select>' : '', 'S_MOD_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", "t=$topic_id&f=$forum_id&quickmod=1&redirect=" . urlencode(str_replace('&', '&', $viewtopic_url)), true, $user->session_id), - 'S_DISPLAY_SEARCHBOX' => ($auth->acl_get('f_search', $forum_id)) ? true : false, + 'S_DISPLAY_SEARCHBOX' => ($auth->acl_get('u_search') && $auth->acl_get('f_search', $forum_id) && $config['load_search']) ? true : false, 'S_SEARCHBOX_ACTION' => append_sid("{$phpbb_root_path}search.$phpEx", 't=' . $topic_id), 'U_TOPIC' => "{$server_path}viewtopic.$phpEx?f=$forum_id&t=$topic_id", |