2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

FHEMWEB: Howto/Wiki/Forum replaced with Remote doc

git-svn-id: https://svn.fhem.de/fhem/trunk@3538 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-07-29 19:19:08 +00:00
parent 94f817709f
commit 6dda278509

View File

@ -974,10 +974,8 @@ FW_roomOverview($)
my @list = ( my @list = (
"Everything", "$FW_ME?room=all", "Everything", "$FW_ME?room=all",
"", "", "", "",
"Howto", "$FW_ME/docs/HOWTO.html",
"Commandref", "$FW_ME/docs/commandref.html", "Commandref", "$FW_ME/docs/commandref.html",
"Wiki", "http://fhemwiki.de", "Remote doc", "http://fhem.de/fhem.html#Documentation",
"Forum", "http://forum.fhem.de",
"Edit files", "$FW_ME?cmd=style%20list", "Edit files", "$FW_ME?cmd=style%20list",
"Select style", "$FW_ME?cmd=style%20select", "Select style", "$FW_ME?cmd=style%20select",
"Event monitor", "$FW_ME?cmd=style%20eventMonitor", "Event monitor", "$FW_ME?cmd=style%20eventMonitor",
@ -1028,12 +1026,7 @@ FW_roomOverview($)
} else { } else {
my $td = "<td>"; my $td = "<td>";
if($l1 eq "Forum") { # Ugly hack. FW_pF "<tr%s>", $l1 eq $FW_room ? " class=\"sel\"" : "";
$FW_RET = substr($FW_RET, 0, length($FW_RET)-12); # Remove last /tr
$td = " / ";
} else {
FW_pF "<tr%s>", $l1 eq $FW_room ? " class=\"sel\"" : "";
}
# image tag if we have an icon, else empty # image tag if we have an icon, else empty
my $icoName = "ico$l1"; my $icoName = "ico$l1";
@ -2505,7 +2498,7 @@ FW_devState($$@)
$cmdList = "desired-temp" if(!$cmdList); $cmdList = "desired-temp" if(!$cmdList);
} elsif($allSets =~ m/\bdesiredTemperature:/) { } elsif($allSets =~ m/\bdesiredTemperature:/) {
$txt = ReadingsVal($d, "temperature", ""); $txt = ReadingsVal($d, "temperature", ""); # ignores stateFormat!!!
$txt =~ s/ .*//; $txt =~ s/ .*//;
$txt .= "&deg;C"; $txt .= "&deg;C";
$cmdList = "desiredTemperature" if(!$cmdList); $cmdList = "desiredTemperature" if(!$cmdList);