diff options
author | jim-p <jimp@pfsense.org> | 2010-05-26 11:59:13 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-05-26 11:59:13 -0400 |
commit | 59d73709d50803b2115da8e74db496df9945fab0 (patch) | |
tree | 2c038d45915ba9e5b5c9403a5cc56cc789f6d9e1 /usr | |
parent | e3a78007667dbaf58a1a7d1c60d449a092ba5e70 (diff) | |
download | pfsense-59d73709d50803b2115da8e74db496df9945fab0.zip pfsense-59d73709d50803b2115da8e74db496df9945fab0.tar.gz |
Add nanobsd size to system info widget after platform.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/widgets/widgets/system_information.widget.php | 7 |
1 files changed, 6 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 c9a6b65..b395fc6 100644 --- a/usr/local/www/widgets/widgets/system_information.widget.php +++ b/usr/local/www/widgets/widgets/system_information.widget.php @@ -90,7 +90,12 @@ $curcfg = $config['system']['firmware']; <?php if(!$g['hideplatform']): ?> <tr> <td width="25%" class="vncellt">Platform</td> - <td width="75%" class="listr"><?=htmlspecialchars($g['platform']);?></td> + <td width="75%" class="listr"> + <?=htmlspecialchars($g['platform']);?> + <?php if (($g['platform'] == "nanobsd") && (file_exists("/etc/nanosize.txt"))) { + echo " (" . htmlspecialchars(trim(file_get_contents("/etc/nanosize.txt"))) . ")"; + } ?> + </td> </tr> <?php endif; ?> <?php if ($g['platform'] == "nanobsd"): ?> |