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 fc7d18123d
commit 28b30c1e56
144 changed files with 385 additions and 285 deletions

View File

@@ -1,7 +1,7 @@
<? global $lang_id;?>
<div class="category-content">
<? if ( is_array( $this -> products ) ): foreach ( $this -> products as $product_id ):
echo \Tpl::view( 'shop-product/product-mini', [
echo \Shared\Tpl\Tpl::view( 'shop-product/product-mini', [
'product' => $product = \shop\Product::getFromCache( $product_id, $lang_id )
] );
endforeach; endif;?>
@@ -9,7 +9,7 @@
<?= $this -> pager;?>
<?
if ( $this -> producer['languages'][$lang_id]['description'] ):
echo \Tpl::view( 'shop-producer/description', [
echo \Shared\Tpl\Tpl::view( 'shop-producer/description', [
'description' => $this -> producer['languages'][$lang_id]['description']
] );
endif;