aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/common.inc.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 39de9a42f..49fc70dba 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -186,6 +186,13 @@ else
$template = new Template(PHPWG_ROOT_PATH.'template/'.$user['template'], $user['theme'] );
}
+if (isset($user['internal_status']['guest_must_be_guest'])
+ and
+ $user['internal_status']['guest_must_be_guest'] === true)
+{
+ $header_msgs[] = l10n('guest_must_be_guest');
+}
+
if ($conf['gallery_locked'])
{
$header_msgs[] = $lang['gallery_locked_message'];