summaryrefslogtreecommitdiffstats
path: root/modules/syslog.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2014-10-09 16:01:11 +0200
committerSimon Rettberg2014-10-09 16:01:11 +0200
commite1dc0d3c99217504de2ac8467156274786efc0bd (patch)
tree130d7fed1fff8aaaffe5942cf2a3d6bb1dad03c8 /modules/syslog.inc.php
parentMinor fixes and improvements (diff)
downloadslx-admin-e1dc0d3c99217504de2ac8467156274786efc0bd.tar.gz
slx-admin-e1dc0d3c99217504de2ac8467156274786efc0bd.tar.xz
slx-admin-e1dc0d3c99217504de2ac8467156274786efc0bd.zip
Big load of changes
- Added callback functionality for taskmanager tasks. You can launch a task and define a callback function to be run when the task finished. This requires activating the cronjob - Added cron functionality: Add cronjob that calls the cron api every 5 minutes to use it. (See cron.inc.php) - Added eventlog - Added missing translations - Merged main-menu-login and main-menu-logout
Diffstat (limited to 'modules/syslog.inc.php')
-rw-r--r--modules/syslog.inc.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/syslog.inc.php b/modules/syslog.inc.php
index 8d591876..facc1557 100644
--- a/modules/syslog.inc.php
+++ b/modules/syslog.inc.php
@@ -50,11 +50,10 @@ class Page_SysLog extends Page
$res = $paginate->exec();
while ($row = $res->fetch(PDO::FETCH_ASSOC)) {
$day = date('d.m.Y', $row['dateline']);
- // TODO: No output strings in source files!
if ($day === $today) {
- $day = 'Heute';
+ $day = Dictionary::translate('today');
} elseif ($day === $yesterday) {
- $day = 'Gestern';
+ $day = Dictionary::translate('yesterday');
}
$row['date'] = $day . date(' H:i', $row['dateline']);
$lines[] = $row;