Commit 3986b993 authored by Franco Fichtner's avatar Franco Fichtner

widgets: swap system platform/version; show openssl/libressl version too

parent 64bc749d
...@@ -105,12 +105,12 @@ $filesystems = get_mounted_filesystems(); ...@@ -105,12 +105,12 @@ $filesystems = get_mounted_filesystems();
<tr> <tr>
<td width="25%" valign="top" class="vncellt"><?=gettext("Version");?></td> <td width="25%" valign="top" class="vncellt"><?=gettext("Version");?></td>
<td width="75%" class="listr"> <td width="75%" class="listr">
<strong><?php readfile('/usr/local/opnsense/version/opnsense'); ?><span id="version"></span></strong> <strong><span id="version"><?php
(<?php echo php_uname("m"); ?>) $pkgver = explode('-', file_get_contents('/usr/local/opnsense/version/opnsense'));
<?php if(!$g['hideuname']): ?> echo sprintf('%s %s-%s (%s)', $g['product_name'], $pkgver[0], php_uname('m'), $pkgver[1]);
<br /> ?></span></strong>
<div id="uname"><a href="#" onclick='swapuname(); return false;'><?php echo php_uname("s") . " " . php_uname("r"); ?></a></div> <br /><?php echo exec('/usr/local/bin/openssl version'); ?>
<?php endif; ?> <br /><div id="uname"><a href="#" onclick='swapuname(); return false;'><?php echo php_uname("s") . " " . php_uname("r"); ?></a></div>
</td> </td>
</tr> </tr>
...@@ -124,12 +124,6 @@ $filesystems = get_mounted_filesystems(); ...@@ -124,12 +124,6 @@ $filesystems = get_mounted_filesystems();
</td> </td>
</tr> </tr>
<?php endif; ?> <?php endif; ?>
<tr>
<td width="25%" class="vncellt"><?=gettext("Platform");?></td>
<td width="75%" class="listr">
<?=htmlspecialchars('OPNsense'); ?>
</td>
</tr>
<tr> <tr>
<td width="25%" class="vncellt"><?=gettext("CPU Type");?></td> <td width="25%" class="vncellt"><?=gettext("CPU Type");?></td>
<td width="75%" class="listr"> <td width="75%" class="listr">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment