From: <ow...@us...> - 2009-01-01 23:41:56
|
Revision: 2267 http://ipcop.svn.sourceforge.net/ipcop/?rev=2267&view=rev Author: owes Date: 2009-01-01 23:41:51 +0000 (Thu, 01 Jan 2009) Log Message: ----------- Use IPsec and OpenVPN for page titles Modified Paths: -------------- ipcop/trunk/html/cgi-bin/ipsec.cgi ipcop/trunk/html/cgi-bin/ovpnmain.cgi Modified: ipcop/trunk/html/cgi-bin/ipsec.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/ipsec.cgi 2009-01-01 23:40:51 UTC (rev 2266) +++ ipcop/trunk/html/cgi-bin/ipsec.cgi 2009-01-01 23:41:51 UTC (rev 2267) @@ -525,7 +525,7 @@ ### } elsif ($cgiparams{'ACTION'} eq $Lang::tr{'remove x509'}) { &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ipsec configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', ''); &Header::openbox('100%', 'left', $Lang::tr{'are you sure'}, 'warning'); print <<END @@ -621,7 +621,7 @@ if ( -f "/var/ipcop/ca/$cahash{$cgiparams{'KEY'}}[0]cert.pem") { &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ipsec configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', ''); &Header::openbox('100%', 'left', "$Lang::tr{'ca certificate'}:"); my $output = `/usr/bin/openssl x509 -text -in /var/ipcop/ca/$cahash{$cgiparams{'KEY'}}[0]cert.pem`; @@ -697,7 +697,7 @@ } if ($assignedcerts) { &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ipsec configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', ''); &Header::openbox('100%', 'left', $Lang::tr{'are you sure'}, 'warning'); print <<END @@ -742,7 +742,7 @@ $cgiparams{'ACTION'} eq $Lang::tr{'show host certificate'}) { my $output; &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ipsec configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', ''); if ($cgiparams{'ACTION'} eq $Lang::tr{'show root certificate'}) { &Header::openbox('100%', 'left', "$Lang::tr{'root certificate'}:"); @@ -1067,7 +1067,7 @@ ROOTCERT_ERROR: &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ipsec configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', $errormessage); if ($errormessage) { &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}:", 'error'); @@ -1154,7 +1154,7 @@ if ( -f "/var/ipcop/certs/$confighash{$cgiparams{'KEY'}}[1]cert.pem") { &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ipsec configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', ''); &Header::openbox('100%', 'left', "$Lang::tr{'cert'}:"); my $output = `/usr/bin/openssl x509 -text -in /var/ipcop/certs/$confighash{$cgiparams{'KEY'}}[1]cert.pem`; @@ -1244,7 +1244,7 @@ ### } elsif ($cgiparams{'ACTION'} eq $Lang::tr{'add'} && $cgiparams{'TYPE'} eq '') { &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ipsec configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', ''); &Header::openbox('100%', 'left', $Lang::tr{'connection type'}); print <<END @@ -1912,7 +1912,7 @@ $selected{'DPD_ACTION'}{$cgiparams{'DPD_ACTION'}} = "selected='selected'"; &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ipsec configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', $errormessage); if ($errormessage) { &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}:", 'error'); @@ -2325,7 +2325,7 @@ $checked{'VHOST'} = $cgiparams{'VHOST'} eq 'on' ? "checked='checked'" : '' ; &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ipsec configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', $errormessage); if ($errormessage) { @@ -2494,7 +2494,7 @@ &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ipsec configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', $errormessage); if ($errormessage) { Modified: ipcop/trunk/html/cgi-bin/ovpnmain.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/ovpnmain.cgi 2009-01-01 23:40:51 UTC (rev 2266) +++ ipcop/trunk/html/cgi-bin/ovpnmain.cgi 2009-01-01 23:41:51 UTC (rev 2267) @@ -678,7 +678,7 @@ } elsif ($cgiparams{'ACTION'} eq $Lang::tr{'remove x509'}) { &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ovpn configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', ''); &Header::openbox('100%', 'left', $Lang::tr{'are you sure'}, 'warning'); print <<END @@ -777,7 +777,7 @@ if ( -f "${General::swroot}/ovpn/ca/$cahash{$cgiparams{'KEY'}}[0]cert.pem") { &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ovpn configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', $errormessage); &Header::openbox('100%', 'left', "$Lang::tr{'ca certificate'}:"); my $output = `/usr/bin/openssl x509 -text -in ${General::swroot}/ovpn/ca/$cahash{$cgiparams{'KEY'}}[0]cert.pem`; @@ -847,7 +847,7 @@ } if ($assignedcerts) { &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ovpn configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', $errormessage); &Header::openbox('100%', 'left', $Lang::tr{'are you sure'}); print <<END @@ -881,7 +881,7 @@ $cgiparams{'ACTION'} eq $Lang::tr{'show host certificate'}) { my $output; &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ovpn configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', ''); if ($cgiparams{'ACTION'} eq $Lang::tr{'show root certificate'}) { &Header::openbox('100%', 'left', "$Lang::tr{'root certificate'}:"); @@ -1262,7 +1262,7 @@ ############################## &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ovpn configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', ''); if ($errormessage) { &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}:", 'error'); @@ -1459,7 +1459,7 @@ if ( -f "${General::swroot}/ovpn/certs/$confighash{$cgiparams{'KEY'}}[1]cert.pem") { &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ovpn configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', ''); &Header::openbox('100%', 'left', "$Lang::tr{'certificate'}:"); my $output = `/usr/bin/openssl x509 -text -in ${General::swroot}/ovpn/certs/$confighash{$cgiparams{'KEY'}}[1]cert.pem`; @@ -1478,7 +1478,7 @@ if ( -f "${General::swroot}/ovpn/crls/cacrl.pem") { &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ovpn configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', ''); &Header::openbox('100%', 'left', "$Lang::tr{'crl'}:"); my $output = `/usr/bin/openssl crl -text -noout -in ${General::swroot}/ovpn/crls/cacrl.pem`; @@ -1543,7 +1543,7 @@ $checked{'RADIUS_ENABLED'}{$cgiparams{'RADIUS_ENABLED'}} = 'CHECKED'; &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'status ovpn'}, 1, ''); + &Header::openpage($Lang::tr{'ovpn configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', $errormessage); if ($errormessage) { &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}:"); @@ -1689,7 +1689,7 @@ ### } elsif ($cgiparams{'ACTION'} eq $Lang::tr{'ovpn con stat'}) { &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'ovpn con stat'}, 1, ''); + &Header::openpage($Lang::tr{'ovpn configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', ''); &Header::openbox('100%', 'left', $Lang::tr{'ovpn con stat'}); @@ -1852,7 +1852,7 @@ } elsif ($cgiparams{'ACTION'} eq $Lang::tr{'add'} && $cgiparams{'TYPE'} eq '') { &General::readhash("${General::swroot}/ovpn/settings", \%vpnsettings); &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ovpn configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', ''); &Header::openbox('100%', 'left', $Lang::tr{'connection type'}); print <<END @@ -2322,7 +2322,7 @@ if (1) { &Header::showhttpheaders(); - &Header::openpage($Lang::tr{'vpn configuration main'}, 1, ''); + &Header::openpage($Lang::tr{'ovpn configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', $errormessage); if ($errormessage) { &Header::openbox('100%', 'left', "$Lang::tr{'error messages'}:"); @@ -2518,7 +2518,7 @@ &Header::showhttpheaders(); -&Header::openpage($Lang::tr{'status ovpn'}, 1, ''); +&Header::openpage($Lang::tr{'ovpn configuration main'}, 1, ''); &Header::openbigbox('100%', 'left', '', $errormessage); if ($errormessage) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |