1 [%- USE HTML -%][%- USE LxERP %][%- USE T8 %]
3 <div id="flash_[% type %]" class="flash_message_[% type %]"[% IF !messages || !messages.size %] style="display: none"[% END %]>
4 <a href='#' style='float:right'
5 onclick='$("#flash_[% type %]_content").empty();$("#flash_[% type %]_detail").empty();$("#flash_[% type %]").hide()'>
6 <img src='image/close.png' border='0' alt='[% 'Close Flash' | $T8 %]'></a>
7 <span class="flash_title">[%- title %]:</span>
8 <span id="flash_[% type %]_content">
9 [% FOREACH message = messages %]
10 [%- HTML.escape(message) %]
11 [%- UNLESS loop.last %]<br>[% END %]
14 <span id="flash_[% type %]_disp" style="display: none">
15 <a href='#' style='float:left' onclick='$("#flash_detail_[% type %]").toggle();'>
16 [[% 'Details' | $T8 %]]</a> </span>
17 <div id="flash_detail_[% type %]" style="display: none">
19 <span id="flash_[% type %]_detail"></span><br>
20 <a href='#' style='float:left'
21 onclick='$("#flash_detail_[% type %]").hide()'>
22 <img src='image/close.png' border='0' alt='[% 'Close Details' | $T8 %]'></a><br>
26 [%- PROCESS output title=LxERP.t8('Error') type='error' messages = FLASH.error %]
27 [%- PROCESS output title=LxERP.t8('Warning') type='warning' messages = FLASH.warning %]
28 [%- PROCESS output title=LxERP.t8('Information') type='info' messages = FLASH.info %]
29 [%- PROCESS output title=LxERP.t8('Ok') type='ok' messages = FLASH.ok %]