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:
2026-02-17 00:13:59 +01:00
parent 6922b66eed
commit d2c9d97710
144 changed files with 385 additions and 285 deletions

View File

@@ -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' ); ?>

View File

@@ -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' ); ?>

View File

@@ -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' ); ?>

View File

@@ -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 ] ); ?>

View File

@@ -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

View File

@@ -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