"; if ($need_vbox) { echo tra("This project requires VirtualBox."); - } - if ($recommend_vbox) { + } else if ($recommend_vbox) { echo tra("This project recommends VirtualBox."); } echo " "; @@ -215,27 +222,41 @@ function direct_to_boinc() { global $master_url; page_head(tra("Download BOINC")); text_start(); - show_vbox_info("direct"); - echo sprintf( - '
%s -
- %s -
- ', - tra("To download and install BOINC, + echo "
"; + echo tra("To download and install BOINC, click on the link below and follow the instructions. - "), - tra("When BOINC first runs it will ask you to select a project. - Select %1 from the list, - or enter this project's URL: %2", - PROJECT, - $master_url - ) - ); + "); + echo "
"; show_button( "https://boinc.berkeley.edu/download.php", - tra("Go to the BOINC download page.") + tra("Go to the BOINC download page."), + null, null, 'target=_new' ); + show_vbox_info("direct"); + + if (parse_bool(get_config(), 'account_manager')) { + echo sprintf( + "
%s
", + tra("When BOINC first runs it will ask you to select a project. + Cancel out of this dialog, + then select Tools / Use Account Manager + to connect BOINC to your %1 account. + See detailed instructions.", + PROJECT, + 'https://boinc.berkeley.edu/wiki/Account_managers' + ) + ); + } else { + echo sprintf( + "
%s
", + tra("When BOINC first runs it will ask you to select a project. + Select '%1' from the list, + or enter this project's URL:
%2", + PROJECT, + $master_url + ) + ); + } text_end(); page_tail(); } @@ -245,7 +266,7 @@ function show_download_page($user, $user_agent, $dev) { // If no project ID, we can't use simplified install // - if (!$project_id) { + if (!$project_id || !is_windows_or_mac()) { direct_to_boinc(); return; }