diff --git a/admin-dev/themes/default/template/helpers/list/list_footer.tpl b/admin-dev/themes/default/template/helpers/list/list_footer.tpl index 010c1913b..b0f9585be 100644 --- a/admin-dev/themes/default/template/helpers/list/list_footer.tpl +++ b/admin-dev/themes/default/template/helpers/list/list_footer.tpl @@ -24,9 +24,10 @@ *} - +
{if $bulk_actions} -
+
+
@@ -53,36 +54,83 @@ {/foreach}
- {/if} - - {if !$simple_header && $list_total > 20} -
- - {if $page > 1} -   - - {/if} - {l s='Page'} {$page} / {$total_pages} - {if $page < $total_pages} -   - - {/if} - - - -  |  - - - - / {$list_total} {l s='result(s)'}
{/if} + {if !$simple_header && $list_total > 20} +
+ {* Choose number of results per page *} + + {l s='Display'}: + + + / {$list_total} {l s='result(s)'} + + + +
    +
  • + + + +
  • +
  • + + + +
  • + {assign p 0} + {while $p++ < $total_pages} + {if $p < $page-2} +
  • + +
  • + {assign p $page-3} + {else if $p > $page+2} +
  • + +
  • + {assign p $total_pages} + {else} +
  • + {$p} +
  • + {/if} + {/while} +
  • $total_pages}class="disabled"{/if}> + + + +
  • +
  • $total_pages}class="disabled"{/if}> + + + +
  • +
+ +
+ {/if} +
{if !$simple_header}