mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Corrected little gui bug with ajax speed var
git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1264 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -128,7 +128,10 @@ if ($cgiparams{'ACTION'} eq "$Lang::tr{'save'}")
|
||||
if($mainsettings{'SPEED'}) {
|
||||
$cgiparams{'SPEED'} = $mainsettings{'SPEED'};
|
||||
} else {
|
||||
$cgiparams{'SPEED'} = 'off';
|
||||
# if var is not defined it will be set to on because after installation var
|
||||
# is not set and the speedmeter should be displayed, it can only be deactivated
|
||||
# by manually setting the var to off
|
||||
$cgiparams{'SPEED'} = 'on';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -243,6 +246,8 @@ local *DH;
|
||||
my ($item, $file);
|
||||
my @files;
|
||||
|
||||
# Foreach directory create am theme entry to be selected by user
|
||||
|
||||
opendir (DH, $dir);
|
||||
while ($file = readdir (DH)) {
|
||||
next if ( $file =~ /^\./ );
|
||||
|
||||
Reference in New Issue
Block a user