예제 #1
0
function show_download($pname)
{
    echo "\n        <table cellpadding=10><tr><td valign=top>\n        " . 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. <p> After installing BOINC on your computer, you can connect it to as many of these projects as you like.") . "<p>" . tra("You may run this software on a computer only if you own the computer or have the permission of its owner.") . "<p>";
    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('macppc');
        download_link('linux');
        download_link('linuxx64');
        download_link('linuxcompat');
        end_table();
    }
    echo "\n        <p>\n        After downloading BOINC you must <b>install</b> it:\n        <ul>\n        <li> Save the file to disk.\n        <li> Double-click on the file icon.\n        </ul>\n        <p>\n        <center>\n        <a href=\"wiki/System_requirements\"><span class=nobr>" . tra("System requirements") . "</span></a>\n        &middot; <a href=\"wiki/Release_Notes\"><span class=nobr>" . tra("Release notes") . "</span></a>\n        &middot; <a href=\"wiki/BOINC_Help\"><span class=nobr>" . tra("Help") . "</span></a>\n        &middot; <a href=download_all.php><span class=nobr>" . tra("All versions") . "</span></a>\n        &middot; <a href=\"trac/wiki/VersionHistory\">" . tra("Version history") . "</a>\n        &middot; <a href=http://boinc.berkeley.edu/wiki/GPU_computing>" . tra("GPU computing") . "</a>\n        </center>\n        </td>\n        <td valign=top>\n    ";
    show_pictures();
    echo "\n        </td>\n        </tr></table>\n    ";
}
예제 #2
0
function show_download($pname)
{
    echo "\n        <table cellpadding=10><tr><td valign=top>\n        " . 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.") . "  " . tra("After installing BOINC on your computer, you can connect it to as many of these projects as you like.") . "<p>" . tra("You may run this software on a computer only if you own the computer or have the permission of its owner.") . "<p>";
    if ($pname == 'android') {
        echo "<b>" . tra("We recommend that you download BOINC from the Google Play Store or Amazon Appstore, not from here.") . " </b>\n        ";
    }
    if ($pname) {
        download_link($pname, true);
    } else {
        list_start();
        list_heading_array(array('Computer type', 'BOINC version ', 'Click to download'));
        download_link('win');
        download_link('winx64');
        download_link('mac');
        download_link('macppc');
        download_link('linux');
        download_link('linuxx64');
        download_link('linuxcompat');
        download_link('android');
        list_end();
        echo "Linux users: BOINC is available as a package for many Linux distributions.  It is available for Linux/ARM as a package for Debian and Ubuntu for ARM, and Raspbian (for Raspberry Pi).";
    }
    if ($pname != 'android') {
        echo "\n            <p>\n            After downloading BOINC you must <b>install</b> it:\n            typically this means double-clicking on the file icon\n            when the download is finished.\n        ";
    }
    echo "\n        <p>\n        <center>\n        <a href=\"wiki/System_requirements\"><span class=nobr>" . tra("System requirements") . "</span></a>\n        &middot; <a href=\"wiki/Release_Notes\"><span class=nobr>" . tra("Release notes") . "</span></a>\n        &middot; <a href=\"wiki/BOINC_Help\"><span class=nobr>" . tra("Help") . "</span></a>\n        &middot; <a href=download_all.php><span class=nobr>" . tra("All versions") . "</span></a>\n        &middot; <a href=\"trac/wiki/VersionHistory\">" . tra("Version history") . "</a>\n        &middot; <a href=http://boinc.berkeley.edu/wiki/GPU_computing>" . tra("GPU computing") . "</a>\n        </center>\n        </td>\n        <td valign=top>\n    ";
    show_pictures();
    echo "\n        </td>\n        </tr></table>\n    ";
}