82 lines
2.8 KiB
PHP
82 lines
2.8 KiB
PHP
|
|
<?php get_header( 'buddypress' ) ?>
|
|
|
|
<div id="content">
|
|
|
|
<?php do_action( 'bp_before_member_settings_template' ); ?>
|
|
|
|
<div id="item-header">
|
|
|
|
<?php locate_template( array( 'members/single/member-header.php' ), true ); ?>
|
|
|
|
</div><!-- #item-header -->
|
|
|
|
<div id="item-nav">
|
|
<div class="item-list-tabs no-ajax" id="object-nav" role="navigation">
|
|
<ul>
|
|
|
|
<?php bp_get_displayed_user_nav(); ?>
|
|
|
|
<?php do_action( 'bp_member_options_nav' ); ?>
|
|
|
|
</ul>
|
|
</div>
|
|
</div><!-- #item-nav -->
|
|
|
|
<div id="item-body" role="main">
|
|
|
|
<?php do_action( 'bp_before_member_body' ); ?>
|
|
|
|
<div class="item-list-tabs no-ajax" id="subnav">
|
|
<ul>
|
|
|
|
<?php bp_get_options_nav(); ?>
|
|
|
|
<?php do_action( 'bp_member_plugin_options_nav' ); ?>
|
|
|
|
</ul>
|
|
</div><!-- .item-list-tabs -->
|
|
|
|
<h3><?php _e( 'General Settings', 'huddle' ); ?></h3>
|
|
|
|
<?php do_action( 'bp_template_content' ) ?>
|
|
|
|
<form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/general'; ?>" method="post" class="standard-form" id="settings-form">
|
|
|
|
<p class="editfield">
|
|
<label for="pwd"><?php _e( 'Current Password', 'huddle' ); ?></label>
|
|
<input type="password" name="pwd" id="pwd" size="16" value="" class="settings-input small" /> <a href="<?php echo site_url( add_query_arg( array( 'action' => 'lostpassword' ), 'wp-login.php' ), 'login' ); ?>" title="<?php _e( 'Password Lost and Found', 'huddle' ); ?>"><?php _e( 'Lost your password?', 'huddle' ); ?></a>
|
|
</p>
|
|
|
|
<p class="editfield">
|
|
<label for="email"><?php _e( 'Account Email', 'huddle' ); ?></label>
|
|
<input type="text" name="email" id="email" value="<?php echo bp_get_displayed_user_email(); ?>" class="settings-input" />
|
|
</p>
|
|
|
|
<p class="editfield">
|
|
<label for="pass1"><?php _e( 'Change Password <span>(leave blank for no change)</span>', 'huddle' ); ?><br /><br /> </label>
|
|
<input type="password" name="pass1" id="pass1" size="16" value="" class="settings-input small" /> <?php _e( 'New Password', 'huddle' ); ?><br /><br />
|
|
<input type="password" name="pass2" id="pass2" size="16" value="" class="settings-input small" /> <?php _e( 'Repeat New Password', 'huddle' ); ?>
|
|
</p>
|
|
|
|
<?php do_action( 'bp_core_general_settings_before_submit' ); ?>
|
|
|
|
<div class="submit">
|
|
<input type="submit" class="btn-gray" name="submit" value="<?php _e( 'Save Changes', 'huddle' ); ?>" id="submit" class="auto" />
|
|
</div>
|
|
|
|
<?php do_action( 'bp_core_general_settings_after_submit' ); ?>
|
|
|
|
<?php wp_nonce_field( 'bp_settings_general' ); ?>
|
|
|
|
</form>
|
|
|
|
<?php do_action( 'bp_after_member_body' ); ?>
|
|
|
|
</div><!-- #item-body -->
|
|
|
|
<?php do_action( 'bp_after_member_settings_template' ); ?>
|
|
|
|
</div><!-- #content -->
|
|
|
|
<?php get_footer( 'buddypress' ) ?>
|