- web: show anon platform correctly in task list

svn path=/trunk/boinc/; revision=21048
This commit is contained in:
David Anderson 2010-04-01 16:32:16 +00:00
parent 0719a401b6
commit f1bbf5c339
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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];