add ajaxchat library - needs a lot of integration work to handle decentralisation (e.g. chatroom@website) and zotid w/permissions (e.g. ACL controlled chatrooms); we can also rip out a lot of stuff we don't need.
This commit is contained in:
25
library/ajaxchat/chat/lib/class/CustomAJAXChatShoutBox.php
Normal file
25
library/ajaxchat/chat/lib/class/CustomAJAXChatShoutBox.php
Normal file
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user