mirror of https://github.com/BOINC/boinc.git
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:
parent
6d341df856
commit
a5532cd0d8
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue