summaryrefslogtreecommitdiff
path: root/includes/controller/event_config_controller.php
diff options
context:
space:
mode:
authorBot <bot@myigel.name>2017-01-03 14:12:17 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-01-03 15:32:59 +0100
commit55141154c083acc2d0397f4c62b4e0be1c7a19fa (patch)
tree7e5e54a19f7df976fa68c42f21f1484112a7c257 /includes/controller/event_config_controller.php
parent356b2582f3e6a43ecf2607acad4a7fe0b37f659a (diff)
Replaced " with '
Diffstat (limited to 'includes/controller/event_config_controller.php')
-rw-r--r--includes/controller/event_config_controller.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/includes/controller/event_config_controller.php b/includes/controller/event_config_controller.php
index 709d1b2a..06245c47 100644
--- a/includes/controller/event_config_controller.php
+++ b/includes/controller/event_config_controller.php
@@ -5,7 +5,7 @@
*/
function event_config_title()
{
- return _("Event config");
+ return _('Event config');
}
/**
@@ -53,40 +53,40 @@ function event_config_edit_controller()
$event_welcome_msg = null;
}
- $result = check_request_date('buildup_start_date', _("Please enter buildup start date."), true);
+ $result = check_request_date('buildup_start_date', _('Please enter buildup start date.'), true);
$buildup_start_date = $result->getValue();
$valid &= $result->isValid();
- $result = check_request_date('event_start_date', _("Please enter event start date."), true);
+ $result = check_request_date('event_start_date', _('Please enter event start date.'), true);
$event_start_date = $result->getValue();
$valid &= $result->isValid();
- $result = check_request_date('event_end_date', _("Please enter event end date."), true);
+ $result = check_request_date('event_end_date', _('Please enter event end date.'), true);
$event_end_date = $result->getValue();
$valid &= $result->isValid();
- $result = check_request_date('teardown_end_date', _("Please enter teardown end date."), true);
+ $result = check_request_date('teardown_end_date', _('Please enter teardown end date.'), true);
$teardown_end_date = $result->getValue();
$valid &= $result->isValid();
if ($buildup_start_date != null && $event_start_date != null && $buildup_start_date > $event_start_date) {
$valid = false;
- error(_("The buildup start date has to be before the event start date."));
+ error(_('The buildup start date has to be before the event start date.'));
}
if ($event_start_date != null && $event_end_date != null && $event_start_date > $event_end_date) {
$valid = false;
- error(_("The event start date has to be before the event end date."));
+ error(_('The event start date has to be before the event end date.'));
}
if ($event_end_date != null && $teardown_end_date != null && $event_end_date > $teardown_end_date) {
$valid = false;
- error(_("The event end date has to be before the teardown end date."));
+ error(_('The event end date has to be before the teardown end date.'));
}
if ($buildup_start_date != null && $teardown_end_date != null && $buildup_start_date > $teardown_end_date) {
$valid = false;
- error(_("The buildup start date has to be before the teardown end date."));
+ error(_('The buildup start date has to be before the teardown end date.'));
}
if ($valid) {
@@ -100,15 +100,15 @@ function event_config_edit_controller()
);
if ($result === false) {
- engelsystem_error("Unable to update event config.");
+ engelsystem_error('Unable to update event config.');
}
engelsystem_log(
- "Changed event config: $event_name, $event_welcome_msg, "
- . date("Y-m-d", $buildup_start_date) . ", " . date("Y-m-d", $event_start_date) . ", "
- . date("Y-m-d", $event_end_date) . ", " . date("Y-m-d", $teardown_end_date)
+ 'Changed event config: $event_name, $event_welcome_msg, '
+ . date('Y-m-d', $buildup_start_date) . ', ' . date('Y-m-d', $event_start_date) . ', '
+ . date('Y-m-d', $event_end_date) . ', ' . date('Y-m-d', $teardown_end_date)
);
- success(_("Settings saved."));
+ success(_('Settings saved.'));
redirect(page_link_to('admin_event_config'));
}
}