summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-18 10:18:19 +0100
committerAndrew Dolgov <[email protected]>2005-11-18 10:18:19 +0100
commitf6f321982f844c92488edf5420025b4381e53f50 (patch)
tree789a59a92ba55e3ad30e16ae75b3472f77f6b6f2 /backend.php
parentf16ef23677ce4c58fecc7428d7345f0d19275f1c (diff)
handle last_login in editor/login sequence
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/backend.php b/backend.php
index 42707b09a..4d0753b86 100644
--- a/backend.php
+++ b/backend.php
@@ -1829,7 +1829,7 @@
</table>";
$result = db_query($link, "SELECT
- id,login,access_level
+ id,login,access_level,last_login
FROM
ttrss_users
ORDER by login");
@@ -1837,9 +1837,10 @@
print "<p><table width=\"100%\" class=\"prefUserList\" id=\"prefUserList\">";
print "<tr class=\"title\">
- <td width=\"5%\">Select</td><td width='40%'>Login
- </td>
- <td width='40%'>Access Level</td></tr>";
+ <td width=\"5%\">Select</td>
+ <td width='30%'>Username</td>
+ <td width='30%'>Access Level</td>
+ <td width='30%'>Last login</td></tr>";
$lnum = 0;
@@ -1865,7 +1866,6 @@
print "<td>".$line["login"]."</td>";
print "<td>".$line["access_level"]."</td>";
-
} else if (!$edit_uid || $subop != "edit") {
@@ -1898,7 +1898,8 @@
}
-
+ print "<td>".$line["last_login"]."</td>";
+
print "</tr>";
++$lnum;