mirror of https://github.com/BOINC/boinc.git
- Web: Don't display VirtualBox version number information in the coproc field while
displaying host information. html/inc/ host.inc svn path=/trunk/boinc/; revision=24882
This commit is contained in:
parent
8bc68b6a85
commit
3aa01ec513
|
@ -9371,3 +9371,10 @@ Charlie 23 Dec 2011
|
||||||
|
|
||||||
samples/vboxwrapper/
|
samples/vboxwrapper/
|
||||||
vboxwrapper.cpp
|
vboxwrapper.cpp
|
||||||
|
|
||||||
|
Rom 23 Dec 2011
|
||||||
|
- Web: Don't display VirtualBox version number information in the coproc field while
|
||||||
|
displaying host information.
|
||||||
|
|
||||||
|
html/inc/
|
||||||
|
host.inc
|
||||||
|
|
|
@ -238,7 +238,7 @@ function host_nresults($host) {
|
||||||
return BoincResult::count("hostid=$host->id");
|
return BoincResult::count("hostid=$host->id");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Given string of the form [BOINC|vers][type|model|count|RAM|driver-vers],
|
// Given string of the form [BOINC|vers][type|model|count|RAM|driver-vers][vbox|vers],
|
||||||
// return a human-readable version of the GPU info
|
// return a human-readable version of the GPU info
|
||||||
//
|
//
|
||||||
function gpu_desc($x) {
|
function gpu_desc($x) {
|
||||||
|
@ -249,8 +249,9 @@ function gpu_desc($x) {
|
||||||
$desc = trim($desc, "[");
|
$desc = trim($desc, "[");
|
||||||
$d = explode("|", $desc);
|
$d = explode("|", $desc);
|
||||||
//print_r($d);
|
//print_r($d);
|
||||||
if ($d[0] == "BOINC") continue;
|
if ($d[0] == "BOINC") continue;
|
||||||
if ($str) $str .= ", ";
|
if ($d[0] == "vbox") continue;
|
||||||
|
if ($str) $str .= ", ";
|
||||||
if ($d[2]!="" && $d[2]!="1") $str .= "[".$d[2]."] ";
|
if ($d[2]!="" && $d[2]!="1") $str .= "[".$d[2]."] ";
|
||||||
if ($d[0] == "CUDA") {
|
if ($d[0] == "CUDA") {
|
||||||
$str .= "NVIDIA";
|
$str .= "NVIDIA";
|
||||||
|
|
Loading…
Reference in New Issue