summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2013-12-01 21:01:14 +0100
committerPhilip Häusler <msquare@notrademark.de>2013-12-01 21:01:14 +0100
commit18b568236371fb522cd0f2612dbee1a0bbf1b607 (patch)
treecc22809147f3f82a0ff1db5b06f16ea3b784fc68 /public
parentef66360f69a0a2cc095c1f938ed634239e5ca576 (diff)
hint for angels not having a shirt size
Diffstat (limited to 'public')
-rw-r--r--public/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php
index 99c7c092..88276ef6 100644
--- a/public/index.php
+++ b/public/index.php
@@ -194,6 +194,9 @@ if (isset($user) && $p != "user_messages")
if (isset($user) && $user['Gekommen'] == 0)
$content = error(_("You are not marked as arrived. Please go to heaven's desk, get your angel badge and/or tell them that you arrived already."), true) . $content;
+if($enable_tshirt_size && $user['Size'] == "")
+ $content = error(_("You need to specify a tshirt size in your settings!"), true) . $content;
+
// Erzengel Hinweis für unbeantwortete Fragen
if (isset($user) && $p != "admin_questions")
$content = admin_new_questions() . $content;