diff options
-rwxr-xr-x | includes/inc_edittimer.php | 3 | ||||
-rwxr-xr-x | javascript/functions.js | 6 |
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 ) {
|