mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-06 13:06:11 +02:00
Einige CGI Fixes
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@643 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -21,6 +21,7 @@ require '/var/ipfire/general-functions.pl';
|
||||
require "${General::swroot}/lang.pl";
|
||||
require "${General::swroot}/header.pl";
|
||||
|
||||
my %color = ();
|
||||
my %checked=();
|
||||
my %selected=();
|
||||
my %netsettings=();
|
||||
@@ -60,6 +61,7 @@ my $chk_cron_mly = "${General::swroot}/updatexlrator/autocheck/cron.monthly";
|
||||
&General::readhash("${General::swroot}/ethernet/settings", \%netsettings);
|
||||
&General::readhash("${General::swroot}/main/settings", \%mainsettings);
|
||||
&General::readhash("${General::swroot}/proxy/settings", \%proxysettings);
|
||||
&General::readhash("/srv/web/ipfire/html/themes/".$mainsettings{'THEME'}."/include/colors.txt", \%color);
|
||||
|
||||
$xlratorsettings{'ACTION'} = '';
|
||||
$xlratorsettings{'ENABLE_LOG'} = 'off';
|
||||
@@ -385,9 +387,9 @@ END
|
||||
{
|
||||
$id++;
|
||||
if ($id % 2) {
|
||||
print "<tr bgcolor='$Header::table1colour'>\n"; }
|
||||
print "<tr bgcolor='$color{'color20'}'>\n"; }
|
||||
else {
|
||||
print "<tr bgcolor='$Header::table2colour'>\n"; }
|
||||
print "<tr bgcolor='$color{'color22'}'>\n"; }
|
||||
$filesize = (-s "$repository/$updatefile");
|
||||
1 while $filesize =~ s/^(-?\d+)(\d{3})/$1.$2/;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user