Revision e64aa6f8
Added by Carlos Eduardo Ramos about 15 years ago
usr/local/www/system_certmanager.php | ||
---|---|---|
141 | 141 |
|
142 | 142 |
if ($_POST) { |
143 | 143 |
|
144 |
if ($_POST['save'] == "Save") {
|
|
144 |
if ($_POST['save'] == gettext("Save")) {
|
|
145 | 145 |
|
146 | 146 |
unset($input_errors); |
147 | 147 |
$pconfig = $_POST; |
... | ... | |
368 | 368 |
<td id="mainarea"> |
369 | 369 |
<div class="tabcont"> |
370 | 370 |
|
371 |
<?php if ($act == "new" || (($_POST['save'] == "Save") && $input_errors)): ?>
|
|
371 |
<?php if ($act == "new" || (($_POST['save'] == gettext("Save")) && $input_errors)): ?>
|
|
372 | 372 |
|
373 | 373 |
<form action="system_certmanager.php" method="post" name="iform" id="iform"> |
374 | 374 |
<table width="100%" border="0" cellpadding="6" cellspacing="0"> |
... | ... | |
637 | 637 |
<tr> |
638 | 638 |
<td width="22%" valign="top"> </td> |
639 | 639 |
<td width="78%"> |
640 |
<input id="submit" name="save" type="submit" class="formbtn" value="Save" />
|
|
640 |
<input id="submit" name="save" type="submit" class="formbtn" value="<?=gettext("Save");?>" />
|
|
641 | 641 |
<?php if (isset($id) && $a_cert[$id]): ?> |
642 | 642 |
<input name="id" type="hidden" value="<?=$id;?>" /> |
643 | 643 |
<?php endif;?> |
... | ... | |
646 | 646 |
</table> |
647 | 647 |
</form> |
648 | 648 |
|
649 |
<?php elseif ($act == "csr" || (($_POST['save'] == "Update") && $input_errors)):?>
|
|
649 |
<?php elseif ($act == "csr" || (($_POST['save'] == gettext("Update")) && $input_errors)):?>
|
|
650 | 650 |
|
651 | 651 |
<form action="system_certmanager.php" method="post" name="iform" id="iform"> |
652 | 652 |
<table width="100%" border="0" cellpadding="6" cellspacing="0"> |
... | ... | |
682 | 682 |
<tr> |
683 | 683 |
<td width="22%" valign="top"> </td> |
684 | 684 |
<td width="78%"> |
685 |
<input id="submit" name="save" type="submit" class="formbtn" value="Update" />
|
|
685 |
<input id="submit" name="save" type="submit" class="formbtn" value="<?=gettext("Update");?>" />
|
|
686 | 686 |
<?php if (isset($id) && $a_cert[$id]): ?> |
687 | 687 |
<input name="id" type="hidden" value="<?=$id;?>" /> |
688 | 688 |
<input name="act" type="hidden" value="csr" /> |
Also available in: Unified diff
Reviewing gettext()