Show system platform and serial / UUID

This commit is contained in:
Renato Botelho 2016-09-27 09:09:27 -03:00
parent 3291893538
commit e093cb8e75

View File

@ -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']) {
@ -92,6 +93,21 @@ $filesystems = get_mounted_filesystems();
<th><?=gettext("Name");?></th>
<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>