From f1bbf5c339f278e3192cedf75f84d5479f90aeee Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 1 Apr 2010 16:32:16 +0000 Subject: [PATCH] - web: show anon platform correctly in task list svn path=/trunk/boinc/; revision=21048 --- checkin_notes | 6 ++++++ html/inc/result.inc | 3 +++ 2 files changed, 9 insertions(+) diff --git a/checkin_notes b/checkin_notes index 546b46cb70..2416c31367 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/html/inc/result.inc b/html/inc/result.inc index 0c22eb5f33..8167d08873 100644 --- a/html/inc/result.inc +++ b/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];