Project

General

Profile

« Previous | Next » 

Revision 12fbd75b

Added by Carlos Eduardo Ramos about 15 years ago

gettext() fixes on firewall_nat_out_edit.php

View differences:

usr/local/www/firewall_nat_out_edit.php
370 370
                  <td width="78%" class="vtable">
371 371
                    <table border="0" cellspacing="1" cellpadding="1">
372 372
                      <tr>
373
		        <td><?=gettext("Type");?>:&nbsp;&nbsp;</td>
373
		        <td><?=gettext("Type:");?>&nbsp;&nbsp;</td>
374 374
			<td>
375 375
			    <select name="source_type" class="formselect" onChange="sourcesel_change()">
376 376
                              <option value="any" <?php if ($pconfig['source'] == "any") echo "selected"; ?>><?=gettext("any");?></option>
377 377
                              <option value="network" <?php if ($pconfig['source'] != "any") echo "selected"; ?>><?=gettext("Network");?></option>
378 378
                            </select>
379 379
			</td></tr>
380
                        <td><?=gettext("Address");?>:&nbsp;&nbsp;</td>
380
                        <td><?=gettext("Address:");?>&nbsp;&nbsp;</td>
381 381
                        <td><input name="source" type="text" class="formfld unknown" id="source" size="20" value="<?=htmlspecialchars($pconfig['source']);?>">/<select name="source_subnet" class="formfld" id="source_subnet">
382 382
<?php for ($i = 32; $i >= 0; $i--): ?>
383 383
                          <option value="<?=$i;?>"<?php if ($i == $pconfig['source_subnet']) echo " selected"; ?>><?=$i;?></option>
......
389 389
                        <td><span class="vexpl"><?=gettext("Enter the source network for the outbound NAT mapping.");?></span></td>
390 390
                      </tr>
391 391
                      <tr>
392
                        <td><?=gettext("Source port");?>:&nbsp;&nbsp;</td>
392
                        <td><?=gettext("Source port:");?>&nbsp;&nbsp;</td>
393 393
                        <td><input name="sourceport" type="text" class="formfld unknown" id="sourceport" size="5" value="<?=htmlspecialchars($pconfig['sourceport']);?>"> <?=gettext("(leave 
394 394
blank for any)");?></td>
395 395
                      </tr>
......
404 404
                    <br>
405 405
                    <table border="0" cellspacing="1" cellpadding="1">
406 406
                      <tr>
407
                        <td><?=gettext("Type");?>:&nbsp;&nbsp;</td>
407
                        <td><?=gettext("Type:");?>&nbsp;&nbsp;</td>
408 408
                        <td><select name="destination_type" class="formselect" onChange="typesel_change()">
409 409
                            <option value="any"<?php if ($pconfig['destination'] == "any") echo " selected"; ?>>
410 410
                            <?=gettext("any");?></option>
......
413 413
                          </select></td>
414 414
                      </tr>
415 415
                      <tr>
416
                        <td><?=gettext("Address");?>:&nbsp;&nbsp;</td>
416
                        <td><?=gettext("Address:");?>&nbsp;&nbsp;</td>
417 417
                        <td><input name="destination" type="text" class="formfld unknown" id="destination" size="20" value="<?=htmlspecialchars($pconfig['destination']);?>">
418 418
                          /
419 419
                          <select name="destination_subnet" class="formselect" id="destination_subnet">
......
428 428
                          "the outbound NAT mapping.");?></span></td>
429 429
                      </tr>
430 430
                      <tr>
431
                        <td><?=gettext("Destination port");?>:&nbsp;&nbsp;</td>
431
                        <td><?=gettext("Destination port:");?>&nbsp;&nbsp;</td>
432 432
                        <td><input name="dstport" type="text" class="formfld unknown" id="dstport" size="5" value="<?=htmlspecialchars($pconfig['dstport']);?>"> <?=gettext("(leave blank for 
433 433
any)");?></td>
434 434
                      </tr>
......
440 440
                  <td width="78%" class="vtable">
441 441
			<table border="0" cellspacing="1" cellpadding="1">
442 442
			<tr>
443
			  <td><?=gettext("Address");?>:&nbsp;&nbsp;</td>
443
			  <td><?=gettext("Address:");?>&nbsp;&nbsp;</td>
444 444
			  <td><select name="target" class="formselect">
445 445
				<option value=""<?php if (!$pconfig['target']) echo " selected"; ?>><?=gettext("Interface address");?></option>
446 446
<?php	if (is_array($config['virtualip']['vip'])):
......
472 472
			</span>
473 473
			</td></tr>
474 474
			<tr>
475
                          <td><?=gettext("Port");?>:&nbsp;&nbsp;</td>
475
                          <td><?=gettext("Port:");?>&nbsp;&nbsp;</td>
476 476
                          <td><input name="natport" type="text" class="formfld unknown" id="natport" size="5" value="<?=htmlspecialchars($pconfig['natport']);?>"></td>
477 477
			</tr>
478 478
			<tr><td>&nbsp;</td><td>
479 479
                        <span class="vexpl"><?=gettext("Enter the source port for the outbound NAT mapping.");?></span>
480 480
			</td></tr>
481 481
                        <tr>
482
                          <td><?=gettext("Static-port");?>:&nbsp;&nbsp;</td>
482
                          <td><?=gettext("Static-port:");?>&nbsp;&nbsp;</td>
483 483
                          <td><input onChange="staticportchange();" name="staticnatport" type="checkbox" class="formfld" id="staticnatport" size="5"<?php if($pconfig['staticnatport']) echo " CHECKED";?>></td>
484 484
			</tr>
485 485
			</table>

Also available in: Unified diff