aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-06-12 22:16:27 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-06-12 22:16:27 +0000
commit298d3c0c50f14601472b832f3ecd8fcd8c07dfe4 (patch)
tree68b06c337a4b20fe2bfba66732085d66fe9c1e12 /phpBB/ucp.php
parent4a0ddb9dfbe76f0e074d85a417541591ec25daa6 (diff)
downloadforums-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/ucp.php')
-rwxr-xr-xphpBB/ucp.php14
1 files changed, 4 insertions, 10 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index c8a318589b..cf75233172 100755
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -111,7 +111,8 @@ switch ($mode)
'body' => 'ucp_agreement.html')
);
- page_header($user->lang[$title]);
+ // Disable online list
+ page_header($user->lang[$title], false);
$template->assign_vars(array(
'S_AGREEMENT' => true,
@@ -318,15 +319,8 @@ $module->load_active();
// Assign data to the template engine for the list of modules
$module->assign_tpl_vars(append_sid("{$phpbb_root_path}ucp.$phpEx"));
-// Generate the page
-page_header($user->lang['UCP_MAIN']);
-
-$template->set_filenames(array(
- 'body' => $module->get_tpl_name())
-);
-
-page_footer();
-
+// Generate the page, do not display/query online list
+$module->display($module->get_page_title(), false);
/**
* Function for assigning a template var if the zebra module got included