<commit_before>{extends file='frontend/listing/listing_actions.tpl'}

{block name="frontend_listing_actions_class"}
<div class="listing_actions{if !$sPages || $sPages.count <= 1} normal{/if}">
{/block}
{block name="frontend_listing_actions_change_layout"}
{/block}
{* Listing paging *}
{block name='frontend_listing_actions_paging'}
{if $sPages.pages|@count != 0}
	<div class="bottom">
		<div class="paging">
			<label>{s name='ListingPaging'}{/s}</label>
			{if isset($sPages.before)}
				<a href="{$sLinks.sPage}&sPage={$sPages.before}" title="{s name='ListingLinkNext'}{/s}" class="navi prev">
					{s name="ListingTextPrevious"}&lt;{/s}
				</a>
			{/if}
			{foreach from=$sPages.pages item=page}
                {if $page<$sRequests.currentPage+4 AND $page>$sRequests.currentPage-4}
                    {if $sRequests.currentPage==$page}
                        <a title="{$sCategoryInfo.name}" class="navi on">{$page}</a>
                        {else}
                        <a href="{$sLinks.sPage}&sPage={$page}" title="{$sCategoryInfo.name}" class="navi">
                            {$page}
                        </a>
                    {/if}
                    {elseif $page==$sRequests.currentPage+4 OR $page==$sRequests.currentPage-4}
                    <div class="more">...</div>
                {/if}
			{/foreach}
			{if $sPages.next}
				<a href="{$sLinks.sPage}&sPage={$sPages.next}" title="{s name='ListingLinkPrevious'}{/s}" class="navi more">{s name="ListingTextNext"}&gt;{/s}</a>
			{/if}
		</div>
	</div>
{/if}
{/block}

{block name='frontend_listing_actions_sort'}
<form name="frmsort" method="post" action="{$sLinks.sSort}">
	<div class="sort-filter">
		<label for="sSort">{s name='ListingLabelSort'}{/s}</label>
		<select name="sSort" id="sSort" class="auto_submit">
			<option value="7"{if $sRequests.sSort eq 7} selected="selected"{/if}>{s name='ListingSortRelevance'}{/s}</option>
			<option value="1"{if $sRequests.sSort eq 1} selected="selected"{/if}>{s name='ListingSortRelease'}{/s}</option>
			<option value="2"{if $sRequests.sSort eq 2} selected="selected"{/if}>{s name='ListingSortRating'}{/s}</option>
			<option value="3"{if $sRequests.sSort eq 3} selected="selected"{/if}>{s name='ListingSortPriceLowest'}{/s}</option>
			<option value="4"{if $sRequests.sSort eq 4} selected="selected"{/if}>{s name='ListingSortPriceHighest'}{/s}</option>
			<option value="5"{if $sRequests.sSort eq 5} selected="selected"{/if}>{s name='ListingSortName'}{/s}</option>
		</select>
	</div>
</form>	
{/block}

{block name='frontend_listing_actions_items_per_page'}
{if $sPerPage}
	<form method="post" action="{$sLinks.sPerPage}">
	<div class="articleperpage right">
		<label>{s name='ListingLabelItemsPerPage'}Artikel pro Seite:{/s}</label>
		<select name="sPerPage" class="auto_submit">
		{foreach from=$sPerPage item=perPage}
			<option value="{$perPage}" {if $perPage eq $sRequests.sPerPage}selected="selected"{/if}>{$perPage}</option>
		{/foreach}
		</select>
	</div>
	</form>
{/if}
{/block}<commit_msg>SW-11545 - Fixed search pagination in emotion template<commit_after>{extends file='frontend/listing/listing_actions.tpl'}

{block name="frontend_listing_actions_class"}
<div class="listing_actions{if !$sPages || $sPages.count <= 1} normal{/if}">
{/block}
{block name="frontend_listing_actions_change_layout"}
{/block}
{* Listing paging *}
{block name='frontend_listing_actions_paging'}
{if $sPages.pages|@count != 0}
	<div class="bottom">
		<div class="paging">
			<label>{s name='ListingPaging'}{/s}</label>
			{if isset($sPages.before)}
				<a href="{$sLinks.sPage}&sPage={$sPages.before}" title="{s name='ListingLinkNext'}{/s}" class="navi prev">
					{s name="ListingTextPrevious"}&lt;{/s}
				</a>
			{/if}

			{foreach from=$sPages.pages item=page}
                {if $page<$sRequests.sPage+4 AND $page>$sRequests.sPage-4}
                    {if $sRequests.sPage==$page}
                        <a title="{$sCategoryInfo.name}" class="navi on">{$page}</a>
					{else}
                        <a href="{$sLinks.sPage}&sPage={$page}" title="{$sCategoryInfo.name}" class="navi">
                            {$page}
                        </a>
                    {/if}
				{elseif $page==$sRequests.sPage+4 OR $page==$sRequests.sPage-4}
                    <div class="more">...</div>
                {/if}
			{/foreach}
			{if $sPages.next}
				<a href="{$sLinks.sPage}&sPage={$sPages.next}" title="{s name='ListingLinkPrevious'}{/s}" class="navi more">{s name="ListingTextNext"}&gt;{/s}</a>
			{/if}
		</div>
	</div>
{/if}
{/block}

{block name='frontend_listing_actions_sort'}
<form name="frmsort" method="post" action="{$sLinks.sSort}">
	<div class="sort-filter">
		<label for="sSort">{s name='ListingLabelSort'}{/s}</label>
		<select name="sSort" id="sSort" class="auto_submit">
			<option value="7"{if $sRequests.sSort eq 7} selected="selected"{/if}>{s name='ListingSortRelevance'}{/s}</option>
			<option value="1"{if $sRequests.sSort eq 1} selected="selected"{/if}>{s name='ListingSortRelease'}{/s}</option>
			<option value="2"{if $sRequests.sSort eq 2} selected="selected"{/if}>{s name='ListingSortRating'}{/s}</option>
			<option value="3"{if $sRequests.sSort eq 3} selected="selected"{/if}>{s name='ListingSortPriceLowest'}{/s}</option>
			<option value="4"{if $sRequests.sSort eq 4} selected="selected"{/if}>{s name='ListingSortPriceHighest'}{/s}</option>
			<option value="5"{if $sRequests.sSort eq 5} selected="selected"{/if}>{s name='ListingSortName'}{/s}</option>
		</select>
	</div>
</form>	
{/block}

{block name='frontend_listing_actions_items_per_page'}
{if $sPerPage}
	<form method="post" action="{$sLinks.sPerPage}">
	<div class="articleperpage right">
		<label>{s name='ListingLabelItemsPerPage'}Artikel pro Seite:{/s}</label>
		<select name="sPerPage" class="auto_submit">
		{foreach from=$sPerPage item=perPage}
			<option value="{$perPage}" {if $perPage eq $sRequests.sPerPage}selected="selected"{/if}>{$perPage}</option>
		{/foreach}
		</select>
	</div>
	</form>
{/if}
{/block}
{'fraction_non_alphanumeric': 0.20612076095947063, 'fraction_numerical': 0.006782464846980976, 'mean_word_length': 4.158703071672355, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 99, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1878796', 'n_tokens_mistral': 2350, 'n_tokens_neox': 2204, 'n_words': 355}