Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/31/2010 08:08:28 PM (17 years ago)
Author:
apeatling
Message:

Messaging sentbox fix and various other minor fixes.

File:
1 edited

Legend:

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

    r2405 r2502  
    2626                                </td>
    2727                                <td width="1%" class="thread-avatar"><?php bp_message_thread_avatar() ?></td>
    28                                 <td width="30%" class="thread-from">
    29                                         <?php _e( 'From:', 'buddypress' ); ?> <?php bp_message_thread_from() ?><br />
    30                                         <span class="activity"><?php bp_message_thread_last_post_date() ?></span>
    31                                 </td>
     28
     29                                <?php if ( 'sentbox' != bp_current_action() ) : ?>
     30                                        <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>
     33                                        </td>
     34                                <?php else: ?>
     35                                        <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>
     38                                        </td>
     39                                <?php endif; ?>
     40
    3241                                <td width="50%" class="thread-info">
    3342                                        <p><a href="<?php bp_message_thread_view_link() ?>" title="<?php _e( "View Message", "buddypress" ); ?>"><?php bp_message_thread_subject() ?></a></p>
Note: See TracChangeset for help on using the changeset viewer.