summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2013-01-09 15:08:40 -0800
committerJim P <jim@pingle.org>2013-01-09 15:08:40 -0800
commit3ef033d4c463429abdff79cbc5b943a30190e531 (patch)
tree6db3249461c831c89b1ce57c061a25ecf306236a
parentc668eaed5c4418784c67f7e33cc5bfad515bdf27 (diff)
parent19f7146a8356f4979879ef697a27b168962dea02 (diff)
downloadpfsense-3ef033d4c463429abdff79cbc5b943a30190e531.zip
pfsense-3ef033d4c463429abdff79cbc5b943a30190e531.tar.gz
Merge pull request #317 from bcyrill/patch-2
Update usr/local/www/diag_system_pftop.php
-rw-r--r--usr/local/www/diag_system_pftop.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/diag_system_pftop.php b/usr/local/www/diag_system_pftop.php
index 4caa1f8..c2c8c3d 100644
--- a/usr/local/www/diag_system_pftop.php
+++ b/usr/local/www/diag_system_pftop.php
@@ -53,8 +53,8 @@ if($_REQUEST['getactivity']) {
$sorttype = escapeshellarg($_REQUEST['sorttype']);
$viewtype = escapeshellarg($_REQUEST['viewtype']);
} else {
- $sorttype = gettext("bytes");
- $viewtype = gettext("default");
+ $sorttype = "bytes";
+ $viewtype = "default";
}
$text = `pftop -b -a -o {$sorttype} -v {$viewtype}`;
@@ -69,8 +69,8 @@ if($_REQUEST['sorttype'] && in_array($_REQUEST['sorttype'], array_keys($sorttype
$sorttype = htmlentities($_REQUEST['sorttype']);
$viewtype = htmlentities($_REQUEST['viewtype']);
} else {
- $sorttype = gettext("bytes");
- $viewtype = gettext("default");
+ $sorttype = "bytes";
+ $viewtype = "default";
}
?>
OpenPOWER on IntegriCloud