[-] FO : fixed bug #PSCFV-3189

This commit is contained in:
vAugagneur
2012-08-03 12:47:28 +00:00
parent 71dfd1f810
commit 45d1224d73
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}