summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-25 00:59:43 +0100
committerAlib <aliboba@free.fr>2010-03-25 00:59:43 +0100
commit2e054a360d350a9d5f2ea487f83819ab53a1d45d (patch)
treeb377102424c402fa3586e8296a31b24f52db342b
parent28f94bb19483619bac43642264b75564fcfa9907 (diff)
downloadistreamdev-2e054a360d350a9d5f2ea487f83819ab53a1d45d.tar.gz
istreamdev-2e054a360d350a9d5f2ea487f83819ab53a1d45d.tar.bz2
epg works
-rw-r--r--index.php4
-rw-r--r--js/istreamdev.js6
2 files changed, 5 insertions, 5 deletions
diff --git a/index.php b/index.php
index 91ee409..9e4fae8 100644
--- a/index.php
+++ b/index.php
@@ -230,9 +230,9 @@ include ('bin/auth.php');
<li><span class="timertitle">Select Day:</span></li>
<li><select id="epg_day"><option value="today">Today</option></select>
<li><span class="timertitle">Select Time:</span></li>
- <li class="arrow"><a href="javascript:openSelectTime('layer_epgtime')" class="abutton" id="a_starttime"><span id="layer_epgtime" class="menuname">Now</span></a></li>
+ <li class="arrow"><a href="javascript:openSelectTime('layer_epgtime')" class="abutton" id="a_starttime"><span id="layer_epgtime" class="menuname"></span></a></li>
</ul>
- <input name="epg_time" type="hidden" id="epg_time" value="" />
+ <input name="epg_time" type="hidden" id="epg_time" value="all" />
<ul class="rounded" ref="submitbut"><li><center><a href="#" class="submit_epg">Get Programs</a></center></li></ul>
</form>
</div>
diff --git a/js/istreamdev.js b/js/istreamdev.js
index 3b6b6fc..315ebff 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -1010,9 +1010,9 @@ var date = new Date();
var date_year = date.getFullYear();
var date_month = date.getMonth()+1;
var date_day = date.getDate();
-var date_hour = str_pad(date.getHours(),2,'0','STR_PAD_LEFT');
-var date_min = str_pad(date.getMinutes(),2,'0','STR_PAD_LEFT');
-$('#epg #epg_time').val(date_hour + '' + date_min);
+//var date_hour = str_pad(date.getHours(),2,'0','STR_PAD_LEFT');
+//var date_min = str_pad(date.getMinutes(),2,'0','STR_PAD_LEFT');
+//$('#epg #epg_time').val(date_hour + '' + date_min);
//var date_fulldate = date_year + '-' + str_pad(date_month,2,'0','STR_PAD_LEFT') + '-' + str_pad(date_day,2,'0','STR_PAD_LEFT');
$('#epg #epg_day').html('<option value="0">Today</option>');
var dayname = new Array( "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" );