1<!-- error.tt2 --> 2<div id="ErrorMsg" class="reveal medium" data-reveal 3 aria-labelledby="[%|loc%]Error[%END%]" aria-hidden="true" role="dialog"> 4 <div class="alert-box alert radius"> 5 <i class="fi-x"></i> 6 7 [%###################-%] 8 [%#### INTERN ERROR -%] 9 [%###################-%] 10 [% FOREACH i_err = intern_errors %] 11 [%|loc(i_err.action)%]INTERNAL SERVER ERROR (%1)[%END-%] - 12 [% PROCESS report.tt2 13 report_type='intern' 14 report_entry=i_err.msg 15 report_param=i_err 16 %] 17 </br> 18 [% END %] 19 20 [%###################-%] 21 [%#### SYSTEM ERROR -%] 22 [%###################-%] 23 [% FOREACH s_err = system_errors %] 24 [%|loc(s_err.action)%]SYSTEM ERROR (%1)[%END-%] 25 [% IF s_err.msg == 'a' %][% END %] 26 <br /> 27 [% END %] 28 29 [%###################-%] 30 [%#### USER ERROR -%] 31 [%###################-%] 32 [% FOREACH u_err = user_errors %] 33 [%|loc(u_err.action)%]ERROR (%1) [%END-%] - 34 35 [% error_msg = BLOCK ~%] 36 [% PROCESS report.tt2 37 report_type = 'user' 38 report_entry = u_err.msg 39 report_param = u_err 40 %] 41 [%~ END ~%] 42 [% IF error_msg.match('\S') ~%] 43 [% error_msg %] 44 [%~ ELSE ~%] 45 [% TRY ~%] 46 [% INCLUDE "${u_err.msg}" %] 47 [%~ CATCH ~%] 48 [% u_err.msg %] 49 [%~ END %] 50 [%~ END %] 51 <br /> 52 [% END %] 53 54 [%#####################-%] 55 [%# AUTHORIZATION ERROR-%] 56 [%#####################-%] 57 [% FOREACH auth = auth_rejects %] 58 [%|loc(auth.action)%]AUTHORIZATION REJECT (%1)[%END-%] 59 [% IF auth.change_email_failed %] 60 [%|loc(auth.listname)%]Could not change your subscription address for the list '%1' because your new address is not allowed to subscribe/unsubscribe:[%END%] 61 [% END %] 62 [% SET reason = auth.msg -%] 63 [% IF reason == 'edit_right' %] 64 [% SET role = auth.role -%] 65 [% SET right = auth.right -%] 66 [% END -%] 67 [% PROCESS report.tt2 68 report_type = 'auth' 69 report_entry = auth.msg 70 %] 71 [%~ IF auth.login %] 72 <br /> 73 [%|loc%]You need to login[%END%] 74 [% END %] 75 <br /> 76 [% END %] 77 78 [%# Close button will be inserted here. ~%] 79 </div> 80</div> 81<!-- end error.tt2 --> 82