From 315fa9caede8a3189861ae1f005404d17f726841 Mon Sep 17 00:00:00 2001 From: ulimaass <> Date: Wed, 2 May 2012 17:59:43 +0000 Subject: [PATCH] Minor repair of html-output git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1524 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- webfrontend/pgm2/95_FLOORPLAN.pm | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/webfrontend/pgm2/95_FLOORPLAN.pm b/webfrontend/pgm2/95_FLOORPLAN.pm index 157a44096..b24745fe8 100644 --- a/webfrontend/pgm2/95_FLOORPLAN.pm +++ b/webfrontend/pgm2/95_FLOORPLAN.pm @@ -22,6 +22,7 @@ # 0014: deleted $data{FWEXT}{$fhem_url}{STYLESHEET} , added attr-values for FHEMWEB-detail-screen, adapted FHT-representation to FHT.pm updates (Apr 19, 2012) # 0015: implemented Tobias' icon subfolder solution, fp_arrange detail always (fp_arrange detail deprecated, fp_arrange 1 shows all detail), # changed backimg-size to 99% to avoid scrollbars , adopted slider & new FHT representation (May 1, 2012) +# 0016: Minor repair of html-output # ################################################################ # @@ -452,7 +453,7 @@ FP_show(){ my @cList = split(":", $cmdlist); my @rList = map { ReplaceEventMap($d,$_,1) } @cList; my $firstIdx = 0; - + FW_pO " "; # Special handling (slider, dropdown) my $cmd = $cList[0]; if($allSets && $allSets =~ m/$cmd:([^ ]*)/) { @@ -488,25 +489,22 @@ FP_show(){ $txt = Value($d); $txt =~ s/$cmd //; } - FW_pO "". + FW_pO "\n". FP_input("dev.$d", $d, "hidden") . FP_input("arg.$d", "desired-temp", "hidden") . FW_select("val.$d", \@tv, ReadingsVal($d, "desired-temp", $txt),"devicecommands") . -# FW_select("val.$d", \@tv, -# ReadingsVal($d, "desired-temp", $txt),"fht") . FW_submit("cmd.$d", "set"). - ""; + ""; } } for(my $idx=$firstIdx; $idx < @cList; $idx++) { FW_pH "cmd.$d=set $d $cList[$idx]", ReplaceEventMap($d,$cList[$idx],1),1,"devicecommands"; } - + FW_pO ""; } elsif($type eq "FileLog") { # $row = FW_dumpFileLog($d, 1, $row); } - FW_pO ""; FW_pO ""; FW_pO "\n";