Fix IPsec widget for multiple P2, it fixes #4164
Properly rename the var Ticket #4164
Do not count twice the phase2 entries
Just some reshufling and cleanup
split is deprecated move to explode
Fix lineup of copyright lines
and module names and other bits of formatting and typos in headercomment sections.
Welcome 2015
IPsec Widget allow for old settings that have no iketype
as mentioned in https://forum.pfsense.org/index.php?topic=84527.msg471919#msg471919This change makes it work like similar if tests in /usr/local/wwwvpn_ipsec.php, and code in /etc/inc/vpn.inc that effectively defaults to ikev1 when iketype is not specified....
Display tunnel description on IPsec widget
There was not even code to attempt to display the description.Also, when I first created a phase1 and there were no phase2 yet, the widget spat out the warning for the line:foreach ($config['ipsec']['phase2'] as $ph2ent){ ......
Oops remove variable with same name unused!
View revisions
Also available in: Atom