diff options
author | PayBas <contact@paybas.com> | 2014-04-04 13:45:57 +0200 |
---|---|---|
committer | PayBas <contact@paybas.com> | 2014-04-04 13:45:57 +0200 |
commit | c6c5f7c874cb5ceaf0b06a44cff666b1050fe4ec (patch) | |
tree | 640002035a2539ec2d246c23e8415c96c8635e0a /phpBB | |
parent | 205e098b38a00fb7fc50c8aa2d1f65c97bc70ef6 (diff) | |
download | forums-c6c5f7c874cb5ceaf0b06a44cff666b1050fe4ec.tar forums-c6c5f7c874cb5ceaf0b06a44cff666b1050fe4ec.tar.gz forums-c6c5f7c874cb5ceaf0b06a44cff666b1050fe4ec.tar.bz2 forums-c6c5f7c874cb5ceaf0b06a44cff666b1050fe4ec.tar.xz forums-c6c5f7c874cb5ceaf0b06a44cff666b1050fe4ec.zip |
[ticket/12339] more complete params and updated _since version
PHPBB3-12339
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/functions.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 1e77b6cde4..d2735c8e43 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4962,10 +4962,16 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0 * * @event core.page_header_after * @var string page_title Page title - * - * @since 3.1-B3 + * @var bool display_online_list Do we display online users list + * @var string item Restrict online users to a certain + * session item, e.g. forum for + * session_forum_id + * @var int item_id Restrict online users to item id + * @var bool page_header_override Shall we return instead of running + * the rest of page_header() + * @since 3.1.0-b3 */ - $vars = array('page_title'); + $vars = array('page_title', 'display_online_list', 'item_id', 'item', 'page_header_override'); extract($phpbb_dispatcher->trigger_event('core.page_header_after', compact($vars))); // application/xhtml+xml not used because of IE |