1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

[ticket/11103] Prettify the output for prosilver.

Create a way to mark items read from the output list.

PHPBB3-11103
This commit is contained in:
Nathaniel Guse
2012-09-20 10:36:11 -05:00
parent 661dd09d6f
commit 98731b1277
8 changed files with 104 additions and 32 deletions

View File

@@ -56,6 +56,14 @@ if ($ext = $request->variable('ext', ''))
exit_handler();
}
// Mark notifications read
$mark_notifications = request_var('mark_notification', array(0));
if (!empty($mark_notifications))
{
$phpbb_notifications = $phpbb_container->get('notifications');
$phpbb_notifications->mark_notifications_read_by_id($mark_notifications);
}
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
$user->add_lang('viewforum');