aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/ucp/ucp_profile.php2
-rw-r--r--phpBB/language/en/ucp.php2
-rw-r--r--phpBB/styles/prosilver/template/ucp_profile_autologin_keys.html18
3 files changed, 13 insertions, 9 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php
index a7b6eb29a1..2ac82fb52f 100644
--- a/phpBB/includes/ucp/ucp_profile.php
+++ b/phpBB/includes/ucp/ucp_profile.php
@@ -665,7 +665,7 @@ class ucp_profile
'KEY' => $row['key_id'],
'IP' => $row['last_ip'],
- 'LOGIN_TIME' => $row['last_login'],
+ 'LOGIN_TIME' => $user->format_date($row['last_login']),
));
}
diff --git a/phpBB/language/en/ucp.php b/phpBB/language/en/ucp.php
index 926af99a12..44d14b2349 100644
--- a/phpBB/language/en/ucp.php
+++ b/phpBB/language/en/ucp.php
@@ -377,7 +377,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 persisten login keys can be selected and deleted.',
+ 'PROFILE_AUTOLOGIN_KEYS' => 'The persistent login keys can be selected and deleted.',
'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 89913d21bf..e4dd954d39 100644
--- a/phpBB/styles/prosilver/template/ucp_profile_autologin_keys.html
+++ b/phpBB/styles/prosilver/template/ucp_profile_autologin_keys.html
@@ -16,21 +16,25 @@
<!-- ENDIF -->
<!-- IF .sessions -->
<p>{L_PROFILE_AUTOLOGIN_KEYS}</p>
- <table>
+ <table cellspacing="1" class="table1">
+ <thead>
<tr>
- <th></th>
+ <th>Mark</th>
<th>Key</th>
<th>IP</th>
<th>Login-Time</th>
</tr>
+ </thead>
+ <tbody>
<!-- BEGIN sessions -->
- <tr>
- <td><input type="checkbox" name="keys[]" value="{sessions.KEY}" /></td>
- <td>{sessions.KEY}</td>
- <td>{sessions.IP}</td>
- <td>{sessions.LOGIN_TIME}</td>
+ <!-- IF sessions.S_ROW_COUNT is even --><tr class="bg1"><!-- ELSE --><tr class="bg2"><!-- ENDIF -->
+ <td style="text-align: center"><input type="checkbox" name="keys[]" value="{sessions.KEY}" id="{sessions.KEY}"/></td>
+ <td><label for="{sessions.KEY}">{sessions.KEY}</label></td>
+ <td style="text-align: center">{sessions.IP}</td>
+ <td style="text-align: center">{sessions.LOGIN_TIME}</td>
</tr>
<!-- END sessions -->
+ </tbody>
</table>
<!-- ELSE -->
<p>{L_PROFILE_NO_AUTOLOGIN_KEYS}</p>