From 7201c38567434db9f7a9ea8bfe3cafce315748e0 Mon Sep 17 00:00:00 2001 From: 8chan Admin Date: Sat, 26 Oct 2013 11:26:08 +0000 Subject: [PATCH] Looked at dashboard modLog for expire.php --- inc/mod/pages.php | 2 ++ templates/mod/dashboard.html | 1 - templates/mod/log.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index f28dfe27..aebaeadf 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -163,6 +163,8 @@ function mod_dashboard() { } $args['logout_token'] = make_secure_link_token('logout'); + + modLog('Looked at dashboard', false); mod_page(_('Dashboard'), 'mod/dashboard.html', $args); } diff --git a/templates/mod/dashboard.html b/templates/mod/dashboard.html index 105f6376..5761c72c 100644 --- a/templates/mod/dashboard.html +++ b/templates/mod/dashboard.html @@ -1,4 +1,3 @@ -{{ mod.type }}
{% trans 'Boards' %} diff --git a/templates/mod/log.html b/templates/mod/log.html index 0aa3f110..40a646fd 100644 --- a/templates/mod/log.html +++ b/templates/mod/log.html @@ -6,7 +6,7 @@ {% trans 'Board' %} {% trans 'Action' %} - {% for log in logs %} + {% for log in logs if log.text != 'Looked at dashboard' %} {% if log.username %}