diff --git a/admin-dev/themes/default/template/helpers/list/list_header.tpl b/admin-dev/themes/default/template/helpers/list/list_header.tpl index d88f8e6bf..953da2906 100644 --- a/admin-dev/themes/default/template/helpers/list/list_header.tpl +++ b/admin-dev/themes/default/template/helpers/list/list_header.tpl @@ -24,51 +24,48 @@ *} {if !$simple_header} + +{* Display column names and arrows for ordering (ASC, DESC) *} +{if $is_order_position} + - {* Display column names and arrows for ordering (ASC, DESC) *} - {if $is_order_position} - - - - {/if} - - - - -{/if}{* End if simple_header *} + +{/if} + +{/if} {if $show_toolbar} {include file="toolbar.tpl" toolbar_btn=$toolbar_btn toolbar_scroll=$toolbar_scroll title=$title} {/if} {if !$simple_header} -
{block name="leadin"}{/block}
+
{block name="leadin"}{/block}
{/if} {block name="override_header"}{/block} - {hook h='displayAdminListBefore'} + {if isset($name_controller)} {capture name=hookName assign=hookName}display{$name_controller|ucfirst}ListBefore{/capture} {hook h=$hookName} @@ -77,147 +74,129 @@ {hook h=$hookName} {/if} - {if !$simple_header} -
- + {block name="override_form_extra"}{/block} - - -{/if} - - {if !$simple_header} - - - +
+ {if $show_filters} + + + + + {/if} -
- -
- - {if $page > 1} -   - - {/if} - {l s='Page'} {$page} / {$total_pages} - {if $page < $total_pages} -   - - {/if} - | {l s='Display'} - - / {$list_total} {l s='result(s)'} - - - - - - -
- +{/if} +
+ + + {foreach $fields_display AS $key => $params} - + {/foreach} {if $shop_link_type} - + {/if} {if $has_actions} - + {/if} - - - - {foreach $fields_display AS $key => $params} - - {/foreach} - {if $shop_link_type} - - {/if} - {if $has_actions} - - {/if} - - {if !$simple_header} - - - - {* Filters (input, select, date or bool) *} - {foreach $fields_display AS $key => $params} - - {/foreach} - - {if $shop_link_type} - - {/if} - {if $has_actions} - - {/if} - + + {if !$simple_header && $show_filters} + + + + + {* Filters (input, select, date or bool) *} + {foreach $fields_display AS $key => $params} + + {/foreach} + + {if $shop_link_type} + + {/if} + {if $has_actions} + + {/if} + + {/if} +
+
+ + + + {if isset($params.hint)} + + {$params.title} + + {else} + {$params.title} + {/if} + + {if (!isset($params.orderby) || $params.orderby) && !$simple_header} + + + + + + + + {/if} +
+ {if $shop_link_type == 'shop'} + {l s='Shop'} + {else} + {l s='Group shop'} + {/if} +
{l s='Actions'}{if !$simple_header}{/if}
- {if $has_bulk_actions} - - {/if} - - {if isset($params.hint)}{$params.hint} {/if} - - {$params.title} - - {if (!isset($params.orderby) || $params.orderby) && !$simple_header} -
- - - - - {elseif !$simple_header} -
  - {/if} -
- {if $shop_link_type == 'shop'} - {l s='Shop'} - {else} - {l s='Group shop'} - {/if} -
  -
{l s='Actions'}{if !$simple_header}
 {/if}
- {if $has_bulk_actions} - -- - {/if} - - {if isset($params.search) && !$params.search} - -- - {else} - {if $params.type == 'bool'} - - {elseif $params.type == 'date' || $params.type == 'datetime'} - {l s='From'}
- {l s='To'} - {elseif $params.type == 'select'} - {if isset($params.filter_key)} - - {/if} - {else} - - {/if} - {/if} -
----
+ {if $has_bulk_actions} + -- {/if} -
+ {if isset($params.search) && !$params.search} + -- + {else} + {if $params.type == 'bool'} + + {elseif $params.type == 'date' || $params.type == 'datetime'} + {l s='From'} + {l s='To'} + {elseif $params.type == 'select'} + {if isset($params.filter_key)} + + {/if} + {else} + + {/if} + {/if} + ----