Remove gettext()

This commit is contained in:
Scott Ullrich 2007-05-26 22:11:38 +00:00
parent 6df9d7e359
commit 931cb4e4ae
2 changed files with 12 additions and 12 deletions

View File

@ -28,7 +28,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
$pgtitle = array(gettext("Firewall"),gettext("System Tunables"));
$pgtitle = array("Firewall","System Tunables");
require("guiconfig.inc");
@ -76,7 +76,7 @@ include("fbegin.inc");
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
<?php if (file_exists($d_sysctldirty_path)): ?><p>
<?php print_info_box_np(gettext("The firewall tunables have changed. You must apply the configuration to take affect."));?><br />
<?php print_info_box_np("The firewall tunables have changed. You must apply the configuration to take affect.");?><br />
<?php endif; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
@ -84,9 +84,9 @@ include("fbegin.inc");
<div id="mainarea">
<table class="tabcont" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" class="listhdrr"><?=gettext("Tunable Name");?></td>
<td width="60%" class="listhdrr"><?=gettext("Description");?></td>
<td width="20%" class="listhdrr"><?=gettext("Value");?></td>
<td width="20%" class="listhdrr">Tunable Name</td>
<td width="60%" class="listhdrr">Description</td>
<td width="20%" class="listhdrr">Value</td>
</tr>
<?php $i = 0; foreach ($config['sysctl']['item'] as $tunable): ?>
<tr>
@ -103,7 +103,7 @@ include("fbegin.inc");
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td valign="middle"><a href="firewall_system_tunables_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0" alt="" /></a></td>
<td valign="middle"><a href="firewall_system_tunables.php?act=del&amp;id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this entry?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" alt="" /></a></td>
<td valign="middle"><a href="firewall_system_tunables.php?act=del&amp;id=<?=$i;?>" onclick="return confirm('Do you really want to delete this entry?')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0" alt="" /></a></td>
</tr>
</table>
</td>

View File

@ -28,7 +28,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
$pgtitle = array(gettext("Firewall"),gettext("System Tunables"),gettext("Edit"));
$pgtitle = array("Firewall","System Tunables","Edit");
require("guiconfig.inc");
if (!is_array($config['sysctl']['item'])) {
@ -94,19 +94,19 @@ include("fbegin.inc");
<?display_topbar()?>
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
<td width="22%" valign="top" class="vncellreq"><?=gettext("Tunable");?></td>
<td width="22%" valign="top" class="vncellreq">Tunable</td>
<td width="78%" class="vtable">
<input size="55" name="tunable" value="<?php echo $pconfig['tunable']; ?>">
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq"><?=gettext("Description");?></td>
<td width="22%" valign="top" class="vncellreq">Description</td>
<td width="78%">
<textarea rows="3" cols="40" name="desc"><?php echo $pconfig['desc']; ?></textarea>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncellreq"><?=gettext("Value");?></td>
<td width="22%" valign="top" class="vncellreq">Value</td>
<td width="78%">
<input size="55" name="value" value="<?php echo $pconfig['value']; ?>">
</td>
@ -114,8 +114,8 @@ include("fbegin.inc");
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
<input id="submit" name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" />
<input id="cancelbutton" name="cancelbutton" type="button" class="formbtn" value="<?=gettext("Cancel");?>" onclick="history.back()" />
<input id="submit" name="Submit" type="submit" class="formbtn" value="Save" />
<input id="cancelbutton" name="cancelbutton" type="button" class="formbtn" value="Cancel" onclick="history.back()" />
<?php if (isset($id) && $a_tunable[$id]): ?>
<input name="id" type="hidden" value="<?=$id;?>" />
<?php endif; ?>