public function getOverviewContent($echo = true) { $html = "<div class=\"touchHeader\"><span class=\"lastUpdate\" id=\"lastUpdatemFhemGUI\"></span><p>Fhem</p></div>\n\t\t\t<div style=\"padding:10px;\">\n\t\t\t<div style=\"\" class=\"borderColor1\">"; $FC = new FhemControlGUI(); $ac = $FC->getDevicesFHT(true); while ($t = $ac->getNextEntry()) { $html .= $FC->getFHTControl($t); } $html .= "<div style=\"clear:both;\"></div></div><div style=\"\">"; $ac = $FC->getDevices(true); while ($t = $ac->getNextEntry()) { $html .= $FC->getControl($t); } $html .= "</div></div>" . OnEvent::script("contentManager.rmePCR('FhemControl','','updateGUI','','Fhem.updateControls(transport);', '', false);"); if ($echo) { echo $html; } return $html; }