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