mirror of https://github.com/BOINC/boinc.git
- web: show anon platform correctly in task list
svn path=/trunk/boinc/; revision=21048
This commit is contained in:
parent
0719a401b6
commit
f1bbf5c339
|
@ -2355,3 +2355,9 @@ Charlie 1 Apr 2010
|
|||
DlgOptions.cpp
|
||||
MainDocument.cpp, .h
|
||||
MacSysMenu.cpp
|
||||
|
||||
David 1 Apr 2010
|
||||
- web: show anon platform correctly in task list
|
||||
|
||||
html/inc/
|
||||
result.inc
|
||||
|
|
|
@ -23,6 +23,9 @@ function app_version_string($id) {
|
|||
global $apps, $app_versions;
|
||||
if ($id == 0) return "";
|
||||
if ($id == -1) return tra("Anonymous platform");
|
||||
if ($id == -2) return tra("Anonymous platform - CPU");
|
||||
if ($id == -3) return tra("Anonymous platform - NVIDIA GPU");
|
||||
if ($id == -4) return tra("Anonymous platform - ATI GPU");
|
||||
if (array_key_exists($id, $app_versions)) {
|
||||
$av = $app_versions[$id];
|
||||
$app = $apps[$av->appid];
|
||||
|
|
Loading…
Reference in New Issue