SF.net SVN: postfixadmin:[883] trunk/templates/index.tpl
Brought to you by:
christian_boltz,
gingerdog
From: <Seb...@us...> - 2010-11-23 18:56:18
|
Revision: 883 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=883&view=rev Author: Sebastian2009 Date: 2010-11-23 18:56:12 +0000 (Tue, 23 Nov 2010) Log Message: ----------- - make template Smarty >= 3.x compatible. Tested with Smarty 3.0.5 Modified Paths: -------------- trunk/templates/index.tpl Modified: trunk/templates/index.tpl =================================================================== --- trunk/templates/index.tpl 2010-11-01 15:48:38 UTC (rev 882) +++ trunk/templates/index.tpl 2010-11-23 18:56:12 UTC (rev 883) @@ -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'} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |