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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13349 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fSerny
2012-02-15 13:54:50 +00:00
parent f0e4ba651d
commit da7ff75852
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}