summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-08-29 00:11:53 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-08-29 00:11:53 +0000
commite1b749501ed9ebd5322cbcc7d4a081f774852afe (patch)
tree010fc9646616abf3ec908d9ead8daaae6b608846 /usr/local/www/vpn_ipsec.php
parent539fcd7ed6103ebe4dd20f00edeafb30a2af0545 (diff)
downloadpfsense-e1b749501ed9ebd5322cbcc7d4a081f774852afe.zip
pfsense-e1b749501ed9ebd5322cbcc7d4a081f774852afe.tar.gz
Show how many phase 2 entries are hidden.
Suggested-by: mgrooms
Diffstat (limited to 'usr/local/www/vpn_ipsec.php')
-rwxr-xr-xusr/local/www/vpn_ipsec.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index 1ef532f..7d79434 100755
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -290,7 +290,12 @@ include("head.inc");
<tr>
<td class="listrborder" colspan="5">
<div id="shph2but-<?=$i?>">
- <input type="button" onClick="show_phase2('tdph2-<?=$i?>','shph2but-<?=$i?>')" value="+"></input> - Show Phase 2</a>
+ <?php
+ $phase2count=0;
+ foreach ($a_phase2 as $ph2ent)
+ $phase2count++;
+ ?>
+ <input type="button" onClick="show_phase2('tdph2-<?=$i?>','shph2but-<?=$i?>')" value="+"></input> - Show <?=$phase2count?> Phase-2 entries</a>
</div>
<table class="tabcont" width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" id="tdph2-<?=$i?>" style="display:none">
<tr>
OpenPOWER on IntegriCloud