- Timestamp:
- 02/12/2012 08:09:34 PM (13 years ago)
- 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' ); ?> 2 2 3 3 <?php if ( bp_has_message_threads() ) : ?> … … 6 6 7 7 <div class="pag-count" id="messages-dir-count"> 8 <?php bp_messages_pagination_count() ?>8 <?php bp_messages_pagination_count(); ?> 9 9 </div> 10 10 11 11 <div class="pagination-links" id="messages-dir-pag"> 12 <?php bp_messages_pagination() ?>12 <?php bp_messages_pagination(); ?> 13 13 </div> 14 14 15 15 </div><!-- .pagination --> 16 16 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' ); ?> 19 19 20 20 <table id="message-threads" class="messages-notices"> 21 21 <?php while ( bp_message_threads() ) : bp_message_thread(); ?> 22 22 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; ?>> 24 24 <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> 26 26 </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> 28 28 29 29 <?php if ( 'sentbox' != bp_current_action() ) : ?> 30 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>31 <?php _e( 'From:', 'buddypress' ); ?> <?php bp_message_thread_from(); ?><br /> 32 <span class="activity"><?php bp_message_thread_last_post_date(); ?></span> 33 33 </td> 34 34 <?php else: ?> 35 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>36 <?php _e( 'To:', 'buddypress' ); ?> <?php bp_message_thread_to(); ?><br /> 37 <span class="activity"><?php bp_message_thread_last_post_date(); ?></span> 38 38 </td> 39 39 <?php endif; ?> 40 40 41 41 <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> 44 44 </td> 45 45 46 <?php do_action( 'bp_messages_inbox_list_item' ) ?>46 <?php do_action( 'bp_messages_inbox_list_item' ); ?> 47 47 48 48 <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> 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> 51 51 </td> 52 52 </tr> … … 56 56 57 57 <div class="messages-options-nav"> 58 <?php bp_messages_options() ?>58 <?php bp_messages_options(); ?> 59 59 </div><!-- .messages-options-nav --> 60 60 61 <?php do_action( 'bp_after_member_messages_threads' ) ?>61 <?php do_action( 'bp_after_member_messages_threads' ); ?> 62 62 63 <?php do_action( 'bp_after_member_messages_options' ) ?>63 <?php do_action( 'bp_after_member_messages_options' ); ?> 64 64 65 65 <?php else: ?> … … 71 71 <?php endif;?> 72 72 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.