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:
@@ -276,7 +276,7 @@ ob_start();
|
||||
</button>
|
||||
Menu: <b><?= $menu['name'];?></b>
|
||||
</div>
|
||||
<?= \Tpl::view( 'layouts/subpages-list', [
|
||||
<?= \Shared\Tpl\Tpl::view( 'layouts/subpages-list', [
|
||||
'pages' => $menu['pages'],
|
||||
'layout_pages' => $this -> layout['pages'],
|
||||
'step' => 1
|
||||
@@ -302,7 +302,7 @@ ob_start();
|
||||
<input type="checkbox" class="g-checkbox" name="categories[]" value="<?= $category['id'];?>" <? if ( is_array( $this -> layout['categories'] ) and in_array( $category['id'], $this -> layout['categories'] ) ):?>checked="checked"<? endif;?> />
|
||||
<b><?= $category['languages'][$this -> dlang]['title'];?></b>
|
||||
</div>
|
||||
<?= \Tpl::view( 'layouts/subcategories-list', [
|
||||
<?= \Shared\Tpl\Tpl::view( 'layouts/subcategories-list', [
|
||||
'categories' => $category['subcategories'],
|
||||
'product_categories' => $this -> layout['categories'],
|
||||
'dlang' => $this -> dlang
|
||||
|
||||
@@ -1 +1 @@
|
||||
<?= \Tpl::view('components/table-list', ['list' => $this->viewModel]); ?>
|
||||
<?= \Shared\Tpl\Tpl::view('components/table-list', ['list' => $this->viewModel]); ?>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<input type="checkbox" class="g-checkbox" name="categories[]" value="<?= $category['id'];?>" <? if ( is_array( $this -> product_categories ) and in_array( $category['id'], $this -> product_categories ) ):?>checked="checked"<? endif;?> />
|
||||
<b><?= $category['languages'][$this -> dlang]['title'];?></b>
|
||||
</div>
|
||||
<?= \Tpl::view( 'layouts/subcategories-list', [
|
||||
<?= \Shared\Tpl\Tpl::view( 'layouts/subcategories-list', [
|
||||
'categories' => $category['subcategories'],
|
||||
'product_categories' => $this -> product_categories,
|
||||
'dlang' => $this -> dlang
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<?
|
||||
if ( is_array( $page['subpages'] ) )
|
||||
echo \Tpl::view( 'layouts/subpages-list', [
|
||||
echo \Shared\Tpl\Tpl::view( 'layouts/subpages-list', [
|
||||
'pages' => $page['subpages'],
|
||||
'layout_pages' => $this -> layout_pages,
|
||||
'step' => $this -> step + 1
|
||||
|
||||
Reference in New Issue
Block a user