summaryrefslogtreecommitdiff
path: root/includes/view/ShiftEntry_view.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/view/ShiftEntry_view.php')
-rw-r--r--includes/view/ShiftEntry_view.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/view/ShiftEntry_view.php b/includes/view/ShiftEntry_view.php
index b815ba73..c8690689 100644
--- a/includes/view/ShiftEntry_view.php
+++ b/includes/view/ShiftEntry_view.php
@@ -18,9 +18,9 @@ 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 = $freeloaded ? "" : "";
+ $freeload_form = "";
}
- return page(array(
+ return page_with_title(_("Edit shift entry"), array(
form(array(
form_info(_("Angel:"), $angel),
form_info(_("Date, Duration:"), $date),