Cambios hechos por Fernando
git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@176 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
f5be9cc7c9
commit
5068427ea3
@ -9,7 +9,7 @@ body.login {
|
||||
-o-background-size: cover;
|
||||
background-size: cover;
|
||||
font-size: 14px;
|
||||
*/
|
||||
|
||||
background-attachment: inherit;
|
||||
background-clip: border-box;
|
||||
background-color: #c6c9d5;
|
||||
@ -18,8 +18,13 @@ body.login {
|
||||
background-position: center 75px;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
font-size: 14px;
|
||||
height: 1628px;
|
||||
*/
|
||||
font-size: 14px;
|
||||
}
|
||||
body.login img#imagenLogin {
|
||||
margin-top: -7px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.login h1 a {
|
||||
@ -181,6 +186,9 @@ div#container div#login p#nav a {
|
||||
color: #61d130 !important;
|
||||
font-size: 12px;
|
||||
}
|
||||
div#container div#login p#nav a:hover {
|
||||
color: #B5CDE7 !important;
|
||||
}
|
||||
div#container div#login p#nav a#forgotYourPassword {
|
||||
color: #B5CDE7 !important;
|
||||
font-size: 12px;
|
||||
|
||||
@ -1,270 +1,270 @@
|
||||
<?php get_header( 'buddypress' ) ?>
|
||||
|
||||
<div id="content">
|
||||
<div class="padder">
|
||||
|
||||
<?php do_action( 'bp_before_register_page' ) ?>
|
||||
|
||||
<div class="page" id="register-page">
|
||||
|
||||
<form action="" name="signup_form" id="signup_form" class="standard-form" method="post" enctype="multipart/form-data">
|
||||
|
||||
<?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?>
|
||||
<?php do_action( 'template_notices' ) ?>
|
||||
<?php do_action( 'bp_before_registration_disabled' ) ?>
|
||||
|
||||
<p><?php _e( 'User registration is currently not allowed.', 'buddypress' ); ?></p>
|
||||
|
||||
<?php do_action( 'bp_after_registration_disabled' ); ?>
|
||||
<?php endif; // registration-disabled signup setp ?>
|
||||
|
||||
<?php if ( 'request-details' == bp_get_current_signup_step() ) : ?>
|
||||
|
||||
<h2><?php _e( 'Create an Account', 'buddypress' ) ?></h2>
|
||||
|
||||
<?php do_action( 'template_notices' ) ?>
|
||||
|
||||
<p><?php _e( 'Registering for this site is easy, just fill in the fields below and we\'ll get a new account set up for you in no time.', 'buddypress' ) ?></p>
|
||||
|
||||
<?php do_action( 'bp_before_account_details_fields' ) ?>
|
||||
|
||||
<div class="register-section" id="basic-details-section">
|
||||
|
||||
<?php /***** Basic Account Details ******/ ?>
|
||||
|
||||
<h4><?php _e( 'Account Details', 'buddypress' ) ?></h4>
|
||||
|
||||
<label for="signup_username"><?php _e( 'Username', 'buddypress' ) ?> <?php _e( '(required)', 'buddypress' ) ?></label>
|
||||
<input type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value() ?>" />
|
||||
<?php do_action( 'bp_signup_username_errors' ) ?>
|
||||
|
||||
<label for="signup_email"><?php _e( 'Email Address', 'buddypress' ) ?> <?php _e( '(required)', 'buddypress' ) ?></label>
|
||||
<input type="text" name="signup_email" id="signup_email" value="<?php bp_signup_email_value() ?>" />
|
||||
<?php do_action( 'bp_signup_email_errors' ) ?>
|
||||
|
||||
<label for="signup_password"><?php _e( 'Choose a Password', 'buddypress' ) ?> <?php _e( '(required)', 'buddypress' ) ?></label>
|
||||
<input type="password" name="signup_password" id="signup_password" value="" />
|
||||
<?php do_action( 'bp_signup_password_errors' ) ?>
|
||||
|
||||
<label for="signup_password_confirm"><?php _e( 'Confirm Password', 'buddypress' ) ?> <?php _e( '(required)', 'buddypress' ) ?></label>
|
||||
<input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" />
|
||||
<?php do_action( 'bp_signup_password_confirm_errors' ) ?>
|
||||
|
||||
</div><!-- #basic-details-section -->
|
||||
|
||||
<?php do_action( 'bp_after_account_details_fields' ) ?>
|
||||
|
||||
<?php /***** Extra Profile Details ******/ ?>
|
||||
|
||||
<?php if ( bp_is_active( 'xprofile' ) ) : ?>
|
||||
|
||||
<?php do_action( 'bp_before_signup_profile_fields' ) ?>
|
||||
|
||||
<div class="register-section" id="profile-details-section">
|
||||
|
||||
<h4><?php _e( 'Profile Details', 'buddypress' ) ?></h4>
|
||||
|
||||
<?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
|
||||
<?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( 'profile_group_id=1' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
|
||||
|
||||
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
|
||||
|
||||
<div class="editfield">
|
||||
|
||||
<?php if ( 'textbox' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<label for="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></label>
|
||||
<input type="text" name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>" value="<?php bp_the_profile_field_edit_value() ?>" />
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<label for="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></label>
|
||||
<textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_edit_value() ?></textarea>
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'selectbox' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<label for="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></label>
|
||||
<select name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>">
|
||||
<?php bp_the_profile_field_options() ?>
|
||||
</select>
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'multiselectbox' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<label for="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></label>
|
||||
<select name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>" multiple="multiple">
|
||||
<?php bp_the_profile_field_options() ?>
|
||||
</select>
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'radio' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<div class="radio">
|
||||
<span class="label"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></span>
|
||||
|
||||
<?php bp_the_profile_field_options() ?>
|
||||
|
||||
<?php if ( !bp_get_the_profile_field_is_required() ) : ?>
|
||||
<a class="clear-value" href="javascript:clear( '<?php bp_the_profile_field_input_name() ?>' );"><?php _e( 'Clear', 'buddypress' ) ?></a>
|
||||
<?php endif; ?>
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'checkbox' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<div class="checkbox">
|
||||
<span class="label"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></span>
|
||||
|
||||
<?php bp_the_profile_field_options() ?>
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'datebox' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<div class="datebox">
|
||||
<label for="<?php bp_the_profile_field_input_name() ?>_day"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></label>
|
||||
|
||||
<select name="<?php bp_the_profile_field_input_name() ?>_day" id="<?php bp_the_profile_field_input_name() ?>_day">
|
||||
<?php bp_the_profile_field_options( 'type=day' ) ?>
|
||||
</select>
|
||||
|
||||
<select name="<?php bp_the_profile_field_input_name() ?>_month" id="<?php bp_the_profile_field_input_name() ?>_month">
|
||||
<?php bp_the_profile_field_options( 'type=month' ) ?>
|
||||
</select>
|
||||
|
||||
<select name="<?php bp_the_profile_field_input_name() ?>_year" id="<?php bp_the_profile_field_input_name() ?>_year">
|
||||
<?php bp_the_profile_field_options( 'type=year' ) ?>
|
||||
</select>
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php do_action( 'bp_custom_profile_edit_fields' ) ?>
|
||||
|
||||
<p class="description"><?php bp_the_profile_field_description() ?></p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids() ?>" />
|
||||
|
||||
<?php endwhile; endif; endif; ?>
|
||||
|
||||
</div><!-- #profile-details-section -->
|
||||
|
||||
<?php do_action( 'bp_after_signup_profile_fields' ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( bp_get_blog_signup_allowed() ) : ?>
|
||||
|
||||
<?php do_action( 'bp_before_blog_details_fields' ) ?>
|
||||
|
||||
<?php /***** Blog Creation Details ******/ ?>
|
||||
|
||||
<div class="register-section" id="blog-details-section">
|
||||
|
||||
<h4><?php _e( 'Blog Details', 'buddypress' ) ?></h4>
|
||||
|
||||
<p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes, I\'d like to create a new site', 'buddypress' ) ?></p>
|
||||
|
||||
<div id="blog-details"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class="show"<?php endif; ?>>
|
||||
|
||||
<label for="signup_blog_url"><?php _e( 'Blog URL', 'buddypress' ) ?> <?php _e( '(required)', 'buddypress' ) ?></label>
|
||||
<?php do_action( 'bp_signup_blog_url_errors' ) ?>
|
||||
|
||||
<?php if ( is_subdomain_install() ) : ?>
|
||||
http:// <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value() ?>" /> .<?php echo preg_replace( '|^https?://(?:www\.)|', '', site_url() ) ?>
|
||||
<?php else : ?>
|
||||
<?php echo site_url() ?>/ <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value() ?>" />
|
||||
<?php endif; ?>
|
||||
|
||||
<label for="signup_blog_title"><?php _e( 'Site Title', 'buddypress' ) ?> <?php _e( '(required)', 'buddypress' ) ?></label>
|
||||
<?php do_action( 'bp_signup_blog_title_errors' ) ?>
|
||||
<input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value() ?>" />
|
||||
|
||||
<span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ) ?>:</span>
|
||||
<?php do_action( 'bp_signup_blog_privacy_errors' ) ?>
|
||||
|
||||
<label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ) ?></label>
|
||||
<label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ) ?></label>
|
||||
|
||||
</div>
|
||||
|
||||
</div><!-- #blog-details-section -->
|
||||
|
||||
<?php do_action( 'bp_after_blog_details_fields' ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<div class="clear"></div>
|
||||
<?php do_action( 'bp_before_registration_submit_buttons' ) ?>
|
||||
|
||||
<div class="submit">
|
||||
<input class="button signup" type="submit" name="signup_submit" id="signup_submit" value="<?php _e( 'Complete Sign Up', 'buddypress' ) ?>" />
|
||||
</div>
|
||||
|
||||
<?php do_action( 'bp_after_registration_submit_buttons' ) ?>
|
||||
|
||||
<?php wp_nonce_field( 'bp_new_signup' ) ?>
|
||||
|
||||
<?php endif; // request-details signup step ?>
|
||||
|
||||
<?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?>
|
||||
|
||||
<h2><?php _e( 'Sign Up Complete!', 'buddypress' ) ?></h2>
|
||||
|
||||
<?php do_action( 'template_notices' ) ?>
|
||||
<?php do_action( 'bp_before_registration_confirmed' ) ?>
|
||||
|
||||
<?php if ( bp_registration_needs_activation() ) : ?>
|
||||
<p><?php _e( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' ) ?></p>
|
||||
<?php else : ?>
|
||||
<p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ) ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php do_action( 'bp_after_registration_confirmed' ) ?>
|
||||
|
||||
<?php endif; // completed-confirmation signup step ?>
|
||||
|
||||
<?php do_action( 'bp_custom_signup_steps' ) ?>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<?php do_action( 'bp_after_register_page' ) ?>
|
||||
|
||||
</div><!-- .padder -->
|
||||
</div><!-- #content -->
|
||||
|
||||
<?php get_sidebar( 'buddypress' ) ?>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready( function() {
|
||||
if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
|
||||
jQuery('div#blog-details').toggle();
|
||||
|
||||
jQuery( 'input#signup_with_blog' ).click( function() {
|
||||
jQuery('div#blog-details').fadeOut().toggle();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php get_header( 'buddypress' ) ?>
|
||||
|
||||
<div id="content">
|
||||
<div class="padder">
|
||||
|
||||
<?php do_action( 'bp_before_register_page' ) ?>
|
||||
|
||||
<div class="page" id="register-page">
|
||||
|
||||
<form action="" name="signup_form" id="signup_form" class="standard-form" method="post" enctype="multipart/form-data">
|
||||
|
||||
<?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?>
|
||||
<?php do_action( 'template_notices' ) ?>
|
||||
<?php do_action( 'bp_before_registration_disabled' ) ?>
|
||||
|
||||
<p><?php _e( 'User registration is currently not allowed.', 'buddypress' ); ?></p>
|
||||
|
||||
<?php do_action( 'bp_after_registration_disabled' ); ?>
|
||||
<?php endif; // registration-disabled signup setp ?>
|
||||
|
||||
<?php if ( 'request-details' == bp_get_current_signup_step() ) : ?>
|
||||
|
||||
<h2><?php _e( 'Create an Account', 'buddypress' ) ?></h2>
|
||||
|
||||
<?php do_action( 'template_notices' ) ?>
|
||||
|
||||
<p><?php _e( 'Registering for this site is easy, just fill in the fields below and we\'ll get a new account set up for you in no time.', 'buddypress' ) ?></p>
|
||||
|
||||
<?php do_action( 'bp_before_account_details_fields' ) ?>
|
||||
|
||||
<div class="register-section" id="basic-details-section">
|
||||
|
||||
<?php /***** Basic Account Details ******/ ?>
|
||||
|
||||
<h4><?php _e( 'Account Details', 'buddypress' ) ?></h4>
|
||||
|
||||
<label for="signup_username"><?php _e( 'Username', 'buddypress' ) ?> <?php _e( '(required)', 'buddypress' ) ?></label>
|
||||
<input type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value() ?>" />
|
||||
<?php do_action( 'bp_signup_username_errors' ) ?>
|
||||
|
||||
<label for="signup_email"><?php _e( 'Email Address', 'buddypress' ) ?> <?php _e( '(required)', 'buddypress' ) ?></label>
|
||||
<input type="text" name="signup_email" id="signup_email" value="<?php bp_signup_email_value() ?>" />
|
||||
<?php do_action( 'bp_signup_email_errors' ) ?>
|
||||
|
||||
<label for="signup_password"><?php _e( 'Choose a Password', 'buddypress' ) ?> <?php _e( '(required)', 'buddypress' ) ?></label>
|
||||
<input type="password" name="signup_password" id="signup_password" value="" />
|
||||
<?php do_action( 'bp_signup_password_errors' ) ?>
|
||||
|
||||
<label for="signup_password_confirm"><?php _e( 'Confirm Password', 'buddypress' ) ?> <?php _e( '(required)', 'buddypress' ) ?></label>
|
||||
<input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" />
|
||||
<?php do_action( 'bp_signup_password_confirm_errors' ) ?>
|
||||
|
||||
</div><!-- #basic-details-section -->
|
||||
|
||||
<?php do_action( 'bp_after_account_details_fields' ) ?>
|
||||
|
||||
<?php /***** Extra Profile Details ******/ ?>
|
||||
|
||||
<?php if ( bp_is_active( 'xprofile' ) ) : ?>
|
||||
|
||||
<?php do_action( 'bp_before_signup_profile_fields' ) ?>
|
||||
|
||||
<div class="register-section" id="profile-details-section">
|
||||
|
||||
<h4><?php _e( 'Profile Details', 'buddypress' ) ?></h4>
|
||||
|
||||
<?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?>
|
||||
<?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( 'profile_group_id=1' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>
|
||||
|
||||
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
|
||||
|
||||
<div class="editfield">
|
||||
|
||||
<?php if ( 'textbox' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<label for="<?php bp_the_profile_field_input_name() ?>">Full <?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></label>
|
||||
<input type="text" name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>" value="<?php bp_the_profile_field_edit_value() ?>" />
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'textarea' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<label for="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></label>
|
||||
<textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_edit_value() ?></textarea>
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'selectbox' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<label for="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></label>
|
||||
<select name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>">
|
||||
<?php bp_the_profile_field_options() ?>
|
||||
</select>
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'multiselectbox' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<label for="<?php bp_the_profile_field_input_name() ?>"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></label>
|
||||
<select name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>" multiple="multiple">
|
||||
<?php bp_the_profile_field_options() ?>
|
||||
</select>
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'radio' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<div class="radio">
|
||||
<span class="label"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></span>
|
||||
|
||||
<?php bp_the_profile_field_options() ?>
|
||||
|
||||
<?php if ( !bp_get_the_profile_field_is_required() ) : ?>
|
||||
<a class="clear-value" href="javascript:clear( '<?php bp_the_profile_field_input_name() ?>' );"><?php _e( 'Clear', 'buddypress' ) ?></a>
|
||||
<?php endif; ?>
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'checkbox' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<div class="checkbox">
|
||||
<span class="label"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></span>
|
||||
|
||||
<?php bp_the_profile_field_options() ?>
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( 'datebox' == bp_get_the_profile_field_type() ) : ?>
|
||||
|
||||
<div class="datebox">
|
||||
<label for="<?php bp_the_profile_field_input_name() ?>_day"><?php bp_the_profile_field_name() ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(required)', 'buddypress' ) ?><?php endif; ?></label>
|
||||
|
||||
<select name="<?php bp_the_profile_field_input_name() ?>_day" id="<?php bp_the_profile_field_input_name() ?>_day">
|
||||
<?php bp_the_profile_field_options( 'type=day' ) ?>
|
||||
</select>
|
||||
|
||||
<select name="<?php bp_the_profile_field_input_name() ?>_month" id="<?php bp_the_profile_field_input_name() ?>_month">
|
||||
<?php bp_the_profile_field_options( 'type=month' ) ?>
|
||||
</select>
|
||||
|
||||
<select name="<?php bp_the_profile_field_input_name() ?>_year" id="<?php bp_the_profile_field_input_name() ?>_year">
|
||||
<?php bp_the_profile_field_options( 'type=year' ) ?>
|
||||
</select>
|
||||
<?php do_action( 'bp_' . bp_get_the_profile_field_input_name() . '_errors' ) ?>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php do_action( 'bp_custom_profile_edit_fields' ) ?>
|
||||
|
||||
<p class="description"><?php bp_the_profile_field_description() ?></p>
|
||||
|
||||
</div>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_group_field_ids() ?>" />
|
||||
|
||||
<?php endwhile; endif; endif; ?>
|
||||
|
||||
</div><!-- #profile-details-section -->
|
||||
|
||||
<?php do_action( 'bp_after_signup_profile_fields' ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( bp_get_blog_signup_allowed() ) : ?>
|
||||
|
||||
<?php do_action( 'bp_before_blog_details_fields' ) ?>
|
||||
|
||||
<?php /***** Blog Creation Details ******/ ?>
|
||||
|
||||
<div class="register-section" id="blog-details-section">
|
||||
|
||||
<h4><?php _e( 'Blog Details', 'buddypress' ) ?></h4>
|
||||
|
||||
<p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes, I\'d like to create a new site', 'buddypress' ) ?></p>
|
||||
|
||||
<div id="blog-details"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class="show"<?php endif; ?>>
|
||||
|
||||
<label for="signup_blog_url"><?php _e( 'Blog URL', 'buddypress' ) ?> <?php _e( '(required)', 'buddypress' ) ?></label>
|
||||
<?php do_action( 'bp_signup_blog_url_errors' ) ?>
|
||||
|
||||
<?php if ( is_subdomain_install() ) : ?>
|
||||
http:// <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value() ?>" /> .<?php echo preg_replace( '|^https?://(?:www\.)|', '', site_url() ) ?>
|
||||
<?php else : ?>
|
||||
<?php echo site_url() ?>/ <input type="text" name="signup_blog_url" id="signup_blog_url" value="<?php bp_signup_blog_url_value() ?>" />
|
||||
<?php endif; ?>
|
||||
|
||||
<label for="signup_blog_title"><?php _e( 'Site Title', 'buddypress' ) ?> <?php _e( '(required)', 'buddypress' ) ?></label>
|
||||
<?php do_action( 'bp_signup_blog_title_errors' ) ?>
|
||||
<input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value() ?>" />
|
||||
|
||||
<span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ) ?>:</span>
|
||||
<?php do_action( 'bp_signup_blog_privacy_errors' ) ?>
|
||||
|
||||
<label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ) ?></label>
|
||||
<label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ) ?></label>
|
||||
|
||||
</div>
|
||||
|
||||
</div><!-- #blog-details-section -->
|
||||
|
||||
<?php do_action( 'bp_after_blog_details_fields' ) ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<div class="clear"></div>
|
||||
<?php do_action( 'bp_before_registration_submit_buttons' ) ?>
|
||||
|
||||
<div class="submit">
|
||||
<input class="button signup" type="submit" name="signup_submit" id="signup_submit" value="<?php _e( 'Complete Sign Up', 'buddypress' ) ?>" />
|
||||
</div>
|
||||
|
||||
<?php do_action( 'bp_after_registration_submit_buttons' ) ?>
|
||||
|
||||
<?php wp_nonce_field( 'bp_new_signup' ) ?>
|
||||
|
||||
<?php endif; // request-details signup step ?>
|
||||
|
||||
<?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?>
|
||||
|
||||
<h2><?php _e( 'Sign Up Complete!', 'buddypress' ) ?></h2>
|
||||
|
||||
<?php do_action( 'template_notices' ) ?>
|
||||
<?php do_action( 'bp_before_registration_confirmed' ) ?>
|
||||
|
||||
<?php if ( bp_registration_needs_activation() ) : ?>
|
||||
<p><?php _e( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' ) ?></p>
|
||||
<?php else : ?>
|
||||
<p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ) ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php do_action( 'bp_after_registration_confirmed' ) ?>
|
||||
|
||||
<?php endif; // completed-confirmation signup step ?>
|
||||
|
||||
<?php do_action( 'bp_custom_signup_steps' ) ?>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<?php do_action( 'bp_after_register_page' ) ?>
|
||||
|
||||
</div><!-- .padder -->
|
||||
</div><!-- #content -->
|
||||
|
||||
<?php get_sidebar( 'buddypress' ) ?>
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(document).ready( function() {
|
||||
if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
|
||||
jQuery('div#blog-details').toggle();
|
||||
|
||||
jQuery( 'input#signup_with_blog' ).click( function() {
|
||||
jQuery('div#blog-details').fadeOut().toggle();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php get_footer( 'buddypress' ) ?>
|
||||
@ -1508,7 +1508,7 @@ ol#commentlist li.comment div.comment-box div.comment-meta {
|
||||
|
||||
ol#commentlist li.comment div.comment-box div.comment-text p {
|
||||
height: 48px;
|
||||
overflow: scroll;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
|
||||
@ -1548,73 +1548,79 @@ div#page-wrapper div#content-wrapper div#content div.padder form#members-directo
|
||||
}
|
||||
|
||||
body.registration {
|
||||
background-image: url("lib/images/registro.jpg");
|
||||
background-image: url("lib/images/register2.jpg");
|
||||
background-repeat: no-repeat;
|
||||
background-color: #ffffff;
|
||||
background-position: center 0;
|
||||
background-position: center 0;
|
||||
}
|
||||
body.registration div#page-wrapper {
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
width: 1020px;
|
||||
}
|
||||
body.registration div#page-wrapper div#header {
|
||||
width: 100%;
|
||||
}
|
||||
body.registration div#page-wrapper div#header div#logo {
|
||||
float: none;
|
||||
margin: 6px auto;
|
||||
width: 225px;
|
||||
margin: 6px auto 0;
|
||||
width: 225px;
|
||||
}
|
||||
body.registration div#page-wrapper div#header div#header-bottom {
|
||||
display: none;
|
||||
}
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form {
|
||||
background-color: transparent;
|
||||
height: 465px;
|
||||
margin-left: 244px;
|
||||
margin-top: 198px;
|
||||
padding: 20px 0 20px 10px;
|
||||
width: 437px;
|
||||
}
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form h2 {
|
||||
font-size: 19px;
|
||||
}
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form p {
|
||||
font-size: 13px;
|
||||
line-height: 16px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form h4 {
|
||||
display: none;
|
||||
}
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form div#basic-details-section {
|
||||
body.registration div#page-wrapper div#content {
|
||||
float: none;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form label,
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form span.label {
|
||||
font-size: 13px;
|
||||
margin-right: 0;
|
||||
margin-top: 10px;
|
||||
width: 125px;
|
||||
body.registration div#page-wrapper div#content form#signup_form {
|
||||
background-color: transparent;
|
||||
color: #d2e2f7;
|
||||
margin: 130px auto 0;
|
||||
padding: 20px;
|
||||
width: 465px;
|
||||
}
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form div.editfield {
|
||||
margin-top: 10px;
|
||||
vertical-align: top;
|
||||
body.registration div#page-wrapper div#content form#signup_form div#basic-details-section,
|
||||
body.registration div#page-wrapper div#content form#signup_form div#profile-details-section {
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form div.editfield label {
|
||||
margin-top: 0;
|
||||
body.registration div#page-wrapper div#content form#signup_form h2 {
|
||||
color: #d2e2f7!important;
|
||||
}
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form input {
|
||||
margin-left: 14px;
|
||||
body.registration div#page-wrapper div#content form#signup_form h4 {
|
||||
display: none;
|
||||
}
|
||||
body.registration div#page-wrapper div#content form#signup_form label,
|
||||
body.registration div#page-wrapper div#content form#signup_form span.label {
|
||||
clear: both;
|
||||
float: left;
|
||||
margin-top: 5px;
|
||||
width: 150px;
|
||||
}
|
||||
body.registration div#page-wrapper div#content form#signup_form input {
|
||||
margin-bottom: 5px;
|
||||
margin-top: 5px;
|
||||
width: 200px;
|
||||
}
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form div.radio input {
|
||||
margin-left: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form div#basic-details-section,
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form div#profile-details-section {
|
||||
body.registration div#page-wrapper div#content form#signup_form div.editfield {
|
||||
margin-bottom: 5px;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
}
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form select {
|
||||
font-size: 13px;
|
||||
padding: 3px 0;
|
||||
body.registration div#page-wrapper div#content form#signup_form div.error {
|
||||
color: #ff6600;
|
||||
margin: 5px 0 0 157px;
|
||||
}
|
||||
body.registration div#page-wrapper div#content-wrapper div#content div.padder div#register-page.page form#signup_form select#field_500 {
|
||||
|
||||
body.registration div#page-wrapper div#content form#signup_form div.radio input {
|
||||
width: 12px;
|
||||
}
|
||||
body.registration div#page-wrapper div#content form#signup_form div.radio label {
|
||||
clear: none;
|
||||
color: #d2e2f7!important;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
|
||||
body.my-account div#page-wrapper div#header div#header-profile div.columns div.columns span.user-nicename a:hover {
|
||||
color: #0059b5;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user