
remove dependence on jQuery add image delete Admin ui fix for mobile image updates to new style update comments
50 lines
1.5 KiB
PHP
50 lines
1.5 KiB
PHP
<?php
|
|
/**
|
|
* app/plugins/blog/plugin.php
|
|
*
|
|
* This houses all of the main plugin info and functionality.
|
|
*
|
|
* @package TP Blog
|
|
* @version 5.0.1
|
|
* @author Joey Kimsey <Joey@thetempusproject.com>
|
|
* @link https://TheTempusProject.com
|
|
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
|
*/
|
|
namespace TheTempusProject\Plugins;
|
|
|
|
use TheTempusProject\Classes\Plugin;
|
|
|
|
class Blog extends Plugin {
|
|
public $pluginName = 'TP Blog';
|
|
public $pluginAuthor = 'JoeyK';
|
|
public $pluginWebsite = 'https://TheTempusProject.com';
|
|
public $modelVersion = '1.0';
|
|
public $pluginVersion = '3.0';
|
|
public $pluginDescription = 'A simple plugin to add a blog to your installation.';
|
|
public $admin_links = [
|
|
[
|
|
'text' => '<i class="fa fa-fw fa-font"></i> Blog',
|
|
'url' => '{ROOT_URL}admin/blog',
|
|
],
|
|
];
|
|
public $info_footer_links = [
|
|
[
|
|
'text' => 'Blog',
|
|
'url' => '{ROOT_URL}blog/index',
|
|
],
|
|
];
|
|
public $resourceMatrix = [
|
|
'posts' => [
|
|
[
|
|
'title' => 'Welcome',
|
|
'slug' => 'welcome',
|
|
'content' => '<p>This is just a simple message to say thank you for installing The Tempus Project. If you have any questions you can find everything through our website <a href="https://TheTempusProject.com">here</a>.</p>',
|
|
'author' => 1,
|
|
'created' => '{time}',
|
|
'edited' => '{time}',
|
|
'draft' => 0,
|
|
],
|
|
],
|
|
];
|
|
}
|