summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-10-01 22:18:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-10-01 22:18:59 +0000
commitb8a4d945e48fdfb732fc27945a160da6502b2ac5 (patch)
tree2afd6a2a9dffa46704ea395fc4e6e280e4dd19d0 /usr
parent7fad5151328f0388170b6c1895036ce71114ab64 (diff)
downloadpfsense-b8a4d945e48fdfb732fc27945a160da6502b2ac5.zip
pfsense-b8a4d945e48fdfb732fc27945a160da6502b2ac5.tar.gz
Do not show Apply button if IPSEC is disabled. Ticket #1467
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/vpn_ipsec.php3
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..748fb2c 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">
OpenPOWER on IntegriCloud