{extends file="admin-layout.tpl"} {block name="no-return-functions"} {$admin_current_location = 'tools'} {/block} {block name="page-title"}{intl l='Exports'}{/block} {block name="check-resource"}admin.export{/block} {block name="check-access"}view{/block} {block name="main-content"} {if $category_order != "manual"} {assign url_category "category_order="|cat:$category_order} {/if} {if $export_order != "manual"} {assign url_export "export_order="|cat:$export_order} {/if}
{hook name="exports.top" location="exports_top" } {loop name="export-category" type="export-category" order=$category_order} {ifloop rel="export-categ-list"} {assign category_title $TITLE}

{admin_position_block resource="admin.export" access="UPDATE" path={url path="admin/export/position/category"} url_parameter="id" in_place_edit_class="exportCategoryPositionChange" position=$POSITION id=$ID } {$TITLE}
{if $export_order == "id"} {elseif $export_order == "id_reverse"} {/if} {intl l="ID"} | {if $export_order == "alpha"} {elseif $export_order == "alpha_reverse"} {/if} {intl l="Name"} | {intl l="Description"} | {if $export_order == "manual"} {elseif $export_order == "manual_reverse"} {/if} {intl l="Position"} {hook name="export.table-header"} | {intl l="Actions"}
--- | --- | --- | --- | ---
{loop name="export-categ-list" type="export" order=$export_order category=$ID}
{$ID} | {$TITLE} | {$DESCRIPTION nofilter} | {admin_position_block resource="admin.export" access="UPDATE" path={url path="admin/export/position"} url_parameter="id" in_place_edit_class="exportPositionChange" position=$POSITION id=$ID } {hook name="export.table-row" export_id=$ID} |
{/loop} {hook name="exports.row" category=$ID }

{/ifloop} {/loop} {elseloop rel="export-category"}
{intl l="You don't have any export"}
{/elseloop} {hook name="exports.bottom" location="exports_bottom" }
{/block} {block name="javascript-initialization"} {javascripts file='assets/js/bootstrap-switch/bootstrap-switch.js'}
{/javascripts} {javascripts file='assets/js/bootstrap-editable/bootstrap-editable.js'}
{/javascripts} {/block} {block name="javascript-last-call"}
{hook name="exports.js" location="exports-js" } {/block}