$user) { if (!empty($user['ipsecpsk'])) { $userkeys[] = array('ident' => $user['name'], 'type' => 'PSK', 'pre-shared-key' => $user['ipsecpsk'], 'id' => $id);; } } if (isset($_POST['apply'])) { $retval = vpn_ipsec_configure(); /* reload the filter in the background */ filter_configure(); $savemsg = get_std_save_message($retval); if (is_subsystem_dirty('ipsec')) { clear_subsystem_dirty('ipsec'); } } if ($_GET['act'] == "del") { if ($a_secret[$_GET['id']]) { unset($a_secret[$_GET['id']]); write_config(gettext("Deleted IPsec Pre-Shared Key")); mark_subsystem_dirty('ipsec'); header("Location: vpn_ipsec_keys.php"); exit; } } $pgtitle = array(gettext("VPN"), gettext("IPsec"), gettext("Pre-Shared Keys")); $shortcut_section = "ipsec"; include("head.inc"); ?> " . gettext("You must apply the changes in order for them to take effect.")); } ?>

: