diff --git a/includes/sys_menu.php b/includes/sys_menu.php
index de7fc071..4bfcb696 100644
--- a/includes/sys_menu.php
+++ b/includes/sys_menu.php
@@ -24,7 +24,7 @@ function header_toolbar() {
$toolbar_items[] = toolbar_item_link(page_link_to('register'), 'plus', register_title(), $p == 'register');
if (in_array('user_myshifts', $privileges))
- $toolbar_items[] = toolbar_item_link(page_link_to('users') . '&action=view', ' icon-icon_angel', $user['Nick'], $p == 'user_myshifts');
+ $toolbar_items[] = toolbar_item_link(page_link_to('users') . '&action=view', ' icon-icon_angel', $user['Nick'], $p == 'users');
if (in_array('user_settings', $privileges))
$toolbar_items[] = toolbar_item_link(page_link_to('user_settings'), 'list-alt', settings_title(), $p == 'user_settings');
diff --git a/includes/sys_template.php b/includes/sys_template.php
index 24e6797b..2015a0d7 100644
--- a/includes/sys_template.php
+++ b/includes/sys_template.php
@@ -256,16 +256,16 @@ function table($columns, $rows_raw, $data = true) {
$html .= '
';
$html .= '';
foreach ($columns as $key => $column)
- $html .= '' . $column . ' | ';
+ $html .= '' . $column . ' | ';
$html .= '
';
$html .= '';
foreach ($rows as $row) {
$html .= '';
foreach ($columns as $key => $column)
if (isset($row[$key]))
- $html .= '' . $row[$key] . ' | ';
+ $html .= '' . $row[$key] . ' | ';
else
- $html .= ' | ';
+ $html .= ' | ';
$html .= '
';
}
$html .= '';
diff --git a/includes/view/ShiftEntry_view.php b/includes/view/ShiftEntry_view.php
index c8690689..6cb8ba00 100644
--- a/includes/view/ShiftEntry_view.php
+++ b/includes/view/ShiftEntry_view.php
@@ -18,7 +18,7 @@ function ShiftEntry_edit_view($angel, $date, $location, $title, $type, $comment,
form_textarea('freeload_comment', _("Freeload comment (Only for shift coordination):"), $freeload_comment)
);
} else {
- $freeload_form = "";
+ $freeload_form = array();
}
return page_with_title(_("Edit shift entry"), array(
form(array(
diff --git a/includes/view/User_view.php b/includes/view/User_view.php
index 04a0fa3f..baa02591 100644
--- a/includes/view/User_view.php
+++ b/includes/view/User_view.php
@@ -1,5 +1,24 @@
_("Please select..."),
+ 'S' => "S",
+ 'M' => "M",
+ 'L' => "L",
+ 'XL' => "XL",
+ '2XL' => "2XL",
+ '3XL' => "3XL",
+ '4XL' => "4XL",
+ '5XL' => "5XL",
+ 'S-G' => "S Girl",
+ 'M-G' => "M Girl",
+ 'L-G' => "L Girl",
+ 'XL-G' => "XL Girl"
+);
+
function User_shift_mode_render($shift_mode) {
if ($shift_mode == 0)
return '' . _("Free") . '';
@@ -124,25 +143,6 @@ function User_view($user_source, $admin_user_privilege, $freeloader, $user_shift
));
}
-/**
- * Available T-Shirt sizes
- */
-$tshirt_sizes = array(
- '' => _("Please select..."),
- 'S' => "S",
- 'M' => "M",
- 'L' => "L",
- 'XL' => "XL",
- '2XL' => "2XL",
- '3XL' => "3XL",
- '4XL' => "4XL",
- '5XL' => "5XL",
- 'S-G' => "S Girl",
- 'M-G' => "M Girl",
- 'L-G' => "L Girl",
- 'XL-G' => "XL Girl"
-);
-
/**
* View for password recovery step 1: E-Mail
*/
diff --git a/themes/base.scss b/themes/base.scss
index 70d1a4b7..e2a6d56a 100644
--- a/themes/base.scss
+++ b/themes/base.scss
@@ -8,5 +8,5 @@ body {
}
.footer a {
- color: $text-muted;
-}
\ No newline at end of file
+ color: $text-muted;
+}