diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-12-01 22:29:43 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-12-01 22:29:43 -0700 |
commit | 310a9d7bdc87aca434f3ab61b8d75c00f3850782 (patch) | |
tree | e254a91cb9a9d5f79b7c8d20561e76ac93735e83 /usr/local | |
parent | 1b844e70456e7d3219dd146e72706408f196ee81 (diff) | |
download | pfsense-310a9d7bdc87aca434f3ab61b8d75c00f3850782.zip pfsense-310a9d7bdc87aca434f3ab61b8d75c00f3850782.tar.gz |
Confirm before deleting the interface.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/interfaces_assign.php | 2 |
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> |