From f53d604d4c363ff1336f9ff2faccefced45b2108 Mon Sep 17 00:00:00 2001 From: TheTroll Date: Tue, 23 Feb 2010 14:23:54 +0100 Subject: Implemented timer activation function --- includes/inc_edittimer.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'includes/inc_edittimer.php') diff --git a/includes/inc_edittimer.php b/includes/inc_edittimer.php index c736c03..b2ffb36 100755 --- a/includes/inc_edittimer.php +++ b/includes/inc_edittimer.php @@ -10,20 +10,19 @@ print "
iStream
\r\n"; print "\r\n"; $timer = $_REQUEST['timer']; if ($timer == -1) -{ -print "
New Timer\r\n"; -} + print "
New Timer\r\n"; else -{ -print "
Edit Timer\r\n"; -} + print "
Edit Timer\r\n"; list($type, $channame, $date, $stime, $etime, $desc) = vdrgettimerinfo($timer); // Timer name print "
\r\n"; print "
    \r\n"; -print "
  • Active
  • \r\n"; +if ($type & 0x1) + print "
  • Active
  • \r\n"; +else + print "
  • Active
  • \r\n"; print "
\r\n"; print "
    \r\n"; print "
  • Recording name
  • \r\n"; -- cgit v1.2.3