mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[feature/oauth] Clean up the OAuth ACP template
PHPBB3-11673
This commit is contained in:
parent
2fc4be1a31
commit
af6a4b2161
2 changed files with 5 additions and 4 deletions
|
@ -1,14 +1,16 @@
|
||||||
<h2>{L_AUTH_PROVIDER_OAUTH_TITLE}</h2>
|
<h2>{L_AUTH_PROVIDER_OAUTH_TITLE}</h2>
|
||||||
|
|
||||||
|
<p>{L_AUTH_PROVIDER_OAUTH_EXPLAIN}</p>
|
||||||
|
|
||||||
<!-- BEGIN oauth_services -->
|
<!-- BEGIN oauth_services -->
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{oauth_services.ACTUAL_NAME}</legend>
|
<legend>{oauth_services.ACTUAL_NAME}</legend>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="oauth_service_{oauth_services.NAME}_key">{L_AUTH_PROVIDER_OAUTH_KEY}{L_COLON}</label><br /><span>{L_AUTH_PROVIDER_OAUTH_KEY_EXPLAIN}</span></dt>
|
<dt><label for="oauth_service_{oauth_services.NAME}_key">{L_AUTH_PROVIDER_OAUTH_KEY}{L_COLON}</label></dt>
|
||||||
<dd><input type="text" id="oauth_service_{oauth_services.NAME}_key" size="40" name="config[auth_oauth_{oauth_services.NAME}_key]" value="{oauth_services.KEY}" /></dd>
|
<dd><input type="text" id="oauth_service_{oauth_services.NAME}_key" size="40" name="config[auth_oauth_{oauth_services.NAME}_key]" value="{oauth_services.KEY}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="oauth_service_{oauth_services.NAME}_secret">{L_AUTH_PROVIDER_OAUTH_SECRET}{L_COLON}</label><br /><span>{L_AUTH_PROVIDER_OAUTH_SECRET_EXPLAIN}</span></dt>
|
<dt><label for="oauth_service_{oauth_services.NAME}_secret">{L_AUTH_PROVIDER_OAUTH_SECRET}{L_COLON}</label></dt>
|
||||||
<dd><input type="text" id="oauth_service_{oauth_services.NAME}_secret" size="40" name="config[auth_oauth_{oauth_services.NAME}_secret]" value="{oauth_services.SECRET}" /></dd>
|
<dd><input type="text" id="oauth_service_{oauth_services.NAME}_secret" size="40" name="config[auth_oauth_{oauth_services.NAME}_secret]" value="{oauth_services.SECRET}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
|
@ -394,14 +394,13 @@ $lang = array_merge($lang, array(
|
||||||
|
|
||||||
'AUTH_METHOD' => 'Select an authentication method',
|
'AUTH_METHOD' => 'Select an authentication method',
|
||||||
|
|
||||||
|
'AUTH_PROVIDER_OAUTH_EXPLAIN' => 'Each OAuth provider requires a unique secret and key in order to authenticate with the external server.<br />These should be supplied by the OAuth service when you register your website with them and should be entered exactly as provided to you.<br />Any service that does not have both a key and a secret entered here will not be available for use by the forum users.',
|
||||||
'AUTH_PROVIDER_OAUTH_KEY' => 'Key',
|
'AUTH_PROVIDER_OAUTH_KEY' => 'Key',
|
||||||
'AUTH_PROVIDER_OAUTH_KEY_EXPLAIN' => '',
|
|
||||||
'AUTH_PROVIDER_OAUTH_SERVICE_BITLY' => 'Bitly',
|
'AUTH_PROVIDER_OAUTH_SERVICE_BITLY' => 'Bitly',
|
||||||
'AUTH_PROVIDER_OAUTH_SERVICE_FACEBOOK' => 'Facebook',
|
'AUTH_PROVIDER_OAUTH_SERVICE_FACEBOOK' => 'Facebook',
|
||||||
'AUTH_PROVIDER_OAUTH_SERVICE_GOOGLE' => 'Google',
|
'AUTH_PROVIDER_OAUTH_SERVICE_GOOGLE' => 'Google',
|
||||||
'AUTH_PROVIDER_OAUTH_TITLE' => 'OAuth',
|
'AUTH_PROVIDER_OAUTH_TITLE' => 'OAuth',
|
||||||
'AUTH_PROVIDER_OAUTH_SECRET' => 'Secret',
|
'AUTH_PROVIDER_OAUTH_SECRET' => 'Secret',
|
||||||
'AUTH_PROVIDER_OAUTH_SECRET_EXPLAIN' => '',
|
|
||||||
|
|
||||||
'APACHE_SETUP_BEFORE_USE' => 'You have to setup apache authentication before you switch phpBB to this authentication method. Keep in mind that the username you use for apache authentication has to be the same as your phpBB username. Apache authentication can only be used with mod_php (not with a CGI version) and safe_mode disabled.',
|
'APACHE_SETUP_BEFORE_USE' => 'You have to setup apache authentication before you switch phpBB to this authentication method. Keep in mind that the username you use for apache authentication has to be the same as your phpBB username. Apache authentication can only be used with mod_php (not with a CGI version) and safe_mode disabled.',
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue