[-] BO : FixBug PSCFV-10331 - Tax rules Pagination
This commit is contained in:
+9
-9
@@ -33,22 +33,22 @@
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<form method="post" action="{$currentIndex}&{$identifier}&token={$token}&id_tax_rules_group={$id_tax_rules_group}&updatetax_rules_group#{$table}" class="form">
|
<form method="post" action="{$currentIndex}&{$identifier}&token={$token}&id_tax_rules_group={$id_tax_rules_group}&updatetax_rules_group#{$table}" class="form">
|
||||||
<input type="hidden" id="submitFilter{$table}" name="submitFilter{$table}" value="0"/>
|
<input type="hidden" id="submitFilter{$list_id}" name="submitFilter{$list_id}" value="0"/>
|
||||||
<table class="table_grid">
|
<table class="table_grid">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="vertical-align: bottom;">
|
<td style="vertical-align: bottom;">
|
||||||
<span style="float: left;">
|
<span style="float: left;">
|
||||||
{if $page > 1}
|
{if $page > 1}
|
||||||
<input type="image" src="../img/admin/list-prev2.gif" onclick="getE('submitFilter{$table}').value=1"/>
|
<input type="image" src="../img/admin/list-prev2.gif" onclick="getE('submitFilter{$list_id}').value=1"/>
|
||||||
<input type="image" src="../img/admin/list-prev.gif" onclick="getE('submitFilter{$table}').value={$page - 1}"/>
|
<input type="image" src="../img/admin/list-prev.gif" onclick="getE('submitFilter{$list_id}').value={$page - 1}"/>
|
||||||
{/if}
|
{/if}
|
||||||
{l s='Page'} <b>{$page}</b> / {$total_pages}
|
{l s='Page'} <b>{$page}</b> / {$total_pages}
|
||||||
{if $page < $total_pages}
|
{if $page < $total_pages}
|
||||||
<input type="image" src="../img/admin/list-next.gif" onclick="getE('submitFilter{$table}').value={$page + 1};"/>
|
<input type="image" src="../img/admin/list-next.gif" onclick="getE('submitFilter{$list_id}').value={$page + 1};"/>
|
||||||
<input type="image" src="../img/admin/list-next2.gif" onclick="getE('submitFilter{$table}').value={$total_pages}"/>
|
<input type="image" src="../img/admin/list-next2.gif" onclick="getE('submitFilter{$list_id}').value={$total_pages}"/>
|
||||||
{/if}
|
{/if}
|
||||||
| {l s='Display'}
|
| {l s='Display'}
|
||||||
<select name="pagination" onchange="submit()">
|
<select name="{$list_id}_pagination" onchange="submit()">
|
||||||
{* Choose number of results per page *}
|
{* Choose number of results per page *}
|
||||||
{foreach $pagination AS $value}
|
{foreach $pagination AS $value}
|
||||||
<option value="{$value|intval}"{if $selected_pagination == $value} selected="selected" {elseif $selected_pagination == NULL && $value == $pagination[1]} selected="selected2"{/if}>{$value|intval}</option>
|
<option value="{$value|intval}"{if $selected_pagination == $value} selected="selected" {elseif $selected_pagination == NULL && $value == $pagination[1]} selected="selected2"{/if}>{$value|intval}</option>
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
/ {$list_total} {l s='result(s)'}
|
/ {$list_total} {l s='result(s)'}
|
||||||
</span>
|
</span>
|
||||||
<span style="float: right;">
|
<span style="float: right;">
|
||||||
<input type="submit" name="submitReset{$table}" value="{l s='Reset'}" class="button" />
|
<input type="submit" name="submitReset{$list_id}" value="{l s='Reset'}" class="button" />
|
||||||
</span>
|
</span>
|
||||||
<span class="clear"></span>
|
<span class="clear"></span>
|
||||||
</td>
|
</td>
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<table
|
<table
|
||||||
{if $table_id} id={$table_id}{/if}
|
{if $table_id} id={$table_id}{/if}
|
||||||
class="table {if $table_dnd}tableDnD{/if} {$table}"
|
class="table {if $table_dnd}tableDnD{/if} {$list_id}"
|
||||||
cellpadding="0" cellspacing="0"
|
cellpadding="0" cellspacing="0"
|
||||||
style="width: 100%; margin-bottom:10px;"
|
style="width: 100%; margin-bottom:10px;"
|
||||||
>
|
>
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
<tr class="nodrag nodrop">
|
<tr class="nodrag nodrop">
|
||||||
<th class="center">
|
<th class="center">
|
||||||
{if $has_bulk_actions}
|
{if $has_bulk_actions}
|
||||||
<input type="checkbox" name="checkme" class="noborder" onclick="checkDelBoxes(this.form, '{$table}Box[]', this.checked)" />
|
<input type="checkbox" name="checkme" class="noborder" onclick="checkDelBoxes(this.form, '{$list_id}Box[]', this.checked)" />
|
||||||
{/if}
|
{/if}
|
||||||
</th>
|
</th>
|
||||||
{foreach $fields_display AS $key => $params}
|
{foreach $fields_display AS $key => $params}
|
||||||
|
|||||||
Reference in New Issue
Block a user