Add a way to hide the uname easily.

This commit is contained in:
jim-p 2013-04-23 12:24:47 -04:00
parent 2c43da1f9a
commit 3312d8afb7

View File

@ -95,8 +95,10 @@ $curcfg = $config['system']['firmware'];
(<?php echo php_uname("m"); ?>)
<br />
built on <?php readfile("/etc/version.buildtime"); ?>
<?php if(!$g['hideuname']): ?>
<br />
<div id="uname"><a href="#" onclick='swapuname(); return false;'><?php echo php_uname("s") . " " . php_uname("r"); ?></a></div>
<?php endif; ?>
<?php if(!isset($config['system']['firmware']['disablecheck'])): ?>
<div id='updatestatus'><br/><?php echo gettext("Obtaining update status"); ?> ...</div>
<?php endif; ?>