chomp ($ipaddr);
}
-&Header::openbox('100%', 'center', '');
+&Header::opensection();
if ( ( $pppsettings{'VALID'} eq 'yes' && $modemsettings{'VALID'} eq 'yes' ) || ( $netsettings{'CONFIG_TYPE'} =~ /^(1|2|3|4)$/ && $netsettings{'RED_TYPE'} =~ /^(DHCP|STATIC)$/ )) {
if (open(IPADDR,"${General::swroot}/ddns/ipcache")) {
$ipaddr = <IPADDR>;
END
}
print"</table>";
-&Header::closebox();
+&Header::closesection();
#Check if there are any vpns configured (ipsec and openvpn)
&General::readhasharray("${General::swroot}/vpn/config", \%vpnconfig);
if ($showbox){
# Start of Box wich contains all vpn connections
- &Header::openbox('100%', 'center', $Lang::tr{'vpn'});
+ &Header::opensection();
#show ipsec connectiontable
if ( $showipsec ) {
}
print"</table>";
}
-&Header::closebox();
+
+ &Header::closesection();
}
my @warnings = ();