Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/18/2018 12:43:27 PM (8 years ago)
Author:
djpaul
Message:

Templates, Nouveau: make inline control structures consistent, and indentation fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/buddypress/members/single/profile/profile-wp.php

    r11686 r11861  
    2828                <table class="wp-profile-fields">
    2929
    30                         <?php while ( bp_nouveau_wp_profile_fields() ) : bp_nouveau_wp_profile_field(); ?>
     30                        <?php
     31                        while ( bp_nouveau_wp_profile_fields() ) :
     32                                bp_nouveau_wp_profile_field();
     33                        ?>
    3134
    32                                 <tr id="<?php bp_nouveau_wp_profile_field_id();?>">
    33                                         <td class="label"><?php bp_nouveau_wp_profile_field_label();?></td>
    34                                         <td class="data"><?php bp_nouveau_wp_profile_field_data();?></td>
     35                                <tr id="<?php bp_nouveau_wp_profile_field_id(); ?>">
     36                                        <td class="label"><?php bp_nouveau_wp_profile_field_label(); ?></td>
     37                                        <td class="data"><?php bp_nouveau_wp_profile_field_data(); ?></td>
    3538                                </tr>
    3639
    37                         <?php endwhile ;?>
     40                        <?php endwhile; ?>
    3841
    3942                </table>
    4043
    41         <?php else :
     44        <?php else : ?>
    4245
    43                 bp_nouveau_user_feedback( 'member-wp-profile-none' );
     46                <?php bp_nouveau_user_feedback( 'member-wp-profile-none' ); ?>
    4447
    45         endif; ?>
     48        <?php endif; ?>
    4649
    4750</div>
    4851
    49 <?php bp_nouveau_wp_profile_hooks( 'after' ); ?>
     52<?php
     53bp_nouveau_wp_profile_hooks( 'after' );
     54
Note: See TracChangeset for help on using the changeset viewer.