php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /usr/libexec/webmin/proftpd/ |
files >> //usr/libexec/webmin/proftpd/edit_global.cgi |
#!/usr/bin/perl # edit_global.cgi # Display a form for editing some kind of global options require './proftpd-lib.pl'; &ReadParse(); $conf = &get_config(); $global = &find_directive_struct("Global", $conf); if ($global) { $gconf = $global->{'members'}; } &ui_print_header(undef, $text{"type_$in{'type'}"}, "", undef, undef, undef, undef, &restart_button()); print "<form method=post action=save_global.cgi>\n"; print "<input type=hidden name=type value=$in{'type'}>\n"; print "<table border width=100%>\n"; print "<tr $tb> <td><b>",$text{"type_$in{'type'}"},"</b></td> </tr>\n"; print "<tr $cb> <td><table>\n"; @dirs = &editable_directives($in{'type'}, 'root'); &generate_inputs(\@dirs, $conf); @gdirs = &editable_directives($in{'type'}, 'global'); if (@dirs && @gdirs) { print "<tr> <td colspan=4><hr></td> </tr>\n"; } &generate_inputs(\@gdirs, $gconf); print "</table></td> </tr></table>\n"; print "<input type=submit value=\"$text{'save'}\"></form>\n"; &ui_print_footer("", $text{'index_return'});y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`