diff --git a/public/include/pages/about/chat.inc.php b/public/include/pages/about/chat.inc.php new file mode 100644 index 00000000..0605a4c5 --- /dev/null +++ b/public/include/pages/about/chat.inc.php @@ -0,0 +1,18 @@ +getValue('acl_chat_page', 1)) { +case '0': + if ($user->isAuthenticated()) { + $smarty->assign("CONTENT", "default.tpl"); + } + break; +case '1': + $smarty->assign("CONTENT", "default.tpl"); + break; +case '2': + $_SESSION['POPUP'][] = array('CONTENT' => 'Page currently disabled. Please try again later.', 'TYPE' => 'errormsg'); + $smarty->assign("CONTENT", "disabled.tpl"); + break; +}