diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-19 13:34:31 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-19 13:34:31 +0000 |
commit | 1a1a925e8f1c3e1504a9cca0a62b39a4742777af (patch) | |
tree | f22b9ac28054fb3bbb8a4e573226ef77e8ac85eb /phpBB/viewtopic.php | |
parent | bc0898f55e2c0bda196fa44cc7d1bb15b6fda649 (diff) | |
download | forums-1a1a925e8f1c3e1504a9cca0a62b39a4742777af.tar forums-1a1a925e8f1c3e1504a9cca0a62b39a4742777af.tar.gz forums-1a1a925e8f1c3e1504a9cca0a62b39a4742777af.tar.bz2 forums-1a1a925e8f1c3e1504a9cca0a62b39a4742777af.tar.xz forums-1a1a925e8f1c3e1504a9cca0a62b39a4742777af.zip |
erm, switches could be more useful if not within a loop. ;) and :P
git-svn-id: file:///svn/phpbb/trunk@8205 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 32b35a2060..c44d413f60 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -572,6 +572,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", "f=$forum_id&t=$topic_id&quickmod=1&redirect=" . urlencode(str_replace('&', '&', $viewtopic_url)), true, $user->session_id), + 'S_VIEWTOPIC' => true, '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), @@ -1425,7 +1426,6 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) 'S_FIRST_UNREAD' => $s_first_unread, 'S_CUSTOM_FIELDS' => (isset($cp_row['row']) && sizeof($cp_row['row'])) ? true : false, 'S_TOPIC_POSTER' => ($topic_data['topic_poster'] == $poster_id) ? true : false, - 'S_VIEWTOPIC' => true, 'S_IGNORE_POST' => ($row['hide_post']) ? true : false, 'L_IGNORE_POST' => ($row['hide_post']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . $viewtopic_url . "&p={$row['post_id']}&view=show#p{$row['post_id']}" . '">', '</a>') : '', |