diff options
-rw-r--r-- | index.php | 3 | ||||
-rw-r--r-- | js/istreamdev.js | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -270,7 +270,7 @@ include ('bin/auth.php'); </ul> <center> <br> - <span class="recButton"><a id="rec" href="#" class="cube">Rec.</a></span> + <div id="epgdetails_buttons"></div> <br><br> </center> <div rel="dataholder" style="visibility:hidden"> @@ -279,6 +279,7 @@ include ('bin/auth.php'); <span rel="date"></span> <span rel="stime"></span> <span rel="etime"></span> + <span rel="url"></span> </div> </div> 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('<img class="menuicon" src="img/tv.png" />' + 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('<span class="streamButton"><a id="edge" href="#">Edge</a></span><span class="streamButton"><a id="3g" href="#" class="cube"> 3G </a></span><span class="streamButton"><a id="wifi" href="#" class="cube">Wifi</a></span><span class="recButton"><a id="rec" href="#" class="cube">Rec.</a></span>');
} else {
$('#epgdetails #epgdetails_buttons').html('<span class="recButton"><a id="rec" href="#" class="cube">Rec.</a></span>');
|