Changeset 7168
- Timestamp:
- 06/06/2013 10:46:43 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
bp-activity/bp-activity-template.php (modified) (1 diff)
-
bp-templates/bp-legacy/buddypress/activity/comment.php (modified) (1 diff)
-
bp-themes/bp-default/activity/comment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-template.php
r7129 r7168 2026 2026 2027 2027 /** 2028 * Echoes the activity comment permalink 2029 * 2030 * @since BuddyPress (1.8) 2031 * 2032 * @uses bp_get_activity_permalink_id() 2033 */ 2034 function bp_activity_comment_permalink() { 2035 echo bp_get_activity_comment_permalink(); 2036 } 2037 /** 2038 * Gets the activity comment permalink 2039 * 2040 * @since BuddyPress (1.8) 2041 * 2042 * @uses bp_activity_get_permalink() 2043 * @uses apply_filters() To call the 'bp_get_activity_comment_permalink' hook 2044 * 2045 * @return string $link The activity comment permalink 2046 */ 2047 function bp_get_activity_comment_permalink() { 2048 global $activities_template; 2049 2050 $link = bp_activity_get_permalink( $activities_template->activity->id, $activities_template->activity ) . '#acomment-' . $activities_template->activity->current_comment->id; 2051 2052 return apply_filters( 'bp_get_activity_comment_permalink', $link ); 2053 } 2054 2055 /** 2028 2056 * Echoes the activity favorite link 2029 2057 * -
trunk/bp-templates/bp-legacy/buddypress/activity/comment.php
r6284 r7168 25 25 <?php 26 26 /* translators: 1: user profile link, 2: user name, 3: activity permalink, 4: activity timestamp */ 27 printf( __( '<a href="%1$s">%2$s</a> replied <a href="%3$s" class="activity-time-since"><span class="time-since">%4$s</span></a>', 'buddypress' ), bp_get_activity_comment_user_link(), bp_get_activity_comment_name(), bp_get_activity_ thread_permalink(), bp_get_activity_comment_date_recorded() );27 printf( __( '<a href="%1$s">%2$s</a> replied <a href="%3$s" class="activity-time-since"><span class="time-since">%4$s</span></a>', 'buddypress' ), bp_get_activity_comment_user_link(), bp_get_activity_comment_name(), bp_get_activity_comment_permalink(), bp_get_activity_comment_date_recorded() ); 28 28 ?> 29 29 </div> -
trunk/bp-themes/bp-default/activity/comment.php
r6683 r7168 28 28 <?php 29 29 /* translators: 1: user profile link, 2: user name, 3: activity permalink, 4: activity timestamp */ 30 printf( __( '<a href="%1$s">%2$s</a> replied <a href="%3$s" class="activity-time-since"><span class="time-since">%4$s</span></a>', 'buddypress' ), bp_get_activity_comment_user_link(), bp_get_activity_comment_name(), bp_get_activity_ thread_permalink(), bp_get_activity_comment_date_recorded() );30 printf( __( '<a href="%1$s">%2$s</a> replied <a href="%3$s" class="activity-time-since"><span class="time-since">%4$s</span></a>', 'buddypress' ), bp_get_activity_comment_user_link(), bp_get_activity_comment_name(), bp_get_activity_comment_permalink(), bp_get_activity_comment_date_recorded() ); 31 31 ?> 32 32 </div>
Note: See TracChangeset
for help on using the changeset viewer.