[+] BO : Dynamics hooks in helper form

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13049 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fSerny
2012-02-06 17:27:20 +00:00
parent e22f837ebc
commit 2bdf2f6206
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(