aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-06-13 17:51:55 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-06-13 17:51:55 +0000
commit2e4ea58d28238c54df21abd2ba21a6c8d43f04f3 (patch)
tree7e4716ea5ce579e885834a1c220f51b0cdc81fa4 /phpBB/includes/functions.php
parent2ca7293a68e817cda24ac8d298e5d77ba6d0b85d (diff)
downloadforums-2e4ea58d28238c54df21abd2ba21a6c8d43f04f3.tar
forums-2e4ea58d28238c54df21abd2ba21a6c8d43f04f3.tar.gz
forums-2e4ea58d28238c54df21abd2ba21a6c8d43f04f3.tar.bz2
forums-2e4ea58d28238c54df21abd2ba21a6c8d43f04f3.tar.xz
forums-2e4ea58d28238c54df21abd2ba21a6c8d43f04f3.zip
- view active topics
- seperated search id (int) from search id (string) for security reasons git-svn-id: file:///svn/phpbb/trunk@5161 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 2ed2331114..f82ed9d617 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -1956,9 +1956,11 @@ function page_header($page_title = '')
'U_SEARCH_SELF' => "{$phpbb_root_path}search.$phpEx$SID&amp;search_id=egosearch",
'U_SEARCH_NEW' => "{$phpbb_root_path}search.$phpEx$SID&amp;search_id=newposts",
'U_SEARCH_UNANSWERED' => "{$phpbb_root_path}search.$phpEx$SID&amp;search_id=unanswered",
+ 'U_SEARCH_ACTIVE_TOPICS'=> "{$phpbb_root_path}search.$phpEx$SID&amp;search_id=active_topics",
'U_DELETE_COOKIES' => "{$phpbb_root_path}ucp.$phpEx$SID&amp;mode=delete_cookies",
'S_USER_LOGGED_IN' => ($user->data['user_id'] != ANONYMOUS) ? true : false,
+ 'S_REGISTERED_USER' => $user->data['is_registered'],
'S_USER_PM_POPUP' => $user->optionget('popuppm'),
'S_USER_LANG' => $user->data['user_lang'],
'S_USER_BROWSER' => (isset($user->data['session_browser'])) ? $user->data['session_browser'] : $user->lang['UNKNOWN_BROWSER'],