mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
Quasi fast alle cgis von den fixen header farben befreit
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@560 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -38,6 +38,11 @@ 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=();
|
||||
@@ -764,10 +769,10 @@ while (<RULES>)
|
||||
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";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user