- Timestamp:
- 04/28/2015 01:52:18 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/members/register.php
r9604 r9814 1 1 <div id="buddypress"> 2 2 3 <?php do_action( 'bp_before_register_page' ); ?> 3 <?php 4 5 /** 6 * Fires at the top of the BuddyPress member registration page template. 7 * 8 * @since BuddyPress (1.1.0) 9 */ 10 do_action( 'bp_before_register_page' ); ?> 4 11 5 12 <div class="page" id="register-page"> … … 8 15 9 16 <?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?> 10 <?php do_action( 'template_notices' ); ?> 11 <?php do_action( 'bp_before_registration_disabled' ); ?> 17 <?php 18 19 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 20 do_action( 'template_notices' ); ?> 21 <?php 22 23 /** 24 * Fires before the display of the registration disabled message. 25 * 26 * @since BuddyPress (1.5.0) 27 */ 28 do_action( 'bp_before_registration_disabled' ); ?> 12 29 13 30 <p><?php _e( 'User registration is currently not allowed.', 'buddypress' ); ?></p> 14 31 15 <?php do_action( 'bp_after_registration_disabled' ); ?> 32 <?php 33 34 /** 35 * Fires after the display of the registration disabled message. 36 * 37 * @since BuddyPress (1.5.0) 38 */ 39 do_action( 'bp_after_registration_disabled' ); ?> 16 40 <?php endif; // registration-disabled signup step ?> 17 41 18 42 <?php if ( 'request-details' == bp_get_current_signup_step() ) : ?> 19 43 20 <?php do_action( 'template_notices' ); ?> 44 <?php 45 46 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 47 do_action( 'template_notices' ); ?> 21 48 22 49 <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> 23 50 24 <?php do_action( 'bp_before_account_details_fields' ); ?> 51 <?php 52 53 /** 54 * Fires before the display of member registration account details fields. 55 * 56 * @since BuddyPress (1.1.0) 57 */ 58 do_action( 'bp_before_account_details_fields' ); ?> 25 59 26 60 <div class="register-section" id="basic-details-section"> … … 31 65 32 66 <label for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> 33 <?php do_action( 'bp_signup_username_errors' ); ?> 67 <?php 68 69 /** 70 * Fires and displays any member registration username errors. 71 * 72 * @since BuddyPress (1.1.0) 73 */ 74 do_action( 'bp_signup_username_errors' ); ?> 34 75 <input type="text" name="signup_username" id="signup_username" value="<?php bp_signup_username_value(); ?>" <?php bp_form_field_attributes( 'username' ); ?>/> 35 76 36 77 <label for="signup_email"><?php _e( 'Email Address', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> 37 <?php do_action( 'bp_signup_email_errors' ); ?> 78 <?php 79 80 /** 81 * Fires and displays any member registration email errors. 82 * 83 * @since BuddyPress (1.1.0) 84 */ 85 do_action( 'bp_signup_email_errors' ); ?> 38 86 <input type="email" name="signup_email" id="signup_email" value="<?php bp_signup_email_value(); ?>" <?php bp_form_field_attributes( 'email' ); ?>/> 39 87 40 88 <label for="signup_password"><?php _e( 'Choose a Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> 41 <?php do_action( 'bp_signup_password_errors' ); ?> 89 <?php 90 91 /** 92 * Fires and displays any member registration password errors. 93 * 94 * @since BuddyPress (1.1.0) 95 */ 96 do_action( 'bp_signup_password_errors' ); ?> 42 97 <input type="password" name="signup_password" id="signup_password" value="" class="password-entry" <?php bp_form_field_attributes( 'password' ); ?>/> 43 98 <div id="pass-strength-result"></div> 44 99 45 100 <label for="signup_password_confirm"><?php _e( 'Confirm Password', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> 46 <?php do_action( 'bp_signup_password_confirm_errors' ); ?> 101 <?php 102 103 /** 104 * Fires and displays any member registration password confirmation errors. 105 * 106 * @since BuddyPress (1.1.0) 107 */ 108 do_action( 'bp_signup_password_confirm_errors' ); ?> 47 109 <input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" class="password-entry-confirm" <?php bp_form_field_attributes( 'password' ); ?>/> 48 110 49 <?php do_action( 'bp_account_details_fields' ); ?> 111 <?php 112 113 /** 114 * Fires and displays any extra member registration details fields. 115 * 116 * @since BuddyPress (1.9.0) 117 */ 118 do_action( 'bp_account_details_fields' ); ?> 50 119 51 120 </div><!-- #basic-details-section --> 52 121 53 <?php do_action( 'bp_after_account_details_fields' ); ?> 122 <?php 123 124 /** 125 * Fires after the display of member registration account details fields. 126 * 127 * @since BuddyPress (1.1.0) 128 */ 129 do_action( 'bp_after_account_details_fields' ); ?> 54 130 55 131 <?php /***** Extra Profile Details ******/ ?> … … 57 133 <?php if ( bp_is_active( 'xprofile' ) ) : ?> 58 134 59 <?php do_action( 'bp_before_signup_profile_fields' ); ?> 135 <?php 136 137 /** 138 * Fires before the display of member registration xprofile fields. 139 * 140 * @since BuddyPress (1.2.4) 141 */ 142 do_action( 'bp_before_signup_profile_fields' ); ?> 60 143 61 144 <div class="register-section" id="profile-details-section"> … … 74 157 $field_type->edit_field_html(); 75 158 159 /** 160 * Fires before the display of the visibility options for xprofile fields. 161 * 162 * @since BuddyPress (1.7.0) 163 */ 76 164 do_action( 'bp_custom_profile_edit_fields_pre_visibility' ); 77 165 … … 97 185 <?php endif ?> 98 186 99 <?php do_action( 'bp_custom_profile_edit_fields' ); ?> 187 <?php 188 189 /** 190 * Fires after the display of the visibility options for xprofile fields. 191 * 192 * @since BuddyPress (1.1.0) 193 */ 194 do_action( 'bp_custom_profile_edit_fields' ); ?> 100 195 101 196 <p class="description"><?php bp_the_profile_field_description(); ?></p> … … 109 204 <?php endwhile; endif; endif; ?> 110 205 111 <?php do_action( 'bp_signup_profile_fields' ); ?> 206 <?php 207 208 /** 209 * Fires and displays any extra member registration xprofile fields. 210 * 211 * @since BuddyPress (1.9.0) 212 */ 213 do_action( 'bp_signup_profile_fields' ); ?> 112 214 113 215 </div><!-- #profile-details-section --> 114 216 115 <?php do_action( 'bp_after_signup_profile_fields' ); ?> 217 <?php 218 219 /** 220 * Fires after the display of member registration xprofile fields. 221 * 222 * @since BuddyPress (1.1.0) 223 */ 224 do_action( 'bp_after_signup_profile_fields' ); ?> 116 225 117 226 <?php endif; ?> … … 119 228 <?php if ( bp_get_blog_signup_allowed() ) : ?> 120 229 121 <?php do_action( 'bp_before_blog_details_fields' ); ?> 230 <?php 231 232 /** 233 * Fires before the display of member registration blog details fields. 234 * 235 * @since BuddyPress (1.1.0) 236 */ 237 do_action( 'bp_before_blog_details_fields' ); ?> 122 238 123 239 <?php /***** Blog Creation Details ******/ ?> … … 132 248 133 249 <label for="signup_blog_url"><?php _e( 'Blog URL', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> 134 <?php do_action( 'bp_signup_blog_url_errors' ); ?> 250 <?php 251 252 /** 253 * Fires and displays any member registration blog URL errors. 254 * 255 * @since BuddyPress (1.1.0) 256 */ 257 do_action( 'bp_signup_blog_url_errors' ); ?> 135 258 136 259 <?php if ( is_subdomain_install() ) : ?> … … 141 264 142 265 <label for="signup_blog_title"><?php _e( 'Site Title', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> 143 <?php do_action( 'bp_signup_blog_title_errors' ); ?> 266 <?php 267 268 /** 269 * Fires and displays any member registration blog title errors. 270 * 271 * @since BuddyPress (1.1.0) 272 */ 273 do_action( 'bp_signup_blog_title_errors' ); ?> 144 274 <input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value(); ?>" /> 145 275 146 276 <span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?></span> 147 <?php do_action( 'bp_signup_blog_privacy_errors' ); ?> 277 <?php 278 279 /** 280 * Fires and displays any member registration blog privacy errors. 281 * 282 * @since BuddyPress (1.1.0) 283 */ 284 do_action( 'bp_signup_blog_privacy_errors' ); ?> 148 285 149 286 <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> 150 287 <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> 151 288 152 <?php do_action( 'bp_blog_details_fields' ); ?> 289 <?php 290 291 /** 292 * Fires and displays any extra member registration blog details fields. 293 * 294 * @since BuddyPress (1.9.0) 295 */ 296 do_action( 'bp_blog_details_fields' ); ?> 153 297 154 298 </div> … … 156 300 </div><!-- #blog-details-section --> 157 301 158 <?php do_action( 'bp_after_blog_details_fields' ); ?> 302 <?php 303 304 /** 305 * Fires after the display of member registration blog details fields. 306 * 307 * @since BuddyPress (1.1.0) 308 */ 309 do_action( 'bp_after_blog_details_fields' ); ?> 159 310 160 311 <?php endif; ?> 161 312 162 <?php do_action( 'bp_before_registration_submit_buttons' ); ?> 313 <?php 314 315 /** 316 * Fires before the display of the registration submit buttons. 317 * 318 * @since BuddyPress (1.1.0) 319 */ 320 do_action( 'bp_before_registration_submit_buttons' ); ?> 163 321 164 322 <div class="submit"> … … 166 324 </div> 167 325 168 <?php do_action( 'bp_after_registration_submit_buttons' ); ?> 326 <?php 327 328 /** 329 * Fires after the display of the registration submit buttons. 330 * 331 * @since BuddyPress (1.1.0) 332 */ 333 do_action( 'bp_after_registration_submit_buttons' ); ?> 169 334 170 335 <?php wp_nonce_field( 'bp_new_signup' ); ?> … … 174 339 <?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?> 175 340 176 <?php do_action( 'template_notices' ); ?> 177 <?php do_action( 'bp_before_registration_confirmed' ); ?> 341 <?php 342 343 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 344 do_action( 'template_notices' ); ?> 345 <?php 346 347 /** 348 * Fires before the display of the registration confirmed messages. 349 * 350 * @since BuddyPress (1.5.0) 351 */ 352 do_action( 'bp_before_registration_confirmed' ); ?> 178 353 179 354 <?php if ( bp_registration_needs_activation() ) : ?> … … 183 358 <?php endif; ?> 184 359 185 <?php do_action( 'bp_after_registration_confirmed' ); ?> 360 <?php 361 362 /** 363 * Fires after the display of the registration confirmed messages. 364 * 365 * @since BuddyPress (1.5.0) 366 */ 367 do_action( 'bp_after_registration_confirmed' ); ?> 186 368 187 369 <?php endif; // completed-confirmation signup step ?> 188 370 189 <?php do_action( 'bp_custom_signup_steps' ); ?> 371 <?php 372 373 /** 374 * Fires and displays any custom signup steps. 375 * 376 * @since BuddyPress (1.1.0) 377 */ 378 do_action( 'bp_custom_signup_steps' ); ?> 190 379 191 380 </form> … … 193 382 </div> 194 383 195 <?php do_action( 'bp_after_register_page' ); ?> 384 <?php 385 386 /** 387 * Fires at the bottom of the BuddyPress member registration page template. 388 * 389 * @since BuddyPress (1.1.0) 390 */ 391 do_action( 'bp_after_register_page' ); ?> 196 392 197 393 </div><!-- #buddypress -->
Note: See TracChangeset
for help on using the changeset viewer.