mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-25 09:49:20 +00:00
Fix
git-svn-id: https://svn.fhem.de/fhem/trunk@4703 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7a13c84ec7
commit
4b58d49719
@ -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.": </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.": </td><td>".$rVal.$rPostfix."</td></tr>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user