diff options
author | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-20 21:40:22 -0300 |
---|---|---|
committer | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-07-20 21:40:22 -0300 |
commit | 7b8eea1b6e797fb429b5d52ab60c9d7dbd79dc48 (patch) | |
tree | b1d341c3a85dd1bcd1db8ff56c02dd2b73b946e9 | |
parent | 43f2e2704fa4a30b949cc8e0099cf87dfb84cfa7 (diff) | |
download | pfsense-7b8eea1b6e797fb429b5d52ab60c9d7dbd79dc48.zip pfsense-7b8eea1b6e797fb429b5d52ab60c9d7dbd79dc48.tar.gz |
Implement gettext() calls on status_captiveportal_voucher_rolls.php
-rw-r--r-- | usr/local/www/status_captiveportal_voucher_rolls.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/usr/local/www/status_captiveportal_voucher_rolls.php b/usr/local/www/status_captiveportal_voucher_rolls.php index 8863365..3276c7b 100644 --- a/usr/local/www/status_captiveportal_voucher_rolls.php +++ b/usr/local/www/status_captiveportal_voucher_rolls.php @@ -35,13 +35,13 @@ ##|*MATCH=status_captiveportal_voucher_rolls.php* ##|-PRIV -$pgtitle = array("Status", "Captive portal", "Voucher Rolls"); require("guiconfig.inc"); require("functions.inc"); require("filter.inc"); require("shaper.inc"); require("captiveportal.inc"); require_once("voucher.inc"); +$pgtitle = array(gettext("Status"), gettext("Captive portal"), gettext("Voucher Rolls")); if (!is_array($config['voucher']['roll'])) { $config['voucher']['roll'] = array(); @@ -57,10 +57,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", true, "status_captiveportal_voucher_rolls.php"); - $tab_array[] = array("Test Vouchers", false, "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"), true, "status_captiveportal_voucher_rolls.php"); + $tab_array[] = array(gettext("Test Vouchers"), false, "status_captiveportal_test.php"); display_top_tabs($tab_array); ?> </td></tr> @@ -69,13 +69,13 @@ include("fbegin.inc"); <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="content pane"> <tr> - <td class="listhdrr">Roll#</td> - <td class="listhdrr">Minutes/Ticket</td> - <td class="listhdrr"># of Tickets</td> - <td class="listhdrr">Comment</td> - <td class="listhdrr">used</td> - <td class="listhdrr">active</td> - <td class="listhdr">ready</td> + <td class="listhdrr"><?=gettext("Roll#"); ?></td> + <td class="listhdrr"><?=gettext("Minutes/Ticket"); ?></td> + <td class="listhdrr"><?=gettext("# of Tickets"); ?></td> + <td class="listhdrr"><?=gettext("Comment"); ?></td> + <td class="listhdrr"><?=gettext("used"); ?></td> + <td class="listhdrr"><?=gettext("active"); ?></td> + <td class="listhdr"><?=gettext("ready"); ?></td> </tr> <?php $voucherlck = lock('voucher'); |