From b79bd6ae8e954b0ebb5bbdfbd7591f71eeb8919f Mon Sep 17 00:00:00 2001 From: Nathan Patten Date: Sat, 22 Feb 2014 21:33:49 +1100 Subject: [PATCH] [ADD] Chat --- public/include/pages/about/chat.inc.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 public/include/pages/about/chat.inc.php 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; +}