refactor layouts module to domain/di and prepare 0.256 release
This commit is contained in:
@@ -182,7 +182,11 @@ ob_start();
|
||||
<span class="disclose"><span></span></span>
|
||||
Menu: <b><?= $menu['name'];?></b>
|
||||
</div>
|
||||
<?= \admin\view\Layouts::subpages_list( \admin\factory\Pages::menu_pages( $menu['id'] ), $this -> layout['pages'] );?>
|
||||
<?= \Tpl::view( 'layouts/subpages-list', [
|
||||
'pages' => $menu['pages'],
|
||||
'layout_pages' => $this -> layout['pages'],
|
||||
'step' => 1
|
||||
] );?>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
@@ -202,8 +206,8 @@ 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( 'shop-product/subcategories-list', [
|
||||
'categories' => \admin\factory\ShopCategory::subcategories( $category['id'] ),
|
||||
<?= \Tpl::view( 'layouts/subcategories-list', [
|
||||
'categories' => $category['subcategories'],
|
||||
'product_categories' => $this -> layout['categories'],
|
||||
'dlang' => $this -> dlang
|
||||
] );?>
|
||||
@@ -250,4 +254,4 @@ $grid -> persist_edit = true;
|
||||
$grid -> id_param = 'id';
|
||||
|
||||
echo $grid -> draw();
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user