- Timestamp:
- 02/18/2018 12:43:27 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile/edit.php
r11855 r11861 9 9 10 10 if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() ) ) : 11 while ( bp_profile_groups() ) : bp_the_profile_group(); ?> 11 while ( bp_profile_groups() ) : 12 bp_the_profile_group(); 13 ?> 12 14 13 <form action="<?php bp_the_profile_group_edit_form_action(); ?>" method="post" id="profile-edit-form" class="standard-form profile-edit <?php bp_the_profile_group_slug(); ?>">15 <form action="<?php bp_the_profile_group_edit_form_action(); ?>" method="post" id="profile-edit-form" class="standard-form profile-edit <?php bp_the_profile_group_slug(); ?>"> 14 16 15 <?php bp_nouveau_xprofile_hook( 'before', 'field_content' ); ?>17 <?php bp_nouveau_xprofile_hook( 'before', 'field_content' ); ?> 16 18 17 <?php if ( bp_profile_has_multiple_groups() ) : ?>18 <ul class="button-tabs button-nav">19 <?php if ( bp_profile_has_multiple_groups() ) : ?> 20 <ul class="button-tabs button-nav"> 19 21 20 <?php bp_profile_group_tabs(); ?>22 <?php bp_profile_group_tabs(); ?> 21 23 22 </ul>23 <?php endif; ?>24 </ul> 25 <?php endif; ?> 24 26 25 <h2 class="screen-heading profile-group-title edit"><?php printf( __( 'Editing \'%s\' Profile Group', 'buddypress' ), bp_get_the_profile_group_name() ); ?></h2> 26 27 <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> 28 29 <div<?php bp_field_css_class( 'editfield' ); ?>> 30 <fieldset> 27 <h2 class="screen-heading profile-group-title edit"><?php printf( __( 'Editing \'%s\' Profile Group', 'buddypress' ), bp_get_the_profile_group_name() ); ?></h2> 31 28 32 29 <?php 33 $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );34 $field_type->edit_field_html();30 while ( bp_profile_fields() ) : 31 bp_the_profile_field(); 35 32 ?> 36 33 37 <?php bp_nouveau_xprofile_edit_visibilty(); ?> 34 <div<?php bp_field_css_class( 'editfield' ); ?>> 35 <fieldset> 38 36 39 </fieldset> 40 </div> 37 <?php 38 $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() ); 39 $field_type->edit_field_html(); 40 ?> 41 41 42 <?php endwhile; ?>42 <?php bp_nouveau_xprofile_edit_visibilty(); ?> 43 43 44 <?php bp_nouveau_xprofile_hook( 'after', 'field_content' ); ?> 44 </fieldset> 45 </div> 45 46 46 <input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_field_ids(); ?>" />47 <?php endwhile; ?> 47 48 48 <?php bp_nouveau_submit_button( 'member-profile-edit' ); ?>49 <?php bp_nouveau_xprofile_hook( 'after', 'field_content' ); ?> 49 50 50 </form>51 <input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_field_ids(); ?>" /> 51 52 52 <?php 53 endwhile; 53 <?php bp_nouveau_submit_button( 'member-profile-edit' ); ?> 54 54 55 endif; 55 </form> 56 56 57 <?php endwhile; ?> 58 59 <?php endif; ?> 60 61 <?php 57 62 bp_nouveau_xprofile_hook( 'after', 'edit_content' );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)