mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 10:31:57 +02:00
[feature/oauth] Template for ucp_login_link started
PHPBB3-11673
This commit is contained in:
@@ -31,5 +31,8 @@ class ucp_login_link
|
||||
|
||||
$auth_provider = 'auth.provider.' . $request->variable('auth_provider', $config['auth_method']);
|
||||
$auth_provider = $phpbb_container->get($auth_provider);
|
||||
|
||||
$this->tpl_name = 'ucp_login_link';
|
||||
$this->page_title = 'UCP_LOGIN_LINK';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -270,6 +270,7 @@ $lang = array_merge($lang, array(
|
||||
'LINK_REMOTE_SIZE' => 'Avatar dimensions',
|
||||
'LINK_REMOTE_SIZE_EXPLAIN' => 'Specify the width and height of the avatar, leave blank to attempt automatic verification.',
|
||||
'LOGIN_EXPLAIN_UCP' => 'Please login in order to access the User Control Panel.',
|
||||
'LOGIN_LINK' => 'Link or Register Your External Account with phpBB',
|
||||
'LOGIN_KEY' => 'Login Key',
|
||||
'LOGIN_TIME' => 'Login Time',
|
||||
'LOGIN_REDIRECT' => 'You have been successfully logged in.',
|
||||
@@ -480,6 +481,7 @@ $lang = array_merge($lang, array(
|
||||
'UCP_EMAIL_ACTIVATE' => 'Please note that you will need to enter a valid email address before your account is activated. You will receive an email at the address you provide that contains an account activation link.',
|
||||
'UCP_ICQ' => 'ICQ number',
|
||||
'UCP_JABBER' => 'Jabber address',
|
||||
'UCP_LOGIN_LINK' => 'Set up an external account',
|
||||
|
||||
'UCP_MAIN' => 'Overview',
|
||||
'UCP_MAIN_ATTACHMENTS' => 'Manage attachments',
|
||||
|
11
phpBB/styles/prosilver/template/ucp_login_link.html
Normal file
11
phpBB/styles/prosilver/template/ucp_login_link.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
|
||||
<h2>{SITENAME} - {L_LOGIN_LINK}</h2>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
@@ -87,6 +87,7 @@ switch ($mode)
|
||||
}
|
||||
|
||||
$module->load('ucp', 'login_link');
|
||||
$module->display($user->lang['UCP_LOGIN_LINK']);
|
||||
break;
|
||||
|
||||
case 'logout':
|
||||
|
Reference in New Issue
Block a user