diff options
author | Renato Botelho <renato@netgate.com> | 2016-09-27 09:09:27 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-09-27 09:09:49 -0300 |
commit | 27663052c2b5e199a96f4f5ea766abafa8f1ec08 (patch) | |
tree | f82939445a8f5f9ffc80558ef74d50ded6ce974a | |
parent | 66f6f1512c6eda9234318784bb06a22c6dec64f3 (diff) | |
download | pfsense-27663052c2b5e199a96f4f5ea766abafa8f1ec08.zip pfsense-27663052c2b5e199a96f4f5ea766abafa8f1ec08.tar.gz |
Show system platform and serial / UUID
-rw-r--r-- | src/usr/local/www/widgets/widgets/system_information.widget.php | 16 |
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 b451af0..7b12311 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> |