update full

This commit is contained in:
2024-12-04 13:11:12 +03:00
parent fd9439c9e2
commit 49399e456a
34 changed files with 780 additions and 121 deletions

View File

@ -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]);
}
}

View 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]);
}
}