mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 14:46:24 +00:00
FHEMWEB/SVG: better hiddenroom checking (Forum #32118)
git-svn-id: https://svn.fhem.de/fhem/trunk@7567 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
39bd43b66f
commit
e49c60c118
@ -1020,6 +1020,7 @@ FW_doDetail($)
|
|||||||
{
|
{
|
||||||
my ($d) = @_;
|
my ($d) = @_;
|
||||||
|
|
||||||
|
return if($FW_hiddenroom{detail});
|
||||||
my $h = $defs{$d};
|
my $h = $defs{$d};
|
||||||
my $t = $h->{TYPE};
|
my $t = $h->{TYPE};
|
||||||
$t = "MISSING" if(!defined($t));
|
$t = "MISSING" if(!defined($t));
|
||||||
|
@ -26,6 +26,7 @@ use vars qw(%FW_pos); # scroll position
|
|||||||
use vars qw(%FW_webArgs); # all arguments specified in the GET
|
use vars qw(%FW_webArgs); # all arguments specified in the GET
|
||||||
use vars qw($FW_formmethod);
|
use vars qw($FW_formmethod);
|
||||||
use vars qw($FW_userAgent);
|
use vars qw($FW_userAgent);
|
||||||
|
use vars qw($FW_hiddenroom);
|
||||||
|
|
||||||
my $SVG_RET; # Returned data (SVG)
|
my $SVG_RET; # Returned data (SVG)
|
||||||
sub SVG_calcOffsets($$);
|
sub SVG_calcOffsets($$);
|
||||||
@ -541,6 +542,7 @@ SVG_WriteGplot($)
|
|||||||
my ($arg) = @_;
|
my ($arg) = @_;
|
||||||
FW_digestCgi($arg);
|
FW_digestCgi($arg);
|
||||||
|
|
||||||
|
return if($FW_hiddenroom{detail});
|
||||||
return SVG_showData() if($FW_webArgs{showFileLogData});
|
return SVG_showData() if($FW_webArgs{showFileLogData});
|
||||||
|
|
||||||
if(!defined($FW_webArgs{par_0_0})) {
|
if(!defined($FW_webArgs{par_0_0})) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user