ver. 0.285: Tpl → Shared\Tpl namespace, CurlServer removal, thumb.php fix

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-17 00:13:59 +01:00
parent 6922b66eed
commit d2c9d97710
144 changed files with 385 additions and 285 deletions

View File

@@ -129,7 +129,7 @@ class ShopPromotionController
'Dodaj promocje'
);
return \Tpl::view('shop-promotion/promotions-list', [
return \Shared\Tpl\Tpl::view('shop-promotion/promotions-list', [
'viewModel' => $viewModel,
]);
}
@@ -139,7 +139,7 @@ class ShopPromotionController
$promotion = $this->repository->find((int)\Shared\Helpers\Helpers::get('id'));
$categories = $this->repository->categoriesTree(null);
return \Tpl::view('shop-promotion/promotion-edit', [
return \Shared\Tpl\Tpl::view('shop-promotion/promotion-edit', [
'form' => $this->buildFormViewModel($promotion, $categories),
]);
}
@@ -280,7 +280,7 @@ class ShopPromotionController
'label' => 'Data do',
'tab' => 'settings',
]),
FormField::custom('categories_group_1', \Tpl::view('shop-promotion/promotion-categories-selector', [
FormField::custom('categories_group_1', \Shared\Tpl\Tpl::view('shop-promotion/promotion-categories-selector', [
'label' => 'Kategorie grupa I',
'inputName' => 'categories[]',
'categories' => $categories,
@@ -288,7 +288,7 @@ class ShopPromotionController
]), [
'tab' => 'categories',
]),
FormField::custom('categories_group_2', \Tpl::view('shop-promotion/promotion-categories-selector', [
FormField::custom('categories_group_2', \Shared\Tpl\Tpl::view('shop-promotion/promotion-categories-selector', [
'label' => 'Kategorie grupa II',
'inputName' => 'condition_categories[]',
'categories' => $categories,