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/notices-loop.php

    r4287 r5737  
    1 <?php do_action( 'bp_before_notices_loop' ) ?>
     1<?php do_action( 'bp_before_notices_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_notices_pagination' ) ?>
    18     <?php do_action( 'bp_before_notices' ) ?>
     17    <?php do_action( 'bp_after_notices_pagination' ); ?>
     18    <?php do_action( 'bp_before_notices' ); ?>
    1919
    2020    <table id="message-threads" class="messages-notices">
    2121        <?php while ( bp_message_threads() ) : bp_message_thread(); ?>
    22             <tr id="notice-<?php bp_message_notice_id() ?>" class="<?php bp_message_css_class(); ?>">
     22            <tr id="notice-<?php bp_message_notice_id(); ?>" class="<?php bp_message_css_class(); ?>">
    2323                <td width="1%">
    2424                </td>
    2525                <td width="38%">
    26                     <strong><?php bp_message_notice_subject() ?></strong>
    27                     <?php bp_message_notice_text() ?>
     26                    <strong><?php bp_message_notice_subject(); ?></strong>
     27                    <?php bp_message_notice_text(); ?>
    2828                </td>
    2929                <td width="21%">
    30                     <strong><?php bp_message_is_active_notice() ?></strong>
    31                     <span class="activity"><?php _e("Sent:", "buddypress"); ?> <?php bp_message_notice_post_date() ?></span>
     30                    <strong><?php bp_message_is_active_notice(); ?></strong>
     31                    <span class="activity"><?php _e("Sent:", "buddypress"); ?> <?php bp_message_notice_post_date(); ?></span>
    3232                </td>
    3333
    34                 <?php do_action( 'bp_notices_list_item' ) ?>
     34                <?php do_action( 'bp_notices_list_item' ); ?>
    3535
    3636                <td width="10%">
    37                     <a class="button" href="<?php bp_message_activate_deactivate_link() ?>" class="confirm"><?php bp_message_activate_deactivate_text() ?></a>
    38                     <a class="button" href="<?php bp_message_notice_delete_link() ?>" class="confirm" title="<?php _e( "Delete Message", "buddypress" ); ?>">x</a>
     37                    <a class="button" href="<?php bp_message_activate_deactivate_link(); ?>" class="confirm"><?php bp_message_activate_deactivate_text(); ?></a>
     38                    <a class="button" href="<?php bp_message_notice_delete_link(); ?>" class="confirm" title="<?php _e( "Delete Message", "buddypress" ); ?>">x</a>
    3939                </td>
    4040            </tr>
     
    4242    </table><!-- #message-threads -->
    4343
    44     <?php do_action( 'bp_after_notices' ) ?>
     44    <?php do_action( 'bp_after_notices' ); ?>
    4545
    4646<?php else: ?>
     
    5252<?php endif;?>
    5353
    54 <?php do_action( 'bp_after_notices_loop' ) ?>
     54<?php do_action( 'bp_after_notices_loop' ); ?>
Note: See TracChangeset for help on using the changeset viewer.