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

whitespace diag_limiter_info.php

parent 72ef0b01
......@@ -29,14 +29,15 @@
require_once("guiconfig.inc");
if(isset($_POST['getactivity'])) {
if (isset($_POST['getactivity'])) {
$text = `/sbin/ipfw pipe show`;
if($text == "")
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 != "") {
if ($text != "") {
echo "\n\nQueues:\n";
echo $text;
}
......@@ -75,8 +76,7 @@ include("head.inc");
<div class="container-fluid col-xs-12 col-sm-10 col-md-9">
<div class="row">
<section class="col-xs-12">
<?php
<?php
if($savemsg) {
echo "<div id=\"savemsg\">";
print_info_box($savemsg);
......@@ -84,8 +84,7 @@ include("head.inc");
}
if (isset($input_errors) && count($input_errors) > 0)
print_input_errors($input_errors);
?>
?>
<div id="limiteractivitydiv">
<?=gettext("Gathering Limiter information, please wait...");?>
</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