1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[feature/oauth] More template work

PHPBB3-11673
This commit is contained in:
Joseph Warner
2013-08-09 05:26:44 -04:00
parent 0b80aaf217
commit 69cb2e4c60
4 changed files with 19 additions and 5 deletions

View File

@@ -30,6 +30,7 @@ class ucp_auth_link
if ($provider_data === null)
{
// does not support this page, throw error?
throw new Exception('TEMPORARY EXCEPTION');
}
$error = array();
@@ -54,6 +55,8 @@ class ucp_auth_link
$s_hidden_fields = build_hidden_fields($s_hidden_fields);
$template->assign_vars(array(
'PROVIDER_TEMPLATE_FILE' => $provider_data['TEMPLATE_FILE'],
'S_HIDDEN_FIELDS' => $s_hidden_fields,
'S_UCP_ACTION' => $this->u_action,
));