Subida del módulo y tema de PrestaShop

This commit is contained in:
Kaloyan
2026-04-09 18:31:51 +02:00
parent 12c253296f
commit 16b3ff9424
39262 changed files with 7418797 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
{if isset($listing.pagination) && $listing.pagination.should_be_displayed}
{$page_nb = 1}
{if isset($smarty.get.page)}
{$page_nb = $smarty.get.page|intval|default:1}
{/if}
{$queryPage = '?page='|cat:$page_nb}
{$page.canonical = $page.canonical|replace:$queryPage:''}
{$prev = false}
{$next = false}
{if ($page_nb - 1) == 1}
{$prev = $page.canonical}
{elseif $page_nb> 2}
{$prev = ($page['canonical']|cat:'?page='|cat:($page_nb - 1))}
{/if}
{if $listing.pagination.total_items> $listing.pagination.items_shown_to}
{$next = ($page['canonical']|cat:'?page='|cat:($page_nb + 1))}
{/if}
{if $prev}<link rel="prev" href="{$prev}">{/if}
{if $next}<link rel="next" href="{$next}">{/if}
{/if}