You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
postfixadmin/templates/bootstrap/flash_error.tpl

25 lines
626 B
Smarty

<!-- {$smarty.template} -->
<br clear="all"/><br />
{strip}
{if isset($smarty.session.flash)}
{if isset($smarty.session.flash.info)}
<div class="alert alert-info" role="alert">
<ul class="flash-info">
{foreach from=$smarty.session.flash.info item=msg}
<li>{$msg|escape:html}</li>
{/foreach}
</ul>
</div>
{/if}
{if isset($smarty.session.flash.error)}
<div class="alert alert-danger" role="alert">
<ul class="flash-error">
{foreach from=$smarty.session.flash.error item=msg}
<li>{$msg|escape:html}</li>
{/foreach}
</ul>
</div>
{/if}
{/if}
{/strip}