master
Jean-Christian Paul Denis 2023-03-11 20:05:11 +01:00
parent 45499b0b75
commit e0918f3d8a
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ class Backend extends dcNsProcess
} }
dcCore::app()->addBehaviors([ dcCore::app()->addBehaviors([
'pluginsToolsTabsV2' => [BackendBehaviors::class, 'pluginTabs'], 'pluginsToolsTabsV2' => [BackendBehaviors::class, 'pluginsTabs'],
'themesToolsTabsV2' => [BackendBehaviors::class, 'themesTabs'], 'themesToolsTabsV2' => [BackendBehaviors::class, 'themesTabs'],
]); ]);

View File

@ -24,13 +24,13 @@ use html;
class BackendBehaviors class BackendBehaviors
{ {
# admin plugins page tab # admin plugins page tab
public static function pluginsToolsTabs(): void public static function pluginsTabs(): void
{ {
self::modulesToolsTabs(dcCore::app()->plugins, explode(',', DC_DISTRIB_PLUGINS), dcCore::app()->adminurl->get('admin.plugins')); self::modulesToolsTabs(dcCore::app()->plugins, explode(',', DC_DISTRIB_PLUGINS), dcCore::app()->adminurl->get('admin.plugins'));
} }
# admin themes page tab # admin themes page tab
public static function themesToolsTabs(): void public static function themesTabs(): void
{ {
self::modulesToolsTabs(dcCore::app()->themes, explode(',', DC_DISTRIB_THEMES), dcCore::app()->adminurl->get('admin.blog.theme')); self::modulesToolsTabs(dcCore::app()->themes, explode(',', DC_DISTRIB_THEMES), dcCore::app()->adminurl->get('admin.blog.theme'));
} }