Changeset 601 for trunk/bp-groups.php
- Timestamp:
- 12/02/2008 09:04:12 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-groups.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups.php
r590 r601 831 831 if ( !$group ) 832 832 return false; 833 834 return sprintf( __('%s joined the group %s', 'buddypress'), bp_core_get_userlink($user_id), '<a href="' . bp_group_permalink( $group, false ) . '">' . $group->name . '</a>' ) . ' <span class="time-since">%s</span>'; 833 834 return array( 835 'primary_link' => bp_group_permalink( $group, false ), 836 'content' => sprintf( __('%s joined the group %s', 'buddypress'), bp_core_get_userlink($user_id), '<a href="' . bp_group_permalink( $group, false ) . '">' . $group->name . '</a>' ) . ' <span class="time-since">%s</span>' 837 ); 835 838 break; 836 839 case 'created_group': … … 839 842 if ( !$group ) 840 843 return false; 841 842 return sprintf( __('%s created the group %s', 'buddypress'), bp_core_get_userlink($user_id), '<a href="' . bp_group_permalink( $group, false ) . '">' . $group->name . '</a>') . ' <span class="time-since">%s</span>'; 844 845 return array( 846 'primary_link' => bp_group_permalink( $group, false ), 847 'content' => sprintf( __('%s created the group %s', 'buddypress'), bp_core_get_userlink($user_id), '<a href="' . bp_group_permalink( $group, false ) . '">' . $group->name . '</a>') . ' <span class="time-since">%s</span>' 848 ); 843 849 break; 844 850 case 'new_wire_post': … … 851 857 $content = sprintf ( __('%s wrote on the wire of the group %s', 'buddypress'), bp_core_get_userlink($user_id), '<a href="' . bp_group_permalink( $group, false ) . '">' . $group->name . '</a>' ) . ' <span class="time-since">%s</span>'; 852 858 $content .= '<blockquote>' . bp_create_excerpt($wire_post->content) . '</blockquote>'; 853 return $content; 859 860 return array( 861 'primary_link' => bp_group_permalink( $group, false ), 862 'content' => $content 863 ); 854 864 break; 855 865 }
Note: See TracChangeset
for help on using the changeset viewer.