#use warnings;
#use CGI::Carp 'fatalsToBrowser';
-require 'CONFIG_ROOT/general-functions.pl';
+require '/var/ipfire/general-functions.pl';
require "${General::swroot}/lang.pl";
require "${General::swroot}/header.pl";
my @dummy = ( ${Header::colouryellow} );
undef (@dummy);
+my %color = ();
+my %mainsettings = ();
+&General::readhash("${General::swroot}/main/settings", \%mainsettings);
+&General::readhash("/srv/web/ipfire/html/themes/".$mainsettings{'THEME'}."/include/colors.txt", \%color);
+
my %cgiparams=();
my %selected=();
my %checked=();
}
}
print <<END
- <td width='5%' align='right'>
- <a href='${General::adminmanualurl}/section-firewall.html#section-port-forwarding' target='_blank'>
- <img src='/images/web-support.png' alt='$Lang::tr{'online help en'}' title='$Lang::tr{'online help en'}' /></a></td>
+ <td width='5%' align='right'> </td>
</tr>
</table>
END
print "<tr bgcolor='${Header::colouryellow}'>\n";
} else {
if ($id % 2) {
- print "<tr bgcolor='${Header::table1colour}'>\n";
+ print "<tr bgcolor='$color{'color22'}'>\n";
}
else {
- print "<tr bgcolor='${Header::table2colour}'>\n";
+ print "<tr bgcolor='$color{'color20'}'>\n";
}
}