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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user