summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2014-06-23 13:05:27 -0400
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2014-06-23 13:05:27 -0400
commit86d9c86a4d51d68f12892fa7f5879d5d5eb3e047 (patch)
tree8da5b53fe5cfeb3ae9ef06a479b351a788894f0e
parentc14e6d4356a2c4d9981a6808ef19edb66fc96e51 (diff)
add lastlogin field to users
-rw-r--r--template/rooms/VIP.st1
-rw-r--r--template/users.st2
2 files changed, 3 insertions, 0 deletions
diff --git a/template/rooms/VIP.st b/template/rooms/VIP.st
index 0779549..5e41e52 100644
--- a/template/rooms/VIP.st
+++ b/template/rooms/VIP.st
@@ -142,6 +142,7 @@
<ul>
<li><a href="$domain$/roomlist">Rooms</a></li>
<li><a href="$domain$/users">New Users</a></li>
+ <li><a href="$domain$/users/lastlog">Last seen users</a></li>
<li><a href="$domain$/mutes">Mutes</a></li>
<li><a href="http://dump.fm/static/shinobi/">Registration</a></li>
<li><a href="http://temp.dump.fm/">Temp</a></li>
diff --git a/template/users.st b/template/users.st
index 9a72f01..e25ab41 100644
--- a/template/users.st
+++ b/template/users.st
@@ -40,6 +40,7 @@
<th>Nick</th>
<th>Email</th>
<th>Created on</th>
+ <th>Last seen</th>
<th>Created IP</th>
<th>Last IP</th>
<th></th>
@@ -51,6 +52,7 @@
<td><a href="/$u.nick$/">$u.nick$</a></td>
<td>$u.email$</td>
<td>$u.created_on$</td>
+ <td>$u.last_login$</td>
<td><a href="http://www.geobytes.com/IpLocator.htm?GetLocation&IpAddress=$u.created_ip$">$u.created_ip$</a></td>
<td><a href="http://www.geobytes.com/IpLocator.htm?GetLocation&IpAddress=$u.last_ip$">$u.last_ip$</a></td>
<td align="center">