mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-12 16:46:35 +00:00
pgm3: bugfix: format table of userdef. taillogorder with date, X10_
git-svn-id: https://svn.fhem.de/fhem/trunk@358 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
65f756dc0c
commit
e6fcd98046
@ -392,4 +392,8 @@
|
||||
- added counter differential per time in 81_M232Counter.pm, commandref.html
|
||||
updated
|
||||
|
||||
- Thu Mar 29 2009 (MartinH)
|
||||
- pgm3: bugfix, format table for userdef
|
||||
- pgm3: feature X10_support, taillogorder optional with date
|
||||
|
||||
|
||||
|
@ -179,3 +179,6 @@ It is not necessary to tell fhem that there are other logs.
|
||||
|
||||
2008-04-13
|
||||
-- Bugfix: FHT: lime-protection not more in the field of actuator: Small Changes in fht.php
|
||||
|
||||
2009-03-26
|
||||
-- Bugfix: table-format for userdefs changed
|
||||
|
@ -78,3 +78,7 @@
|
||||
|
||||
- Martin 2008-14-13
|
||||
-- Bugfix: FHT: lime-protection not more in the field of actuator
|
||||
|
||||
- Martin 2009-03-2
|
||||
-- Bugfix: table-format for userdefs changed
|
||||
-- Feature: taillogor der optional with date (config.php)
|
||||
|
@ -290,6 +290,8 @@ $userdef[$sortnumber]['logrotatelines']=2200;
|
||||
$tailcount=20; #make shure to have the correct rights. Values: 0/1
|
||||
$tailpath="/usr/bin/tail";
|
||||
$taillogorder=$tailpath." -$tailcount $logpath/fhem.log ";
|
||||
#$taillogorder=$tailpath." -$tailcount $logpath/fhem-" . date("Y") . "-" . date("m") . ".log "; #if you have e.g. fhem-2009-02.log
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,9 @@
|
||||
Be sure that the directory <pgm3>/tmp is writeable for the user of the webserver (e.g. wwwrun.www)
|
||||
Make something like "chown -R wwwrun.www tmp"
|
||||
|
||||
|
||||
Hint: you need the package php-gd to see the graphics
|
||||
|
||||
All the other Documentation of pgm3 is now only online
|
||||
http://www.martin-haas.de/fhz
|
||||
|
||||
|
@ -41,7 +41,7 @@ include "include/gnuplot.php";
|
||||
include "include/functions.php";
|
||||
|
||||
|
||||
$pgm3version='080413';
|
||||
$pgm3version='090326';
|
||||
|
||||
|
||||
$Action = $_POST['Action'];
|
||||
@ -334,7 +334,8 @@ xml_parser_free($xml_parser);
|
||||
if ($showroombuttons==1)
|
||||
for($i=0; $i < count($stack[0][children]); $i++)
|
||||
{
|
||||
if ( (substr($stack[0][children][$i][name],0,5)=='FS20_') || (substr($stack[0][children][$i][name],0,4)=='X10_'))
|
||||
if ((substr($stack[0][children][$i][name],0,5)=='FS20_')
|
||||
|| (substr($stack[0][children][$i][name],0,4)=='X10_'))
|
||||
{
|
||||
for($j=0; $j < count($stack[0][children][$i][children]); $j++)
|
||||
{
|
||||
@ -599,7 +600,7 @@ xml_parser_free($xml_parser);
|
||||
for($i=0; $i < count($stack[0][children]); $i++)
|
||||
{
|
||||
############################
|
||||
if ((substr($stack[0][children][$i][name],0,5)=='FS20_')||(substr($stack[0][children][$i][name],0,4)=='X10_'))
|
||||
if ((substr($stack[0][children][$i][name],0,5)=='FS20_') || (substr( $stack[0][children][$i][name],0,4)=='X10_'))
|
||||
{
|
||||
$type=$stack[0][children][$i][name];
|
||||
echo "<tr><td $bg1 colspan=4><font $fontcolor1>";
|
||||
@ -955,7 +956,7 @@ xml_parser_free($xml_parser);
|
||||
{
|
||||
if ($showuserdefgnu== $UserDef) {$formvalue="hide";$gnuvalue="";}
|
||||
else {$formvalue="show";$gnuvalue=$UserDef;};
|
||||
echo "<tr valign=center><td align=center $bg2 valign=center>
|
||||
echo "<tr valign=center><td align=center $bg2 valign=center colspan=2>
|
||||
<form action=$forwardurl method='POST'>
|
||||
<input type=hidden name=Action value=showuserdefgnu>
|
||||
<input type=hidden name=showroom value=$showroom>
|
||||
|
Loading…
x
Reference in New Issue
Block a user