summaryrefslogtreecommitdiff
path: root/includes/controller/user_driver_licenses_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/user_driver_licenses_controller.php
parent356b2582f3e6a43ecf2607acad4a7fe0b37f659a (diff)
Replaced " with '
Diffstat (limited to 'includes/controller/user_driver_licenses_controller.php')
-rw-r--r--includes/controller/user_driver_licenses_controller.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/includes/controller/user_driver_licenses_controller.php b/includes/controller/user_driver_licenses_controller.php
index f2a1c521..9562cfe0 100644
--- a/includes/controller/user_driver_licenses_controller.php
+++ b/includes/controller/user_driver_licenses_controller.php
@@ -21,8 +21,8 @@ function user_driver_license_required_hint()
foreach ($angeltypes as $angeltype) {
if ($angeltype['requires_driver_license']) {
return sprintf(
- _("You joined an angeltype which requires a driving license. Please edit your driving license information here: %s."),
- '<a href="' . user_driver_license_edit_link() . '">' . _("driving license information") . '</a>'
+ _('You joined an angeltype which requires a driving license. Please edit your driving license information here: %s.'),
+ '<a href="' . user_driver_license_edit_link() . '">' . _('driving license information') . '</a>'
);
}
}
@@ -127,22 +127,22 @@ function user_driver_license_edit_controller()
} else {
UserDriverLicenses_update($user_driver_license);
}
- engelsystem_log("Driver license information updated.");
- success(_("Your driver license information has been saved."));
+ engelsystem_log('Driver license information updated.');
+ success(_('Your driver license information has been saved.'));
redirect(user_link($user_source));
} else {
- error(_("Please select at least one driving license."));
+ error(_('Please select at least one driving license.'));
}
} elseif ($user_driver_license['id'] != null) {
UserDriverLicenses_delete($user_source['UID']);
- engelsystem_log("Driver license information removed.");
- success(_("Your driver license information has been removed."));
+ engelsystem_log('Driver license information removed.');
+ success(_('Your driver license information has been removed.'));
redirect(user_link($user_source));
}
}
return [
- sprintf(_("Edit %s driving license information"), $user_source['Nick']),
+ sprintf(_('Edit %s driving license information'), $user_source['Nick']),
UserDriverLicense_edit_view($user_source, $wants_to_drive, $user_driver_license)
];
}