mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 13:44:12 +02:00
- 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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user