* @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 Bugreport extends Plugin { public $pluginName = 'TP BugReports'; public $pluginAuthor = 'JoeyK'; public $pluginWebsite = 'https://TheTempusProject.com'; public $modelVersion = '1.0'; public $pluginVersion = '3.0'; public $pluginDescription = ''; public $configName = 'bugreports'; public $configMatrix = [ 'enabled' => [ 'type' => 'radio', 'pretty' => 'Enable Bug reporting.', 'default' => true, ], 'sendEmail' => [ 'type' => 'radio', 'pretty' => 'Email the user after submitting.', 'default' => true, ], 'emailTemplate' => [ 'type' => 'text', 'pretty' => 'Email Template', 'default' => 'BugReportEmail', ], ]; public $permissionMatrix = [ 'canSendBugReports' => [ 'pretty' => 'Can Submit Bug Reports', 'default' => false, ], ]; public $contact_footer_links = [ [ 'text' => 'Report a Bug', 'url' => '{ROOT_URL}bugreport', 'filter' => 'loggedin', ], ]; public $admin_links = [ [ 'text' => ' Bug Reports', 'url' => '{ROOT_URL}admin/bugreport', ], ]; }