diff options
author | bcyrill <cyrill@bannwart.info> | 2013-01-09 23:54:43 +0100 |
---|---|---|
committer | bcyrill <cyrill@bannwart.info> | 2013-01-09 23:54:43 +0100 |
commit | 19f7146a8356f4979879ef697a27b168962dea02 (patch) | |
tree | 6db3249461c831c89b1ce57c061a25ecf306236a | |
parent | c668eaed5c4418784c67f7e33cc5bfad515bdf27 (diff) | |
download | pfsense-19f7146a8356f4979879ef697a27b168962dea02.zip pfsense-19f7146a8356f4979879ef697a27b168962dea02.tar.gz |
Update usr/local/www/diag_system_pftop.php
Get rid of localization where it is not desired.
-rw-r--r-- | usr/local/www/diag_system_pftop.php | 8 |
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"; } ?> |