diff options
author | Alib <aliboba@free.fr> | 2010-03-26 19:18:16 +0100 |
---|---|---|
committer | Alib <aliboba@free.fr> | 2010-03-26 19:18:16 +0100 |
commit | 8cfa8f09e4a4d35f7f7ce158cbf7f99944486420 (patch) | |
tree | 234e563cc5c9caa0e6db65aa2007d9406dfa51cc | |
parent | 61427cfc625c71c535c381c9a315a4a2d0e3785c (diff) | |
download | istreamdev-8cfa8f09e4a4d35f7f7ce158cbf7f99944486420.tar.gz istreamdev-8cfa8f09e4a4d35f7f7ce158cbf7f99944486420.tar.bz2 |
debug egp
-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>');
|