update full
This commit is contained in:
@ -13,6 +13,6 @@ class ModuleTabsWidget extends Widget
|
||||
'/admin' => 'Локальные',
|
||||
'/admin/module_shop_client' => 'Каталог'
|
||||
];
|
||||
$this->cgView->render('/module_tabs.php', ['tabs' => $tabs]);
|
||||
$this->cgView->render('/tabs.php', ['tabs' => $tabs]);
|
||||
}
|
||||
}
|
18
kernel/widgets/TagTabsWidget.php
Normal file
18
kernel/widgets/TagTabsWidget.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace kernel\widgets;
|
||||
|
||||
use kernel\helpers\Debug;
|
||||
use kernel\Widget;
|
||||
|
||||
class TagTabsWidget extends Widget
|
||||
{
|
||||
public function run(): void
|
||||
{
|
||||
$tabs = [
|
||||
'/admin/tag' => 'tag',
|
||||
'/admin/tag_entity' => 'tag entity'
|
||||
];
|
||||
$this->cgView->render('/tabs.php', ['tabs' => $tabs]);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user