summaryrefslogtreecommitdiff
path: root/includes/view/User_view.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-09-30 17:08:20 +0200
committermsquare <msquare@notrademark.de>2016-09-30 17:08:20 +0200
commit3738d071f86aa5016ce326a009a278085b41fb48 (patch)
tree4471faa1cde6985cdef4aa214994977a1534d13f /includes/view/User_view.php
parent1debe567f5f9fdeff5a2afbaa4619992da67f437 (diff)
remove long array syntax
Diffstat (limited to 'includes/view/User_view.php')
-rw-r--r--includes/view/User_view.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/view/User_view.php b/includes/view/User_view.php
index 5c258fc7..3e365ea2 100644
--- a/includes/view/User_view.php
+++ b/includes/view/User_view.php
@@ -97,11 +97,11 @@ function Users_view($users, $order_by, $arrived_count, $active_count, $force_act
$user['force_active'] = glyph_bool($user['force_active']);
$user['Tshirt'] = glyph_bool($user['Tshirt']);
$user['lastLogIn'] = date(_('m/d/Y h:i a'), $user['lastLogIn']);
- $user['actions'] = table_buttons(array(
+ $user['actions'] = table_buttons([
button_glyph(page_link_to('admin_user') . '&id=' . $user['UID'], 'edit', 'btn-xs')
- ));
+ ]);
}
- $users[] = array(
+ $users[] = [
'Nick' => '<strong>' . _('Sum') . '</strong>',
'Gekommen' => $arrived_count,
'got_voucher' => $voucher_count,
@@ -110,7 +110,7 @@ function Users_view($users, $order_by, $arrived_count, $active_count, $force_act
'freeloads' => $freeloads_count,
'Tshirt' => $tshirts_count,
'actions' => '<strong>' . count($users) . '</strong>'
- );
+ ];
return page_with_title(_('All users'), [
msg(),