- make template Smarty >= 3.x compatible. Tested with Smarty 3.0.5

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@883 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Sebastian 14 years ago
parent e986ba2daa
commit a057830b84

@ -1,9 +1,9 @@
<!-- {$smarty.template} -->
{strip}
{include file="header.tpl"}
{if not $smarty_template|needle:"login"}
{if $smarty_template|needle:"login" neq 1}
{config_load file="menu.conf" section=$smarty_template}
{if $smarty_template|needle:"users_"}
{if $smarty_template|needle:"users_" eq 1}
{include file='users_menu.tpl'}
{else}
{include file='menu.tpl'}

Loading…
Cancel
Save