[+] BO : Dynamics hooks in helper form
This commit is contained in:
@@ -34,7 +34,4 @@
|
|||||||
<span>{$input.customer}</span><br />
|
<span>{$input.customer}</span><br />
|
||||||
</p>
|
</p>
|
||||||
{/if}</div>
|
{/if}</div>
|
||||||
{if ($input.name == 'module')}
|
|
||||||
{hook h="displayAdminCategoriesForm"}
|
|
||||||
{/if}
|
|
||||||
{/block}
|
{/block}
|
||||||
@@ -339,6 +339,10 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
{if isset($name_controller)}
|
||||||
|
{capture name=hookName assign=hookName}display{$name_controller|ucfirst}Form{/capture}
|
||||||
|
{hook h=$hookName}
|
||||||
|
{/if}
|
||||||
{elseif $key == 'submit'}
|
{elseif $key == 'submit'}
|
||||||
<div class="margin-form">
|
<div class="margin-form">
|
||||||
<input type="submit"
|
<input type="submit"
|
||||||
|
|||||||
@@ -405,10 +405,6 @@ class AdminCategoriesControllerCore extends AdminController
|
|||||||
'guest' => $guest_group_information,
|
'guest' => $guest_group_information,
|
||||||
'customer' => $default_group_information,
|
'customer' => $default_group_information,
|
||||||
'desc' => $this->l('Mark all groups you want to give access to this category')
|
'desc' => $this->l('Mark all groups you want to give access to this category')
|
||||||
),
|
|
||||||
array(
|
|
||||||
'type' => 'module',
|
|
||||||
'name' => 'module'
|
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'submit' => array(
|
'submit' => array(
|
||||||
|
|||||||
Reference in New Issue
Block a user