summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_certmanager.php
diff options
context:
space:
mode:
authorCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-04-27 14:07:26 -0300
committerCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-04-27 14:07:26 -0300
commite64aa6f8d5bafcb22dc0bde8ce7c39b01fff1fb7 (patch)
tree94ea5b3f44d06d1bfee820616743d9c8d6cbd672 /usr/local/www/system_certmanager.php
parent443ddf6f8da6b3cd9c694d5771b1ced2b85bd51c (diff)
downloadpfsense-e64aa6f8d5bafcb22dc0bde8ce7c39b01fff1fb7.zip
pfsense-e64aa6f8d5bafcb22dc0bde8ce7c39b01fff1fb7.tar.gz
Reviewing gettext()
Diffstat (limited to 'usr/local/www/system_certmanager.php')
-rw-r--r--usr/local/www/system_certmanager.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/system_certmanager.php b/usr/local/www/system_certmanager.php
index bc771ba..e7f6477 100644
--- a/usr/local/www/system_certmanager.php
+++ b/usr/local/www/system_certmanager.php
@@ -141,7 +141,7 @@ if ($act == "csr") {
if ($_POST) {
- if ($_POST['save'] == "Save") {
+ if ($_POST['save'] == gettext("Save")) {
unset($input_errors);
$pconfig = $_POST;
@@ -368,7 +368,7 @@ function internalca_change() {
<td id="mainarea">
<div class="tabcont">
- <?php if ($act == "new" || (($_POST['save'] == "Save") && $input_errors)): ?>
+ <?php if ($act == "new" || (($_POST['save'] == gettext("Save")) && $input_errors)): ?>
<form action="system_certmanager.php" method="post" name="iform" id="iform">
<table width="100%" border="0" cellpadding="6" cellspacing="0">
@@ -637,7 +637,7 @@ function internalca_change() {
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
- <input id="submit" name="save" type="submit" class="formbtn" value="Save" />
+ <input id="submit" name="save" type="submit" class="formbtn" value="<?=gettext("Save");?>" />
<?php if (isset($id) && $a_cert[$id]): ?>
<input name="id" type="hidden" value="<?=$id;?>" />
<?php endif;?>
@@ -646,7 +646,7 @@ function internalca_change() {
</table>
</form>
- <?php elseif ($act == "csr" || (($_POST['save'] == "Update") && $input_errors)):?>
+ <?php elseif ($act == "csr" || (($_POST['save'] == gettext("Update")) && $input_errors)):?>
<form action="system_certmanager.php" method="post" name="iform" id="iform">
<table width="100%" border="0" cellpadding="6" cellspacing="0">
@@ -682,7 +682,7 @@ function internalca_change() {
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
- <input id="submit" name="save" type="submit" class="formbtn" value="Update" />
+ <input id="submit" name="save" type="submit" class="formbtn" value="<?=gettext("Update");?>" />
<?php if (isset($id) && $a_cert[$id]): ?>
<input name="id" type="hidden" value="<?=$id;?>" />
<input name="act" type="hidden" value="csr" />
OpenPOWER on IntegriCloud