$v) { if (!$dev && is_dev($v)) continue; return $v; } foreach ($p['versions'] as $i=>$v) { return $v; } } // show a download link as a button or table row // function download_link($pname, $button=false) { global $platforms; global $url_base; $p = $platforms[$pname]; $v = latest_version($p); $file = $v['file']; $long_name = $p['name']; $num = $v['num']; $path = "dl/$file"; $url = $url_base.$file; $dlink = "$file"; $s = number_format(filesize($path)/1000000, 2); if ($button) { echo "
".tra("Download BOINC")."
". sprintf(tra("%s for %s (%s MB)"), $num, $long_name, $s )." |
".tra("BOINC is a program that lets you donate your idle computer time to science projects like SETI@home, Climateprediction.net, Rosetta@home, World Community Grid, and many others. After installing BOINC on your computer, you can connect it to as many of these projects as you like.") ." " .tra("You may run this software on a computer only if you own the computer or have the permission of its owner."). " " ; if ($_GET['foo']) $pname = null; if ($pname) { download_link($pname, true); } else { list_start(); list_heading_array(array( 'Computer type', 'Current version ', 'Size' )); download_link('win'); download_link('winx64'); download_link('mac'); download_link('linux'); download_link('linuxx64'); download_link('linuxcompat'); end_table(); } echo "
"
.sprintf(
tra("Note: if your computer is equipped with an Graphics Processing Unit (GPU), you may be able to %suse it to compute faster%s"),
"", "."
)
."
| "; show_pictures(); echo " |