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

@@ -38,7 +38,7 @@ if (!empty($values)) {
foreach ($values as $value) {
++$rowCounter;
$rowKey = 'existing-' . (int)($value['id'] ?? 0);
$initialRowsHtml .= \Tpl::view('shop-attribute/_partials/value-row', [
$initialRowsHtml .= \Shared\Tpl\Tpl::view('shop-attribute/_partials/value-row', [
'rowKey' => $rowKey,
'value' => $value,
'languages' => $activeLanguages,
@@ -47,7 +47,7 @@ if (!empty($values)) {
}
} else {
$rowCounter = 1;
$initialRowsHtml .= \Tpl::view('shop-attribute/_partials/value-row', [
$initialRowsHtml .= \Shared\Tpl\Tpl::view('shop-attribute/_partials/value-row', [
'rowKey' => 'new-1',
'value' => ['id' => 0, 'is_default' => 1, 'impact_on_the_price' => null, 'languages' => []],
'languages' => $activeLanguages,
@@ -55,7 +55,7 @@ if (!empty($values)) {
]);
}
$newRowTemplate = \Tpl::view('shop-attribute/_partials/value-row', [
$newRowTemplate = \Shared\Tpl\Tpl::view('shop-attribute/_partials/value-row', [
'rowKey' => '__ROW_KEY__',
'value' => ['id' => 0, 'is_default' => 0, 'impact_on_the_price' => null, 'languages' => []],
'languages' => $activeLanguages,