{loop type="module_hook" name="hook.{$hook_id}" hook="{$hook_id}" backend_context=1 lang=$lang_id} {assign var="visible" value="{if $MODULE_ACTIVE && $HOOK_ACTIVE}{if $ACTIVE}1{else}0{/if}{else}0{/if}" } {/loop} {elseloop rel="hook.$hook_id"} {/elseloop}
{intl l='ID'} {intl l='Module name'} {intl l='Module code'} {intl l='Enable/Disable'} {intl l='Position'} {intl l='Action'}
{$ID} {$MODULE_TITLE} {$MODULE_CODE} {if ! $by_module } {if $MODULE_ACTIVE && $HOOK_ACTIVE && !$by_module}
{else} {intl l="deactivated"} {/if} {else} - {/if}
{if ! $by_module } {admin_position_block resource="admin.hooks" access="UPDATE" path={url path="admin/module-hooks/update-position"} url_parameter="module_hook_id" in_place_edit_class="moduleHookPositionChange" position=$POSITION id=$ID } {else} - {/if} {include file='renderer/buttons.html' buttons=[ [ 'type' => 'edit', 'class' => 'module-hook-change', 'title' => {intl l='Change this hook'}, 'href' => {url path="/admin/module-hook/update/%id" id=$ID}, 'auth' => ['resource' => 'admin.module-hook'] ], [ 'type' => 'delete', 'class' => 'module-hook-delete', 'title' => {intl l='Delete this hook'}, 'href' => '#delete_module_dialog', 'data' => [ 'id' => $ID, 'toggle' => 'modal' ], 'auth' => ['resource' => 'admin.module-hook'] ] ]}
No modules hooked here