summaryrefslogtreecommitdiff
path: root/includes/pages/admin_log.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages/admin_log.php')
-rw-r--r--includes/pages/admin_log.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/includes/pages/admin_log.php b/includes/pages/admin_log.php
index 2dfc169a..b60a9fca 100644
--- a/includes/pages/admin_log.php
+++ b/includes/pages/admin_log.php
@@ -6,18 +6,18 @@ function admin_log_title() {
function admin_log() {
$log_entries_source = LogEntries();
$log_entries = array();
- foreach($log_entries_source as $log_entry) {
+ foreach ($log_entries_source as $log_entry) {
$log_entry['date'] = date("H:i", $log_entry['timestamp']);
$log_entries[] = $log_entry;
}
-
- return page(array(
- msg(),
- table(array(
- 'date' => "Time",
- 'nick' => "Angel",
- 'message' => "Log Entry"
- ), $log_entries)
+
+ return page_with_title(admin_log_title(), array(
+ msg(),
+ table(array(
+ 'date' => "Time",
+ 'nick' => "Angel",
+ 'message' => "Log Entry"
+ ), $log_entries)
));
}
?>