From f9fcb291fbb7bbfeebe6abb84117530aef6c3936 Mon Sep 17 00:00:00 2001 From: Alib Date: Tue, 23 Feb 2010 12:22:31 +0100 Subject: added contextual title for edit_timer --- includes/inc_edittimer.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/inc_edittimer.php b/includes/inc_edittimer.php index 6f8a82f..5479b27 100755 --- a/includes/inc_edittimer.php +++ b/includes/inc_edittimer.php @@ -8,8 +8,14 @@ print "
\r\n"; print "\"home\"
\r\n"; print "
iStream
\r\n"; print "\r\n"; +if ($timer == -1) +{ +print "
New Timer\r\n"; +} +else +{ print "
Edit Timer\r\n"; - +} $timer = $_REQUEST['timer']; list($type, $channame, $date, $stime, $etime, $desc) = vdrgettimerinfo($timer); -- cgit v1.2.3