{extends file="admin-layout.tpl"} {block name="no-return-functions"} {$admin_current_location = 'modules'} {/block} {block name="page-title"}{intl l='Modules'}{/block} {block name="check-resource"}admin.module{/block} {block name="check-access"}view{/block} {block name="main-content"}
{hook name="modules.top" location="modules_top" }
{if $module_errors} {include file="includes/module-errors.html"} {/if} {loop type="auth" name="can_create" role="ADMIN" resource="admin.module" access="UPDATE"} {include file="includes/module-install.html"} {/loop}
{if $error_message}
{$error_message}
{/if} {include file="includes/module-block.html" module_type="2" caption_title={intl l='Delivery modules'}} {include file="includes/module-block.html" module_type="3" caption_title={intl l='Payment modules'}} {include file="includes/module-block.html" module_type="1" caption_title={intl l='Classic modules'}}
{intl l="Manage hooks"} {intl l="Manage modules attachements"}
{hook name="modules.bottom" location="modules_bottom" }
{* Delete module confirmation dialog *} {capture "delete_module_dialog"}
{intl l="Delete also module data"}
{/capture} {include file = "includes/generic-confirm-dialog.html" dialog_id = "delete_module_dialog" dialog_title = {intl l="Delete a module"} dialog_message = {intl l="Do you really want to delete this module ?"} form_action = {token_url path='/admin/module/delete'} form_content = {$smarty.capture.delete_module_dialog nofilter} }

### {intl l="An error occured"}

{* Module information dialog *}

###

{/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="modules.js" location="modules-js" } {/block}