first commit
This commit is contained in:
16
admin/templates/pages/page-subpages.php
Normal file
16
admin/templates/pages/page-subpages.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<? if ( is_array( $this -> _pages ) ):?>
|
||||
<ol>
|
||||
<? foreach ( $this -> _pages as $page ):?>
|
||||
<li id="list_<?= $page['id'];?>" idk="<?= $page['id'];?>" class="list_<?= $page['id'];?>" menu="<?= $page['id_menu'];?>">
|
||||
<div class="content content_page" <? if ( !$page['enabled'] ) echo 'style="color: #cc0000;"';?>>
|
||||
<span class="disclose"><span></span></span>
|
||||
<?= $page['title'];?>
|
||||
</div>
|
||||
<?
|
||||
if ( is_array( $page['subpages'] ) )
|
||||
echo \admin\view\Pages::drawSubpages( $page['subpages'], $page['id'] );
|
||||
?>
|
||||
</li>
|
||||
<? endforeach;?>
|
||||
</ol>
|
||||
<? endif;?>
|
||||
Reference in New Issue
Block a user