Commit 1b2f7f40 authored by Ad Schellevis's avatar Ad Schellevis

Merge pull request #568 from fabianfrz/fix_ipsec_page

Fix ipsec page
parents e4752fac aeeff61f
...@@ -83,7 +83,7 @@ $( document ).ready(function() { ...@@ -83,7 +83,7 @@ $( document ).ready(function() {
$(".act_delete").click(function(){ $(".act_delete").click(function(){
var id = $(this).attr("id").split('_').pop(-1); var id = $(this).attr("id").split('_').pop(-1);
BootstrapDialog.show({ BootstrapDialog.show({
type:BootstrapDialog.TYPE_INFO, type:BootstrapDialog.TYPE_DANGER,
title: "<?= gettext("IPsec");?>", title: "<?= gettext("IPsec");?>",
message: "<?= gettext("Do you really want to delete this Pre-Shared Key?");?>", message: "<?= gettext("Do you really want to delete this Pre-Shared Key?");?>",
buttons: [{ buttons: [{
......
...@@ -354,7 +354,7 @@ EOFnp; ...@@ -354,7 +354,7 @@ EOFnp;
} }
if (!empty($pconfig['enable']) && !$ph1found) { if (!empty($pconfig['enable']) && !$ph1found) {
print_legacy_box(gettext("Support for IPsec Mobile clients is enabled but a Phase1 definition was not found") . ".<br />" . 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") . ".<br />" . gettext("Please click Create to define one."), "create", gettext("Create Phase1"));
} }
if (isset($input_errors) && count($input_errors) > 0) { if (isset($input_errors) && count($input_errors) > 0) {
print_input_errors($input_errors); print_input_errors($input_errors);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment