summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-11-14 06:59:41 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2010-11-14 06:59:41 -0700
commitbd32ac6cf1cfe6812f06aa30cf6a2f3cf7a3d6dd (patch)
tree3cd97fda6dc6a68cb4451693e3d3cdf4b12cc2b3
parentba8e08709a2c4bbb35e1640d7ac744da7e58b6e5 (diff)
downloadpfsense-bd32ac6cf1cfe6812f06aa30cf6a2f3cf7a3d6dd.zip
pfsense-bd32ac6cf1cfe6812f06aa30cf6a2f3cf7a3d6dd.tar.gz
Fix case of variable name for swap usage. Ticket #477
-rw-r--r--usr/local/www/widgets/widgets/system_information.widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/system_information.widget.php b/usr/local/www/widgets/widgets/system_information.widget.php
index aadd78e..b808fde 100644
--- a/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/usr/local/www/widgets/widgets/system_information.widget.php
@@ -224,7 +224,7 @@ $curcfg = $config['system']['firmware'];
<td width="25%" class="vncellt">SWAP usage</td>
<td width="75%" class="listr">
<?php $swapusage = swap_usage(); ?>
- <img src="./themes/<?= $g['theme']; ?>/images/misc/bar_left.gif" height="15" width="4" border="0" align="middle" alt="left bar" /><img src="./themes/<?= $g['theme']; ?>/images/misc/bar_blue.gif" height="15" width="<?= $swapUsage; ?>" border="0" align="middle" alt="red bar" /><img src="./themes/<?= $g['theme']; ?>/images/misc/bar_gray.gif" height="15" width="<?= (100 - $swapUsage); ?>" border="0" align="middle" alt="gray bar" /><img src="./themes/<?= $g['theme']; ?>/images/misc/bar_right.gif" height="15" width="5" border="0" align="middle" alt="right bar" />
+ <img src="./themes/<?= $g['theme']; ?>/images/misc/bar_left.gif" height="15" width="4" border="0" align="middle" alt="left bar" /><img src="./themes/<?= $g['theme']; ?>/images/misc/bar_blue.gif" height="15" width="<?= $swapusage; ?>" border="0" align="middle" alt="red bar" /><img src="./themes/<?= $g['theme']; ?>/images/misc/bar_gray.gif" height="15" width="<?= (100 - $swapusage); ?>" border="0" align="middle" alt="gray bar" /><img src="./themes/<?= $g['theme']; ?>/images/misc/bar_right.gif" height="15" width="5" border="0" align="middle" alt="right bar" />
&nbsp;
<input style="border: 0px solid white;" size="30" name="swapusagemeter" id="swapusagemeter" value="<?= $swapusage.'%'; ?>" />
</td>
OpenPOWER on IntegriCloud