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

@@ -15,7 +15,7 @@ class ShopProducer
if ( $results['ls'] > 1 )
{
$pager = \Tpl::view( 'site/pager', [
$pager = \Shared\Tpl\Tpl::view( 'site/pager', [
'ls' => $results['ls'],
'bs' => (int) \Shared\Helpers\Helpers::get( 'bs' ) ? (int) \Shared\Helpers\Helpers::get( 'bs' ) : 1,
'page' => $page,
@@ -23,7 +23,7 @@ class ShopProducer
] );
}
return \Tpl::view( 'shop-producer/products', [
return \Shared\Tpl\Tpl::view( 'shop-producer/products', [
'producer' => $producer,
'products' => $results['products'],
'pager' => $pager
@@ -41,7 +41,7 @@ class ShopProducer
if ( \Shared\Helpers\Helpers::is_array_fix( $rows ) ) foreach ( $rows as $row )
$producers[] = new \shop\Producer( $row );
return \Tpl::view( 'shop-producer/list', [
return \Shared\Tpl\Tpl::view( 'shop-producer/list', [
'producers' => $producers
] );
}