Changeset 2434
- Timestamp:
- 01/24/2010 10:37:51 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
bp-messages/bp-messages-templatetags.php (modified) (1 diff)
-
bp-themes/bp-default/_inc/global.js (modified) (1 diff)
-
bp-themes/bp-default/activity/index.php (modified) (1 diff)
-
bp-themes/bp-default/members/single/messages/single.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-messages/bp-messages-templatetags.php
r2408 r2434 555 555 $this->thread = new BP_Messages_Thread( $thread_id, true ); 556 556 $this->message_count = count( $this->thread->messages ); 557 558 $last_message_index = $this->message_count - 1; 559 $this->thread->last_message_id = $this->thread->messages[$last_message_index]->id; 560 $this->thread->last_message_date = $this->thread->messages[$last_message_index]->date_sent; 561 $this->thread->last_sender_id = $this->thread->messages[$last_message_index]->sender_id; 562 $this->thread->last_message_subject = $this->thread->messages[$last_message_index]->subject; 563 $this->thread->last_message_content = $this->thread->messages[$last_message_index]->message; 557 564 } 558 565 -
trunk/bp-themes/bp-default/_inc/global.js
r2433 r2434 251 251 if ( null == filter ) 252 252 var filter = '-1'; 253 254 /* If there's a hash URL, try and use it. */ 255 if ( location.hash.length ) 256 var scope = location.hash.substr( 1, location.hash.length - 2 ); 253 257 254 258 /* Save the type and filter to a session cookie */ -
trunk/bp-themes/bp-default/activity/index.php
r2430 r2434 23 23 24 24 <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> 25 <li id="activity-friends"><a href="<?php echo site_url( BP_ACTIVITY_SLUG . '/# my-friends/' ) ?>" title="<?php _e( 'The activity of my friends only.', 'buddypress' ) ?>"><?php printf( __( 'My Friends (%s)', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ) ?></a></li>25 <li id="activity-friends"><a href="<?php echo site_url( BP_ACTIVITY_SLUG . '/#friends/' ) ?>" title="<?php _e( 'The activity of my friends only.', 'buddypress' ) ?>"><?php printf( __( 'My Friends (%s)', 'buddypress' ), bp_get_total_friend_count( bp_loggedin_user_id() ) ) ?></a></li> 26 26 <?php endif; ?> 27 27 28 28 <?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?> 29 <li id="activity-groups"><a href="<?php echo site_url( BP_ACTIVITY_SLUG . '/# my-groups/' ) ?>" title="<?php _e( 'The activity of groups I am a member of.', 'buddypress' ) ?>"><?php printf( __( 'My Groups (%s)', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) ?></a></li>29 <li id="activity-groups"><a href="<?php echo site_url( BP_ACTIVITY_SLUG . '/#groups/' ) ?>" title="<?php _e( 'The activity of groups I am a member of.', 'buddypress' ) ?>"><?php printf( __( 'My Groups (%s)', 'buddypress' ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) ?></a></li> 30 30 <?php endif; ?> 31 31 32 32 <?php if ( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) : ?> 33 <li id="activity-favorites"><a href="<?php echo site_url( BP_ACTIVITY_SLUG . '/# my-favorites/' ) ?>" title="<?php _e( "The activity I've marked as a favorite.", 'buddypress' ) ?>"><?php printf( __( 'My Favorites (<span>%s</span>)', 'buddypress' ), bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) ?></a></li>33 <li id="activity-favorites"><a href="<?php echo site_url( BP_ACTIVITY_SLUG . '/#favorites/' ) ?>" title="<?php _e( "The activity I've marked as a favorite.", 'buddypress' ) ?>"><?php printf( __( 'My Favorites (<span>%s</span>)', 'buddypress' ), bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) ?></a></li> 34 34 <?php endif; ?> 35 35 -
trunk/bp-themes/bp-default/members/single/messages/single.php
r2409 r2434 24 24 25 25 <?php bp_the_thread_message_sender_avatar( 'type=thumb&width=30&height=30' ) ?> 26 < h3><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></h3>26 <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> 27 27 28 28 <?php do_action( 'bp_after_message_meta' ) ?> … … 61 61 <?php bp_loggedin_user_avatar( 'type=thumb&height=30&width=30' ) ?> 62 62 63 < h3><?php _e( 'Send a Reply', 'buddypress' ) ?></h3>63 <strong><?php _e( 'Send a Reply', 'buddypress' ) ?></strong> 64 64 </div> 65 65
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)