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-b7f2511e0802pull/2/head
parent
058f46f1a5
commit
27ce979678
@ -0,0 +1,20 @@
|
|||||||
|
<!-- {$smarty.template} -->
|
||||||
|
<br clear="all"/><br />
|
||||||
|
{strip}
|
||||||
|
{if $smarty.session.flash}
|
||||||
|
{if $smarty.session.flash.info}
|
||||||
|
<ul class="flash-info">
|
||||||
|
{foreach from=$smarty.session.flash.info item=msg}
|
||||||
|
<li>{$msg}</li>
|
||||||
|
{/foreach}
|
||||||
|
</ul>
|
||||||
|
{/if}
|
||||||
|
{if $smarty.session.flash.error}
|
||||||
|
<ul class="flash-error">
|
||||||
|
{foreach from=$smarty.session.flash.error item=msg}
|
||||||
|
<li>{$msg}</li>
|
||||||
|
{/foreach}
|
||||||
|
</ul>
|
||||||
|
{/if}
|
||||||
|
{/if}
|
||||||
|
{/strip}
|
Loading…
Reference in New Issue