% include( 'elements/process.html',
'table' => 'payment_gateway',
'viewall_dir' => 'browse',
'args_callback' => $args_callback,
)
%>
<%init>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
my $args_callback = sub {
my ( $cgi, $new ) = @_;
my @options = split(/\r?\n/, $cgi->param('gateway_options') );
pop @options
if scalar(@options) % 2 && $options[-1] =~ /^\s*$/;
@options = ( {} ) if !@options;
(@options)
};
%init>