diff --git a/src/www/carp_status.php b/src/www/carp_status.php index 147266fc7..c36a91226 100644 --- a/src/www/carp_status.php +++ b/src/www/carp_status.php @@ -90,7 +90,7 @@ include("head.inc");
- + " . gettext("Check link status on all interfaces with configured CARP VIPs.")); ?> diff --git a/src/www/diag_authentication.php b/src/www/diag_authentication.php index ec6ba71e3..24cc32cf0 100644 --- a/src/www/diag_authentication.php +++ b/src/www/diag_authentication.php @@ -64,14 +64,14 @@ include("head.inc"); - +
- +
diff --git a/src/www/diag_backup.php b/src/www/diag_backup.php index 187bc20a7..18ef3c060 100644 --- a/src/www/diag_backup.php +++ b/src/www/diag_backup.php @@ -574,7 +574,7 @@ function backuparea_change(obj) { - +
@@ -588,7 +588,7 @@ function backuparea_change(obj) {
- +
diff --git a/src/www/diag_dns.php b/src/www/diag_dns.php index 762dac9b0..e0343624d 100644 --- a/src/www/diag_dns.php +++ b/src/www/diag_dns.php @@ -175,7 +175,7 @@ include("head.inc"); ?>
- +

diff --git a/src/www/diag_gmirror.php b/src/www/diag_gmirror.php index b914da9c4..e0bd655ac 100644 --- a/src/www/diag_gmirror.php +++ b/src/www/diag_gmirror.php @@ -157,7 +157,7 @@ foreach ($unused_disks as $disk) {
- +
diff --git a/src/www/diag_ipsec_leases.php b/src/www/diag_ipsec_leases.php index af49fec1e..a063567f6 100644 --- a/src/www/diag_ipsec_leases.php +++ b/src/www/diag_ipsec_leases.php @@ -44,7 +44,7 @@ $mobile = ipsec_dump_mobile();
- +
diff --git a/src/www/diag_ipsec_sad.php b/src/www/diag_ipsec_sad.php index 5ec677ad0..46fe04efa 100644 --- a/src/www/diag_ipsec_sad.php +++ b/src/www/diag_ipsec_sad.php @@ -46,7 +46,7 @@ $sad = ipsec_dump_sad();
- +
diff --git a/src/www/diag_ipsec_spd.php b/src/www/diag_ipsec_spd.php index 2face8d0c..0b5eb9e1e 100644 --- a/src/www/diag_ipsec_spd.php +++ b/src/www/diag_ipsec_spd.php @@ -45,7 +45,7 @@ $spd = ipsec_dump_spd();
- +
diff --git a/src/www/diag_limiter_info.php b/src/www/diag_limiter_info.php index 1defcc07c..ad20fb052 100644 --- a/src/www/diag_limiter_info.php +++ b/src/www/diag_limiter_info.php @@ -84,7 +84,7 @@ include("head.inc"); print_info_box($savemsg); echo "
"; } - if ($input_errors) + if (isset($input_errors)) print_input_errors($input_errors); ?> diff --git a/src/www/diag_logs.php b/src/www/diag_logs.php index 619cf4831..d17809b74 100644 --- a/src/www/diag_logs.php +++ b/src/www/diag_logs.php @@ -66,7 +66,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_auth.php b/src/www/diag_logs_auth.php index 4e42654c9..b9007b6c5 100644 --- a/src/www/diag_logs_auth.php +++ b/src/www/diag_logs_auth.php @@ -54,7 +54,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_dhcp.php b/src/www/diag_logs_dhcp.php index 55b148714..c6873da06 100644 --- a/src/www/diag_logs_dhcp.php +++ b/src/www/diag_logs_dhcp.php @@ -56,7 +56,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_filter.php b/src/www/diag_logs_filter.php index cd075b6f8..b8fda7818 100644 --- a/src/www/diag_logs_filter.php +++ b/src/www/diag_logs_filter.php @@ -122,7 +122,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_filter_dynamic.php b/src/www/diag_logs_filter_dynamic.php index e69522c60..75d064bf1 100644 --- a/src/www/diag_logs_filter_dynamic.php +++ b/src/www/diag_logs_filter_dynamic.php @@ -85,7 +85,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_filter_summary.php b/src/www/diag_logs_filter_summary.php index 9ba72aa9c..309d8a679 100644 --- a/src/www/diag_logs_filter_summary.php +++ b/src/www/diag_logs_filter_summary.php @@ -182,7 +182,7 @@ include("head.inc"); ?>
- +
diff --git a/src/www/diag_logs_gateways.php b/src/www/diag_logs_gateways.php index b0955747a..28bc195df 100644 --- a/src/www/diag_logs_gateways.php +++ b/src/www/diag_logs_gateways.php @@ -68,7 +68,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_ipsec.php b/src/www/diag_logs_ipsec.php index 96cfae9f1..b894e3db7 100644 --- a/src/www/diag_logs_ipsec.php +++ b/src/www/diag_logs_ipsec.php @@ -58,7 +58,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_ntpd.php b/src/www/diag_logs_ntpd.php index 603651b43..7d0e53784 100644 --- a/src/www/diag_logs_ntpd.php +++ b/src/www/diag_logs_ntpd.php @@ -55,7 +55,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_openvpn.php b/src/www/diag_logs_openvpn.php index 887a07a37..c9070fc5e 100644 --- a/src/www/diag_logs_openvpn.php +++ b/src/www/diag_logs_openvpn.php @@ -57,7 +57,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_ppp.php b/src/www/diag_logs_ppp.php index 019c28e82..2b87ac46c 100644 --- a/src/www/diag_logs_ppp.php +++ b/src/www/diag_logs_ppp.php @@ -54,7 +54,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_relayd.php b/src/www/diag_logs_relayd.php index a40f91761..e455b0450 100644 --- a/src/www/diag_logs_relayd.php +++ b/src/www/diag_logs_relayd.php @@ -56,7 +56,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_resolver.php b/src/www/diag_logs_resolver.php index a8c5b4f40..806d3d971 100644 --- a/src/www/diag_logs_resolver.php +++ b/src/www/diag_logs_resolver.php @@ -68,7 +68,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_routing.php b/src/www/diag_logs_routing.php index 42518d964..94dcd1174 100644 --- a/src/www/diag_logs_routing.php +++ b/src/www/diag_logs_routing.php @@ -54,7 +54,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_settings.php b/src/www/diag_logs_settings.php index cbb77952e..8678ed740 100644 --- a/src/www/diag_logs_settings.php +++ b/src/www/diag_logs_settings.php @@ -245,8 +245,8 @@ function check_everything() {
- - + +
diff --git a/src/www/diag_logs_vpn.php b/src/www/diag_logs_vpn.php index 285f33889..d2962afd3 100644 --- a/src/www/diag_logs_vpn.php +++ b/src/www/diag_logs_vpn.php @@ -110,7 +110,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_logs_wireless.php b/src/www/diag_logs_wireless.php index fca39f427..065850504 100644 --- a/src/www/diag_logs_wireless.php +++ b/src/www/diag_logs_wireless.php @@ -56,7 +56,7 @@ include("head.inc");
- +
diff --git a/src/www/diag_packet_capture.php b/src/www/diag_packet_capture.php index bdcb56e52..f90b6b8a1 100644 --- a/src/www/diag_packet_capture.php +++ b/src/www/diag_packet_capture.php @@ -220,7 +220,7 @@ include("fbegin.inc");
- +

diff --git a/src/www/diag_pf_info.php b/src/www/diag_pf_info.php index a319ea6af..d810b59ca 100644 --- a/src/www/diag_pf_info.php +++ b/src/www/diag_pf_info.php @@ -79,7 +79,7 @@ jQuery(document).ready(function() {setTimeout('getpfinfo()', 5000);}); print_info_box($savemsg); echo "
"; } - if ($input_errors) + if (isset($input_errors)) print_input_errors($input_errors); ?> diff --git a/src/www/diag_ping.php b/src/www/diag_ping.php index d3fb3eeab..d4bded324 100644 --- a/src/www/diag_ping.php +++ b/src/www/diag_ping.php @@ -77,7 +77,7 @@ include("head.inc"); ?>
- +
diff --git a/src/www/diag_resetstate.php b/src/www/diag_resetstate.php index ad407703d..711582d01 100644 --- a/src/www/diag_resetstate.php +++ b/src/www/diag_resetstate.php @@ -35,13 +35,13 @@ if ($_POST) { $savemsg = ""; if ($_POST['statetable']) { filter_flush_state_table(); - if ($savemsg) + if (isset($savemsg)) $savemsg .= " "; $savemsg .= gettext("The state table has been flushed successfully."); } if ($_POST['sourcetracking']) { mwexec("/sbin/pfctl -F Sources"); - if ($savemsg) + if (isset($savemsg)) $savemsg .= "
"; $savemsg .= gettext("The source tracking table has been flushed successfully."); } @@ -77,8 +77,8 @@ include("head.inc");
- - + + diff --git a/src/www/diag_routes.php b/src/www/diag_routes.php index 9d1f2d003..8b96d05ce 100644 --- a/src/www/diag_routes.php +++ b/src/www/diag_routes.php @@ -153,7 +153,7 @@ include('head.inc');
- +
diff --git a/src/www/diag_smart.php b/src/www/diag_smart.php index 805afcda5..f9d662a54 100644 --- a/src/www/diag_smart.php +++ b/src/www/diag_smart.php @@ -194,7 +194,7 @@ switch($action) { } } // Was the config changed? if so , print the message - if ($savemsg) print_info_box($savemsg); + if (isset($savemsg)) print_info_box($savemsg); // Get users email from the xml file $pconfig['smartmonemail'] = $config['system']['smartmonemail']; @@ -276,7 +276,7 @@ switch($action) { - +
diff --git a/src/www/diag_sockets.php b/src/www/diag_sockets.php index 29d96bec1..fe6fb54e0 100644 --- a/src/www/diag_sockets.php +++ b/src/www/diag_sockets.php @@ -53,7 +53,7 @@ $showAllOption = $showAll ? "" : "?showAll";

For explanation about the meaning of the information listed for each socket click here.


To show information about both listening and connected sockets click this.

- +
diff --git a/src/www/diag_system_activity.php b/src/www/diag_system_activity.php index db602a72c..d973d57dc 100644 --- a/src/www/diag_system_activity.php +++ b/src/www/diag_system_activity.php @@ -78,7 +78,7 @@ include("head.inc"); print_info_box($savemsg); echo "
"; } - if ($input_errors) + if (isset($input_errors)) print_input_errors($input_errors); ?> diff --git a/src/www/diag_system_pftop.php b/src/www/diag_system_pftop.php index 839cd94e0..269e506ca 100644 --- a/src/www/diag_system_pftop.php +++ b/src/www/diag_system_pftop.php @@ -170,7 +170,7 @@ if($_REQUEST['sorttype'] && in_array($_REQUEST['sorttype'], $sorttypes) print_info_box($savemsg); echo "
"; } - if ($input_errors) + if (isset($input_errors)) print_input_errors($input_errors); ?> diff --git a/src/www/diag_tables.php b/src/www/diag_tables.php index 1bed2baee..551a5a51f 100644 --- a/src/www/diag_tables.php +++ b/src/www/diag_tables.php @@ -112,7 +112,7 @@ include("head.inc");
- +