Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/13/2012 03:44:13 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Tweak bp_message_is_active_notice() usage. Introduce bp_messages_is_active_notice() to maintain backpat. Fixes #3970. Props hnla, paulgibbs.

File:
1 edited

Legend:

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

    r5737 r5773  
    2121        <?php while ( bp_message_threads() ) : bp_message_thread(); ?>
    2222            <tr id="notice-<?php bp_message_notice_id(); ?>" class="<?php bp_message_css_class(); ?>">
    23                 <td width="1%">
    24                 </td>
     23                <td width="1%"></td>
    2524                <td width="38%">
    2625                    <strong><?php bp_message_notice_subject(); ?></strong>
     
    2827                </td>
    2928                <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>
     29
     30                    <?php if ( bp_messages_is_active_notice() ) : ?>
     31
     32                        <strong><?php bp_messages_is_active_notice(); ?></strong>
     33
     34                    <?php endif; ?>
     35
     36                    <span class="activity"><?php _e( 'Sent:', 'buddypress' ); ?> <?php bp_message_notice_post_date(); ?></span>
    3237                </td>
    3338
Note: See TracChangeset for help on using the changeset viewer.