. require_once('../inc/db.inc'); require_once('../inc/util.inc'); require_once('../inc/countries.inc'); require_once('../inc/translation.inc'); page_head(tra("Create an account")); $config = get_config(); if (parse_bool($config, "disable_account_creation")) { echo "

".tra("Account creation is disabled")."

".tra("Account creation is currently disabled. Please try again later.")."

"; page_tail(); exit(); } $next_url = get_str('next_url', true); $wac = parse_bool($config, "web_account_creation"); if (!$wac) { echo "

".tra("NOTE: If you use BOINC version 5.2+ with the BOINC Manager, don't use this form. Just run BOINC, select Attach Project, and enter an email address and password.")."

"; } echo "

"; $teamid = get_int("teamid", true); if ($teamid) { $team = lookup_team($teamid); $user = lookup_user_id($team->userid); if (!$user) { echo "No such user"; } else { echo "".tra("This account will belong to the team %1 and will have the project preferences of its founder.", "id\">$team->name")."

"; echo " "; } } start_table(); // Using invitation codes to restrict access? // if(defined('INVITE_CODES')) { row2( tra("Invitation Code")."
".tra("A valid invitation code is required to create an account.")."", "" ); } row2( tra("Name")."
".tra("Identifies you on our web site. Use your real name or a nickname.")."", "" ); row2( tra("Email Address")."
".tra("Must be a valid address of the form 'name@domain'.")."", "" ); $min_passwd_length = parse_element($config, ""); if (!$min_passwd_length) { $min_passwd_length = 6; } row2( tra("Password") ."
".tra("Must be at least %1 characters", $min_passwd_length)."", "" ); row2(tra("Confirm password"), ""); row2_init( tra("Country")."
".tra("Select the country you want to represent, if any.")."", "\n"; row2( tra("Postal or ZIP Code")."
".tra("Optional")."", "" ); row2("", "" ); end_table(); echo " "; $cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit page_tail(); ?>