From 298d3c0c50f14601472b832f3ecd8fcd8c07dfe4 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Mon, 12 Jun 2006 22:16:27 +0000 Subject: - get swatch converted into new acp format - add page title to ucp pages - add ability to supress getting the who is online list in page_header() (saves us ideally 1-2 queries on ucp/mcp pages) - fixing pm rules a bit as well as now having complete author memberships for author_in_group (sender -> is in usergroup -> xxx) git-svn-id: file:///svn/phpbb/trunk@6054 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/ucp/ucp_main.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'phpBB/includes/ucp/ucp_main.php') diff --git a/phpBB/includes/ucp/ucp_main.php b/phpBB/includes/ucp/ucp_main.php index a0eec4b5ad..9ba40d1a50 100644 --- a/phpBB/includes/ucp/ucp_main.php +++ b/phpBB/includes/ucp/ucp_main.php @@ -181,6 +181,7 @@ class ucp_main case 'subscribed': include($phpbb_root_path . 'includes/functions_display.' . $phpEx); + $user->add_lang('viewforum'); $unwatch = (isset($_POST['unwatch'])) ? true : false; @@ -464,6 +465,7 @@ class ucp_main } include($phpbb_root_path . 'includes/functions_display.' . $phpEx); + $user->add_lang('viewforum'); $move_up = request_var('move_up', 0); @@ -785,6 +787,7 @@ class ucp_main // Set desired template $this->tpl_name = 'ucp_main_' . $mode; + $this->page_title = 'UCP_MAIN_' . strtoupper($mode); } } -- cgit v1.2.1