0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
postfixadmin/templates/index.tpl
Christian Boltz 27ce979678 header.tpl, index.tpl, flash_error.tpl:
- move flash_error and flash_info output from header.tpl to separate 
  flash_error.tpl file
- some HTML whitespace fixing in header.tpl

This commit is part of the huge cleanup patch by Dale Blount (lnxus@SF),
https://sourceforge.net/tracker/?func=detail&atid=937966&aid=3370510&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1077 a1433add-5e2c-0410-b055-b7f2511e0802
2011-07-18 21:56:08 +00:00

20 lines
505 B
Smarty

<!-- {$smarty.template} -->
{strip}
{include file="header.tpl"}
{if $smarty_template|needle:"login" neq 1}
{config_load file="menu.conf" section=$smarty_template}
{if $smarty_template|needle:"users_" eq 1}
{include file='users_menu.tpl'}
{else}
{include file='menu.tpl'}
{/if}
{/if}
{include file='flash_error.tpl'}
{if $smarty_template}
{include file="$smarty_template.tpl"}
{else}
<h3>Template not found</h3>({php}print $_SERVER ['PHP_SELF'];{/php})
{/if}
{include file='footer.tpl'}
{/strip}