V0.8.2 with minor changes

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@87 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinhaas
2007-09-04 09:38:27 +00:00
parent fa59810045
commit e3bb2c34c1
6 changed files with 40 additions and 26 deletions

View File

@@ -120,6 +120,9 @@ $f2=fopen("tmp/gnu2","w");
fputs($f2,$message);
fclose($f2);
exec("$gnuplot tmp/gnu2",$output);
$FOUT='tmp/'.$gnudraw1.'.'.$pictype;
$FS=filesize($FOUT);
if ($FS == '0')echo "Warning, there are not all required data in the logfile of $gnudraw to create a graph (e.g. actuator, desired-temp...).";
};

View File

@@ -357,6 +357,7 @@ function show_error_type($imgmaxx,$imgmaxy,$type)
include "../config.php";
$bg3p = ImageColorAllocate($im, $fontcol_grap_R,$fontcol_grap_G,$fontcol_grap_B);
$text="HMS-Device $type is not supported";
if ($type=="HMS_LIST") $text="Waiting for the first message from the HMS-Device...";
$fontsize=7;
$txtcolor=$bg3p;
ImageTTFText ($im, $fontsize, 0, 5, 12, $txtcolor, $fontttf, $text);