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.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/pages/admin_log.php b/includes/pages/admin_log.php
index 8a0b91ec..9e5e5827 100644
--- a/includes/pages/admin_log.php
+++ b/includes/pages/admin_log.php
@@ -5,7 +5,7 @@
*/
function admin_log_title()
{
- return _("Log");
+ return _('Log');
}
/**
@@ -13,7 +13,7 @@ function admin_log_title()
*/
function admin_log()
{
- $filter = "";
+ $filter = '';
if (isset($_REQUEST['keyword'])) {
$filter = strip_request_item('keyword');
}
@@ -21,20 +21,20 @@ function admin_log()
$log_entries = [];
foreach ($log_entries_source as $log_entry) {
- $log_entry['date'] = date("d.m.Y H:i", $log_entry['timestamp']);
+ $log_entry['date'] = date('d.m.Y H:i', $log_entry['timestamp']);
$log_entries[] = $log_entry;
}
return page_with_title(admin_log_title(), [
msg(),
form([
- form_text('keyword', _("Search"), $filter),
- form_submit(_("Search"), "Go")
+ form_text('keyword', _('Search'), $filter),
+ form_submit(_('Search'), 'Go')
]),
table([
- 'date' => "Time",
- 'nick' => "Angel",
- 'message' => "Log Entry"
+ 'date' => 'Time',
+ 'nick' => 'Angel',
+ 'message' => 'Log Entry'
], $log_entries)
]);
}