oops
parent
45499b0b75
commit
e0918f3d8a
|
@ -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'],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
@ -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'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue