From 8cfa8f09e4a4d35f7f7ce158cbf7f99944486420 Mon Sep 17 00:00:00 2001 From: Alib Date: Fri, 26 Mar 2010 19:18:16 +0100 Subject: debug egp --- index.php | 3 ++- js/istreamdev.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index dae8113..63851b5 100644 --- a/index.php +++ b/index.php @@ -270,7 +270,7 @@ include ('bin/auth.php');

- Rec. +


@@ -279,6 +279,7 @@ include ('bin/auth.php'); +
diff --git a/js/istreamdev.js b/js/istreamdev.js index 73eec7b..cfa1b2d 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -1207,6 +1207,7 @@ function get_epgdetails(channum,startingtime,day) { title = data.program.title; desc = data.program.desc; stime = startingtime; + running = data.program.running; etime = time.substring(6,8) + epgtime.substring(9); $('#epgdetails h1').html('' + name); $('#epgdetails ul[class="thumb"] img[class="thumbnail"]').attr('src','logos/'+name+'.png'); @@ -1219,7 +1220,7 @@ function get_epgdetails(channum,startingtime,day) { $('#epgdetails div[rel="dataholder"] span[rel="stime"]').html(stime); $('#epgdetails div[rel="dataholder"] span[rel="etime"]').html(etime); $('#epgdetails div[rel="dataholder"] span[rel="url"]').html(streamdev_server + channum); - if ( data.program.running == "yes" ) { + if ( running == "yes" ) { $('#epgdetails #epgdetails_buttons').html('Edge 3G WifiRec.'); } else { $('#epgdetails #epgdetails_buttons').html('Rec.'); -- cgit v1.2.3