print_info_box_np(gettext("The IPsec tunnel configuration has been changed").".<br />".gettext("You must apply the changes in order for them to take effect."));
print_info_box_np(gettext("The IPsec tunnel configuration has been changed").".<br />".gettext("You must apply the changes in order for them to take effect."));
}
}
$ph1found=false;
foreach($config['ipsec']['phase1']as$ph1ent){
foreach($config['ipsec']['phase1']as$ph1ent){
if(isset($ph1ent['mobile'])){
$ph1found=true;
}
}
if(!empty($pconfig['enable'])&&!$ph1found){
}
if(!empty($pconfig['enable'])&&!$ph1found){
print_info_box_np(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"));
}
if(isset($input_errors)&&count($input_errors)>0){
}
if(isset($input_errors)&&count($input_errors)>0){
print_input_errors($input_errors);
}
}
?>
<sectionclass="col-xs-12">
...
...
@@ -375,7 +375,7 @@ function login_banner_change() {