aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-03-16 00:38:45 +0100
committerJoas Schilling <nickvergessen@gmx.de>2012-08-01 10:17:07 +0200
commit60b21863cada022b9fdcda17de82aa484c4ac571 (patch)
tree4b0200f847538aa353d4e0f30f811b5319357013 /phpBB/index.php
parent433442b40261d7d18427b6cd21fbf9acb15edd93 (diff)
downloadforums-60b21863cada022b9fdcda17de82aa484c4ac571.tar
forums-60b21863cada022b9fdcda17de82aa484c4ac571.tar.gz
forums-60b21863cada022b9fdcda17de82aa484c4ac571.tar.bz2
forums-60b21863cada022b9fdcda17de82aa484c4ac571.tar.xz
forums-60b21863cada022b9fdcda17de82aa484c4ac571.zip
[feature/events] Adding ledge index
Used by phpBB Gallery and various others PHPBB3-9550
Diffstat (limited to 'phpBB/index.php')
-rw-r--r--phpBB/index.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php
index a477a876ad..87b0adeafd 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -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&amp;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')