summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-26 08:10:43 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-26 08:10:43 -0500
commit34c73fc1b5d6ff7883eba9af3c9e69d60fff6cb2 (patch)
treef3e031740b8653cd6c602e26b68cdb3c8fa15fe4 /src
parent5cb036d482fa7767a478e48186f85f3978261702 (diff)
parent51f89d51af2e3680eeb8371765f733addb18d934 (diff)
downloadpfsense-34c73fc1b5d6ff7883eba9af3c9e69d60fff6cb2.zip
pfsense-34c73fc1b5d6ff7883eba9af3c9e69d60fff6cb2.tar.gz
Merge pull request #2540 from NOYB/HTML_Compliance_-_Firewall_Rules_-_Separator
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/firewall_rules.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php
index 18c9bbe..d22fa08 100644
--- a/src/usr/local/www/firewall_rules.php
+++ b/src/usr/local/www/firewall_rules.php
@@ -711,7 +711,7 @@ for ($i = 0; isset($a_filter[$i]); $i++):
if ($rulesep['row']['0'] == "fr" . $nrules) {
$cellcolor = $rulesep['color'];
print('<tr class="ui-sortable-handle separator">' .
- '<td class="' . $cellcolor . '" colspan="11">' . '<font class="' . $cellcolor . '">' . $rulesep['text'] . '</font></td>' .
+ '<td class="' . $cellcolor . '" colspan="11">' . '<span class="' . $cellcolor . '">' . $rulesep['text'] . '</span></td>' .
'<td class="' . $cellcolor . '"><a href="#"><i class="fa fa-trash no-confirm sepdel" title="delete this separator"></i></a></td>' .
'</tr>' . "\n");
}
@@ -874,7 +874,7 @@ events.push(function() {
var septext = escapeHtml($('#newsep').val());
$('#ruletable > tbody:last >tr:last').remove();
$('#ruletable > tbody:last').append('<tr class="ui-sortable-handle separator">' +
- '<td class="' + gColor + '" colspan="11">' + '<font class="' + gColor + '">' + septext + '</font></td>' +
+ '<td class="' + gColor + '" colspan="11">' + '<span class="' + gColor + '">' + septext + '</span></td>' +
'<td class="' + gColor + '"><a href="#"><i class="fa fa-trash sepdel"></i></a>' +
'</td></tr>');
OpenPOWER on IntegriCloud