summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_system_pftop.php
diff options
context:
space:
mode:
authorCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-08 11:11:07 -0300
committerCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-08 11:11:07 -0300
commite6c074f9b7822bf95e0437272960ff75755e0a9f (patch)
tree73f627ecf8d4a9ae20f45ace66245e30cd7cc483 /usr/local/www/diag_system_pftop.php
parente085ff29fa67f25a66f9029bce6b26e9e73ba23d (diff)
downloadpfsense-e6c074f9b7822bf95e0437272960ff75755e0a9f.zip
pfsense-e6c074f9b7822bf95e0437272960ff75755e0a9f.tar.gz
Corrections gettext implementation on diag_system_pftop.php
Diffstat (limited to 'usr/local/www/diag_system_pftop.php')
-rw-r--r--usr/local/www/diag_system_pftop.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/diag_system_pftop.php b/usr/local/www/diag_system_pftop.php
index 4ff5cec..4818534 100644
--- a/usr/local/www/diag_system_pftop.php
+++ b/usr/local/www/diag_system_pftop.php
@@ -48,7 +48,7 @@ if($_REQUEST['getactivity']) {
if($_REQUEST['sorttype'])
$sorttype = escapeshellarg($_REQUEST['sorttype']);
else
- $sorttype = "bytes";
+ $sorttype = gettext("bytes");
$text = `pftop -b -a -o {$sorttype}`;
echo $text;
exit;
@@ -59,7 +59,7 @@ include("head.inc");
if($_REQUEST['sorttype'])
$sorttype = htmlentities($_REQUEST['sorttype']);
else
- $sorttype = "bytes";
+ $sorttype = gettext("bytes");
?>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
@@ -96,7 +96,7 @@ else
print_input_errors($input_errors);
?>
<form method="post">
- Sort type:
+ <?=gettext("Sort type"); ?>:
<select name='sorttype' id='sorttype' onChange='this.form.submit();'>
<option value='<?=$sorttype?>'><?=$sorttype?></option>
<option value='age'><?=gettext("age");?></option>
OpenPOWER on IntegriCloud