summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-23 09:05:18 +0100
committerAlib <aliboba@free.fr>2010-02-23 09:05:18 +0100
commit5b0e84a8077c65755f1234966a9cec644847399a (patch)
treec56cbb93e45120530d375165bde1e4eb1e2aee58
parent69808813c7752650f57787fdb16d6c7a074626f5 (diff)
downloadistreamdev-5b0e84a8077c65755f1234966a9cec644847399a.tar.gz
istreamdev-5b0e84a8077c65755f1234966a9cec644847399a.tar.bz2
missing function in javascript for streaming
-rwxr-xr-xincludes/inc_edittimer.php3
-rwxr-xr-xjavascript/functions.js6
2 files changed, 7 insertions, 2 deletions
diff --git a/includes/inc_edittimer.php b/includes/inc_edittimer.php
index 04f1084..3df8f4a 100755
--- a/includes/inc_edittimer.php
+++ b/includes/inc_edittimer.php
@@ -27,7 +27,7 @@ print " <li class=\"textbox\"><span class=\"header\">Channel</span></li>\r\n"
print " <li class=\"select\">\r\n";
// Channel selection
-print " <select name=\"timer_chan\">\r\n";
+print " <select name=\"chan\">\r\n";
vdrlistchannelsdrop($channame);
@@ -72,7 +72,6 @@ print " <span class=\"name\" id=\"layer_endtime\">{$emin}h{$esec}</span><span c
print " </ul>\r\n";
print "<input name=\"action\" type=\"hidden\" id=\"action\" value=\"addtimer\"/>\r\n";
-print "<input name=\"chan\" type=\"hidden\" id=\"chan\" value=\"\" />\r\n";
print "<input name=\"timer_date\" type=\"hidden\" id=\"date\" value=\"\" />\r\n";
print "<input name=\"timer_starttime\" type=\"hidden\" id=\"stime\" value=\"\" />\r\n";
print "<input name=\"timer_endtime\" type=\"hidden\" id=\"etime\" value=\"\" />\r\n";
diff --git a/javascript/functions.js b/javascript/functions.js
index fc9e082..d0920cb 100755
--- a/javascript/functions.js
+++ b/javascript/functions.js
@@ -45,6 +45,12 @@ function updateOrientation() {
frm = document.getElementById(formid);
frm.submit();
}
+
+function swapPic() {
+ document.getElementById('videofeed').src = "ram/stream.m3u8";
+}
+
+
function openSelectDate(timer_year,timer_month,timer_day) {
var now = new Date();
if ( timer_year == null ) {