summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_rfc2136.php
diff options
context:
space:
mode:
authorRafael Lucas <rafalucas.unicamp@gmail.com>2010-07-12 09:39:12 -0300
committerRafael Lucas <rafalucas.unicamp@gmail.com>2010-07-12 09:39:12 -0300
commit1c108ceff162460fc8f045f91f2cd1b92b1d0dba (patch)
treef7f835729b72c22c445714d00970f33bcf07baec /usr/local/www/services_rfc2136.php
parentbd33744da751da3d4eb4019be2af40371e5f0a07 (diff)
downloadpfsense-1c108ceff162460fc8f045f91f2cd1b92b1d0dba.zip
pfsense-1c108ceff162460fc8f045f91f2cd1b92b1d0dba.tar.gz
Implement gettext() calls on services_rfc2136.php
Diffstat (limited to 'usr/local/www/services_rfc2136.php')
-rw-r--r--usr/local/www/services_rfc2136.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/local/www/services_rfc2136.php b/usr/local/www/services_rfc2136.php
index 80edc0b..d2e8c19 100644
--- a/usr/local/www/services_rfc2136.php
+++ b/usr/local/www/services_rfc2136.php
@@ -52,7 +52,7 @@ if ($_GET['act'] == "del") {
exit;
}
-$pgtitle = array("Services", "RFC 2136 clients");
+$pgtitle = array(gettext("Services"), gettext("RFC 2136 clients"));
include("head.inc");
?>
@@ -65,8 +65,8 @@ include("head.inc");
<tr><td>
<?php
$tab_array = array();
- $tab_array[] = array("DynDns", false, "services_dyndns.php");
- $tab_array[] = array("RFC 2136", true, "services_rfc2136.php");
+ $tab_array[] = array(gettext("DynDns"), false, "services_dyndns.php");
+ $tab_array[] = array(gettext("RFC 2136"), true, "services_rfc2136.php");
display_top_tabs($tab_array);
?>
</td></tr>
@@ -76,8 +76,8 @@ include("head.inc");
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="5%" class="listhdrr"></td>
- <td width="25%" class="listhdrr">Hostname</td>
- <td width="60%" class="listhdr">Description</td>
+ <td width="25%" class="listhdrr"><?=gettext("Hostname");?></td>
+ <td width="60%" class="listhdr"><?=gettext("Description");?></td>
<td width="10%" class="list"></td>
</tr>
<?php $i = 0; foreach ($a_rfc2136 as $rfc2136): ?>
@@ -96,7 +96,7 @@ include("head.inc");
<?=htmlspecialchars($rfc2136['descr']);?>&nbsp;
</td>
<td valign="middle" nowrap class="list"> <a href="services_rfc2136_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0"></a>
- &nbsp;<a href="services_rfc2136.php?act=del&id=<?=$i;?>" onclick="return confirm('Do you really want to delete this client?')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td>
+ &nbsp;<a href="services_rfc2136.php?act=del&id=<?=$i;?>" onclick="return confirm(<?=gettext("Do you really want to delete this client?");?><)"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0"></a></td>
</tr>
<?php $i++; endforeach; ?>
<tr>
@@ -105,9 +105,9 @@ include("head.inc");
</tr>
<tr>
<td colspan="3" class="list"><p class="vexpl"><span class="red"><strong>
- Note:<br>
+ <?=gettext("Note:")?><br>
</strong></span>
- Add something meaningful here.
+ <?=gettext("Add something meaningful here.");?>
</td>
<td class="list">&nbsp;</td>
</tr>
OpenPOWER on IntegriCloud