Articles: finish admin refactor, uploads hardening, and attachment sorting (0.262)
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
<?php
|
||||
namespace admin\view;
|
||||
|
||||
class Articles
|
||||
{
|
||||
public static function subpages_list( $pages, $article_pages, $parent_id = 0, $step = 1 )
|
||||
{
|
||||
$tpl = new \Tpl();
|
||||
$tpl -> pages = $pages;
|
||||
$tpl -> parent_id = $parent_id;
|
||||
$tpl -> step = $step;
|
||||
$tpl -> article_pages = $article_pages;
|
||||
return $tpl -> render( 'articles/subpages-list' );
|
||||
}
|
||||
|
||||
public static function articles_list()
|
||||
{
|
||||
$tpl = new \Tpl;
|
||||
return $tpl -> render( 'articles/articles-list' );
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user