refactor layouts module to domain/di and prepare 0.256 release

This commit is contained in:
2026-02-12 22:54:47 +01:00
parent 5e9b998043
commit 76287923e8
24 changed files with 970 additions and 315 deletions

View File

@@ -8,9 +8,13 @@
</div>
<?
if ( is_array( $page['subpages'] ) )
echo \admin\view\Layouts::subpages_list( $page['subpages'], $this -> layout_pages, $page['id'], $this -> step + 1 );
echo \Tpl::view( 'layouts/subpages-list', [
'pages' => $page['subpages'],
'layout_pages' => $this -> layout_pages,
'step' => $this -> step + 1
] );
?>
</li>
<? endforeach;?>
</ol>
<? endif;?>
<? endif;?>