RT# 82949 - changes section name from fees to pricing, better opiton
[freeside.git] / httemplate / elements / error.html
1 % if ( $cgi->param('error') ) { 
2 %   $m->notes('error', $cgi->param('error'));
3   <FONT SIZE="+1" COLOR="#ff0000"><% mt("Error: [_1]", $cgi->param('error')) |h %></FONT>
4   <BR>
5 % }
6
7 % if ( $cgi->param('error_link') ) {
8 %   $m->notes('error', $error_link);
9   <FONT SIZE="+1" COLOR="#ff0000"><% $error_link %></FONT>
10   <BR>
11 % }
12 <BR>
13
14 <%init>
15
16 my %type_error_links = (
17   'service' => rooturl()."/view/svc_broadband.cgi?",
18   'tower'   => rooturl()."/edit/tower.html?",
19 );
20
21 my $error_link;
22
23 if ( $cgi->param('error_link') ) {
24   $error_link = encode_entities(decode_base64($cgi->param('error_link')));
25   $error_link =~ s/!--(.*)\,(.*)\,(.*)--!/<a href=$type_error_links{$1}$2><font color=red><b>$3<\/b><\/font><\/a>/g;
26 }
27
28 </%init>