[+] BO : Dynamics hooks in helper form

This commit is contained in:
fSerny
2012-02-06 17:27:20 +00:00
parent 824e2d5070
commit 92017b77ab
3 changed files with 4 additions and 7 deletions
@@ -34,7 +34,4 @@
<span>{$input.customer}</span><br />
</p>
{/if}</div>
{if ($input.name == 'module')}
{hook h="displayAdminCategoriesForm"}
{/if}
{/block}
@@ -339,6 +339,10 @@
</div>
{/if}
{/foreach}
{if isset($name_controller)}
{capture name=hookName assign=hookName}display{$name_controller|ucfirst}Form{/capture}
{hook h=$hookName}
{/if}
{elseif $key == 'submit'}
<div class="margin-form">
<input type="submit"
@@ -405,10 +405,6 @@ class AdminCategoriesControllerCore extends AdminController
'guest' => $guest_group_information,
'customer' => $default_group_information,
'desc' => $this->l('Mark all groups you want to give access to this category')
),
array(
'type' => 'module',
'name' => 'module'
)
),
'submit' => array(