Changeset 2139 for trunk/bp-themes/bp-sn-parent/_inc/ajax.php
- Timestamp:
- 11/26/2009 03:08:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-sn-parent/_inc/ajax.php
r2130 r2139 442 442 '; 443 443 $primary_link = bp_core_get_userlink( $wire_post->user_id, false, true ); 444 $activity_content .= '< blockquote>' . $_POST['content'] . '</blockquote>';444 $activity_content .= '<div class="activity-inner">' . $_POST['content'] . '</div>'; 445 445 446 446 /* Now write the values */ … … 459 459 $activity_content = sprintf( __( '%s posted an update in the group %s:', 'buddypress'), bp_core_get_userlink( $bp->loggedin_user->id ), '<a href="' . bp_get_group_permalink( $bp->groups->current_group ) . '">' . attribute_escape( $bp->groups->current_group->name ) . '</a>' ) . ' <span class="time-since">%s</span> 460 460 '; 461 $activity_content .= '< blockquote>' . $_POST['content'] . '</blockquote>';461 $activity_content .= '<div class="activity-inner">' . $_POST['content'] . '</div>'; 462 462 463 463 $activity_id = groups_record_activity( array( … … 510 510 /* Insert the activity comment */ 511 511 $comment_id = bp_activity_add( array( 512 'content' => apply_filters( 'bp_activity_comment_content', $comment_header . $_POST['content']),512 'content' => apply_filters( 'bp_activity_comment_content', $comment_header . '<div class="activity-inner">' . $_POST['content'] . '</div>' ), 513 513 'primary_link' => '', 514 514 'component_name' => $bp->activity->id,
Note: See TracChangeset
for help on using the changeset viewer.