[-] FO : fixed bug #PSCFV-3189

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16682 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-08-03 12:47:28 +00:00
parent 3e76816edb
commit 18c576ff5b
2 changed files with 11 additions and 12 deletions
+7 -8
View File
@@ -45,6 +45,13 @@
{if isset($search_query) AND $search_query}<input type="hidden" name="search_query" value="{$search_query|escape:'htmlall':'UTF-8'}" />{/if}
{if isset($tag) AND $tag AND !is_array($tag)}<input type="hidden" name="tag" value="{$tag|escape:'htmlall':'UTF-8'}" />{/if}
<label for="nb_item">{l s='Show:'}</label>
{if is_array($requestNb)}
{foreach from=$requestNb item=requestValue key=requestKey}
{if $requestKey != 'requestUrl'}
<input type="hidden" name="{$requestKey|escape:'htmlall':'UTF-8'}" value="{$requestValue|escape:'htmlall':'UTF-8'}" />
{/if}
{/foreach}
{/if}
<select name="n" id="nb_item" onchange="document.getElementById('nbrItemPage').submit();">
{assign var="lastnValue" value="0"}
{foreach from=$nArray item=nValue}
@@ -55,14 +62,6 @@
{/foreach}
</select>
<span>{l s='products by page'}</span>
<input type="hidden" name="controller" value="{$page_name}" />
{if is_array($requestNb)}
{foreach from=$requestNb item=requestValue key=requestKey}
{if $requestKey != 'requestUrl'}
<input type="hidden" name="{$requestKey|escape:'htmlall':'UTF-8'}" value="{$requestValue|escape:'htmlall':'UTF-8'}" />
{/if}
{/foreach}
{/if}
</p>
</form>
{/if}