summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-12-01 22:29:43 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2010-12-01 22:29:43 -0700
commit310a9d7bdc87aca434f3ab61b8d75c00f3850782 (patch)
treee254a91cb9a9d5f79b7c8d20561e76ac93735e83 /usr/local
parent1b844e70456e7d3219dd146e72706408f196ee81 (diff)
downloadpfsense-310a9d7bdc87aca434f3ab61b8d75c00f3850782.zip
pfsense-310a9d7bdc87aca434f3ab61b8d75c00f3850782.tar.gz
Confirm before deleting the interface.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/interfaces_assign.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index e4d349f..340ee78 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -454,7 +454,7 @@ if(file_exists("/var/run/interface_mismatch_reboot_needed"))
</td>
<td valign="middle" class="list">
<?php if ($ifname != 'wan'): ?>
- <a href="interfaces_assign.php?act=del&id=<?=$ifname;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title=<?=gettext("delete interface"); ?> width="17" height="17" border="0"></a>
+ <a href="interfaces_assign.php?act=del&id=<?=$ifname;?>" onclick="return confirm('<?=gettext("Do you really want to delete this interface?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title=<?=gettext("delete interface"); ?> width="17" height="17" border="0"></a>
<?php endif; ?>
</td>
</tr>
OpenPOWER on IntegriCloud