aboutsummaryrefslogtreecommitdiffstats
path: root/library/ajaxchat/chat/lib/class/CustomAJAXChatShoutBox.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/ajaxchat/chat/lib/class/CustomAJAXChatShoutBox.php')
-rw-r--r--library/ajaxchat/chat/lib/class/CustomAJAXChatShoutBox.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/library/ajaxchat/chat/lib/class/CustomAJAXChatShoutBox.php b/library/ajaxchat/chat/lib/class/CustomAJAXChatShoutBox.php
new file mode 100644
index 000000000..c014d639e
--- /dev/null
+++ b/library/ajaxchat/chat/lib/class/CustomAJAXChatShoutBox.php
@@ -0,0 +1,25 @@
+<?php
+/*
+ * @package AJAX_Chat
+ * @author Sebastian Tschan
+ * @copyright (c) Sebastian Tschan
+ * @license Modified MIT License
+ * @link https://blueimp.net/ajax/
+ */
+
+class CustomAJAXChatShoutBox extends CustomAJAXChat {
+
+ function initialize() {
+ // Initialize configuration settings:
+ $this->initConfig();
+ }
+
+ function getShoutBoxContent() {
+ $template = new AJAXChatTemplate($this, AJAX_CHAT_PATH.'lib/template/shoutbox.html');
+
+ // Return parsed template content:
+ return $template->getParsedContent();
+ }
+
+}
+?> \ No newline at end of file