mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 17:27:16 +02:00
[feature/oauth] Update auth provider interface docs for block vars in ACP
PHPBB3-11673
This commit is contained in:
@@ -660,13 +660,12 @@ class acp_board
|
||||
{
|
||||
if (array_key_exists('BLOCK_VAR_NAME', $auth_tpl))
|
||||
{
|
||||
foreach ($auth_tpl['TEMPLATE_VARS'] as $block_vars)
|
||||
foreach ($auth_tpl['BLOCK_VARS'] as $block_vars)
|
||||
{
|
||||
$template->assign_block_vars($auth_tpl['BLOCK_VAR_NAME'], $block_vars);
|
||||
}
|
||||
} else {
|
||||
$template->assign_vars($auth_tpl['TEMPLATE_VARS']);
|
||||
}
|
||||
$template->assign_vars($auth_tpl['TEMPLATE_VARS']);
|
||||
$template->assign_block_vars('auth_tpl', array(
|
||||
'TEMPLATE_FILE' => $auth_tpl['TEMPLATE_FILE'],
|
||||
));
|
||||
|
Reference in New Issue
Block a user