web: message tweaks

This commit is contained in:
David Anderson 2015-01-18 11:43:37 -08:00
parent 1e5dc8b61b
commit fbef747499
1 changed files with 8 additions and 7 deletions

View File

@ -66,15 +66,15 @@ function show_download_page() {
$dlv .= " version " . version_string_maj_min_rel($mcv). " or later"; $dlv .= " version " . version_string_maj_min_rel($mcv). " or later";
} }
$verb = "is"; $verb = "this is";
if ($need_vbox) { if ($need_vbox) {
$dl .= " and VirtualBox"; $dl .= " and VirtualBox";
$dlv .= " and VirtualBox"; $dlv .= " and VirtualBox";
$verb = "are"; $verb = "these are";
} }
echo "To participate in ".PROJECT.", $dlv must be installed. echo "To participate in ".PROJECT.", $dlv must be installed.
<p> <p>
If $dlv $verb already installed, <a href=download.php?action=installed>click here</a>. If $verb already installed, <a href=download.php?action=installed>click here</a>. Otherwise
<p> <p>
"; ";
show_button("download.php?action=download", "Download $dl"); show_button("download.php?action=download", "Download $dl");
@ -92,13 +92,14 @@ function show_download_page() {
// //
function show_installed_page($user) { function show_installed_page($user) {
$url = concierge_url($user, false); $url = concierge_url($user, false);
page_head("Add this project"); page_head("Add project");
echo " echo "
<iframe width=0 height=0 frameborder=0 src=$url></iframe> <iframe width=0 height=0 frameborder=0 src=$url></iframe>
To add this project: To start running ".PROJECT." on this computer:
<ul> <ul>
<li> Open the BOINC Manager <li> Open the BOINC Manager.
<li> Select Add Project <li> Select <b>Add Project</b>.
<li> You should see a welcome message; click OK.
</ul> </ul>
"; ";
page_tail(); page_tail();