diff options
| author | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-23 14:41:21 -0400 |
|---|---|---|
| committer | Joseph Warner <hardolaf@hardolaf.com> | 2013-07-23 14:41:46 -0400 |
| commit | 0857d14030177271bd346f188ced38e9d6da47ff (patch) | |
| tree | 50cdb64c18d2bde0c1f679f611f1fdecd588e2bc /phpBB/phpbb/auth/provider/oauth | |
| parent | af6a4b21614c602ae8fe5323fab2b384c6ad5393 (diff) | |
| download | forums-0857d14030177271bd346f188ced38e9d6da47ff.tar forums-0857d14030177271bd346f188ced38e9d6da47ff.tar.gz forums-0857d14030177271bd346f188ced38e9d6da47ff.tar.bz2 forums-0857d14030177271bd346f188ced38e9d6da47ff.tar.xz forums-0857d14030177271bd346f188ced38e9d6da47ff.zip | |
[feature/oauth] Update auth provider interface docs for block vars in ACP
PHPBB3-11673
Diffstat (limited to 'phpBB/phpbb/auth/provider/oauth')
| -rw-r--r-- | phpBB/phpbb/auth/provider/oauth/oauth.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/oauth.php b/phpBB/phpbb/auth/provider/oauth/oauth.php index a94e6041d9..133d9f11ef 100644 --- a/phpBB/phpbb/auth/provider/oauth/oauth.php +++ b/phpBB/phpbb/auth/provider/oauth/oauth.php @@ -264,6 +264,7 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base { $ret = array( 'BLOCK_VAR_NAME' => 'oauth_services', + 'BLOCK_VARS' => array(), 'TEMPLATE_FILE' => 'auth_provider_oauth.html', 'TEMPLATE_VARS' => array(), ); @@ -271,7 +272,7 @@ class phpbb_auth_provider_oauth extends phpbb_auth_provider_base foreach ($this->service_providers as $service_name => $service_provider) { $actual_name = str_replace('auth.provider.oauth.service.', '', $service_name); - $ret['TEMPLATE_VARS'][$actual_name] = array( + $ret['BLOCK_VARS'][$actual_name] = array( 'ACTUAL_NAME' => $this->user->lang['AUTH_PROVIDER_OAUTH_SERVICE_' . strtoupper($actual_name)], 'KEY' => $new_config['auth_oauth_' . $actual_name . '_key'], 'NAME' => $actual_name, |
