From 9db1ed6e804e1ebf536b81d1d68daf44d558c2e1 Mon Sep 17 00:00:00 2001
From: Dhruv Goel
Date: Sat, 21 Apr 2012 13:28:01 +0530
Subject: [PATCH] [feature/delete-auto-logins] fix language keys and styling
introduction of language variables instead of hardcoded language.
PHPBB3-9647
---
phpBB/language/en/ucp.php | 4 +++-
.../prosilver/template/ucp_profile_autologin_keys.html | 10 +++++-----
.../template/ucp_profile_autologin_keys.html | 8 ++++----
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/phpBB/language/en/ucp.php b/phpBB/language/en/ucp.php
index 398163f38a..1ed978f788 100644
--- a/phpBB/language/en/ucp.php
+++ b/phpBB/language/en/ucp.php
@@ -256,6 +256,8 @@ $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_KEY' => 'Login Key',
+ 'LOGIN_TIME' => 'Login Time',
'LOGIN_REDIRECT' => 'You have been successfully logged in.',
'LOGOUT_FAILED' => 'You were not logged out, as the request did not match your session. Please contact the board administrator if you continue to experience problems.',
'LOGOUT_REDIRECT' => 'You have been successfully logged out.',
@@ -377,7 +379,7 @@ $lang = array_merge($lang, array(
'PREFERENCES_UPDATED' => 'Your preferences have been updated.',
'PROFILE_INFO_NOTICE' => 'Please note that this information may be viewable to other members. Be careful when including any personal details. Any fields marked with a * must be completed.',
'PROFILE_UPDATED' => 'Your profile has been updated.',
- 'PROFILE_AUTOLOGIN_KEYS' => 'The persistent login keys keeps the user logged in till the user signs out. Logout does only delete the persistent key on the current machine. The persistent login keys for all machines can be viewed/deleted by the user.',
+ 'PROFILE_AUTOLOGIN_KEYS' => 'The persistent login keys logins the user automatically on each visit until logout. Logout does only delete the persistent key on the current machine. The persistent login keys for all machines can be viewed/deleted by the user here.',
'PROFILE_NO_AUTOLOGIN_KEYS' => 'There are no saved persistent login keys.',
'RECIPIENT' => 'Recipient',
diff --git a/phpBB/styles/prosilver/template/ucp_profile_autologin_keys.html b/phpBB/styles/prosilver/template/ucp_profile_autologin_keys.html
index e4dd954d39..143cb925ec 100644
--- a/phpBB/styles/prosilver/template/ucp_profile_autologin_keys.html
+++ b/phpBB/styles/prosilver/template/ucp_profile_autologin_keys.html
@@ -15,14 +15,14 @@
- {L_PROFILE_AUTOLOGIN_KEYS}
+ {L_PROFILE_AUTOLOGIN_KEYS}
- Mark |
- Key |
- IP |
- Login-Time |
+ {L_MARK} |
+ {L_LOGIN_KEY} |
+ {L_IP} |
+ {L_LOGIN_TIME} |
diff --git a/phpBB/styles/subsilver2/template/ucp_profile_autologin_keys.html b/phpBB/styles/subsilver2/template/ucp_profile_autologin_keys.html
index cb6aac7674..365b6f4a52 100644
--- a/phpBB/styles/subsilver2/template/ucp_profile_autologin_keys.html
+++ b/phpBB/styles/subsilver2/template/ucp_profile_autologin_keys.html
@@ -18,10 +18,10 @@
{L_PROFILE_AUTOLOGIN_KEYS} |
- Mark |
- Key |
- IP |
- Login-Time |
+ {L_MARK} |
+ {L_LOGIN_KEY} |
+ {L_IP} |
+ {L_LOGIN_TIME} |
|