MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /usr/libexec/webmin/fetchmail/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/libexec/webmin/fetchmail/edit_user.cgi
#!/usr/bin/perl
# Show the Fetchmail configuration for one user

require './fetchmail-lib.pl';
&ReadParse();
&can_edit_user($in{'user'}) || &error($text{'poll_ecannot'});
@uinfo = getpwnam($in{'user'});
@uinfo || &error($text{'poll_eusername'});
$file = "$uinfo[7]/.fetchmailrc";
@conf = &parse_config_file("$uinfo[7]/.fetchmailrc");
@conf = grep { $_->{'poll'} } @conf;
&ui_print_header(&text('user_header', "<tt>$in{'user'}</tt>"), $text{'user_title'}, "");

&show_polls(\@conf, $file, $in{'user'});

&ui_print_footer("", $text{'index_return'});


Anon7 - 2021