mirror of https://github.com/mikaku/Monitorix.git
fixed the 'gensens' names in the right side list of the main page #170
This commit is contained in:
parent
0619d25ec1
commit
ad55557ef1
|
@ -312,10 +312,10 @@ EOF
|
|||
next;
|
||||
}
|
||||
if($g eq "gensens") {
|
||||
foreach my $sg (sort keys %{$config{gensens}->{list}}) {
|
||||
my $name = trim($config{gensens}->{title}->{$sg});
|
||||
for($n = 0; $n < keys %{$config{gensens}->{list}}; $n++) {
|
||||
my $name = trim($config{gensens}->{title}->{$n});
|
||||
$gname = "_" . $g;
|
||||
print(OUT " <option value='" . $gname . "'>" . $name . "</option>\n");
|
||||
print(OUT " <option value='" . $gname . $n . "'>" . $name . "</option>\n");
|
||||
}
|
||||
next;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue