my %selected=();
my $warnmessage = '';
my $errormessage = '';
-my $cryptoerror = '';
-my $cryptowarning = '';
my %settings=();
my $routes_push_file = "${General::swroot}/ovpn/routes_push";
my $confighost="${General::swroot}/fwhosts/customhosts";
# Show any errors and warnings
&Header::errorbox($errormessage);
- if ($cryptoerror) {
- &Header::openbox('100%', 'LEFT', $Lang::tr{'crypto error'});
- print "<class name='base'>$cryptoerror";
- print " </class>";
- &Header::closebox();
- }
-
- if ($cryptowarning) {
- &Header::openbox('100%', 'LEFT', $Lang::tr{'crypto warning'});
- print "<class name='base'>$cryptowarning";
- print " </class>";
- &Header::closebox();
- }
-
if ($warnmessage) {
&Header::openbox('100%', 'LEFT', $Lang::tr{'warning messages'});
print "$warnmessage<br>";