Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/12/2012 08:09:34 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Add ending semicolons to bp-default where omitted. Fixes #4002.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/members/single/messages/messages-loop.php

    r4287 r5737  
    1 <?php do_action( 'bp_before_member_messages_loop' ) ?>
     1<?php do_action( 'bp_before_member_messages_loop' ); ?>
    22
    33<?php if ( bp_has_message_threads() ) : ?>
     
    66
    77        <div class="pag-count" id="messages-dir-count">
    8             <?php bp_messages_pagination_count() ?>
     8            <?php bp_messages_pagination_count(); ?>
    99        </div>
    1010
    1111        <div class="pagination-links" id="messages-dir-pag">
    12             <?php bp_messages_pagination() ?>
     12            <?php bp_messages_pagination(); ?>
    1313        </div>
    1414
    1515    </div><!-- .pagination -->
    1616
    17     <?php do_action( 'bp_after_member_messages_pagination' ) ?>
    18     <?php do_action( 'bp_before_member_messages_threads' ) ?>
     17    <?php do_action( 'bp_after_member_messages_pagination' ); ?>
     18    <?php do_action( 'bp_before_member_messages_threads' ); ?>
    1919
    2020    <table id="message-threads" class="messages-notices">
    2121        <?php while ( bp_message_threads() ) : bp_message_thread(); ?>
    2222
    23             <tr id="m-<?php bp_message_thread_id() ?>" class="<?php bp_message_css_class(); ?><?php if ( bp_message_thread_has_unread() ) : ?> unread"<?php else: ?> read"<?php endif; ?>>
     23            <tr id="m-<?php bp_message_thread_id(); ?>" class="<?php bp_message_css_class(); ?><?php if ( bp_message_thread_has_unread() ) : ?> unread"<?php else: ?> read"<?php endif; ?>>
    2424                <td width="1%" class="thread-count">
    25                     <span class="unread-count"><?php bp_message_thread_unread_count() ?></span>
     25                    <span class="unread-count"><?php bp_message_thread_unread_count(); ?></span>
    2626                </td>
    27                 <td width="1%" class="thread-avatar"><?php bp_message_thread_avatar() ?></td>
     27                <td width="1%" class="thread-avatar"><?php bp_message_thread_avatar(); ?></td>
    2828
    2929                <?php if ( 'sentbox' != bp_current_action() ) : ?>
    3030                    <td width="30%" class="thread-from">
    31                         <?php _e( 'From:', 'buddypress' ); ?> <?php bp_message_thread_from() ?><br />
    32                         <span class="activity"><?php bp_message_thread_last_post_date() ?></span>
     31                        <?php _e( 'From:', 'buddypress' ); ?> <?php bp_message_thread_from(); ?><br />
     32                        <span class="activity"><?php bp_message_thread_last_post_date(); ?></span>
    3333                    </td>
    3434                <?php else: ?>
    3535                    <td width="30%" class="thread-from">
    36                         <?php _e( 'To:', 'buddypress' ); ?> <?php bp_message_thread_to() ?><br />
    37                         <span class="activity"><?php bp_message_thread_last_post_date() ?></span>
     36                        <?php _e( 'To:', 'buddypress' ); ?> <?php bp_message_thread_to(); ?><br />
     37                        <span class="activity"><?php bp_message_thread_last_post_date(); ?></span>
    3838                    </td>
    3939                <?php endif; ?>
    4040
    4141                <td width="50%" class="thread-info">
    42                     <p><a href="<?php bp_message_thread_view_link() ?>" title="<?php _e( "View Message", "buddypress" ); ?>"><?php bp_message_thread_subject() ?></a></p>
    43                     <p class="thread-excerpt"><?php bp_message_thread_excerpt() ?></p>
     42                    <p><a href="<?php bp_message_thread_view_link(); ?>" title="<?php _e( "View Message", "buddypress" ); ?>"><?php bp_message_thread_subject(); ?></a></p>
     43                    <p class="thread-excerpt"><?php bp_message_thread_excerpt(); ?></p>
    4444                </td>
    4545
    46                 <?php do_action( 'bp_messages_inbox_list_item' ) ?>
     46                <?php do_action( 'bp_messages_inbox_list_item' ); ?>
    4747
    4848                <td width="13%" class="thread-options">
    49                     <input type="checkbox" name="message_ids[]" value="<?php bp_message_thread_id() ?>" />
    50                     <a class="button confirm" href="<?php bp_message_thread_delete_link() ?>" title="<?php _e( "Delete Message", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' ) ?></a> &nbsp;
     49                    <input type="checkbox" name="message_ids[]" value="<?php bp_message_thread_id(); ?>" />
     50                    <a class="button confirm" href="<?php bp_message_thread_delete_link(); ?>" title="<?php _e( "Delete Message", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a> &nbsp;
    5151                </td>
    5252            </tr>
     
    5656
    5757    <div class="messages-options-nav">
    58         <?php bp_messages_options() ?>
     58        <?php bp_messages_options(); ?>
    5959    </div><!-- .messages-options-nav -->
    6060
    61     <?php do_action( 'bp_after_member_messages_threads' ) ?>
     61    <?php do_action( 'bp_after_member_messages_threads' ); ?>
    6262
    63     <?php do_action( 'bp_after_member_messages_options' ) ?>
     63    <?php do_action( 'bp_after_member_messages_options' ); ?>
    6464
    6565<?php else: ?>
     
    7171<?php endif;?>
    7272
    73 <?php do_action( 'bp_after_member_messages_loop' ) ?>
     73<?php do_action( 'bp_after_member_messages_loop' ); ?>
Note: See TracChangeset for help on using the changeset viewer.