summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2013-12-01 21:06:45 +0100
committerPhilip Häusler <msquare@notrademark.de>2013-12-01 21:06:45 +0100
commit988f7509d7f4b90210d11f12b46acfb44e7156fd (patch)
tree6efaa4a4cf437525bcf4121276997f94c26db385
parent18b568236371fb522cd0f2612dbee1a0bbf1b607 (diff)
hint for specifying a dect number
-rw-r--r--public/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php
index 88276ef6..9a61c9cd 100644
--- a/public/index.php
+++ b/public/index.php
@@ -197,6 +197,9 @@ if (isset($user) && $user['Gekommen'] == 0)
if($enable_tshirt_size && $user['Size'] == "")
$content = error(_("You need to specify a tshirt size in your settings!"), true) . $content;
+if($user['DECT'] == "")
+ $content = error(_("You need to specify a DECT phone number in your settings! If you don't have a DECT phone, just enter \"-\"."), true) . $content;
+
// Erzengel Hinweis für unbeantwortete Fragen
if (isset($user) && $p != "admin_questions")
$content = admin_new_questions() . $content;