- Identifer: core.ucp_restore_permissions
Location: ucp.php
Parameters: $message
Explanation: phpBB Arcade restore permissions + Adding extra messages
Code: Select all
$message = $user->lang['PERMISSIONS_RESTORED'];
$vars = array('message');
extract($phpbb_dispatcher->trigger_event('core.ucp_restore_permissions', compact($vars)));
$message .= '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">', '</a>');