ver. 0.285: Tpl → Shared\Tpl namespace, CurlServer removal, thumb.php fix
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -28,7 +28,7 @@ ob_start();
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<?= \Tpl::view( 'shop-category/subcategories-list', [
|
||||
<?= \Shared\Tpl\Tpl::view( 'shop-category/subcategories-list', [
|
||||
'categories' => ( new \Domain\Category\CategoryRepository( $GLOBALS['mdb'] ) )->subcategories( $category['id'] ),
|
||||
'level' => $this -> level + 1,
|
||||
'dlang' => $this -> dlang
|
||||
@@ -49,4 +49,4 @@ $gridContent = $out;
|
||||
$gridPersist = false;
|
||||
include __DIR__ . '/../components/grid-edit-replacement.php';
|
||||
?>
|
||||
<?= \Tpl::view( 'shop-category/categories-list-custom-script' ); ?>
|
||||
<?= \Shared\Tpl\Tpl::view( 'shop-category/categories-list-custom-script' ); ?>
|
||||
@@ -18,7 +18,7 @@ ob_start();
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<?= \Tpl::view( 'shop-category/subcategory-browse-list', [
|
||||
<?= \Shared\Tpl\Tpl::view( 'shop-category/subcategory-browse-list', [
|
||||
'categories' => ( new \Domain\Category\CategoryRepository( $GLOBALS['mdb'] ) )->subcategories( $category['id'] ),
|
||||
'level' => $this -> level + 1,
|
||||
'dlang' => $this -> dlang
|
||||
@@ -55,4 +55,4 @@ include __DIR__ . '/../components/grid-edit-replacement.php';
|
||||
float: none;
|
||||
}
|
||||
</style>
|
||||
<?= \Tpl::view( 'shop-category/category-browse-custom-script' ); ?>
|
||||
<?= \Shared\Tpl\Tpl::view( 'shop-category/category-browse-custom-script' ); ?>
|
||||
@@ -190,5 +190,5 @@ $gridPersist = true;
|
||||
include __DIR__ . '/../components/grid-edit-replacement.php';
|
||||
?>
|
||||
|
||||
<?= \Tpl::view( 'shop-category/category-edit-custom-script' ); ?>
|
||||
<?= \Shared\Tpl\Tpl::view( 'shop-category/category-edit-custom-script' ); ?>
|
||||
|
||||
|
||||
@@ -27,4 +27,4 @@ $gridContent = $out;
|
||||
$gridPersist = false;
|
||||
include __DIR__ . '/../components/grid-edit-replacement.php';
|
||||
?>
|
||||
<?= \Tpl::view( 'shop-category/category-products-custom-script', [ 'category_id' => $this -> category_id ] ); ?>
|
||||
<?= \Shared\Tpl\Tpl::view( 'shop-category/category-products-custom-script', [ 'category_id' => $this -> category_id ] ); ?>
|
||||
@@ -25,7 +25,7 @@
|
||||
<? endif;?>
|
||||
</div>
|
||||
</div>
|
||||
<?= \Tpl::view( 'shop-category/subcategories-list', [
|
||||
<?= \Shared\Tpl\Tpl::view( 'shop-category/subcategories-list', [
|
||||
'categories' => ( new \Domain\Category\CategoryRepository( $GLOBALS['mdb'] ) )->subcategories( $category['id'] ),
|
||||
'level' => $this -> level + 1,
|
||||
'dlang' => $this -> dlang
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<?= \Tpl::view( 'shop-category/subcategory-browse-list', [
|
||||
<?= \Shared\Tpl\Tpl::view( 'shop-category/subcategory-browse-list', [
|
||||
'categories' => ( new \Domain\Category\CategoryRepository( $GLOBALS['mdb'] ) )->subcategories( $category['id'] ),
|
||||
'level' => $this -> level + 1,
|
||||
'dlang' => $this -> dlang
|
||||
|
||||
Reference in New Issue
Block a user