1 [%- USE HTML -%][%- USE LxERP %][%- USE T8 %]
 
   4   <div class="flash_message_[% type %]">
 
   5     <a href='#' style='float:right' onclick='$($(this).closest("div")).remove()'><img src='image/close.png' border='0' alt='[% 'Close Flash' | $T8 %]'></a>
 
   7    [% FOREACH message = messages %]
 
   8     [%- HTML.escape(message) %]
 
   9     [%- UNLESS loop.last %]<br>[% END %]
 
  13  [%- IF FLASH.error && FLASH.error.size %]
 
  14   [%- PROCESS output title=LxERP.t8('Error') type='error' messages = FLASH.error %]
 
  16  [%- IF FLASH.warning && FLASH.warning.size %]
 
  17   [%- PROCESS output title=LxERP.t8('Warning') type='warning' messages = FLASH.warning %]
 
  19  [%- IF FLASH.info && FLASH.info.size %]
 
  20   [%- PROCESS output title=LxERP.t8('Information') type='info' messages = FLASH.info %]