summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_system_pftop.php
diff options
context:
space:
mode:
authorbcyrill <cyrill@bannwart.info>2013-01-09 23:54:43 +0100
committerbcyrill <cyrill@bannwart.info>2013-01-09 23:54:43 +0100
commit19f7146a8356f4979879ef697a27b168962dea02 (patch)
tree6db3249461c831c89b1ce57c061a25ecf306236a /usr/local/www/diag_system_pftop.php
parentc668eaed5c4418784c67f7e33cc5bfad515bdf27 (diff)
downloadpfsense-19f7146a8356f4979879ef697a27b168962dea02.zip
pfsense-19f7146a8356f4979879ef697a27b168962dea02.tar.gz
Update usr/local/www/diag_system_pftop.php
Get rid of localization where it is not desired.
Diffstat (limited to '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