diff --git a/src/Backend.php b/src/Backend.php index bb5c4ae..35af150 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -35,7 +35,7 @@ class Backend extends dcNsProcess } dcCore::app()->addBehaviors([ - 'pluginsToolsTabsV2' => [BackendBehaviors::class, 'pluginTabs'], + 'pluginsToolsTabsV2' => [BackendBehaviors::class, 'pluginsTabs'], 'themesToolsTabsV2' => [BackendBehaviors::class, 'themesTabs'], ]); diff --git a/src/BackendBehaviors.php b/src/BackendBehaviors.php index 0effaa9..599f79b 100644 --- a/src/BackendBehaviors.php +++ b/src/BackendBehaviors.php @@ -24,13 +24,13 @@ use html; class BackendBehaviors { # 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')); } # 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')); }