mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 07:56:03 +00:00
don't create detail links if detail is in hiddenroom
git-svn-id: https://svn.fhem.de/fhem/trunk@4893 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c049d1b0e2
commit
2aef2f9c27
@ -24,8 +24,9 @@ use strict;
|
||||
use warnings;
|
||||
|
||||
use vars qw($FW_ME);
|
||||
use vars qw($FW_subdir);
|
||||
use vars qw($FW_wname);
|
||||
use vars qw($FW_subdir);
|
||||
use vars qw(%FW_hiddenroom);
|
||||
use vars qw(%FW_webArgs); # all arguments specified in the GET
|
||||
|
||||
sub readingsGroup_Initialize($)
|
||||
@ -276,6 +277,7 @@ readingsGroup_2html($)
|
||||
|
||||
my $show_heading = !AttrVal( $d, "noheading", "0" );
|
||||
my $show_links = !AttrVal( $d, "nolinks", "0" );
|
||||
$show_links = 0 if($FW_hiddenroom{detail});
|
||||
|
||||
my $disable = AttrVal($d,"disable", 0);
|
||||
if( AttrVal($d,"disable", 0) > 2 ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user