X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ferror.html;h=5083799fae85fa94754925172c7cc6bff1d8475b;hb=1a320aa8f679a355bd3678ccceb5d7ecf7b0aeba;hp=f9664bd656707688d440ecb2fa0710c089f549d1;hpb=cb6214a6c0b0ecc8c3a5c264ee98ff3f301c33a6;p=freeside.git
diff --git a/httemplate/elements/error.html b/httemplate/elements/error.html
index f9664bd65..5083799fa 100644
--- a/httemplate/elements/error.html
+++ b/httemplate/elements/error.html
@@ -1,5 +1,28 @@
% if ( $cgi->param('error') ) {
% $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