X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ferror.html;h=5083799fae85fa94754925172c7cc6bff1d8475b;hb=01721976fa3324f41a3093cda68bc38a7eec5ff5;hp=f467de2a356ed9a3dab2cd969c27fd8356874b18;hpb=624b2d44625f69d71175c3348cae635d580c890b;p=freeside.git
diff --git a/httemplate/elements/error.html b/httemplate/elements/error.html
index f467de2a3..5083799fa 100644
--- a/httemplate/elements/error.html
+++ b/httemplate/elements/error.html
@@ -1,4 +1,28 @@
% if ( $cgi->param('error') ) {
- Error: <% $cgi->param('error') |h %>
-
-% }
+% $m->notes('error', $cgi->param('error'));
+ <% mt("Error: [_1]", $cgi->param('error')) |h %>
+
+% }
+
+% if ( $cgi->param('error_link') ) {
+% $m->notes('error', $error_link);
+ <% $error_link %>
+
+% }
+
+
+<%init>
+
+my %type_error_links = (
+ 'service' => rooturl()."/view/svc_broadband.cgi?",
+ 'tower' => rooturl()."/edit/tower.html?",
+);
+
+my $error_link;
+
+if ( $cgi->param('error_link') ) {
+ $error_link = encode_entities(decode_base64($cgi->param('error_link')));
+ $error_link =~ s/!--(.*)\,(.*)\,(.*)--!/$3<\/b><\/font><\/a>/g;
+}
+
+%init>
\ No newline at end of file