Added extension info to Admin -> Extensions -> Popup

This commit is contained in:
the-djmaze 2024-09-24 16:53:46 +02:00
parent 85ac404722
commit 3931c11255
32 changed files with 150 additions and 101 deletions

View file

@ -69,7 +69,20 @@ trait AdminExtensions
'id' => $sId,
'name' => $oPlugin->Name(),
'readme' => $oPlugin->Description(),
'config' => array()
'config' => array(),
'author' => $oPlugin::AUTHOR,
'url' => $oPlugin::URL,
'version' => $oPlugin::VERSION,
'released' => $oPlugin::RELEASE
/*
$oPlugin::NAME
$oPlugin::REQUIRED
$oPlugin::DEPRECATED
$oPlugin::CATEGORY
$oPlugin::LICENSE
$oPlugin::DESCRIPTION
*/
);
$aMap = $oPlugin->ConfigMap();

View file

@ -11,6 +11,7 @@ abstract class AbstractPlugin
VERSION = '0.0',
RELEASE = '2020-11-01',
REQUIRED = '2.0.0',
// DEPRECATED = '',
CATEGORY = 'General',
LICENSE = 'AGPL v3',
DESCRIPTION = '';