$v) { if (!$dev && is_dev($v)) continue; return $v; } } function download_link($pname) { 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); echo "
".tr(DL_DOWNLOAD)."
". sprintf(tr(DL_VERSION_LNAME_SIZE), $num, $long_name, $s )." |
Note: BOINC may be available as a package for for your particular Linux distribution (Gentoo, Fedora, Debian, Ubuntu); check this first before downloading from this page. "; } } function link_row($pname) { echo "
".tr(DL_WHATS_BOINC)
;
if ($pname) {
download_link($pname);
} else {
echo "
" .tr(DL_IF_OTHERTYPES)." "; } echo "
| "; show_pictures(); echo " |