first commit

This commit is contained in:
2024-10-23 13:44:50 +02:00
commit b6107b8c75
7924 changed files with 1087672 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace admin\view;
class ShopCategory
{
public static function category_edit( $category, $pid = '', $languages )
{
$tpl = new \Tpl;
$tpl -> languages = $languages;
$tpl -> pid = $pid;
$tpl -> category = $category;
return $tpl -> render( 'shop-category/category-edit' );
}
public static function subcategories_list( $categories_list, $level )
{
$tpl = new \Tpl;
$tpl -> level = $level;
$tpl -> categories = $categories_list;
return $tpl -> render( 'shop-category/subcategories-list' );
}
}