diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php
index 76f8988fb9..a14f79f9fd 100644
--- a/phpBB/includes/ucp/ucp_profile.php
+++ b/phpBB/includes/ucp/ucp_profile.php
@@ -679,8 +679,6 @@ class ucp_profile
while ($row = $db->sql_fetchrow($result))
{
$template->assign_block_vars('sessions', array(
- 'errors' => $error,
-
'KEY' => $row['key_id'],
'IP' => $row['last_ip'],
'LOGIN_TIME' => $user->format_date($row['last_login']),
@@ -693,6 +691,8 @@ class ucp_profile
}
$template->assign_vars(array(
+ 'ERROR' => (sizeof($error)) ? implode('
', $error) : '',
+
'L_TITLE' => $user->lang['UCP_PROFILE_' . strtoupper($mode)],
'S_HIDDEN_FIELDS' => $s_hidden_fields,
diff --git a/phpBB/styles/prosilver/template/ucp_notifications.html b/phpBB/styles/prosilver/template/ucp_notifications.html
index 2712e53034..b400a3c8b1 100644
--- a/phpBB/styles/prosilver/template/ucp_notifications.html
+++ b/phpBB/styles/prosilver/template/ucp_notifications.html
@@ -11,11 +11,13 @@
{L_NOTIFICATION_TYPE} | - -{notification_methods.NAME} | - -{L_NOTIFICATIONS} | +|
---|---|---|---|
{L_NOTIFICATION_TYPE} | + +{notification_methods.NAME} | + +{L_NOTIFICATIONS} | +
{L_MARK} | -{L_LOGIN_KEY} | -{L_IP} | -{L_LOGIN_TIME} | -
---|---|---|---|
- | - | {sessions.IP} | -{sessions.LOGIN_TIME} | -
{L_PROFILE_NO_AUTOLOGIN_KEYS} |
{L_PROFILE_AUTOLOGIN_KEYS}
+{ERROR}
+{L_LOGIN_KEY} | +{L_IP} | +{L_LOGIN_TIME} | +{L_MARK} | +
---|---|---|---|
+ | {sessions.IP} | +{sessions.LOGIN_TIME} | ++ |
{L_PROFILE_NO_AUTOLOGIN_KEYS} |