From 305d0e4cc9eb667089ae121ad5f3ac3ea3ad4174 Mon Sep 17 00:00:00 2001 From: Nathan Patten Date: Sat, 22 Feb 2014 21:32:30 +1100 Subject: [PATCH] [ADD] Chat settings --- public/include/config/admin_settings.inc.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/public/include/config/admin_settings.inc.php b/public/include/config/admin_settings.inc.php index 9e41bbd6..be23939a 100644 --- a/public/include/config/admin_settings.inc.php +++ b/public/include/config/admin_settings.inc.php @@ -250,6 +250,20 @@ $aSettings['acl'][] = array( 'name' => 'acl_contactform', 'value' => $setting->getValue('acl_contactform'), 'tooltip' => 'Make the contactform private (users only) or public.' ); +$aSettings['acl'][] = array( + 'display' => 'Live Chat Page', 'type' => 'select', + 'options' => array( 0 => 'Private', 1 => 'Public', 2 => 'Disabled' ), + 'default' => 1, + 'name' => 'acl_chat_page', 'value' => $setting->getValue('acl_chat_page'), + 'tooltip' => 'Make the chat page private (users only) or public.' +); +$aSettings['acl'][] = array( + 'display' => 'IRC Chat Channel', 'type' => 'text', + 'size' => 25, + 'default' => '#', + 'name' => 'acl_irc_chat', 'value' => $setting->getValue('acl_irc_chat'), + 'tooltip' => 'Your IRC support channel name.' +); $aSettings['system'][] = array( 'display' => 'E-mail address for system error notifications', 'type' => 'text', 'size' => 25,