[+] BO : New hooks added (helpers + order history)

This commit is contained in:
fSerny
2012-02-15 13:54:50 +00:00
parent c6a8f20168
commit 3b19955a5c
5 changed files with 45 additions and 0 deletions
@@ -42,3 +42,12 @@
<div class="leadin">{block name="leadin"}{/block}</div>
{block name="override_tpl"}{/block}
{hook h='displayAdminView'}
{if isset($name_controller)}
{capture name=hookName assign=hookName}display{$name_controller|ucfirst}View{/capture}
{hook h=$hookName}
{elseif isset($smarty.get.controller)}
{capture name=hookName assign=hookName}display{$smarty.get.controller|ucfirst|htmlentities}View{/capture}
{hook h=$hookName}
{/if}