From b7b34a1e10203a1487645f07c4bd77275cf54e23 Mon Sep 17 00:00:00 2001 From: botanic Date: Mon, 8 Sep 2014 03:02:11 -0700 Subject: [PATCH] fix plugin template --- code/web/public_php/ams/templates/layout.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/web/public_php/ams/templates/layout.tpl b/code/web/public_php/ams/templates/layout.tpl index af5ea099d..7a436859e 100644 --- a/code/web/public_php/ams/templates/layout.tpl +++ b/code/web/public_php/ams/templates/layout.tpl @@ -137,7 +137,7 @@ {if isset($hook_info)}
{foreach from=$hook_info key=arrkey item=element} - {if isset($hook_info[$arrkey]['TemplatePath'])} + {if $smarty.get.page eq 'layout_plugin'} {include file=$element['TemplatePath']} {/if} {/foreach}