Commit 41232ca5 authored by Ad Schellevis's avatar Ad Schellevis

whitespace diag_limiter_info.php

parent 72ef0b01
...@@ -29,14 +29,15 @@ ...@@ -29,14 +29,15 @@
require_once("guiconfig.inc"); require_once("guiconfig.inc");
if(isset($_POST['getactivity'])) { if (isset($_POST['getactivity'])) {
$text = `/sbin/ipfw pipe show`; $text = `/sbin/ipfw pipe show`;
if($text == "") if ($text == "") {
$text = gettext('We could not find any limiters on this system.'); $text = gettext('We could not find any limiters on this system.');
}
echo "Limiters:\n"; echo "Limiters:\n";
echo $text; echo $text;
$text = `/sbin/ipfw queue show`; $text = `/sbin/ipfw queue show`;
if($text != "") { if ($text != "") {
echo "\n\nQueues:\n"; echo "\n\nQueues:\n";
echo $text; echo $text;
} }
...@@ -75,8 +76,7 @@ include("head.inc"); ...@@ -75,8 +76,7 @@ include("head.inc");
<div class="container-fluid col-xs-12 col-sm-10 col-md-9"> <div class="container-fluid col-xs-12 col-sm-10 col-md-9">
<div class="row"> <div class="row">
<section class="col-xs-12"> <section class="col-xs-12">
<?php
<?php
if($savemsg) { if($savemsg) {
echo "<div id=\"savemsg\">"; echo "<div id=\"savemsg\">";
print_info_box($savemsg); print_info_box($savemsg);
...@@ -84,8 +84,7 @@ include("head.inc"); ...@@ -84,8 +84,7 @@ include("head.inc");
} }
if (isset($input_errors) && count($input_errors) > 0) if (isset($input_errors) && count($input_errors) > 0)
print_input_errors($input_errors); print_input_errors($input_errors);
?> ?>
<div id="limiteractivitydiv"> <div id="limiteractivitydiv">
<?=gettext("Gathering Limiter information, please wait...");?> <?=gettext("Gathering Limiter information, please wait...");?>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment