33 lines
1008 B
PHP
33 lines
1008 B
PHP
<?php
|
|
/**
|
|
* app/plugins/blog/templates/blog.inc.php
|
|
*
|
|
* This is the loader for the blog template.
|
|
*
|
|
* @package TP Blog
|
|
* @version 3.0
|
|
* @author Joey Kimsey <Joey@thetempusproject.com>
|
|
* @link https://TheTempusProject.com
|
|
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
|
*/
|
|
namespace TheTempusProject\Templates;
|
|
|
|
use TheTempusProject\Plugins\Calendar;
|
|
|
|
use TheTempusProject\Houdini\Classes\Components;
|
|
use TheTempusProject\Houdini\Classes\Navigation;
|
|
use TheTempusProject\Houdini\Classes\Views;
|
|
use TheTempusProject\Houdini\Classes\Template;
|
|
use TheTempusProject\Bedrock\Functions\Input;
|
|
|
|
class ChatLoader extends DefaultLoader {
|
|
/**
|
|
* This is the function used to generate any components that may be
|
|
* needed by this template.
|
|
*/
|
|
public function __construct() {
|
|
$this->addJs( '<script language="JavaScript" crossorigin="anonymous" type="text/javascript" src="{ROOT_URL}app/plugins/chat/js/chat.js"></script>' );
|
|
parent::__construct();
|
|
}
|
|
}
|