[feature/oauth] Template for ucp_login_link started

PHPBB3-11673
This commit is contained in:
Joseph Warner 2013-07-25 12:49:30 -04:00
parent fcac58e065
commit 317a71a838
4 changed files with 18 additions and 1 deletions

View file

@ -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';
}
}
}

View file

@ -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',

View 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 -->

View file

@ -87,6 +87,7 @@ switch ($mode)
}
$module->load('ucp', 'login_link');
$module->display($user->lang['UCP_LOGIN_LINK']);
break;
case 'logout':