From f3b1fed9c61a4fa9e3e761191e9d377f06d52f80 Mon Sep 17 00:00:00 2001 From: rub Date: Sat, 7 Jul 2007 09:23:04 +0000 Subject: Resolved issue 0000717: guest must be guest git-svn-id: http://piwigo.org/svn/trunk@2055 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 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']; -- cgit v1.2.3