Require non-zero credit to create profile. David will modify to be

configuration option


svn path=/trunk/boinc/; revision=13835
This commit is contained in:
Eric J. Korpela 2007-10-11 15:28:12 +00:00
parent 6d341df856
commit a5532cd0d8
2 changed files with 17 additions and 1 deletions

View File

@ -9443,3 +9443,11 @@ Charlie 11 Oct 2007
mac_saver_module.cpp
clientgui/
MainDocument.cpp
Eric K. 11 Oct 2007
- Require non-zero credit to create profile. David will modify to be
configuration option
html/
user/
create_profile.php

View File

@ -5,6 +5,14 @@ require_once("../inc/profile.inc");
db_init();
$user = get_logged_in_user(true);
show_profile_creation_page($user);
if ($user->total_credit > 0) {
show_profile_creation_page($user);
} else {
page_head("Not available");
echo "You must have returned results and received credit
before you can create a profile.
";
page_tail();
}
?>