summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-23 11:04:14 +0100
committerAlib <aliboba@free.fr>2010-02-23 11:04:14 +0100
commit81eb5beedfc4a27b13a0487bf0d0af0e0381f214 (patch)
treee8ba292635937ac3e132a944b58c51d20975a18d /includes
parent630fcec7b7547f0226e3e372d8962d88cceb4fdc (diff)
downloadistreamdev-81eb5beedfc4a27b13a0487bf0d0af0e0381f214.tar.gz
istreamdev-81eb5beedfc4a27b13a0487bf0d0af0e0381f214.tar.bz2
corrected timer form not filled
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/inc_edittimer.php10
-rwxr-xr-xincludes/include.php10
2 files changed, 10 insertions, 10 deletions
diff --git a/includes/inc_edittimer.php b/includes/inc_edittimer.php
index 3df8f4a..db819e5 100755
--- a/includes/inc_edittimer.php
+++ b/includes/inc_edittimer.php
@@ -19,7 +19,7 @@ print "<form name=\"timer\" id=\"timer\" method=\"post\" action=\"index.php\">\r
print " <ul class=\"pageitem\">\r\n";
print " <li class=\"textbox\"><span class=\"header\">Recording name</span></li>\r\n";
print " <li class=\"bigfield\">\r\n";
-print " <input type=\"text\" placeholder=\"Enter recording name\" name=\"desc\" value=\"{$desc}\" />\r\n";
+print " <input type=\"text\" placeholder=\"Enter recording name\" name=\"timer_name\" value=\"{$desc}\" />\r\n";
print " </li>\r\n";
print " </ul>\r\n";
print " <ul class=\"pageitem\">\r\n";
@@ -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=\"chan\">\r\n";
+print " <select name=\"timer_chan\">\r\n";
vdrlistchannelsdrop($channame);
@@ -72,9 +72,9 @@ 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=\"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";
+print "<input name=\"timer_date\" type=\"hidden\" id=\"timer_date\" value=\"\" />\r\n";
+print "<input name=\"timer_starttime\" type=\"hidden\" id=\"timer_starttime\" value=\"\" />\r\n";
+print "<input name=\"timer_endtime\" type=\"hidden\" id=\"timer_endtime\" value=\"\" />\r\n";
print "<input name=\"prevtimer\" type=\"hidden\" id=\"prevtimer\" value=\"{$timer}\" />\r\n";
print "<ul class=\"pageitem\">\r\n";
diff --git a/includes/include.php b/includes/include.php
index 4cf2834..2dd59e9 100755
--- a/includes/include.php
+++ b/includes/include.php
@@ -56,11 +56,11 @@ function selectpage()
delete_timer($timer);
break;
case ("addtimer"):
- $channame = $_REQUEST['chan'];
- $date = $_REQUEST['date'];
- $stime = $_REQUEST['stime'];
- $etime = $_REQUEST['etime'];
- $desc = $_REQUEST['desc'];
+ $channame = $_REQUEST['timer_chan'];
+ $date = $_REQUEST['timer_date'];
+ $stime = $_REQUEST['timer_starttime'];
+ $etime = $_REQUEST['timer_endtime'];
+ $desc = $_REQUEST['timer_name'];
$prevtimer = $_REQUEST['prevtimer'];
set_timer($channame, $date, $stime, $etime, $desc, $prevtimer);
break;