mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
PROPLANTA: bugfix
git-svn-id: https://svn.fhem.de/fhem/trunk@11752 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
515b0a0fa1
commit
093c5bcb43
@ -746,18 +746,16 @@ PROPLANTA_Html($)
|
||||
|
||||
my $uselocal= 0; #AttrVal($d,"localicons",0);
|
||||
my $isday;
|
||||
if ( exists &isday)
|
||||
{
|
||||
if ( exists &isday) {
|
||||
$isday = isday();
|
||||
}
|
||||
else
|
||||
{
|
||||
else {
|
||||
$isday = 1; #($hour>6 && $hour<19);
|
||||
}
|
||||
|
||||
my $ret = "<table border=0><thead align=center>";
|
||||
$ret .= sprintf '<tr><th colspan=9 align=left>%s</th></tr>', $defs{$d}{DEF};
|
||||
$ret .= sprintf '<tr><th>Tag</th><th>morgens</th><th>tagsueber</th><th>abends</th><th>nachts</th><th>min</th><th>max</th><th>Regen tags</th><th>Frost</th></tr></thead>', $defs{$d}{DEF};
|
||||
$ret .= '<tr><th>Tag</th><th>morgens</th><th>tagsueber</th><th>abends</th><th>nachts</th><th>min</th><th>max</th><th>Regen tags</th><th>Frost</th></tr></thead>';
|
||||
$ret .= "<tbody align=center>";
|
||||
# define MyForecast weblink htmlCode { PROPLANTA_Html("ProPlanta_Wetter") }
|
||||
for(my $i=0; $i<=2; $i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user