mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11103] Starting work on UCP Notifications list
PHPBB3-11103
This commit is contained in:
parent
94a3dc5ff7
commit
6df3de2b9c
1 changed files with 48 additions and 41 deletions
|
@ -25,6 +25,9 @@ class ucp_notifications
|
|||
|
||||
add_form_key('ucp_notification_options');
|
||||
|
||||
switch ($mode)
|
||||
{
|
||||
case 'notification_options':
|
||||
$subscriptions = $phpbb_notifications->get_subscriptions(false, true);
|
||||
|
||||
// Add/remove subscriptions
|
||||
|
@ -69,7 +72,6 @@ class ucp_notifications
|
|||
$message = $user->lang['PREFERENCES_UPDATED'] . '<br /><br />' . sprintf($user->lang['RETURN_UCP'], '<a href="' . $this->u_action . '">', '</a>');
|
||||
trigger_error($message);
|
||||
}
|
||||
|
||||
// todo include language files for extensions?
|
||||
|
||||
$this->output_notification_methods('notification_methods', $phpbb_notifications, $template, $user);
|
||||
|
@ -78,6 +80,11 @@ class ucp_notifications
|
|||
|
||||
$this->tpl_name = 'ucp_notifications';
|
||||
$this->page_title = 'UCP_NOTIFICATIONS';
|
||||
break;
|
||||
|
||||
default:
|
||||
//$phpbb_notifications->load_notifications();
|
||||
break;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue