Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
509a10bc36 |
@ -1,40 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* app/plugins/redirects/plugin.php
|
|
||||||
*
|
|
||||||
* This houses all of the main plugin info and functionality.
|
|
||||||
*
|
|
||||||
* @package TP Redirects
|
|
||||||
* @version 3.0
|
|
||||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
|
||||||
* @link https://TheTempusProject.com
|
|
||||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
|
||||||
*/
|
|
||||||
namespace TheTempusProject\Plugins;
|
|
||||||
|
|
||||||
use ReflectionClass;
|
|
||||||
use TheTempusProject\Classes\Installer;
|
|
||||||
use TheTempusProject\Houdini\Classes\Navigation;
|
|
||||||
use TheTempusProject\Classes\Plugin;
|
|
||||||
use TheTempusProject\TheTempusProject as App;
|
|
||||||
|
|
||||||
class Redirects extends Plugin {
|
|
||||||
public $pluginName = 'TP Redirects';
|
|
||||||
public $pluginAuthor = 'JoeyK';
|
|
||||||
public $pluginWebsite = 'https://TheTempusProject.com';
|
|
||||||
public $modelVersion = '1.0';
|
|
||||||
public $pluginVersion = '3.0';
|
|
||||||
public $pluginDescription = 'A simple plugin which adds redirects.';
|
|
||||||
public $permissionMatrix = [
|
|
||||||
'redirects' => [
|
|
||||||
'pretty' => 'Can modify redirects',
|
|
||||||
'default' => false,
|
|
||||||
],
|
|
||||||
];
|
|
||||||
public $admin_links = [
|
|
||||||
[
|
|
||||||
'text' => '<i class="fa fa-fw fa-external-link"></i> Redirects',
|
|
||||||
'url' => '{ROOT_URL}admin/routes',
|
|
||||||
],
|
|
||||||
];
|
|
||||||
}
|
|
@ -20,11 +20,11 @@
|
|||||||
</p>
|
</p>
|
||||||
<!-- Call-to-Action Buttons -->
|
<!-- Call-to-Action Buttons -->
|
||||||
<div class="d-flex justify-content-center gap-3 mt-4">
|
<div class="d-flex justify-content-center gap-3 mt-4">
|
||||||
<a href="/login" class="btn btn-success btn-lg">
|
<a href="/home/login" class="btn btn-success btn-lg">
|
||||||
<i class="fa fa-sign-in-alt me-2"></i> Log In
|
<i class="fa fa-sign-in-alt me-2"></i> Log In
|
||||||
</a>
|
</a>
|
||||||
<a href="/dashboard" class="btn btn-outline-success btn-lg">
|
<a href="/home/index" class="btn btn-outline-success btn-lg">
|
||||||
<i class="fa fa-cogs me-2"></i> Go to Dashboard
|
<i class="fa fa-cogs me-2"></i> Go to Homepage
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user