1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/17010] Add controller methods for subscribe/unsubscribe and others

PHPBB3-17010
This commit is contained in:
Marc Alexander
2022-10-28 20:54:37 +02:00
parent 35259056f0
commit d4b6ad5620
5 changed files with 274 additions and 10 deletions

View File

@@ -110,7 +110,9 @@ class ucp_notifications
/** @var \phpbb\controller\helper $controller_helper */
$controller_helper = $phpbb_container->get('controller.helper');
$template->assign_var('U_WEBPUSH_SUBSCRIBE', $controller_helper->route('phpbb_ucp_push_subscribe_controller'));
$template->assign_vars([
'T_WEBPUSH_JS_PATH' => $controller_helper->route('phpbb_ucp_push_js_controller'),
]);
$this->tpl_name = 'ucp_notifications_options';
$this->page_title = 'UCP_NOTIFICATION_OPTIONS';