aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/index.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-08-02 20:59:38 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-08-02 20:59:38 +0200
commite85afc6b83559742e87d85e7a385bf08b27a8c25 (patch)
tree9042311bf672a462bfaed2b3da79b1fffdda0b0d /phpBB/index.php
parentd152c20e4b53f26bfcf9425f1efed9d9d4ccef9f (diff)
downloadforums-e85afc6b83559742e87d85e7a385bf08b27a8c25.tar
forums-e85afc6b83559742e87d85e7a385bf08b27a8c25.tar.gz
forums-e85afc6b83559742e87d85e7a385bf08b27a8c25.tar.bz2
forums-e85afc6b83559742e87d85e7a385bf08b27a8c25.tar.xz
forums-e85afc6b83559742e87d85e7a385bf08b27a8c25.zip
[feature/php-events] Fix naming and docs of core.index_modify_page_title
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 febd630a2b..90d1d352e0 100644
--- a/phpBB/index.php
+++ b/phpBB/index.php
@@ -173,8 +173,15 @@ $template->assign_vars(array(
$page_title = $user->lang['INDEX'];
+/**
+* You can use this event to modify the page title and load data for the index
+*
+* @event core.index_modify_page_title
+* @var string page_title Title of the index page
+* @since 3.1-A1
+*/
$vars = array('page_title');
-extract($phpbb_dispatcher->trigger_event('core.index_page_title', compact($vars)));
+extract($phpbb_dispatcher->trigger_event('core.index_modify_page_title', compact($vars)));
// Output page
page_header($page_title);