summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-03-14 15:47:47 -0400
committerStephen Beaver <sbeaver@netgate.com>2016-03-14 15:47:47 -0400
commit1ce6d9e9baac6007083c65522d741790a08f5e64 (patch)
tree764c282db6a6d81af301c0e9f6f7d332f6acb927 /src
parentb824ec914c1c3fe5e3e6fbf3442d675368da9c53 (diff)
parent018514fd191d6a594d0dbf4d1093db68b530f9c8 (diff)
downloadpfsense-1ce6d9e9baac6007083c65522d741790a08f5e64.zip
pfsense-1ce6d9e9baac6007083c65522d741790a08f5e64.tar.gz
Merge pull request #2735 from NOYB/HTML_Compliance_-_Firewall_/_Schedules_/_Edit_-_Readonly_Attribute
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/firewall_schedule_edit.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/usr/local/www/firewall_schedule_edit.php b/src/usr/local/www/firewall_schedule_edit.php
index 23cc887..5edf76b 100644
--- a/src/usr/local/www/firewall_schedule_edit.php
+++ b/src/usr/local/www/firewall_schedule_edit.php
@@ -627,28 +627,28 @@ if ($getSchedule) {
$group->add(new Form_Input(
'tempFriendlyTime',
null,
- 'readonly',
+ 'text',
$tempFriendlyTime
))->setWidth(2)->setHelp($counter == $maxrows ? 'Day(s)':'');
$group->add(new Form_Input(
'starttime' . $counter,
null,
- 'readonly',
+ 'text',
$starttime
))->setWidth(2)->setHelp($counter == $maxrows ? 'Start time':'');
$group->add(new Form_Input(
'stoptime' . $counter,
null,
- 'readonly',
+ 'text',
$stoptime
))->setWidth(2)->setHelp($counter == $maxrows ? 'Stop time':'');
$group->add(new Form_Input(
'timedescr' . $counter,
null,
- 'readonly',
+ 'text',
$timedescr
))->setWidth(2)->setHelp($counter == $maxrows ? 'Description':'');
@@ -1140,19 +1140,19 @@ function insertElements(tempFriendlyTime, starttimehour, starttimemin, stoptimeh
'<div class="form-group schedulegrp' + counter + '">' +
'<label for="tempFriendlyTime" class="col-sm-2 control-label"></label>' +
'<div class="col-sm-2">' +
- '<input class="form-control" name="tempFriendlyTime" id="tempFriendlyTime" type="readonly" 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">' +
- '<input class="form-control" name="starttime@" id="starttime@" type="readonly" value="' + starttimehour + ':' + starttimemin + '"/>' +
+ '<input class="form-control" name="starttime@" id="starttime@" type="text" value="' + starttimehour + ':' + starttimemin + '"/>' +
'<span class="help-block">Start time</span>' +
'</div>' +
'<div class="col-sm-2">' +
- '<input class="form-control" name="stoptime@" id="stoptime@" type="readonly" value="' + stoptimehour + ':' + stoptimemin + '"/>' +
+ '<input class="form-control" name="stoptime@" id="stoptime@" type="text" value="' + stoptimehour + ':' + stoptimemin + '"/>' +
'<span class="help-block">Stop time</span>' +
'</div>' +
'<div class="col-sm-2">' +
- '<input class="form-control" name="timedescr@" id="timedescr@" type="readonly" value="' + tempdescr + '"/>' +
+ '<input class="form-control" name="timedescr@" id="timedescr@" type="text" value="' + tempdescr + '"/>' +
'<span class="help-block">Description</span>' +
'</div>' +
'<div class="col-sm-2">' +
OpenPOWER on IntegriCloud