// BOINC is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // See the GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with BOINC. If not, see <http://www.gnu.org/licenses/>. require_once '../inc/boinc_db.inc'; require_once '../inc/util.inc'; require_once '../inc/account.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, recaptcha_get_head_extra()); if (!no_computing()) { echo "<p>\n <b>" . 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.") . "</b></p>\n "; } $teamid = get_int("teamid", true); if ($teamid) { $team = BoincTeam::lookup_id($teamid); $user = BoincUser::lookup_id($team->userid);
// // BOINC is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // See the GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with BOINC. If not, see <http://www.gnu.org/licenses/>. require_once "../inc/db.inc"; require_once "../inc/util.inc"; require_once "../inc/account.inc"; check_get_args(array("next_url")); $next_url = sanitize_local_url(get_str('next_url', true)); $next_url = urldecode($next_url); $u = "login_form.php?next_url=" . $next_url; redirect_to_secure_url($u); $user = get_logged_in_user(false); if ($user) { page_head("Already logged in"); row2("You are logged in as {$user->name}", ". <a href=\"logout.php?" . url_tokens($user->authenticator) . "\">Log out</a>"); page_tail(); exit; } page_head(tra("Log in")); if (0) { echo ' <a href="openid_login.php?openid_identifier=https://www.google.com/accounts/o8/id"><img src=img/google-button.png></a> <a href="openid_login.php?openid_identifier=http://yahoo.com"><img src=img/yahoo-button.png></a> <br> '; }
// BOINC is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation, // either version 3 of the License, or (at your option) any later version. // // BOINC is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // See the GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with BOINC. If not, see <http://www.gnu.org/licenses/>. require_once "../inc/util.inc"; require_once "../inc/email.inc"; check_get_args(array()); redirect_to_secure_url("edit_email_form.php"); $user = get_logged_in_user(); page_head(tra("Change email address")); $email_text = ""; if (is_valid_email_addr($user->email_addr)) { $email_text = $user->email_addr; } echo "<form method=post action=" . secure_url_base() . "/edit_email_action.php>\n"; start_table(); row1(tra("Change the email address of your account")); row2(tra("New email address") . "<br><p class=\"text-muted\">" . tra("Must be a valid address of the form 'name@domain'") . "</p>", "<input name=email_addr size=50 type=text value='{$email_text}'>"); // we need the password here not for verification, // but because we store it salted with email address, // which is about to change. row2(tra("Password") . "<br><a href=" . secure_url_base() . "/edit_passwd_form.php><p class=\"text-muted\">" . tra("No password?") . "</p></a>", "<input type=password name=passwd>"); row2("", "<input class=\"btn btn-default\" type=submit value='" . tra("Change email address") . "'>");