- 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/single.php
r4800 r5737 1 1 <div id="message-thread" role="main"> 2 2 3 <?php do_action( 'bp_before_message_thread_content' ) ?>3 <?php do_action( 'bp_before_message_thread_content' ); ?> 4 4 5 5 <?php if ( bp_thread_has_messages() ) : ?> 6 6 7 <h3 id="message-subject"><?php bp_the_thread_subject() ?></h3>7 <h3 id="message-subject"><?php bp_the_thread_subject(); ?></h3> 8 8 9 9 <p id="message-recipients"> … … 16 16 <?php else : ?> 17 17 18 <?php printf( __( 'Conversation between %s and you.', 'buddypress' ), bp_get_the_thread_recipients() ) ?>18 <?php printf( __( 'Conversation between %s and you.', 'buddypress' ), bp_get_the_thread_recipients() ); ?> 19 19 20 20 <?php endif; ?> … … 22 22 </span> 23 23 24 <a class="button confirm" href="<?php bp_the_thread_delete_link() ?>" title="<?php _e( "Delete Message", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' )?></a> 24 <a class="button confirm" href="<?php bp_the_thread_delete_link(); ?>" title="<?php _e( "Delete Message", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a> 25 25 </p> 26 26 27 <?php do_action( 'bp_before_message_thread_list' ) ?>27 <?php do_action( 'bp_before_message_thread_list' ); ?> 28 28 29 29 <?php while ( bp_thread_messages() ) : bp_thread_the_message(); ?> … … 33 33 <div class="message-metadata"> 34 34 35 <?php do_action( 'bp_before_message_meta' ) ?>35 <?php do_action( 'bp_before_message_meta' ); ?> 36 36 37 <?php bp_the_thread_message_sender_avatar( 'type=thumb&width=30&height=30' ) ?>38 <strong><a href="<?php bp_the_thread_message_sender_link() ?>" title="<?php bp_the_thread_message_sender_name() ?>"><?php bp_the_thread_message_sender_name() ?></a> <span class="activity"><?php bp_the_thread_message_time_since()?></span></strong>37 <?php bp_the_thread_message_sender_avatar( 'type=thumb&width=30&height=30' ); ?> 38 <strong><a href="<?php bp_the_thread_message_sender_link(); ?>" title="<?php bp_the_thread_message_sender_name(); ?>"><?php bp_the_thread_message_sender_name(); ?></a> <span class="activity"><?php bp_the_thread_message_time_since(); ?></span></strong> 39 39 40 <?php do_action( 'bp_after_message_meta' ) ?>40 <?php do_action( 'bp_after_message_meta' ); ?> 41 41 42 42 </div><!-- .message-metadata --> 43 43 44 <?php do_action( 'bp_before_message_content' ) ?>44 <?php do_action( 'bp_before_message_content' ); ?> 45 45 46 46 <div class="message-content"> 47 47 48 <?php bp_the_thread_message_content() ?>48 <?php bp_the_thread_message_content(); ?> 49 49 50 50 </div><!-- .message-content --> 51 51 52 <?php do_action( 'bp_after_message_content' ) ?>52 <?php do_action( 'bp_after_message_content' ); ?> 53 53 54 54 <div class="clear"></div> … … 58 58 <?php endwhile; ?> 59 59 60 <?php do_action( 'bp_after_message_thread_list' ) ?>60 <?php do_action( 'bp_after_message_thread_list' ); ?> 61 61 62 <?php do_action( 'bp_before_message_thread_reply' ) ?>62 <?php do_action( 'bp_before_message_thread_reply' ); ?> 63 63 64 <form id="send-reply" action="<?php bp_messages_form_action() ?>" method="post" class="standard-form">64 <form id="send-reply" action="<?php bp_messages_form_action(); ?>" method="post" class="standard-form"> 65 65 66 66 <div class="message-box"> … … 68 68 <div class="message-metadata"> 69 69 70 <?php do_action( 'bp_before_message_meta' ) ?>70 <?php do_action( 'bp_before_message_meta' ); ?> 71 71 72 72 <div class="avatar-box"> 73 <?php bp_loggedin_user_avatar( 'type=thumb&height=30&width=30' ) ?>73 <?php bp_loggedin_user_avatar( 'type=thumb&height=30&width=30' ); ?> 74 74 75 <strong><?php _e( 'Send a Reply', 'buddypress' ) ?></strong>75 <strong><?php _e( 'Send a Reply', 'buddypress' ); ?></strong> 76 76 </div> 77 77 78 <?php do_action( 'bp_after_message_meta' ) ?>78 <?php do_action( 'bp_after_message_meta' ); ?> 79 79 80 80 </div><!-- .message-metadata --> … … 82 82 <div class="message-content"> 83 83 84 <?php do_action( 'bp_before_message_reply_box' ) ?>84 <?php do_action( 'bp_before_message_reply_box' ); ?> 85 85 86 86 <textarea name="content" id="message_content" rows="15" cols="40"></textarea> 87 87 88 <?php do_action( 'bp_after_message_reply_box' ) ?>88 <?php do_action( 'bp_after_message_reply_box' ); ?> 89 89 90 90 <div class="submit"> 91 <input type="submit" name="send" value="<?php _e( 'Send Reply', 'buddypress' ) ?>" id="send_reply_button"/>91 <input type="submit" name="send" value="<?php _e( 'Send Reply', 'buddypress' ); ?>" id="send_reply_button"/> 92 92 </div> 93 93 94 94 <input type="hidden" id="thread_id" name="thread_id" value="<?php bp_the_thread_id(); ?>" /> 95 95 <input type="hidden" id="messages_order" name="messages_order" value="<?php bp_thread_messages_order(); ?>" /> 96 <?php wp_nonce_field( 'messages_send_message', 'send_message_nonce' ) ?>96 <?php wp_nonce_field( 'messages_send_message', 'send_message_nonce' ); ?> 97 97 98 98 </div><!-- .message-content --> … … 102 102 </form><!-- #send-reply --> 103 103 104 <?php do_action( 'bp_after_message_thread_reply' ) ?>104 <?php do_action( 'bp_after_message_thread_reply' ); ?> 105 105 106 106 <?php endif; ?> 107 107 108 <?php do_action( 'bp_after_message_thread_content' ) ?>108 <?php do_action( 'bp_after_message_thread_content' ); ?> 109 109 110 110 </div>
Note: See TracChangeset
for help on using the changeset viewer.