summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorHari <hari289@outlook.com>2015-09-15 16:33:27 +0530
committerHari <hari289@outlook.com>2015-09-15 16:33:27 +0530
commitb40061093c81866bf19c0a175165c1985b34dfc4 (patch)
treeb98ac8d7640420e456d9970a8f938db0aae09f73 /src/usr
parentb081da76825632d49904d61e067881b26af71788 (diff)
downloadpfsense-b40061093c81866bf19c0a175165c1985b34dfc4.zip
pfsense-b40061093c81866bf19c0a175165c1985b34dfc4.tar.gz
Removed debugging echo statement
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/status_openvpn.php1
-rw-r--r--src/usr/local/www/status_queues.php2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/status_openvpn.php b/src/usr/local/www/status_openvpn.php
index 4416d79..9322bb0 100644
--- a/src/usr/local/www/status_openvpn.php
+++ b/src/usr/local/www/status_openvpn.php
@@ -165,7 +165,6 @@ include("head.inc"); ?>
<tbody>
<?php
- echo sizeof($server['conns']);
foreach ($server['conns'] as $conn):
?>
<tr id="<?php echo "r:{$server['mgmt']}:{$conn['remote_host']}"; ?>">
diff --git a/src/usr/local/www/status_queues.php b/src/usr/local/www/status_queues.php
index cfd3e14..37537b8 100644
--- a/src/usr/local/www/status_queues.php
+++ b/src/usr/local/www/status_queues.php
@@ -259,7 +259,7 @@ function processQueues($altqstats, $level, $parent_name) {
$cpuUsage = 0;
echo "<td bgcolor=\"#{$row_background}\">";
echo "<div class='progress' style='height: 7px;width: 170px;'>
- <div class='progress-bar' role='progressbar' name='queue{$q['name']}{$q['interface']}width' id='queue{$q['name']}{$q['interface']}width' aria-valuenow='70' aria-valuemin='0' aria-valuemax='100' style='width: ". ($cpuUsage*100)/150 ."%;'></div>
+ <div class='progress-bar' role='progressbar' name='queue{$q['name']}{$q['interface']}width' id='queue{$q['name']}{$q['interface']}width' aria-valuenow='70' aria-valuemin='0' aria-valuemax='100' style='width: ". ($cpuUsage*100) ."%;'></div>
</div>";
echo " </td>";
echo "<td bgcolor=\"#{$row_background}\"><input style='border: 0px solid white; background-color:#{$row_background}; color:#000000;width:70px;text-align:right;' size='10' name='queue{$q['name']}{$q['interface']}pps' id='queue{$q['name']}{$q['interface']}pps' value='(" . gettext("Loading") . ")' align='left' /></td>";
OpenPOWER on IntegriCloud