| <?php |
| /******************************************************************************* |
| * Copyright (c) 2014-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) |
| *******************************************************************************/ |
| |
| $password_required = '<small><a href="#" data-tab-destination="tab-accountsettings"><i class="fa fa-edit"></i> Edit</a></small>'; |
| ?> |
| |
| <form id="frm_profile" name="frm_profile" method="post" action="myaccount.php#profile" class="clearfix"> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">First name</label> |
| <div class="col-sm-16"> |
| <p class="form-control-static"><?php print $var_welcomeback['fname']; ?> <?php print $password_required;?></p> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">Last name</label> |
| <div class="col-sm-16"> |
| <p class="form-control-static"><?php print $var_welcomeback['lname']; ?> <?php print $password_required;?></p> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">Organization</label> |
| <div class="col-sm-16"> |
| <input class="form-control" type="text" name="organization" value="<?php print $var_welcomeback['organization']; ?>" size="32" maxlength="255"/> |
| </div> |
| </div> |
| |
| <?php $Sitelogin->_showChangedEmployer(); ?> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">Job Title</label> |
| <div class="col-sm-16"> |
| <input class="form-control" type="text" name="jobtitle" value="<?php print $var_welcomeback['jobtitle']; ?>" size="32" maxlength="255"/> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">Country of residence<span class="required">*</span></label> |
| <div class="col-sm-16"> |
| <select name="country" class="form-control"> |
| <option value="">Choose a country</option> |
| <?php print $Sitelogin->showCountries(); ?> |
| </select> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">Bio</label> |
| <div class="col-sm-16"> |
| <textarea class="form-control" rows="5" name="bio"><?php print $var_welcomeback['bio']; ?></textarea> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">Interests</label> |
| <div class="col-sm-16"> |
| <input class="form-control" type="text" name="interests" value="<?php print $var_welcomeback['interests']; ?>" size="32" maxlength="255"/> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">Website</label> |
| <div class="col-sm-16"> |
| <input aria-describedby="helpBlock" placeholder="http://" class="form-control" type="text" name="website" value="<?php print $var_welcomeback['website']; ?>" size="32" maxlength="255"/> |
| <span id="helpBlock" class="help-block"> |
| <small>* You need to specify the protocol (ie: https:// or http://)</small> |
| </span> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <label class="col-sm-6 control-label">Twitter handle</label> |
| <div class="col-sm-16"> |
| <input class="form-control" type="text" name="twitter_handle" value="<?php print $var_welcomeback['twitter_handle']; ?>" size="32" maxlength="255"/> |
| </div> |
| </div> |
| |
| <div class="form-group clearfix"> |
| <div class="col-sm-24"> |
| <button type="submit" name="btn_submit" class="btn btn-warning">Update Profile</button> |
| <input type="hidden" name="stage" value="save-profile" /> |
| </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> |
| |