diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-03-20 00:21:23 -0700 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2016-03-20 00:21:23 -0700 |
commit | e70fc6f7acbe1864ed0793fb6c19e818e27c239e (patch) | |
tree | 1baa3bdd8d7f85e82104e851700c544b9c4b8894 /src/usr/local | |
parent | d3f3b75f1a1a7428600c078540a8ea46cb70f475 (diff) | |
download | pfsense-e70fc6f7acbe1864ed0793fb6c19e818e27c239e.zip pfsense-e70fc6f7acbe1864ed0793fb6c19e818e27c239e.tar.gz |
HTML Compliance - Firewall / Schedules / Edit
Error: Duplicate ID tempFriendlyTime.
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/firewall_schedule_edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/firewall_schedule_edit.php b/src/usr/local/www/firewall_schedule_edit.php index 14f9d0c..46fda6f 100644 --- a/src/usr/local/www/firewall_schedule_edit.php +++ b/src/usr/local/www/firewall_schedule_edit.php @@ -625,7 +625,7 @@ if ($getSchedule) { $group = new Form_Group(''); $group->add(new Form_Input( - 'tempFriendlyTime', + 'tempFriendlyTime' . $counter, null, 'text', $tempFriendlyTime @@ -1138,9 +1138,9 @@ function insertElements(tempFriendlyTime, starttimehour, starttimemin, stoptimeh // Template for the schedule definition. '@' will be replaced with the row number using .replace() rowhtml = '<div class="form-group schedulegrp' + counter + '">' + - '<label for="tempFriendlyTime" class="col-sm-2 control-label"></label>' + + '<label for="tempFriendlyTime@" class="col-sm-2 control-label"></label>' + '<div class="col-sm-2">' + - '<input class="form-control" name="tempFriendlyTime" id="tempFriendlyTime" type="text" value="' + tempFriendlyTime + '"/>' + + '<input class="form-control" name="tempFriendlyTime@" id="tempFriendlyTime@" type="text" value="' + tempFriendlyTime + '"/>' + '<span class="help-block">Day(s)</span>' + '</div>' + '<div class="col-sm-2">' + |