Changeset 4883
- Timestamp:
- 07/28/2011 02:33:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/members/single/profile/profile-loop.php
r4287 r4883 1 <?php do_action( 'bp_before_profile_loop_content' ) ?>1 <?php do_action( 'bp_before_profile_loop_content' ); ?> 2 2 3 3 <?php if ( bp_has_profile() ) : ?> … … 7 7 <?php if ( bp_profile_group_has_fields() ) : ?> 8 8 9 <?php do_action( 'bp_before_profile_field_content' ) ?>9 <?php do_action( 'bp_before_profile_field_content' ); ?> 10 10 11 <div class="bp-widget <?php bp_the_profile_group_slug() ?>"> 12 <?php if ( 1 != bp_get_the_profile_group_id() ) : ?> 13 <h4><?php bp_the_profile_group_name() ?></h4> 14 <?php endif; ?> 11 <div class="bp-widget <?php bp_the_profile_group_slug(); ?>"> 12 13 <h4><?php bp_the_profile_group_name(); ?></h4> 15 14 16 15 <table class="profile-fields"> 16 17 17 <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> 18 18 19 19 <?php if ( bp_field_has_data() ) : ?> 20 <tr<?php bp_field_css_class() ?>>21 20 22 <td class="label"> 23 <?php bp_the_profile_field_name() ?> 24 </td> 21 <tr<?php bp_field_css_class(); ?>> 25 22 26 <td class=" data">27 <?php bp_the_profile_field_value() ?> 28 < /td>23 <td class="label"><?php bp_the_profile_field_name(); ?></td> 24 25 <td class="data"><?php bp_the_profile_field_value(); ?></td> 29 26 30 27 </tr> 28 31 29 <?php endif; ?> 32 30 33 <?php do_action( 'bp_profile_field_item' ) ?>31 <?php do_action( 'bp_profile_field_item' ); ?> 34 32 35 33 <?php endwhile; ?> 34 36 35 </table> 37 36 </div> 38 37 39 <?php do_action( 'bp_after_profile_field_content' ) ?>38 <?php do_action( 'bp_after_profile_field_content' ); ?> 40 39 41 40 <?php endif; ?> … … 43 42 <?php endwhile; ?> 44 43 45 <?php do_action( 'bp_profile_field_buttons' ) ?>44 <?php do_action( 'bp_profile_field_buttons' ); ?> 46 45 47 46 <?php endif; ?> 48 47 49 <?php do_action( 'bp_after_profile_loop_content' ) ?>48 <?php do_action( 'bp_after_profile_loop_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)