%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 : /proc/11585/root/usr/share/webmin/mailcap/ |
Upload File : |
#!/usr/bin/perl # Show current mailcap entries require './mailcap-lib.pl'; &ui_print_header(undef, $text{'index_title'}, "", undef, 1, 1); @mailcap = &list_mailcap(); if (@mailcap) { print &ui_form_start("delete.cgi", "post"); @links = ( &select_all_link("d"), &select_invert_link("d"), &ui_link("edit.cgi?new=1", $text{'index_add'}) ); print &ui_links_row(\@links); @tds = ( "width=5" ); print &ui_columns_start([ "", $text{'index_type'}, $text{'index_program'}, $text{'index_cmt'}, $text{'index_enabled'}, ], 100, 0, \@tds); foreach $m (@mailcap) { print &ui_checked_columns_row([ &ui_link("edit.cgi?index=".$m->{'index'}, $m->{'type'}), &html_escape($m->{'program'}), &html_escape($m->{'cmt'} || $m->{'args'}->{'description'}), $m->{'enabled'} ? $text{'yes'} : "<font color=#ff0000>$text{'no'}</font>", ], \@tds, "d", $m->{'index'}); } print &ui_columns_end(); print &ui_links_row(\@links); print &ui_form_end([ [ "delete", $text{'index_delete'} ], undef, [ "disable", $text{'index_disable'} ], [ "enable", $text{'index_enable'} ] ]); } else { print "<b>$text{'index_none'}</b><p>\n"; print &ui_link("edit.cgi?new=1", $text{'index_add'}); print "<p>\n"; } &ui_print_footer("/", $text{'index'});