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:
maniacikarus
2007-05-17 16:54:15 +00:00
parent 4b4aec3a3d
commit f2fdd0c1e9
30 changed files with 279 additions and 202 deletions

View File

@@ -25,6 +25,11 @@ require "${General::swroot}/header.pl";
require '/var/ipfire/connscheduler/lib.pl';
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 $buttontext = $Lang::tr{'add'};
my $hiddenvalue = 'add';
my $day;
@@ -408,11 +413,11 @@ for my $id ( 0 .. $#CONNSCHED::config )
}
elsif ( $id % 2 )
{
$trcolor = "<tr bgcolor='$Header::table2colour'>";
$trcolor = "<tr bgcolor='$color{'color20'}'>";
}
else
{
$trcolor = "<tr bgcolor='$Header::table1colour'>";
$trcolor = "<tr bgcolor='$color{'color22'}'>";
}
print <<END