summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-09-16 17:26:32 +0000
committerErmal <eri@pfsense.org>2010-09-16 17:26:32 +0000
commit2f36abb869c012ae3d46fe173014c93015a54a11 (patch)
treecfe518cceb2a762027aa56b4f293b1be5dd2c38d /usr/local/www/system_gateways.php
parentea939fc3a6c35feee0f56078c95e95d612640783 (diff)
downloadpfsense-2f36abb869c012ae3d46fe173014c93015a54a11.zip
pfsense-2f36abb869c012ae3d46fe173014c93015a54a11.tar.gz
Display delete(x) buttons.
Diffstat (limited to 'usr/local/www/system_gateways.php')
-rwxr-xr-xusr/local/www/system_gateways.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_gateways.php b/usr/local/www/system_gateways.php
index b39af37..bfc1700 100755
--- a/usr/local/www/system_gateways.php
+++ b/usr/local/www/system_gateways.php
@@ -200,7 +200,7 @@ include("head.inc");
<tr>
<td><a href="system_gateways_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0"></a>
<?php
- if ($gateway['attribute'] != "system") : ?>
+ if (is_numeric($gateway['attribute'])) : ?>
<td>
<a href="system_gateways.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this gateway?"); ?>')">
<img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" width="17" height="17" border="0">
OpenPOWER on IntegriCloud