From 2dc71b6c9f7951c2bd2e577c74e36448694b8e11 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Fri, 1 Nov 2013 13:35:09 +0000 Subject: [PATCH] templates/index.tpl: - replace {php} usage (which is no longer allowed since switching from SmartyBC to Smarty) with $smarty.server fixes https://sourceforge.net/p/postfixadmin/bugs/303/ git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1552 a1433add-5e2c-0410-b055-b7f2511e0802 --- templates/index.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/index.tpl b/templates/index.tpl index d3ba7dca..58b1bc22 100644 --- a/templates/index.tpl +++ b/templates/index.tpl @@ -23,7 +23,7 @@ {if $smarty_template} {include file="$smarty_template.tpl"} {else} -

Template not found

({php}print $_SERVER ['PHP_SELF'];{/php}) +

Template not found

({$smarty.server.PHP_SELF|escape:"html"}) {/if} {include file='footer.tpl'} {/strip}