Skip to:
Content

BuddyPress.org

Changeset 55


Ignore:
Timestamp:
05/02/2008 10:05:24 PM (18 years ago)
Author:
apeatling
Message:

has_fields() is now group_has_fields()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/buddypress-theme/default/index.php

    r38 r55  
    1111                        <?php while ( profile_groups() ) : the_profile_group(); ?>
    1212
    13                                 <?php if ( has_fields() ) : ?>
     13                                <?php if ( group_has_fields() ) : ?>
    1414                                        <div class="profile-group">
    1515                                                <h3><?php the_profile_group_name() ?></h3>
    16                                        
     16                                               
    1717                                                <table class="profile-fields">
    1818                                                <?php while ( profile_fields() ) : the_profile_field(); ?>
     19                                                       
     20                                                        <?php if ( field_has_data() ) : ?>
    1921                                                        <tr>
    2022                                                                <td class="label">
     
    2527                                                                </td>
    2628                                                        </tr>
     29                                                        <?php endif; ?>
     30                                                       
    2731                                                <?php endwhile; ?>
    2832                                                </table>
Note: See TracChangeset for help on using the changeset viewer.