summaryrefslogtreecommitdiff
path: root/includes/sys_menu.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2015-12-20 11:36:12 +0100
committerPhilip Häusler <msquare@notrademark.de>2015-12-20 11:36:12 +0100
commit0ac05d251c0df5fa09a27b7686acc5690b436f31 (patch)
tree12e39fff0fd2c62a624a8c6ee51af4664d557ade /includes/sys_menu.php
parent2cb44fe51752bece6413d3a4745cfba79df21884 (diff)
#198 fixed: driving license feature completed - integrated into angeltypes
Diffstat (limited to 'includes/sys_menu.php')
-rw-r--r--includes/sys_menu.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/sys_menu.php b/includes/sys_menu.php
index c7ecfb88..b475136d 100644
--- a/includes/sys_menu.php
+++ b/includes/sys_menu.php
@@ -48,6 +48,10 @@ function header_toolbar() {
if (! isset($user['planned_departure_date']) || $user['planned_departure_date'] == null)
$hints[] = info(_("Please enter your planned date of departure on your settings page to give us a feeling for teardown capacities."), true);
+ $driver_license_required = user_driver_license_required_hint();
+ if ($driver_license_required != '')
+ $hints[] = $driver_license_required;
+
if (User_is_freeloader($user)) {
$hints[] = error(sprintf(_("You freeloaded at least %s shifts. Shift signup is locked. Please go to heavens desk to be unlocked again."), $max_freeloadable_shifts), true);
$hint_class = 'danger';