. require_once('../inc/boinc_db.inc'); require_once('../inc/util.inc'); require_once('../inc/countries.inc'); require_once('../inc/translation.inc'); require_once('../inc/recaptchalib.php'); check_get_args(array("next_url", "teamid")); $next_url = sanitize_local_url(get_str('next_url', true)); redirect_to_secure_url("create_account_form.php?next_url=$next_url"); $config = get_config(); if (parse_bool($config, "disable_account_creation")) { error_page("This project is not accepting new accounts"); } if (parse_bool($config, "no_web_account_creation")) { error_page("This project has disabled Web account creation"); } page_head(tra("Create an account"), null, null, null, IE_COMPAT_MODE); if (!no_computing()) { echo "

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

"; } echo "

"; $teamid = get_int("teamid", true); if ($teamid) { $team = BoincTeam::lookup_id($teamid); $user = BoincUser::lookup_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")."", "" ); // Check if we're reCaptcha to prevent spam accounts // $publickey = parse_config($config, ""); if ($publickey) { row2( tra("Please enter the words shown in the image"), recaptcha_get_html($publickey, null, is_https()) ); } row2("", "" ); end_table(); echo " "; $cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit page_tail(); ?>