diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php index 2d158049c7..c7cb10a538 100755 --- a/usr/local/www/system_gateways_edit.php +++ b/usr/local/www/system_gateways_edit.php @@ -449,21 +449,35 @@ function monitor_change() { - - - -
- - + + + +
+

+ +
+ + - - - -
- - + + + +
+ + + + +
+ "; + $interval = is_numeric($pconfig['interval']) ? $pconfig['interval'] : 1; + $down = is_numeric($pconfig['down']) ? $pconfig['down'] : 10; + echo gettext(sprintf("With the current configuration, the total time before this gateway would be considered down would be: %d*%d=%d seconds.", $interval, $down, $interval*$down)); + } ?> + +