diff --git a/admin-dev/themes/default/template/helpers/form/form.tpl b/admin-dev/themes/default/template/helpers/form/form.tpl index 3dfab6b20..7baa5aba3 100644 --- a/admin-dev/themes/default/template/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/helpers/form/form.tpl @@ -339,6 +339,7 @@ {/if} {/foreach} + {hook h='displayAdminForm'} {if isset($name_controller)} {capture name=hookName assign=hookName}display{$name_controller|ucfirst}Form{/capture} {hook h=$hookName} diff --git a/admin-dev/themes/default/template/helpers/options/options.tpl b/admin-dev/themes/default/template/helpers/options/options.tpl index bbd76a343..532687c31 100644 --- a/admin-dev/themes/default/template/helpers/options/options.tpl +++ b/admin-dev/themes/default/template/helpers/options/options.tpl @@ -208,6 +208,14 @@ {if isset($categoryData['bottom'])}{$categoryData['bottom']}{/if}
{/foreach} + {hook h='displayAdminOptions'} + {if isset($name_controller)} + {capture name=hookName assign=hookName}display{$name_controller|ucfirst}Options{/capture} + {hook h=$hookName} + {elseif isset($smarty.get.controller)} + {capture name=hookName assign=hookName}display{$smarty.get.controller|ucfirst|htmlentities}Options{/capture} + {hook h=$hookName} + {/if} {/block} {block name="after"}{/block}