%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/shorewall/ |
Upload File : |
#!/usr/bin/perl # Display a form for editing or creating a comment require './shorewall-lib.pl'; &ReadParse(); &get_clean_table_name(\%in); &can_access($in{'table'}) || &error($text{'list_ecannot'}); if ($in{'new'}) { &ui_print_header(undef, $text{"comment_create"}, ""); } else { &ui_print_header(undef, $text{"comment_edit"}, ""); $pfunc = &get_parser_func(\%in); @table = &read_table_file($in{'table'}, $pfunc); $row = $table[$in{'idx'}]; } print &ui_form_start("savecmt.cgi", "post"); foreach $f ("table", "new", "idx") { print &ui_hidden($f, $in{$f}); } print &ui_table_start($text{'comment_header'}, 2); print &ui_table_row($text{'comment_msg'}, &ui_textbox("msg", join(" ", @$row[1..@$row-1]), 60)); print &ui_table_end(); if ($in{'new'}) { print &ui_form_end([ [ "create", $text{'create'} ] ]); } else { print &ui_form_end([ [ "save", $text{'save'} ], [ "delete", $text{'delete'} ] ]); } &ui_print_footer("list.cgi?table=$in{'table'}", $text{$in{'tableclean'}."_return"});