summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-12-15 17:36:58 +0545
committerPhil Davis <phil.davis@inf.org>2015-12-15 17:36:58 +0545
commit0f649c975d91ff2fd792bd1b8adf93cf6138c9c5 (patch)
tree51780ad0f6d0422a96d807512dddbb134bab1e61 /src/usr/local/www/pkg.php
parent5d527ce6126e14cfd9856b60d22f48caf647c66c (diff)
downloadpfsense-0f649c975d91ff2fd792bd1b8adf93cf6138c9c5.zip
pfsense-0f649c975d91ff2fd792bd1b8adf93cf6138c9c5.tar.gz
Code style pkg
Diffstat (limited to 'src/usr/local/www/pkg.php')
-rwxr-xr-xsrc/usr/local/www/pkg.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/local/www/pkg.php b/src/usr/local/www/pkg.php
index e318b52..96463ae 100755
--- a/src/usr/local/www/pkg.php
+++ b/src/usr/local/www/pkg.php
@@ -191,7 +191,7 @@ include("head.inc");
<script type="text/javascript">
//<![CDATA[
-events.push(function(){
+events.push(function() {
function setFilter(filtertext) {
jQuery('#pkg_filter').val(filtertext);
document.pkgform.submit();
@@ -243,11 +243,13 @@ events.push(function(){
</script>
<?php
-if ($_GET['savemsg'] != "")
+if ($_GET['savemsg'] != "") {
$savemsg = htmlspecialchars($_GET['savemsg']);
+}
-if ($savemsg)
+if ($savemsg) {
print_info_box($savemsg, 'success');
+}
?>
<form action="pkg.php" name="pkgform" method="get">
OpenPOWER on IntegriCloud