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