diff options
-rw-r--r-- | phpBB/search.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index 2a13e20477..25fec96153 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -47,6 +47,14 @@ $sort_dir = request_var('sd', 'd'); $return_chars = request_var('ch', ($topic_id) ? -1 : 300); $search_forum = request_var('fid', array(0)); +// <---Start "U_MARK_FORUMS"---> +$template->assign_vars( + array( + 'U_MARK_FORUMS' => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'hash=' . generate_link_hash('global') . '&mark=forums') : '') + ); +// <---End---> + + // We put login boxes for the case if search_id is egosearch or unreadposts // because a guest should be able to log in even if guests search is not permitted @@ -1199,4 +1207,4 @@ make_jumpbox(append_sid("{$phpbb_root_path}viewforum.$phpEx")); page_footer(); -?>
\ No newline at end of file +?> |