engelsystem/includes/pages/admin_log.php

24 lines
506 B
PHP
Raw Normal View History

2011-06-03 14:44:01 +02:00
<?php
2013-11-25 21:04:58 +01:00
function admin_log_title() {
return _("Log");
}
2011-06-03 14:44:01 +02:00
function admin_log() {
2012-12-26 20:36:31 +01:00
$log_entries_source = LogEntries();
$log_entries = array();
2014-08-22 22:34:13 +02:00
foreach ($log_entries_source as $log_entry) {
2012-12-26 20:36:31 +01:00
$log_entry['date'] = date("H:i", $log_entry['timestamp']);
$log_entries[] = $log_entry;
}
2014-08-22 22:34:13 +02:00
return page_with_title(admin_log_title(), array(
msg(),
table(array(
'date' => "Time",
'nick' => "Angel",
'message' => "Log Entry"
), $log_entries)
2012-12-26 20:36:31 +01:00
));
2011-06-03 14:44:01 +02:00
}
?>