flash_error.tpl 506 B

1234567891011121314151617181920
  1. <!-- {$smarty.template} -->
  2. <br clear="all"/><br />
  3. {strip}
  4. {if isset($smarty.session.flash)}
  5. {if isset($smarty.session.flash.info)}
  6. <ul class="flash-info">
  7. {foreach from=$smarty.session.flash.info item=msg}
  8. <li>{$msg|escape:html}</li>
  9. {/foreach}
  10. </ul>
  11. {/if}
  12. {if isset($smarty.session.flash.error)}
  13. <ul class="flash-error">
  14. {foreach from=$smarty.session.flash.error item=msg}
  15. <li>{$msg|escape:html}</li>
  16. {/foreach}
  17. </ul>
  18. {/if}
  19. {/if}
  20. {/strip}