diff options
| author | Dhruv Goel <dhruv.goel92@gmail.com> | 2012-04-13 21:29:31 +0530 |
|---|---|---|
| committer | Dhruv Goel <dhruv.goel92@gmail.com> | 2012-05-17 14:02:28 +0530 |
| commit | 71f84164805293a2ab5c70ec49799ee8bfa5eac3 (patch) | |
| tree | c0c15280b08160cbc13b322796089c537daf0a7d /phpBB | |
| parent | bdf66b27ab6e46cfb1978feb05b13c83c9bd9597 (diff) | |
| download | forums-71f84164805293a2ab5c70ec49799ee8bfa5eac3.tar forums-71f84164805293a2ab5c70ec49799ee8bfa5eac3.tar.gz forums-71f84164805293a2ab5c70ec49799ee8bfa5eac3.tar.bz2 forums-71f84164805293a2ab5c70ec49799ee8bfa5eac3.tar.xz forums-71f84164805293a2ab5c70ec49799ee8bfa5eac3.zip | |
[feature/delete-auto-logins] improved styling and fixes language
Table ahs been styled. Date is now formatted properly instead of
the unix timestamp being displayed earlier. fixes small mistake in language
entry
PHPBB3-9647
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/includes/ucp/ucp_profile.php | 2 | ||||
| -rw-r--r-- | phpBB/language/en/ucp.php | 2 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/ucp_profile_autologin_keys.html | 18 |
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> |
