ajax-chat/src/CustomAJAXChatShoutBox.php
2022-02-06 17:26:14 +01:00

25 lines
573 B
PHP

<?php
/*
* @package AJAX_Chat
* @author Sebastian Tschan
* @copyright (c) Sebastian Tschan
* @license GNU Affero General Public 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 . '/template/shoutbox.html');
// Return parsed template content:
return $template->getParsedContent();
}
}