summaryrefslogtreecommitdiff
path: root/classes/pref/system.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-23 13:04:26 +0300
committerAndrew Dolgov <[email protected]>2020-09-23 13:04:26 +0300
commit215f3889924973ad138cfce309744cb1abf38cf0 (patch)
tree537e304c28d2231c27340cf347276c94aa561d73 /classes/pref/system.php
parent05744bb474e55c4f85acd236dd2883679c278e70 (diff)
move timestamp-related stuff to a separate class
Diffstat (limited to 'classes/pref/system.php')
-rw-r--r--classes/pref/system.php7
1 files changed, 3 insertions, 4 deletions
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 "<div dojoType=\"dijit.layout.AccordionContainer\" region=\"center\">";
- print "<div dojoType=\"dijit.layout.AccordionPane\"
+ print "<div dojoType=\"dijit.layout.AccordionPane\"
title=\"<i class='material-icons'>report</i> ".__('Event Log')."\">";
if (LOG_DESTINATION == "sql") {
@@ -66,8 +66,7 @@ class Pref_System extends Handler_Protected {
print "<td class='login'>" . $line["login"] . "</td>";
print "<td class='timestamp'>" .
- make_local_datetime(
- $line["created_at"], false) . "</td>";
+ TimeHelper::make_local_datetime($line["created_at"], false) . "</td>";
print "</tr>";
}
@@ -81,7 +80,7 @@ class Pref_System extends Handler_Protected {
print "</div>";
- print "<div dojoType=\"dijit.layout.AccordionPane\"
+ print "<div dojoType=\"dijit.layout.AccordionPane\"
title=\"<i class='material-icons'>info</i> ".__('PHP Information')."\">";
ob_start();