diff --git a/webfrontend/pgm3/CHANGED b/webfrontend/pgm3/CHANGED index ec65993ec..4266d8a14 100644 --- a/webfrontend/pgm3/CHANGED +++ b/webfrontend/pgm3/CHANGED @@ -165,3 +165,7 @@ It is not necessary to tell fhem that there are other logs. -- Feature: HMS-CO supported (Peter A.) ==> hms100.php -- Feature: Webcams or local pictures added ==>index.php. config.php -- Feature: ks300 mit Drewpoint (Boris) ==>functions.php, ks300.php, config.php + +2007-12-24 (071224) + -- Bugfix: UserDef with type "temperature" now with y1tics ==> gnuplot.php + -- Feature: Webcam/Pics now hideable ==> index.php, config.php diff --git a/webfrontend/pgm3/HISTORY b/webfrontend/pgm3/HISTORY index 645f04728..7b2582261 100644 --- a/webfrontend/pgm3/HISTORY +++ b/webfrontend/pgm3/HISTORY @@ -65,3 +65,7 @@ -- Feature: HMS-CO supported (Peter A.) -- Feature: Webcams or local pictures added -- Feature: ks300 mit Drewpoint (Boris) + +- Martin 2007-12-24 + -- Bugfix: Userdef-Gnuplot with type temperature now with y1tics + -- Feature: Webcam/Pics hideable diff --git a/webfrontend/pgm3/config.php b/webfrontend/pgm3/config.php index 66dde6e84..b92093753 100644 --- a/webfrontend/pgm3/config.php +++ b/webfrontend/pgm3/config.php @@ -297,7 +297,8 @@ $userdef[$sortnumber]['logrotatelines']=2200; $showLOGS='no'; #show the LOGS at startup. Default: no Values: yes/no $showAT='no'; #show the AT_JOBS at startup. Default: yes Values: yes/no $showNOTI='no'; #show the NOTIFICATIONS at startup. Default: no Values: yes/no - $showHIST='yes'; #show the HISTORY (if taillog=1) at startup. Default: yes Values: yes/no + $showHIST='yes'; #show the HISTORY (if taillog=1) at startup. Default: yes Values: yes/no + $showPICS='yes'; #if shwowebcam=1 then initial the Pics will be shown. Default: yes $RSStitel='FHEM :-)'; diff --git a/webfrontend/pgm3/include/gnuplot.php b/webfrontend/pgm3/include/gnuplot.php index ae8f1512d..c39e9431c 100644 --- a/webfrontend/pgm3/include/gnuplot.php +++ b/webfrontend/pgm3/include/gnuplot.php @@ -146,7 +146,6 @@ EOD; $gplotmain=<< - +
- WEBCAM - WEBCAM "; + if (! isset($showpics)) + { echo "show pics";} + else + { echo "hide pics";} + + + echo" "; + if (isset($showpics)) + { for($i=0; $i < count($webcam); $i++) { $webcam1=$webcam[$i]; @@ -504,6 +517,7 @@ xml_parser_free($xml_parser); } echo""; } + } echo"