| <?php |
| /******************************************************************************* |
| * Copyright (c) 2012-2015 Eclipse Foundation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Christopher Guindon (Eclipse Foundation) - initial API and implementation |
| *******************************************************************************/ |
| ?> |
| |
| <form id="frm_accountsettings" name="frm_accountsettings" method="post" action="myaccount.php#accountsettings" class="clearfix"> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">Current password<span class="required">*</span></label> |
| <div class="col-sm-16"> |
| <input class="form-control" type="password" name="password" value="" size="32" maxlength="255" /> |
| <p class="help-block">Your current password is required to change your account details. <br><a href="password_recovery.php">Reset my password</a></p> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">E-mail address<span class="required">*</span></label> |
| <div class="col-sm-16"> |
| <input class="form-control" type="text" name="username" value="<?php print $var_welcomeback['username']; ?>" size="40" maxlength="255"/> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">First name<span class="required">*</span></label> |
| <div class="col-sm-16"> |
| <input class="form-control" type="text" name="fname" value="<?php print $var_welcomeback['fname']; ?>" size="40" maxlength="125" /> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">Last name<span class="required">*</span></label> |
| <div class="col-sm-16"> |
| <input class="form-control" type="text" name="lname" value="<?php print $var_welcomeback['lname']; ?>" size="40" maxlength="125"/> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">New Password<span class="required">*</span></label> |
| <div class="col-sm-16"> |
| <input class="form-control" type="password" name="password1" value="<?php print $var_welcomeback['password1']; ?>" size="32" maxlength="255"/> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">New Password (again)<span class="required">*</span></label> |
| <div class="col-sm-16"> |
| <input class="form-control" type="password" name="password2" value="<?php print $var_welcomeback['password2']; ?>" size="32" maxlength="255"/> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label"><a href="https://github.com/" target="_blank">GitHub</a> ID (optional)</label> |
| <div class="col-sm-16"> |
| <?php if ($var_welcomeback['githubid'] == "") : ?> |
| <input class="form-control" type="text" name="githubid" value="<?php print $var_welcomeback['githubid']; ?>" size="32" maxlength="255" /> |
| <p><i><small>Your GitHub ID makes it easier for you to participate on Eclipse projects hosted on GitHub.</small></i></p> |
| <?php else:?> |
| <input type="text" disabled="disabled" name="githubid" value="<?php print $var_welcomeback['githubid']; ?>"/><br/> |
| <p><i><small>Your GitHub ID is already set and cannot be changed. Please contact <a href="mailto:webmaster@eclipse.org">webmaster@eclipse.org</a> to update it.</small></i></p> |
| <?php endif;?> |
| </div> |
| </div> |
| |
| <?php $Sitelogin->_showChangedEmployer(); ?> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">Gerrit HTTP password</label> |
| <div class="col-sm-16"> |
| <a href="https://git.eclipse.org/r/#/settings/http-password">Go to Gerrit</a> |
| </div> |
| </div> |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">Gerrit SSH keys</label> |
| <div class="col-sm-16"> |
| <a href="https://git.eclipse.org/r/#/settings/ssh-keys">Go to Gerrit</a> |
| </div> |
| </div> |
| <div class="form-group clearfix"> |
| <div class="col-sm-24"> |
| <button type="submit" name="btn_submit" class="btn btn-warning" />Update account</buttton> |
| <input type="hidden" name="stage" value="save-account" /> |
| <input type="hidden" name="token-edit-account" value="<?php print $Sitelogin->FormToken->getToken();?>" /> |
| <input type="hidden" name="edit-account-email-req" value="" /> |
| </div> |
| </div> |
| </form> |
| |
| <div class=""> |
| <h3>Please note:</h3> |
| <p><small>the Eclipse Foundation communities operate in an open and transparent fashion. Most of what you submit on our site(s) will be visible to everyone, |
| and your email address may be visible to users who use Bugzilla, Gerrit, Git, and our mailing lists. You may prefer to use an email account specifically for this purpose.</small></p> |
| </div> |
| |