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

@@ -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,

View File

@@ -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,

View File

@@ -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'); ?>

View File

@@ -1,2 +1,2 @@
<?= \Tpl::view('components/table-list', ['list' => $this->viewModel]); ?>
<?= \Shared\Tpl\Tpl::view('components/table-list', ['list' => $this->viewModel]); ?>