www-thermferm/liveview.php

changeset 403
230a9a169adb
parent 400
d36f4fefd4e2
child 404
6205c7931659
--- a/www-thermferm/liveview.php	Thu Sep 17 17:09:09 2015 +0200
+++ b/www-thermferm/liveview.php	Thu Sep 17 17:31:43 2015 +0200
@@ -251,8 +251,15 @@
 	 */
 	$outstr .= '       $("#load_air_'.$unr.'").jqxTooltip({ content: "The measured air temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
 	$outstr .= '       $("#load_beer_'.$unr.'").jqxTooltip({ content: "The measured beer temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
-	$outstr .= '       $("#load_target_lo_'.$unr.'").jqxTooltip({ content: "The set low temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
-	$outstr .= '       $("#load_target_hi_'.$unr.'").jqxTooltip({ content: "The set high temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	$outstr .= '       $("#load_target_lo_'.$unr.'").jqxTooltip({ content: "The target low temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	$outstr .= '       $("#load_target_hi_'.$unr.'").jqxTooltip({ content: "The target high temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	$outstr .= '       $("#load_select_'.$unr.'").jqxTooltip({ content: "Select unit mode.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	if (($mode == "NONE") && ($cooler == "yes"))
+	    $outstr .= '       $("#load_sw1_'.$unr.'").jqxTooltip({ content: "Manual control cooler.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	if (($mode == "NONE") && ($heater == "yes"))
+	    $outstr .= '       $("#load_sw2_'.$unr.'").jqxTooltip({ content: "Manual control heater.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	if (($mode == "NONE") && ($fan== "yes"))
+	    $outstr .= '       $("#load_sw3_'.$unr.'").jqxTooltip({ content: "Manual control fan.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
 
 	$outstr .= '     });'.PHP_EOL;
 	$outstr .= '    </script>'.PHP_EOL;

mercurial