summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_captiveportal_test.php
diff options
context:
space:
mode:
authorCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-20 21:30:41 -0300
committerCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-20 21:30:41 -0300
commit43f2e2704fa4a30b949cc8e0099cf87dfb84cfa7 (patch)
tree62fc87e9f31cfe3c2413cd1fe3fdc4a69a3f67cc /usr/local/www/status_captiveportal_test.php
parente19e4cfb084d53fa91a26a4db23780f3c723ff6d (diff)
downloadpfsense-43f2e2704fa4a30b949cc8e0099cf87dfb84cfa7.zip
pfsense-43f2e2704fa4a30b949cc8e0099cf87dfb84cfa7.tar.gz
Implement gettext() calls on status_captiveportal_test.php
Diffstat (limited to 'usr/local/www/status_captiveportal_test.php')
-rw-r--r--usr/local/www/status_captiveportal_test.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/status_captiveportal_test.php b/usr/local/www/status_captiveportal_test.php
index 5d89810..c6d1dab 100644
--- a/usr/local/www/status_captiveportal_test.php
+++ b/usr/local/www/status_captiveportal_test.php
@@ -35,7 +35,6 @@
##|*MATCH=status_captiveportal_test.php*
##|-PRIV
-$pgtitle = array("Status", "Captive portal", "Test Vouchers");
require("guiconfig.inc");
require("functions.inc");
require("filter.inc");
@@ -45,6 +44,7 @@ require_once("voucher.inc");
include("head.inc");
include("fbegin.inc");
+$pgtitle = array(gettext("Status"), gettext("Captive portal"), gettext("Test Vouchers"));
?>
<form action="status_captiveportal_test.php" method="post" enctype="multipart/form-data" name="iform" id="iform">
@@ -52,10 +52,10 @@ include("fbegin.inc");
<tr><td class="tabnavtbl">
<?php
$tab_array = array();
- $tab_array[] = array("Active Users", false, "status_captiveportal.php");
- $tab_array[] = array("Active Vouchers", false, "status_captiveportal_vouchers.php");
- $tab_array[] = array("Voucher Rolls", false, "status_captiveportal_voucher_rolls.php");
- $tab_array[] = array("Test Vouchers", true, "status_captiveportal_test.php");
+ $tab_array[] = array(gettext("Active Users"), false, "status_captiveportal.php");
+ $tab_array[] = array(gettext("Active Vouchers"), false, "status_captiveportal_vouchers.php");
+ $tab_array[] = array(gettext("Voucher Rolls"), false, "status_captiveportal_voucher_rolls.php");
+ $tab_array[] = array(gettext("Test Vouchers"), true, "status_captiveportal_test.php");
display_top_tabs($tab_array);
?>
</td></tr>
@@ -64,16 +64,16 @@ include("fbegin.inc");
<table width="100%" border="0" cellpadding="6" cellspacing="0" summary="content pane">
<tr>
- <td valign="top" class="vncellreq">Voucher(s)</td>
+ <td valign="top" class="vncellreq"><?=gettext("Voucher(s)"); ?></td>
<td class="vtable">
<textarea name="vouchers" cols="65" rows="3" type="text" id="vouchers" class="formpre"><?=htmlspecialchars($_POST['vouchers']);?></textarea>
<br>
-Enter multiple vouchers separated by space or newline. The remaining time, if valid, will be shown for each voucher.</td>
+<?=gettext("Enter multiple vouchers separated by space or newline. The remaining time, if valid, will be shown for each voucher"); ?>.</td>
</tr>
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
- <input name="Submit" type="submit" class="formbtn" value="Submit">
+ <input name="Submit" type="submit" class="formbtn" value="<?=gettext("Submit"); ?>">
</td>
</tr>
</table>
OpenPOWER on IntegriCloud