Merge pull request #568 from fabianfrz/fix_ipsec_page

Fix ipsec page
This commit is contained in:
Ad Schellevis 2015-12-27 12:56:37 +01:00
commit 1b2f7f4098
2 changed files with 2 additions and 2 deletions

View File

@ -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: [{

View File

@ -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") . ".<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) {
print_input_errors($input_errors);