Skip to:
Content

BuddyPress.org


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/register.php

    r11173 r10962  
    2525
    2626        <?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?>
    27 
    28             <div id="template-notices" role="alert" aria-atomic="true">
    29                 <?php
    30 
    31                 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    32                 do_action( 'template_notices' ); ?>
    33 
    34             </div>
    35 
     27            <?php
     28
     29            /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     30            do_action( 'template_notices' ); ?>
    3631            <?php
    3732
     
    5752        <?php if ( 'request-details' == bp_get_current_signup_step() ) : ?>
    5853
    59             <div id="template-notices" role="alert" aria-atomic="true">
    60                 <?php
    61 
    62                 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    63                 do_action( 'template_notices' ); ?>
    64 
    65             </div>
     54            <?php
     55
     56            /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     57            do_action( 'template_notices' ); ?>
    6658
    6759            <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>
     
    303295                        <input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value(); ?>" />
    304296
    305                         <fieldset class="register-site">
    306                             <legend class="label"><?php _e( 'Privacy: I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?></legend>
    307                             <?php
    308 
    309                             /**
    310                              * Fires and displays any member registration blog privacy errors.
    311                              *
    312                              * @since 1.1.0
    313                              */
    314                             do_action( 'bp_signup_blog_privacy_errors' ); ?>
    315 
    316                             <label for="signup_blog_privacy_public"><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>
    317                             <label for="signup_blog_privacy_private"><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>
    318                         </fieldset>
     297                        <span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?></span>
     298                        <?php
     299
     300                        /**
     301                         * Fires and displays any member registration blog privacy errors.
     302                         *
     303                         * @since 1.1.0
     304                         */
     305                        do_action( 'bp_signup_blog_privacy_errors' ); ?>
     306
     307                        <label for="signup_blog_privacy_public"><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>
     308                        <label for="signup_blog_privacy_private"><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>
    319309
    320310                        <?php
     
    370360        <?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?>
    371361
    372             <div id="template-notices" role="alert" aria-atomic="true">
    373                 <?php
    374 
    375                 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    376                 do_action( 'template_notices' ); ?>
    377 
    378             </div>
    379 
     362            <?php
     363
     364            /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     365            do_action( 'template_notices' ); ?>
    380366            <?php
    381367
     
    387373            do_action( 'bp_before_registration_confirmed' ); ?>
    388374
    389             <div id="template-notices" role="alert" aria-atomic="true">
    390                 <?php if ( bp_registration_needs_activation() ) : ?>
    391                     <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>
    392                 <?php else : ?>
    393                     <p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p>
    394                 <?php endif; ?>
    395             </div>
     375            <?php if ( bp_registration_needs_activation() ) : ?>
     376                <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>
     377            <?php else : ?>
     378                <p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p>
     379            <?php endif; ?>
    396380
    397381            <?php
Note: See TracChangeset for help on using the changeset viewer.