From 215f3889924973ad138cfce309744cb1abf38cf0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Sep 2020 13:04:26 +0300 Subject: move timestamp-related stuff to a separate class --- classes/pref/system.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'classes/pref/system.php') diff --git a/classes/pref/system.php b/classes/pref/system.php index d0f8a8273..7e9aa44a1 100644 --- a/classes/pref/system.php +++ b/classes/pref/system.php @@ -26,7 +26,7 @@ class Pref_System extends Handler_Protected { function index() { print "
"; - print "
report ".__('Event Log')."\">"; if (LOG_DESTINATION == "sql") { @@ -66,8 +66,7 @@ class Pref_System extends Handler_Protected { print "" . $line["login"] . ""; print "" . - make_local_datetime( - $line["created_at"], false) . ""; + TimeHelper::make_local_datetime($line["created_at"], false) . ""; print ""; } @@ -81,7 +80,7 @@ class Pref_System extends Handler_Protected { print "
"; - print "
info ".__('PHP Information')."\">"; ob_start(); -- cgit v1.2.3