first commit
This commit is contained in:
20
autoload/admin/view/class.Banners.php
Normal file
20
autoload/admin/view/class.Banners.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
namespace admin\view;
|
||||
|
||||
class Banners
|
||||
{
|
||||
public static function banners_list()
|
||||
{
|
||||
$tpl = new \Tpl;
|
||||
return $tpl -> render( 'banners/banners-list' );
|
||||
}
|
||||
|
||||
public static function banner_edit( $banner, $languages )
|
||||
{
|
||||
$tpl = new \Tpl;
|
||||
$tpl -> banner = $banner;
|
||||
$tpl -> languages = $languages;
|
||||
return $tpl -> render( 'banners/banner-edit' );
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user