mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/events] Adding ledge index
Used by phpBB Gallery and various others PHPBB3-9550
This commit is contained in:
parent
433442b402
commit
60b21863ca
1 changed files with 8 additions and 1 deletions
|
@ -171,8 +171,15 @@ $template->assign_vars(array(
|
|||
'U_MCP' => ($auth->acl_get('m_') || $auth->acl_getf_global('m_')) ? append_sid("{$phpbb_root_path}mcp.$phpEx", 'i=main&mode=front', true, $user->session_id) : '')
|
||||
);
|
||||
|
||||
$page_title = $user->lang['INDEX'];
|
||||
|
||||
$vars = array('page_title');
|
||||
$event = new phpbb_event_data(compact($vars));
|
||||
$phpbb_dispatcher->dispatch('core.index', $event);
|
||||
extract($event->get_data_filtered($vars));
|
||||
|
||||
// Output page
|
||||
page_header($user->lang['INDEX']);
|
||||
page_header($page_title);
|
||||
|
||||
$template->set_filenames(array(
|
||||
'body' => 'index_body.html')
|
||||
|
|
Loading…
Add table
Reference in a new issue