summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/widgets/widgets/system_information.widget.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-09-27 09:09:27 -0300
committerRenato Botelho <renato@netgate.com>2016-09-27 09:09:27 -0300
commitd91d2bbcd0a451aaed53ec92134d7b3e79642ca3 (patch)
tree2e96676161d86d277bd125f66ef9ac5a4f5312be /src/usr/local/www/widgets/widgets/system_information.widget.php
parentc746f6b50a81b5d0aa5bbbbf37df4349e9aefb04 (diff)
downloadpfsense-d91d2bbcd0a451aaed53ec92134d7b3e79642ca3.zip
pfsense-d91d2bbcd0a451aaed53ec92134d7b3e79642ca3.tar.gz
Show system platform and serial / UUID
Diffstat (limited to 'src/usr/local/www/widgets/widgets/system_information.widget.php')
-rw-r--r--src/usr/local/www/widgets/widgets/system_information.widget.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/usr/local/www/widgets/widgets/system_information.widget.php b/src/usr/local/www/widgets/widgets/system_information.widget.php
index fa0ce59..f5c47ed 100644
--- a/src/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/src/usr/local/www/widgets/widgets/system_information.widget.php
@@ -59,6 +59,7 @@
require_once("functions.inc");
require_once("guiconfig.inc");
require_once('notices.inc');
+require_once('system.inc');
include_once("includes/functions.inc.php");
if ($_REQUEST['getupdatestatus']) {
@@ -125,6 +126,21 @@ $filesystems = get_mounted_filesystems();
<td><?php echo htmlspecialchars($config['system']['hostname'] . "." . $config['system']['domain']); ?></td>
</tr>
<tr>
+ <th><?=gettext("System");?></th>
+ <td>
+ <?php
+ $platform = system_identify_specific_platform();
+ if (isset($platform['descr'])) {
+ echo $platform['descr'];
+ } else {
+ echo gettext('Unknown system');
+ }
+ ?>
+ <br />
+ <?=gettext("Serial: ") . system_get_serial();?>
+ </td>
+ </tr>
+ <tr>
<th><?=gettext("Version");?></th>
<td>
<strong><?=$g['product_version_string']?></strong>
OpenPOWER on IntegriCloud