summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2015-11-29 17:37:43 +0000
committerColin Fleming <cj_fleming@sky.com>2015-11-29 17:37:43 +0000
commitc4b60a9a760b7eeffaa0f7aa56ae609fb620550c (patch)
treeb06b931170e585f19c2a9be31b0c4ba4cb95c733 /src/usr/local/www/pkg.php
parentcbe639a8a2575b3148c9b5069be78b0a89b3b429 (diff)
downloadpfsense-c4b60a9a760b7eeffaa0f7aa56ae609fb620550c.zip
pfsense-c4b60a9a760b7eeffaa0f7aa56ae609fb620550c.tar.gz
Tidy up Boolean operators for HTML5
Remove the XHTML standard Boolean operators (makes reading HTML much simpler).
Diffstat (limited to 'src/usr/local/www/pkg.php')
-rwxr-xr-xsrc/usr/local/www/pkg.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/pkg.php b/src/usr/local/www/pkg.php
index 09bcbdc..04e06ee 100755
--- a/src/usr/local/www/pkg.php
+++ b/src/usr/local/www/pkg.php
@@ -334,7 +334,7 @@ if ($savemsg)
echo "Filter field: <select name='pkg_filter_type'>";
foreach ($field['sortablefields']['item'] as $si) {
if ($si['name'] == $_REQUEST['pkg_filter_type']) {
- $SELECTED = "selected=\"selected\"";
+ $SELECTED = "selected";
} else {
$SELECTED = "";
}
@@ -377,7 +377,7 @@ if ($savemsg)
echo "<td align='right'>Rows per page: <select onchange='document.pkgform.submit();' name='display_maximum_rows'>";
for ($x = 0; $x < 250; $x++) {
if ($x == $display_maximum_rows) {
- $SELECTED = "selected=\"selected\"";
+ $SELECTED = "selected";
} else {
$SELECTED = "";
}
OpenPOWER on IntegriCloud