diff --git a/src/www/vpn_ipsec_keys.php b/src/www/vpn_ipsec_keys.php
index f8923aecf..e11312522 100644
--- a/src/www/vpn_ipsec_keys.php
+++ b/src/www/vpn_ipsec_keys.php
@@ -83,7 +83,7 @@ $( document ).ready(function() {
$(".act_delete").click(function(){
var id = $(this).attr("id").split('_').pop(-1);
BootstrapDialog.show({
- type:BootstrapDialog.TYPE_INFO,
+ type:BootstrapDialog.TYPE_DANGER,
title: "= gettext("IPsec");?>",
message: "= gettext("Do you really want to delete this Pre-Shared Key?");?>",
buttons: [{
diff --git a/src/www/vpn_ipsec_mobile.php b/src/www/vpn_ipsec_mobile.php
index 764fd2cac..bf1a521e5 100644
--- a/src/www/vpn_ipsec_mobile.php
+++ b/src/www/vpn_ipsec_mobile.php
@@ -354,7 +354,7 @@ EOFnp;
}
if (!empty($pconfig['enable']) && !$ph1found) {
- print_legacy_box(gettext("Support for IPsec Mobile clients is enabled but a Phase1 definition was not found") . ".
" . gettext("Please click Create to define one."), gettext("create"), gettext("Create Phase1"));
+ print_legacy_box(gettext("Support for IPsec Mobile clients is enabled but a Phase1 definition was not found") . ".
" . gettext("Please click Create to define one."), "create", gettext("Create Phase1"));
}
if (isset($input_errors) && count($input_errors) > 0) {
print_input_errors($input_errors);