diff options
author | jim-p <jimp@pfsense.org> | 2013-04-23 12:24:47 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-04-23 12:31:05 -0400 |
commit | 3312d8afb71fd39e969730f91e38bf2eec34f957 (patch) | |
tree | 5008c56e54d5649519811608bb6406c834c8baec /usr/local/www/widgets | |
parent | 2c43da1f9ace76b71ffcd3e26c86c436f2f1392a (diff) | |
download | pfsense-3312d8afb71fd39e969730f91e38bf2eec34f957.zip pfsense-3312d8afb71fd39e969730f91e38bf2eec34f957.tar.gz |
Add a way to hide the uname easily.
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r-- | usr/local/www/widgets/widgets/system_information.widget.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/widgets/widgets/system_information.widget.php b/usr/local/www/widgets/widgets/system_information.widget.php index 8d17df7..f735ce8 100644 --- a/usr/local/www/widgets/widgets/system_information.widget.php +++ b/usr/local/www/widgets/widgets/system_information.widget.php @@ -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; ?> |