aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2012-09-20 10:36:11 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2012-09-20 10:36:11 -0500
commit98731b127748af4673fdee92db2e139e84fd4d4b (patch)
tree9c06bcf6c2fd3604a2a338ed633c93e6f1776ef1 /phpBB/includes/functions.php
parent661dd09d6f44b46e5a30b37bb3425058f055ea01 (diff)
downloadforums-98731b127748af4673fdee92db2e139e84fd4d4b.tar
forums-98731b127748af4673fdee92db2e139e84fd4d4b.tar.gz
forums-98731b127748af4673fdee92db2e139e84fd4d4b.tar.bz2
forums-98731b127748af4673fdee92db2e139e84fd4d4b.tar.xz
forums-98731b127748af4673fdee92db2e139e84fd4d4b.zip
[ticket/11103] Prettify the output for prosilver.
Create a way to mark items read from the output list. PHPBB3-11103
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index e9d673455c..92cea20d10 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -4997,7 +4997,10 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0
// Output the notifications
$phpbb_notifications = $phpbb_container->get('notifications');
- $notifications = $phpbb_notifications->load_notifications();
+ $notifications = $phpbb_notifications->load_notifications(array(
+ 'all_unread' => true,
+ 'limit' => 5,
+ ));
foreach ($notifications['notifications'] as $notification)
{
$template->assign_block_vars('notifications', $notification->prepare_for_display());