49_SSCam: contrib 8.14.0

git-svn-id: https://svn.fhem.de/fhem/trunk@19530 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2019-06-02 05:45:02 +00:00
parent e5f2ecb0c3
commit c3f6edab7d

View File

@ -1930,18 +1930,18 @@ sub SSCam_FWconfCam($$) {
if(SSCam_IsModelCam($hash)) { # Camera Device if(SSCam_IsModelCam($hash)) { # Camera Device
return $ret if(!$cip); return $ret if(!$cip);
if(AttrVal("global","language","EN") =~ /DE/) { if(AttrVal("global","language","EN") =~ /DE/) {
$cexpl = $SSCam_ttips_de{confcam}; $cexpl =~ s/\s+/ /g; $cexpl =~ s/§NAME§/$alias/g; $cexpl = $SSCam_ttips_de{confcam}; $cexpl =~ s/§NAME§/$alias/g; $cexpl =~ s/\s+/ /g;
} else { } else {
$cexpl = $SSCam_ttips_en{confcam}; $cexpl =~ s/\s+/ /g; $cexpl =~ s/§NAME§/$alias/g; $cexpl = $SSCam_ttips_en{confcam}; $cexpl =~ s/§NAME§/$alias/g; $cexpl =~ s/\s+/ /g;
} }
$cs = "window.open('http://$cip')"; $cs = "window.open('http://$cip')";
} else { # SVS-Device } else { # SVS-Device
return $ret if(!$svsip); return $ret if(!$svsip);
if(AttrVal("global","language","EN") =~ /DE/) { if(AttrVal("global","language","EN") =~ /DE/) {
$cexpl = $SSCam_ttips_de{confsvs}; $cexpl =~ s/\s+/ /g; $cexpl =~ s/§NAME§/$alias/g; $cexpl = $SSCam_ttips_de{confsvs}; $cexpl =~ s/§NAME§/$alias/g; $cexpl =~ s/\s+/ /g;
} else { } else {
$cexpl = $SSCam_ttips_en{confsvs}; $cexpl =~ s/\s+/ /g; $cexpl =~ s/§NAME§/$alias/g; $cexpl = $SSCam_ttips_en{confsvs}; $cexpl =~ s/§NAME§/$alias/g; $cexpl =~ s/\s+/ /g;
} }
$cs = "window.open('$svsprot://$svsip:$svsport/cam')"; $cs = "window.open('$svsprot://$svsip:$svsport/cam')";
} }