2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

49_SSCam: contrib 8.14.0

git-svn-id: https://svn.fhem.de/fhem/trunk@19522 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2019-06-01 14:55:15 +00:00
parent 85c93fc06d
commit ffe74d8f91

View File

@ -1928,18 +1928,18 @@ sub SSCam_FWconfCam($$) {
if(SSCam_IsModelCam($hash)) { # Camera Device
return $ret if(!$cip);
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/\s+/ /g; $cexpl =~ s/§NAME§/$alias/g;
} else {
$cexpl = $SSCam_ttips_en{"confcam"}; $cexpl =~ s/\s/ /g; $cexpl =~ s/§NAME§/$alias/g;
$cexpl = $SSCam_ttips_en{"confcam"}; $cexpl =~ s/\s+/ /g; $cexpl =~ s/§NAME§/$alias/g;
}
$cs = "window.open('http://$cip')";
} else { # SVS-Device
return $ret if(!$svsip);
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/\s+/ /g; $cexpl =~ s/§NAME§/$alias/g;
} else {
$cexpl = $SSCam_ttips_en{"confsvs"}; $cexpl =~ s/\s/ /g; $cexpl =~ s/§NAME§/$alias/g;
$cexpl = $SSCam_ttips_en{"confsvs"}; $cexpl =~ s/\s+/ /g; $cexpl =~ s/§NAME§/$alias/g;
}
$cs = "window.open('$svsprot://$svsip:$svsport/cam')";
}