diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-10-01 22:18:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-10-01 22:18:52 +0000 |
commit | bf93840d71e6feffb7f6cd2a7a8d3281521dcbdd (patch) | |
tree | c6430563f5608de50dcffac69d307061aa492449 | |
parent | 52ed387189967dff376a91f021faa540f2c518d8 (diff) | |
download | pfsense-bf93840d71e6feffb7f6cd2a7a8d3281521dcbdd.zip pfsense-bf93840d71e6feffb7f6cd2a7a8d3281521dcbdd.tar.gz |
Do not show Apply button if IPSEC is disabled.
Ticket #1467
-rwxr-xr-x | usr/local/www/vpn_ipsec.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php index 02be63c..a539ba6 100755 --- a/usr/local/www/vpn_ipsec.php +++ b/usr/local/www/vpn_ipsec.php @@ -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"> |