Do not show Apply button if IPSEC is disabled.

This commit is contained in:
Scott Ullrich 2007-10-01 22:18:52 +00:00
parent 52ed387189
commit bf93840d71

View File

@ -94,7 +94,8 @@ include("head.inc");
<form action="vpn_ipsec.php" method="post">
<?php if ($savemsg) print_info_box($savemsg); ?>
<?php if (file_exists($d_ipsecconfdirty_path)): ?><p>
<?php print_info_box_np("The IPsec tunnel configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br>
<?php if ($pconfig['enable'])
print_info_box_np("The IPsec tunnel configuration has been changed.<br>You must apply the changes in order for them to take effect.");?><br>
<?php endif; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">