summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
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:38 -0300
commite093cb8e75acb6950a89d45c3fcd583b0c8fba2e (patch)
tree881ab1f921c424c5f98e21824157d7fe29d1d753 /src/usr/local/www
parent3291893538f1d2eed007d008fa8f6b62d0209768 (diff)
downloadpfsense-e093cb8e75acb6950a89d45c3fcd583b0c8fba2e.zip
pfsense-e093cb8e75acb6950a89d45c3fcd583b0c8fba2e.tar.gz
Show system platform and serial / UUID
Diffstat (limited to 'src/usr/local/www')
-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 6520d09..04d981f 100644
--- a/src/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/src/usr/local/www/widgets/widgets/system_information.widget.php
@@ -27,6 +27,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']) {
@@ -93,6 +94,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