From 41232ca52598fb5cf8cc19e9b909be6c487cb4d9 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 11 Mar 2016 15:37:47 +0100 Subject: [PATCH] whitespace diag_limiter_info.php --- src/www/diag_limiter_info.php | 95 +++++++++++++++++------------------ 1 file changed, 47 insertions(+), 48 deletions(-) diff --git a/src/www/diag_limiter_info.php b/src/www/diag_limiter_info.php index 72a7d6c5e..f5bc95b14 100644 --- a/src/www/diag_limiter_info.php +++ b/src/www/diag_limiter_info.php @@ -29,18 +29,19 @@ require_once("guiconfig.inc"); -if(isset($_POST['getactivity'])) { - $text = `/sbin/ipfw pipe show`; - if($text == "") - $text = gettext('We could not find any limiters on this system.'); - echo "Limiters:\n"; - echo $text; - $text = `/sbin/ipfw queue show`; - if($text != "") { - echo "\n\nQueues:\n"; - echo $text; - } - exit; +if (isset($_POST['getactivity'])) { + $text = `/sbin/ipfw pipe show`; + if ($text == "") { + $text = gettext('We could not find any limiters on this system.'); + } + echo "Limiters:\n"; + echo $text; + $text = `/sbin/ipfw queue show`; + if ($text != "") { + echo "\n\nQueues:\n"; + echo $text; + } + exit; } include("head.inc"); @@ -50,48 +51,46 @@ include("head.inc");
-
-
-
- - "; - print_info_box($savemsg); - echo "
"; - } - if (isset($input_errors) && count($input_errors) > 0) - print_input_errors($input_errors); - ?> - -
- -
-
- - +
+
+
+"; + print_info_box($savemsg); + echo "
"; + } + if (isset($input_errors) && count($input_errors) > 0) + print_input_errors($input_errors); +?> +
+ +
+ +
+