Changeset 4611 for trunk/bp-themes/bp-default/activity/entry.php
- Timestamp:
- 07/04/2011 08:54:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/activity/entry.php
r4493 r4611 45 45 46 46 <div class="activity-meta"> 47 <?php 48 // Add the delete link if the user has permission on this item 49 if ( bp_activity_user_can_delete() ) 50 bp_activity_delete_link(); 51 ?> 47 52 48 <?php if ( is_user_logged_in() && bp_activity_can_comment() ) : ?> 49 50 <a href="<?php bp_activity_comment_link(); ?>" class="acomment-reply" id="acomment-comment-<?php bp_activity_id(); ?>"><?php _e( 'Reply', 'buddypress' ); ?> (<span><?php bp_activity_comment_count(); ?></span>)</a> 51 53 <?php if ( is_user_logged_in() && bp_activity_can_favorite() ) : ?> 54 <?php if ( !bp_get_activity_is_favorite() ) : ?> 55 <a href="<?php bp_activity_favorite_link(); ?>" class="fav bp-secondary-action" title="<?php esc_attr_e( 'Mark as Favorite', 'buddypress' ); ?>"><?php _e( 'Favorite', 'buddypress' ) ?></a> 56 <?php else : ?> 57 <a href="<?php bp_activity_unfavorite_link(); ?>" class="unfav bp-secondary-action" title="<?php esc_attr_e( 'Remove Favorite', 'buddypress' ); ?>"><?php _e( 'Remove Favorite', 'buddypress' ) ?></a> 58 <?php endif; ?> 52 59 <?php endif; ?> 53 54 <?php if ( is_user_logged_in() && bp_activity_can_favorite() ) :55 if ( !bp_get_activity_is_favorite() ) : ?>56 57 <a href="<?php bp_activity_favorite_link() ?>" class="fav" title="<?php _e( 'Mark as Favorite', 'buddypress' ) ?>"><?php _e( 'Favorite', 'buddypress' ) ?></a>58 59 <?php else : ?>60 61 <a href="<?php bp_activity_unfavorite_link() ?>" class="unfav" title="<?php _e( 'Remove Favorite', 'buddypress' ) ?>"><?php _e( 'Remove Favorite', 'buddypress' ) ?></a>62 63 <?php endif;64 endif; ?>65 60 66 61 <?php do_action( 'bp_activity_entry_meta' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.