diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-12 22:16:27 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-12 22:16:27 +0000 |
commit | 298d3c0c50f14601472b832f3ecd8fcd8c07dfe4 (patch) | |
tree | 68b06c337a4b20fe2bfba66732085d66fe9c1e12 /phpBB/includes/ucp/ucp_main.php | |
parent | 4a0ddb9dfbe76f0e074d85a417541591ec25daa6 (diff) | |
download | forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar.gz forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar.bz2 forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.tar.xz forums-298d3c0c50f14601472b832f3ecd8fcd8c07dfe4.zip |
- 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
Diffstat (limited to 'phpBB/includes/ucp/ucp_main.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_main.php | 3 |
1 files changed, 3 insertions, 0 deletions
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); } } |