From 28a8e83485014236ad71b212d0934829d1ac91e9 Mon Sep 17 00:00:00 2001 From: rub Date: Sat, 7 Jul 2007 09:22:11 +0000 Subject: Resolved issue 0000717: guest must be guest git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2054 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/common.inc.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/common.inc.php') diff --git a/include/common.inc.php b/include/common.inc.php index db94ed740..cba46b781 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -187,6 +187,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']; -- cgit v1.2.3