#!/usr/local/bin/perl # export_form.cgi # Display a form for exporting a batch file require './user-lib.pl'; %access = &get_module_acl(); $access{'export'} || &error($text{'export_ecannot'}); &ui_print_header(undef, $text{'export_title'}, "", "export"); print "$text{'export_desc'}

\n"; print "

\n"; print "\n"; print "\n"; } else { print "$text{'export_show'}\n"; } $pft = &passfiles_type(); print "\n"; print "\n", print "\n"; print "
$text{'export_to'} \n"; if ($access{'export'} == 2) { print " $text{'export_show'}
\n"; print " $text{'export_file'}\n"; print " ",&file_chooser_button("file"),"
$text{'export_pft'} \n"; print "
$text{'export_who'} \n"; print " $text{'acl_uedit_all'}
\n"; print " $text{'acl_uedit_only'}\n"; printf " %s
\n", &user_chooser_button("can", 1); print " $text{'acl_uedit_except'}\n"; printf " %s
\n", &user_chooser_button("cannot", 1); print " $text{'acl_uedit_uid'}\n"; print " - \n"; print "
\n"; print " $text{'acl_uedit_group'}\n"; printf " %s
\n", &group_chooser_button("group", 1); printf "%s %s
\n", " " x 5, $text{'acl_uedit_sec'}; print " $text{'acl_uedit_gid'}\n"; print " - \n"; print "
\n"; print "
\n"; &ui_print_footer("", $text{'index_return'});