diff --git a/html/user/sample_index.php b/html/user/sample_index.php index 9b216522bf..242d7ec583 100644 --- a/html/user/sample_index.php +++ b/html/user/sample_index.php @@ -90,22 +90,28 @@ function left(){ ', tra('Continue to your home page') ); - } else { - echo " -

- XXX is a research project, based at YYY, - that uses Internet-connected - computers to do research in XXX. - You can contribute to our research - by running a free program on your computer. -

- "; - echo " + echo "

"; + echo sprintf('%s

- "; + ', + tra("Want to help more?"), + tra("Install BOINC on your other computers, tablets, and phones."), + tra("Tell your friends about BOINC, and show them how to join %1.", PROJECT) + ); + } else { + echo "

"; + $pd = "../project/project_description.php"; + if (file_exists($pd)) { + include($pd); + } else { + echo "No project description yet. Create a file html/project/project_description.php + that prints a short description of your project. + "; + } + echo "

\n"; if (NO_COMPUTING) { echo " Create an account @@ -116,7 +122,9 @@ function left(){ $x = $project_id?"signup.php":"join.php"; echo '
'.tra('Join %1', PROJECT).'
'; - + echo "

".tra("Already joined? %1Log in%2.", + "", "" + ); } } } @@ -125,7 +133,7 @@ function left(){ if (!$stopped) { $profile = get_current_uotd(); if ($profile) { - panel('User of the Day', + panel(tra('User of the Day'), function() use ($profile) { show_uotd($profile); }