diff options
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"): ?> |