Articles: finish admin refactor, uploads hardening, and attachment sorting (0.262)
This commit is contained in:
@@ -6,11 +6,13 @@
|
||||
<span class="disclose"><span></span></span>
|
||||
<input type="checkbox" class="g-checkbox" name="pages[]" value="<?= $page['id'];?>" <? if ( is_array( $this -> article_pages ) and in_array( $page['id'], $this -> article_pages ) ):?>checked="checked"<? endif;?> /><?= $page['title'];?>
|
||||
</div>
|
||||
<?
|
||||
if ( is_array( $page['subpages'] ) )
|
||||
echo \admin\view\Articles::subpages_list( $page['subpages'], $this -> article_pages, $page['id'], $this -> step + 1 );
|
||||
?>
|
||||
<?= \Tpl::view( 'articles/subpages-list', [
|
||||
'pages' => $page['subpages'],
|
||||
'article_pages' => $this->article_pages,
|
||||
'parent_id' => $page['id'],
|
||||
'step' => $this->step + 1,
|
||||
] ); ?>
|
||||
</li>
|
||||
<? endforeach;?>
|
||||
</ol>
|
||||
<? endif;?>
|
||||
<? endif;?>
|
||||
|
||||
Reference in New Issue
Block a user