2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

Refresh is only active in rooms (by Oliver)

git-svn-id: https://svn.fhem.de/fhem/trunk@1880 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-09-21 09:42:07 +00:00
parent 616a2b9b69
commit cd89d3d7e1

View File

@ -573,9 +573,12 @@ FW_AnswerCall($)
} }
} }
my $rf = AttrVal($FW_wname, "refresh", ""); # meta refresh in rooms only
FW_pO "<meta http-equiv=\"refresh\" content=\"$rf\">" if($rf); if ($FW_room) {
my $rf = AttrVal($FW_wname, "refresh", "");
FW_pO "<meta http-equiv=\"refresh\" content=\"$rf\">" if($rf);
}
$prf = "smallscreen" if(!$prf && $FW_ss); $prf = "smallscreen" if(!$prf && $FW_ss);
$prf = "touchpad" if(!$prf && $FW_tp); $prf = "touchpad" if(!$prf && $FW_tp);
FW_pO "<link href=\"$FW_ME/css/".$prf."style.css\" rel=\"stylesheet\"/>"; FW_pO "<link href=\"$FW_ME/css/".$prf."style.css\" rel=\"stylesheet\"/>";