#!/usr/local/bin/perl # sqlform.cgi # Display the form for one SQL command on a page require './custom-lib.pl'; &ReadParse(); @cmds = &list_commands(); $cmd = $cmds[$in{'idx'}]; &can_run_command($cmd) || &error($text{'form_ecannot'}); # Display form for command parameters &ui_print_header(undef, $text{'form_title'}, ""); @a = @{$cmd->{'args'}}; ($up) = grep { $_->{'type'} == 10 } @a; if ($up) { print "
\n"; &ui_print_footer("", $text{'index_return'});