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."));
Copyright (C) 2003-2005 Manuel Kasper <mk@neon1.net>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
...
...
@@ -84,31 +84,31 @@ include("head.inc");
<?phpinclude("fbegin.inc");?>
<sectionclass="page-content-main">
<divclass="container-fluid">
<divclass="container-fluid">
<divclass="row">
<?php
<?php
if($savemsg)
print_info_box($savemsg);
if(is_subsystem_dirty('ipsec'))
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."));
<ahref="vpn_ipsec_keys.php?act=del&id=<?=$i;?>"onclick="return confirm('<?=gettext("Do you really want to delete this Pre-Shared Key?");?>')"><imgsrc="./themes/<?=$g['theme'];?>/images/icons/icon_x.gif"title="<?=gettext("delete key");?>"width="17"height="17"border="0"alt="delete"/></a></td>
print_info_box(gettext("Warning: RADIUS is enabled. The local user database will not be used."));?>
<?phpif(is_subsystem_dirty('l2tpusers')):?><br/>
<?phpprint_info_box_np(gettext("The l2tp user list has been modified").".<br />".gettext("You must apply the changes in order for them to take effect").".<br /><b>".gettext("Warning: this will terminate all current l2tp sessions!")."</b>");?>
<ahref="vpn_l2tp_users.php?act=del&id=<?=$i;?>"class="btn btn-default"onclick="return confirm('<?=gettext("Do you really want to delete this user?");?>')"title="<?=gettext("delete user");?>"><spanclass="glyphicon glyphicon-remove"></span></a>
<ahref="vpn_openvpn_client.php?act=del&id=<?=$i;?>"class="btn btn-default"onclick="return confirm('<?=gettext("Do you really want to delete this client?");?>')"title="<?=gettext("delete client");?>"><spanclass="glyphicon glyphicon-remove"></span></a>
<pclass="text-muted"><em><small><?=gettext("Set this option to disable this client-specific override without removing it from the list");?>.</small></em></p>
<?phpprint_info_box_np(gettext("The PPPoE entry list has been changed").".<br />".gettext("You must apply the changes in order for them to take effect."));?>
<ahref="vpn_pppoe.php?act=del&id=<?=$i;?>"onclick="return confirm('<?=gettext("Do you really want to delete this entry? All elements that still use it will become invalid (e.g. filter rules)!");?>')"title="<?=gettext("delete pppoe instance");?>"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-remove"></span></a>
<ahref="vpn_pppoe.php?act=del&id=<?=$i;?>"onclick="return confirm('<?=gettext("Do you really want to delete this entry? All elements that still use it will become invalid (e.g. filter rules)!");?>')"title="<?=gettext("delete pppoe instance");?>"class="btn btn-default btn-xs"><spanclass="glyphicon glyphicon-remove"></span></a>
print_info_box(gettext("Warning: RADIUS is enabled. The local user database will not be used."));?>
<?phpif(is_subsystem_dirty('pptpusers')):?><br/>
<?phpprint_info_box_np(gettext("The PPTP user list has been modified").".<br />".gettext("You must apply the changes in order for them to take effect").".<br /></b><b>".gettext("Warning: this will terminate all current PPTP sessions")."!");?><br/>
<ahref="vpn_pptp_users.php?act=del&id=<?=$i;?>"class="btn btn-default"onclick="return confirm('<?=gettext("Do you really want to delete this user?");?>')"title="<?=gettext("delete user");?>"><spanclass="glyphicon glyphicon-remove"></span></a></td>