summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_pkglogs.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-08-31 22:23:15 +0545
committerPhil Davis <phil.davis@inf.org>2015-08-31 22:23:15 +0545
commit288a2a0f294f992a9536dfbb5c54dd528badbad5 (patch)
tree8d1c6be8a2cf5848f6df06b631ce2614485648fe /src/usr/local/www/diag_pkglogs.php
parent683ba309d50913828decb5fe3f6ade059c1dfab2 (diff)
downloadpfsense-288a2a0f294f992a9536dfbb5c54dd528badbad5.zip
pfsense-288a2a0f294f992a9536dfbb5c54dd528badbad5.tar.gz
bootstrap usr/local/www a to e minor edits
Diffstat (limited to 'src/usr/local/www/diag_pkglogs.php')
-rwxr-xr-xsrc/usr/local/www/diag_pkglogs.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/local/www/diag_pkglogs.php b/src/usr/local/www/diag_pkglogs.php
index e02cfff..4bafa87 100755
--- a/src/usr/local/www/diag_pkglogs.php
+++ b/src/usr/local/www/diag_pkglogs.php
@@ -111,16 +111,16 @@ if (!$apkg) { // If we aren't looking for a specific package, locate the first p
$pgtitle = array(gettext("Status"), gettext("Package logs"));
include("head.inc");
-if($pkgwithlogging == false) {
+if ($pkgwithlogging == false) {
print_info_box(gettext("No packages with logging facilities are currently installed."));
} else {
$tab_array = array();
- foreach($config['installedpackages']['package'] as $package) {
- if(is_array($package['logging'])) {
- if(!($logtab = $package['logging']['logtab']))
+ foreach ($config['installedpackages']['package'] as $package) {
+ if (is_array($package['logging'])) {
+ if (!($logtab = $package['logging']['logtab']))
$logtab = $package['name'];
- if($apkg == $package['name']) {
+ if ($apkg == $package['name']) {
$curtab = $logtab;
$tab_array[] = array(sprintf(gettext("%s"), $logtab), true, "diag_pkglogs.php?pkg=".$package['name']);
} else {
@@ -132,7 +132,7 @@ if($pkgwithlogging == false) {
?>
<div class="panel panel-default">
- <div class="panel-heading"><h2 class="panel-title"><?=printf(gettext('Last %1$s %2$s log entries'),$nentries,$curtab)?></h2></div>
+ <div class="panel-heading"><h2 class="panel-title"><?=printf(gettext('Last %1$s %2$s log entries'), $nentries, $curtab)?></h2></div>
<div>class="panel-body">
<pre>
<?php
OpenPOWER on IntegriCloud