mirror of https://github.com/BOINC/boinc.git
BOINC web: don't show BOINC+VBox button to Win 10 hosts;
our current installer is bundled with VBox 4, which doesn't work on Win 10
This commit is contained in:
parent
12b802df98
commit
bb9732b206
|
@ -39,13 +39,17 @@ function download_link($pname, $button=false) {
|
|||
|
||||
if ($button) {
|
||||
if ($vbox_file) {
|
||||
echo tra("We recommend that you also install VirtualBox, so your computer can work on science projects that require it.");
|
||||
echo " <a href=wiki/VirtualBox>";
|
||||
echo tra("We recommend that you also install %1VirtualBox%2, so your computer can work on science projects that require it.", "<a href=https://www.virtualbox.org/>", "</a>");
|
||||
echo " <a href=http://boinc.berkeley.edu/wiki/VirtualBox>";
|
||||
echo tra("Learn more about VirtualBox.");
|
||||
echo "</a>";
|
||||
|
||||
echo "<table><tr valign=top><td>\n";
|
||||
|
||||
// the current BOINC VBox doesn't work on Win 10
|
||||
// remove this when we make a new release
|
||||
//
|
||||
if (!strstr($client_info, "Windows NT 10")) {
|
||||
echo "
|
||||
<table cellpadding=10><tr valign=top><td class=button_green>
|
||||
<a href=\"$vbox_url\"><font size=5em><u>"
|
||||
|
@ -62,6 +66,7 @@ function download_link($pname, $button=false) {
|
|||
."</span></td></tr>
|
||||
</table>
|
||||
";
|
||||
}
|
||||
echo "</td><td>\n";
|
||||
}
|
||||
echo "
|
||||
|
|
Loading…
Reference in New Issue