summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
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;