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:
@@ -143,7 +143,7 @@ class ShopAttributeController
|
||||
'Dodaj ceche'
|
||||
);
|
||||
|
||||
return \Tpl::view('shop-attribute/attributes-list', [
|
||||
return \Shared\Tpl\Tpl::view('shop-attribute/attributes-list', [
|
||||
'viewModel' => $viewModel,
|
||||
]);
|
||||
}
|
||||
@@ -153,7 +153,7 @@ class ShopAttributeController
|
||||
$attribute = $this->repository->findAttribute((int)\Shared\Helpers\Helpers::get('id'));
|
||||
$languages = $this->languagesRepository->languagesList();
|
||||
|
||||
return \Tpl::view('shop-attribute/attribute-edit', [
|
||||
return \Shared\Tpl\Tpl::view('shop-attribute/attribute-edit', [
|
||||
'form' => $this->buildFormViewModel($attribute, $languages),
|
||||
]);
|
||||
}
|
||||
@@ -236,7 +236,7 @@ class ShopAttributeController
|
||||
|
||||
$languages = $this->languagesRepository->languagesList();
|
||||
|
||||
return \Tpl::view('shop-attribute/values-edit', [
|
||||
return \Shared\Tpl\Tpl::view('shop-attribute/values-edit', [
|
||||
'attribute' => $attribute,
|
||||
'values' => $this->repository->findValues($attributeId),
|
||||
'languages' => $languages,
|
||||
@@ -318,7 +318,7 @@ class ShopAttributeController
|
||||
$rowKey = 'new-' . time();
|
||||
}
|
||||
|
||||
$html = \Tpl::view('shop-attribute/_partials/value-row', [
|
||||
$html = \Shared\Tpl\Tpl::view('shop-attribute/_partials/value-row', [
|
||||
'rowKey' => $rowKey,
|
||||
'value' => ['id' => 0, 'is_default' => 0, 'impact_on_the_price' => null, 'languages' => []],
|
||||
'languages' => $this->languagesRepository->languagesList(),
|
||||
|
||||
Reference in New Issue
Block a user