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:
@@ -96,7 +96,7 @@
|
||||
<input type="checkbox" class="g-checkbox" name="mass_categories[]" value="<?= $category['id']; ?>" />
|
||||
<b><?= $category['languages'][$this->dlang]['title']; ?></b>
|
||||
</div>
|
||||
<?= \Tpl::view( 'shop-product/subcategories-list', [
|
||||
<?= \Shared\Tpl\Tpl::view( 'shop-product/subcategories-list', [
|
||||
'categories' => ( new \Domain\Category\CategoryRepository( $GLOBALS['mdb'] ) )->subcategories( $category['id'] ),
|
||||
'level' => ($this->level ?? 0) + 1,
|
||||
'dlang' => $this->dlang,
|
||||
@@ -111,4 +111,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?= \Tpl::view( 'shop-product/mass-edit-custom-script' ); ?>
|
||||
<?= \Shared\Tpl\Tpl::view( 'shop-product/mass-edit-custom-script' ); ?>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?= \Tpl::view('components/form-edit', ['form' => $this->form]); ?>
|
||||
<?= \Tpl::view('shop-product/product-edit-custom-script', [
|
||||
<?= \Shared\Tpl\Tpl::view('components/form-edit', ['form' => $this->form]); ?>
|
||||
<?= \Shared\Tpl\Tpl::view('shop-product/product-edit-custom-script', [
|
||||
'product' => $this->product,
|
||||
'user' => $this->user,
|
||||
'languages' => $this->form->languages ?? []
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?= \Tpl::view('components/table-list', ['list' => $this->viewModel]); ?>
|
||||
<?= \Shared\Tpl\Tpl::view('components/table-list', ['list' => $this->viewModel]); ?>
|
||||
|
||||
<?php if (!empty($this->viewModel->customScriptView)): ?>
|
||||
<?= \Tpl::view($this->viewModel->customScriptView, [
|
||||
<?= \Shared\Tpl\Tpl::view($this->viewModel->customScriptView, [
|
||||
'list' => $this->viewModel,
|
||||
'apilo_enabled' => $this->apilo_enabled,
|
||||
'shoppro_enabled' => $this->shoppro_enabled,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<b><?= $category[ 'languages' ][ $this -> dlang ][ 'title' ];?></b>
|
||||
</div>
|
||||
<?=
|
||||
\Tpl::view( 'shop-product/subcategories-list', [
|
||||
\Shared\Tpl\Tpl::view( 'shop-product/subcategories-list', [
|
||||
'categories' => ( new \Domain\Category\CategoryRepository( $GLOBALS['mdb'] ) )->subcategories( $category[ 'id' ] ),
|
||||
'product_categories' => $this -> product_categories,
|
||||
'dlang' => $this -> dlang,
|
||||
|
||||
Reference in New Issue
Block a user