X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ferror.html;h=5083799fae85fa94754925172c7cc6bff1d8475b;hp=f9664bd656707688d440ecb2fa0710c089f549d1;hb=c15c4b8b1afa91049915f77503487e663554938b;hpb=91e2bc5f8559642e33090484daede730e32a5391 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; +} + + \ No newline at end of file