mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-15 22:26:32 +02:00
[ticket/11103] Starting work on UCP Notifications list
PHPBB3-11103
This commit is contained in:
@ -25,6 +25,9 @@ class ucp_notifications
|
|||||||
|
|
||||||
add_form_key('ucp_notification_options');
|
add_form_key('ucp_notification_options');
|
||||||
|
|
||||||
|
switch ($mode)
|
||||||
|
{
|
||||||
|
case 'notification_options':
|
||||||
$subscriptions = $phpbb_notifications->get_subscriptions(false, true);
|
$subscriptions = $phpbb_notifications->get_subscriptions(false, true);
|
||||||
|
|
||||||
// Add/remove subscriptions
|
// 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>');
|
$message = $user->lang['PREFERENCES_UPDATED'] . '<br /><br />' . sprintf($user->lang['RETURN_UCP'], '<a href="' . $this->u_action . '">', '</a>');
|
||||||
trigger_error($message);
|
trigger_error($message);
|
||||||
}
|
}
|
||||||
|
|
||||||
// todo include language files for extensions?
|
// todo include language files for extensions?
|
||||||
|
|
||||||
$this->output_notification_methods('notification_methods', $phpbb_notifications, $template, $user);
|
$this->output_notification_methods('notification_methods', $phpbb_notifications, $template, $user);
|
||||||
@ -78,6 +80,11 @@ class ucp_notifications
|
|||||||
|
|
||||||
$this->tpl_name = 'ucp_notifications';
|
$this->tpl_name = 'ucp_notifications';
|
||||||
$this->page_title = 'UCP_NOTIFICATIONS';
|
$this->page_title = 'UCP_NOTIFICATIONS';
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
//$phpbb_notifications->load_notifications();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user