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:
@@ -8,7 +8,7 @@ $selectedIds = is_array($this->selectedIds ?? null) ? $this->selectedIds : [];
|
||||
<label class="col-lg-4 control-label"><?= htmlspecialchars($label, ENT_QUOTES, 'UTF-8'); ?>:</label>
|
||||
<div class="col-lg-8">
|
||||
<div class="coupon-categories-box">
|
||||
<?= \Tpl::view('shop-coupon/coupon-categories-tree', [
|
||||
<?= \Shared\Tpl\Tpl::view('shop-coupon/coupon-categories-tree', [
|
||||
'categories' => $categories,
|
||||
'selectedIds' => $selectedIds,
|
||||
'inputName' => $inputName,
|
||||
|
||||
@@ -55,7 +55,7 @@ foreach ($selectedRaw as $value) {
|
||||
</div>
|
||||
|
||||
<?php if ($hasChildren): ?>
|
||||
<?= \Tpl::view('shop-coupon/coupon-categories-tree', [
|
||||
<?= \Shared\Tpl\Tpl::view('shop-coupon/coupon-categories-tree', [
|
||||
'categories' => $children,
|
||||
'selectedIds' => array_keys($selected),
|
||||
'inputName' => $inputName,
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<?= \Tpl::view('components/form-edit', ['form' => $this->form]); ?>
|
||||
<?= \Tpl::view('shop-coupon/coupon-edit-custom-script'); ?>
|
||||
<?= \Shared\Tpl\Tpl::view('components/form-edit', ['form' => $this->form]); ?>
|
||||
<?= \Shared\Tpl\Tpl::view('shop-coupon/coupon-edit-custom-script'); ?>
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<?= \Tpl::view('components/table-list', ['list' => $this->viewModel]); ?>
|
||||
<?= \Shared\Tpl\Tpl::view('components/table-list', ['list' => $this->viewModel]); ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user