diff options
| author | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-24 15:52:17 +0000 |
|---|---|---|
| committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-24 15:52:17 +0000 |
| commit | 737dea1370d4082fa66b9c459d60f879d1d7ac1b (patch) | |
| tree | 629e1eeb8098eeb2f9b2315e50198728f01cc779 /phpBB/includes/functions.php | |
| parent | 097769fd0740abeae1cb9b67916e13e1d6339db6 (diff) | |
| download | forums-737dea1370d4082fa66b9c459d60f879d1d7ac1b.tar forums-737dea1370d4082fa66b9c459d60f879d1d7ac1b.tar.gz forums-737dea1370d4082fa66b9c459d60f879d1d7ac1b.tar.bz2 forums-737dea1370d4082fa66b9c459d60f879d1d7ac1b.tar.xz forums-737dea1370d4082fa66b9c459d60f879d1d7ac1b.zip | |
Show message to those browsing whilst board is disabled
git-svn-id: file:///svn/phpbb/trunk@6124 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
| -rw-r--r-- | phpBB/includes/functions.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 0a2778defe..0ed9e924ea 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2686,6 +2686,7 @@ function page_header($page_title = '', $display_online_list = true) 'U_RESTORE_PERMISSIONS' => ($user->data['user_perm_from'] && $auth->acl_get('a_switchperm')) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=restore_perm') : '', 'S_USER_LOGGED_IN' => ($user->data['user_id'] != ANONYMOUS) ? true : false, + 'S_BOARD_DISABLED' => ($config['board_disable'] && !defined('IN_LOGIN') && $auth->acl_gets('a_', 'm_')) ? true : false, 'S_REGISTERED_USER' => $user->data['is_registered'], 'S_USER_PM_POPUP' => $user->optionget('popuppm'), 'S_USER_LANG' => $user->data['user_lang'], |
