mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +00:00
49_SSCam: fix warnings, Forum: 45671#msg975610
git-svn-id: https://svn.fhem.de/fhem/trunk@20192 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9358314e99
commit
c6b8a8ecb4
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 49_SSCam: fix warnings, Forum: 45671#msg975610
|
||||
- change: 70_ZoneMinder: improved contents of state (thx Florian_GT)
|
||||
- change: 95_Dashboard: attr dashboard_activetab is now working as designed,
|
||||
commandref revised, internal code review
|
||||
|
@ -48,6 +48,7 @@ eval "use FHEM::Meta;1" or my $modMetaAbsent = 1;
|
||||
|
||||
# Versions History intern
|
||||
our %SSCam_vNotesIntern = (
|
||||
"8.18.1" => "18.09.2019 fix warnings, Forum: https://forum.fhem.de/index.php/topic,45671.msg975610.html#msg975610 ",
|
||||
"8.18.0" => "13.09.2019 change usage of own hashes to central %data hash, release unnecessary allocated memory ",
|
||||
"8.17.0" => "12.09.2019 fix warnings, support hide buttons in streaming device, change handle delete SNAPHASHOLD ",
|
||||
"8.16.3" => "13.08.2019 commandref revised ",
|
||||
@ -7751,7 +7752,7 @@ sub SSCam_composegallery ($;$$$) {
|
||||
$pws = AttrVal($strmdev, "popupWindowSize", ""); # Größe eines Popups (umgelegt: Forum:https://forum.fhem.de/index.php/topic,45671.msg927912.html#msg927912)
|
||||
$pws =~ s/"//g if($pws);
|
||||
$ha = AttrVal($strmdev, "htmlattr", $ha); # htmlattr vom SSCamSTRM-Device übernehmen falls von SSCamSTRM-Device aufgerufen und gesetzt
|
||||
$hf = AttrVal($strmdev, "hideButtons", 0); # Drucktasten im unteren Bereich ausblenden ?
|
||||
$hf = AttrVal($strmdev, "hideButtons", 0); # Drucktasten im unteren Bereich ausblenden ?
|
||||
if($ftui) {
|
||||
$ha = AttrVal($strmdev, "htmlattrFTUI", $ha); # wenn aus FTUI aufgerufen divers setzen
|
||||
}
|
||||
@ -7773,12 +7774,15 @@ sub SSCam_composegallery ($;$$$) {
|
||||
}
|
||||
|
||||
# Header Generierung
|
||||
my $header;
|
||||
if($ftui) {
|
||||
$header .= "$dlink <br>" if(!AttrVal($strmdev,"hideDisplayNameFTUI",0));
|
||||
} else {
|
||||
$header .= "$dlink <br>" if(!AttrVal($strmdev,"hideDisplayName",0));
|
||||
my $header;
|
||||
if($strmdev) { # Forum: https://forum.fhem.de/index.php/topic,45671.msg975610.html#msg975610
|
||||
if($ftui) {
|
||||
$header .= "$dlink <br>" if(!AttrVal($strmdev,"hideDisplayNameFTUI",0));
|
||||
} else {
|
||||
$header .= "$dlink <br>" if(!AttrVal($strmdev,"hideDisplayName",0));
|
||||
}
|
||||
}
|
||||
|
||||
if ($lang eq "EN") {
|
||||
$header .= "Snapshots ($limit/$totalcnt) of camera <b>$camname</b> - newest Snapshot: $lss<br>";
|
||||
$header .= " (Possibly another snapshots are available. Last recall: $lupt)<br>" if(AttrVal($name,"snapGalleryBoost",0));
|
||||
|
Loading…
x
Reference in New Issue
Block a user