mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
permissions fix
This commit is contained in:
0
fail2ban/delete_actions.cgi
Normal file → Executable file
0
fail2ban/delete_actions.cgi
Normal file → Executable file
0
fail2ban/delete_filters.cgi
Normal file → Executable file
0
fail2ban/delete_filters.cgi
Normal file → Executable file
0
fail2ban/delete_jails.cgi
Normal file → Executable file
0
fail2ban/delete_jails.cgi
Normal file → Executable file
0
fail2ban/edit_action.cgi
Normal file → Executable file
0
fail2ban/edit_action.cgi
Normal file → Executable file
0
fail2ban/edit_filter.cgi
Normal file → Executable file
0
fail2ban/edit_filter.cgi
Normal file → Executable file
0
fail2ban/edit_jail.cgi
Normal file → Executable file
0
fail2ban/edit_jail.cgi
Normal file → Executable file
11
fail2ban/index.cgi
Normal file → Executable file
11
fail2ban/index.cgi
Normal file → Executable file
@ -26,12 +26,15 @@ if ($err) {
|
||||
|
||||
# Show category icons
|
||||
my @links = ( "list_filters.cgi", "list_actions.cgi",
|
||||
"list_jails.cgi", "edit_config.cgi" );
|
||||
"list_jails.cgi", "edit_config.cgi",
|
||||
"edit_manual.cgi", );
|
||||
my @titles = ( $text{'filters_title'}, $text{'actions_title'},
|
||||
$text{'jails_title'}, $text{'config_title'} );
|
||||
$text{'jails_title'}, $text{'config_title'},
|
||||
$text{'manual_title'}, );
|
||||
my @icons = ( "images/filters.gif", "images/actions.gif",
|
||||
"images/jails.gif", "images/config.gif" );
|
||||
print &icons_table(\@links, \@titles, \@icons, 4);
|
||||
"images/jails.gif", "images/config.gif",
|
||||
"images/manual.gif", );
|
||||
print &icons_table(\@links, \@titles, \@icons, 5);
|
||||
|
||||
# Show start / stop buttons
|
||||
print &ui_hr();
|
||||
|
0
fail2ban/list_actions.cgi
Normal file → Executable file
0
fail2ban/list_actions.cgi
Normal file → Executable file
2
fail2ban/list_filters.cgi
Normal file → Executable file
2
fail2ban/list_filters.cgi
Normal file → Executable file
@ -20,7 +20,7 @@ print &ui_columns_start([ "",
|
||||
$text{'filters_re'} ]);
|
||||
foreach my $f (@filters) {
|
||||
my ($def) = grep { $_->{'name'} eq 'Definition' } @$f;
|
||||
next if (!$def); # XXX what about default?
|
||||
next if (!$def); # Skip default config file
|
||||
my $fail = &find_value("failregex", $def);
|
||||
my $fname = &filename_to_name($def->{'file'});
|
||||
if (length($fail) > 80) {
|
||||
|
0
fail2ban/list_jails.cgi
Normal file → Executable file
0
fail2ban/list_jails.cgi
Normal file → Executable file
0
fail2ban/save_action.cgi
Normal file → Executable file
0
fail2ban/save_action.cgi
Normal file → Executable file
0
fail2ban/save_config.cgi
Normal file → Executable file
0
fail2ban/save_config.cgi
Normal file → Executable file
0
fail2ban/save_filter.cgi
Normal file → Executable file
0
fail2ban/save_filter.cgi
Normal file → Executable file
0
fail2ban/save_jail.cgi
Normal file → Executable file
0
fail2ban/save_jail.cgi
Normal file → Executable file
Reference in New Issue
Block a user