Skip to content

Commit 8458c06

Browse files
committed
- Added missing texts for rescue tab in server config settings.
- Removed ufw firewall tab.
1 parent 32f65c2 commit 8458c06

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

interface/web/admin/form/server_config.tform.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,7 @@
876876
)
877877
);
878878

879+
/*
879880
$form["tabs"]['ufw_firewall'] = array (
880881
'title' => "UFW Firewall",
881882
'width' => 80,
@@ -937,7 +938,7 @@
937938
##################################
938939
)
939940
);
940-
941+
*/
941942

942943
$form["tabs"]['vlogger'] = array(
943944
'title' => "vlogger",

interface/web/admin/lib/lang/en_server_config.lng

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,5 +141,10 @@ $wb["php_fpm_pool_dir_txt"] = 'PHP-FPM pool directory';
141141
$wb["php_fpm_pool_dir_error_empty"] = 'PHP-FPM pool directory is empty.';
142142
$wb["php_fpm_start_port_txt"] = 'PHP-FPM start port';
143143
$wb["php_fpm_start_port_error_empty"] = 'PHP-FPM start port is empty.';
144+
$wb["try_rescue_txt"] = 'Enable service monitoring and restart on failure';
145+
$wb["do_not_try_rescue_apache_txt"] = 'Disable apache monitoring';
146+
$wb["do_not_try_rescue_mysql_txt"] = 'Disable MySQL monitoring';
147+
$wb["do_not_try_rescue_mail_txt"] = 'Disable Email monitoring';
148+
$wb["rescue_description_txt"] = '<b>Information:</b> If you want to shut down mysql you have to select the "Disable MySQL monitor" checkbox and then wait 2-3 minutes.<br>if you do not wait 2-3 minutes, rescue will try to restart mysql!';
144149

145150
?>

interface/web/admin/lib/module.conf.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,15 @@
9797
$items[] = array( 'title' => 'Basic',
9898
'target' => 'content',
9999
'link' => 'admin/firewall_list.php');
100-
100+
/*
101101
$items[] = array( 'title' => 'Packet Filter',
102102
'target' => 'content',
103103
'link' => 'admin/firewall_filter_list.php');
104104
105105
$items[] = array( 'title' => 'Port Forward',
106106
'target' => 'content',
107107
'link' => 'admin/firewall_forward_list.php');
108-
108+
*/
109109
$module['nav'][] = array( 'title' => 'Firewall',
110110
'open' => "1",
111111
'items' => $items);

0 commit comments

Comments
 (0)