2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-25 09:49:20 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@4703 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
hexenmeister 2014-01-20 23:40:02 +00:00
parent 7a13c84ec7
commit 4b58d49719

View File

@ -1060,17 +1060,19 @@ sub SYSMON_ShowValuesHTML ($;@)
# oben definierte Werte anzeigen
foreach (@dataDescription) {
my($rName, $rComment, $rPostfix) = split(/:/, $_);
if(!defined $rComment) {
$rComment = $cur_readings_map->{$rName};
}
my $rVal = $map->{$rName};
if($rName eq DATE) {
# Datum anzeigen
$rVal = strftime("%d.%m.%Y %H:%M:%S", localtime());
}
if(!defined $rPostfix) { $rPostfix = ""; }
if(defined $rVal) {
$htmlcode .= "<tr><td valign='top'>".$rComment.":&nbsp;</td><td>".$rVal.$rPostfix."</td></tr>";
if(defined $rName) {
if(!defined $rComment) {
$rComment = $cur_readings_map->{$rName};
}
my $rVal = $map->{$rName};
if($rName eq DATE) {
# Datum anzeigen
$rVal = strftime("%d.%m.%Y %H:%M:%S", localtime());
}
if(!defined $rPostfix) { $rPostfix = ""; }
if(defined $rVal) {
$htmlcode .= "<tr><td valign='top'>".$rComment.":&nbsp;</td><td>".$rVal.$rPostfix."</td></tr>";
}
}
}