[ Index ] |
PHP Cross Reference of BuddyPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * BuddyPress - Members/Blogs Registration forms 4 * 5 * @since 3.0.0 6 * @version 8.0.0 7 */ 8 9 ?> 10 11 <?php bp_nouveau_signup_hook( 'before', 'page' ); ?> 12 13 <div id="register-page"class="page register-page"> 14 15 <?php bp_nouveau_template_notices(); ?> 16 17 <?php bp_nouveau_user_feedback( bp_get_current_signup_step() ); ?> 18 19 <form action="" name="signup_form" id="signup-form" class="standard-form signup-form clearfix" method="post" enctype="multipart/form-data"> 20 21 <div class="layout-wrap"> 22 23 <?php if ( 'request-details' === bp_get_current_signup_step() ) : ?> 24 25 <?php bp_nouveau_signup_hook( 'before', 'account_details' ); ?> 26 27 <div class="register-section default-profile" id="basic-details-section"> 28 29 <?php /***** Basic Account Details ******/ ?> 30 31 <h2 class="bp-heading"><?php esc_html_e( 'Account Details', 'buddypress' ); ?></h2> 32 33 <?php bp_nouveau_signup_form(); ?> 34 35 </div><!-- #basic-details-section --> 36 37 <?php bp_nouveau_signup_hook( 'after', 'account_details' ); ?> 38 39 <?php /***** Extra Profile Details ******/ ?> 40 41 <?php if ( bp_is_active( 'xprofile' ) && bp_nouveau_has_signup_xprofile_fields( true ) ) : ?> 42 43 <?php bp_nouveau_signup_hook( 'before', 'signup_profile' ); ?> 44 45 <div class="register-section extended-profile" id="profile-details-section"> 46 47 <h2 class="bp-heading"><?php esc_html_e( 'Profile Details', 'buddypress' ); ?></h2> 48 49 <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?> 50 <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?> 51 52 <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> 53 54 <div<?php bp_field_css_class( 'editfield' ); ?>> 55 <fieldset> 56 57 <?php 58 $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() ); 59 $field_type->edit_field_html(); 60 61 bp_nouveau_xprofile_edit_visibilty(); 62 ?> 63 64 </fieldset> 65 </div> 66 67 <?php endwhile; ?> 68 69 <input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php bp_the_profile_field_ids(); ?>" /> 70 71 <?php endwhile; ?> 72 73 <?php bp_nouveau_signup_hook( '', 'signup_profile' ); ?> 74 75 </div><!-- #profile-details-section --> 76 77 <?php bp_nouveau_signup_hook( 'after', 'signup_profile' ); ?> 78 79 <?php endif; ?> 80 81 <?php if ( bp_get_blog_signup_allowed() ) : ?> 82 83 <?php bp_nouveau_signup_hook( 'before', 'blog_details' ); ?> 84 85 <?php /***** Blog Creation Details ******/ ?> 86 87 <div class="register-section blog-details" id="blog-details-section"> 88 89 <h2><?php esc_html_e( 'Site Details', 'buddypress' ); ?></h2> 90 91 <p><label for="signup_with_blog"><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1" <?php checked( (int) bp_get_signup_with_blog_value(), 1 ); ?>/> <?php esc_html_e( "Yes, i'd like to create a new site", 'buddypress' ); ?></label></p> 92 93 <div id="blog-details"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?>class="show"<?php endif; ?>> 94 95 <?php bp_nouveau_signup_form( 'blog_details' ); ?> 96 97 </div> 98 99 </div><!-- #blog-details-section --> 100 101 <?php bp_nouveau_signup_hook( 'after', 'blog_details' ); ?> 102 103 <?php endif; ?> 104 105 <?php endif; // request-details signup step ?> 106 107 </div><!-- //.layout-wrap --> 108 109 <?php bp_nouveau_signup_hook( 'custom', 'steps' ); ?> 110 111 <?php if ( 'request-details' === bp_get_current_signup_step() ) : ?> 112 113 <?php if ( bp_signup_requires_privacy_policy_acceptance() ) : ?> 114 <?php bp_nouveau_signup_privacy_policy_acceptance_section(); ?> 115 <?php endif; ?> 116 117 <?php bp_nouveau_submit_button( 'register' ); ?> 118 119 <?php endif; ?> 120 121 </form> 122 123 </div> 124 125 <?php bp_nouveau_signup_hook( 'after', 'page' ); ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon May 6 01:01:06 2024 | Cross-referenced by PHPXref 0.7.1 |