Changeset 2139
- Timestamp:
- 11/26/2009 03:08:05 PM (15 years ago)
- Location:
- trunk/bp-themes/bp-sn-parent
- Files:
-
- 2 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, -
trunk/bp-themes/bp-sn-parent/activity/just-me.php
r2134 r2139 69 69 70 70 <?php if ( is_user_logged_in() && 'activity_comment' != bp_get_activity_action_name() ) : ?> 71 <div class="activity-meta">72 <a href="#acomment-<?php bp_activity_id() ?>" class="acomment-reply" id="acomment-comment-<?php bp_activity_id() ?>"><?php _e( 'Comment', 'buddypress' ) ?> (<?php bp_activity_comment_count() ?>)</a>73 </div>71 <div class="activity-meta"> 72 <a href="#acomment-<?php bp_activity_id() ?>" class="acomment-reply" id="acomment-comment-<?php bp_activity_id() ?>"><?php _e( 'Comment', 'buddypress' ) ?> (<?php bp_activity_comment_count() ?>)</a> 73 </div> 74 74 <?php endif; ?> 75 75 </div> 76 77 <?php if ( 'activity_comment' == bp_get_activity_action_name() ) : ?> 78 <div class="activity-inreplyto"> 79 <strong><?php _e( 'In reply to', 'buddypress' ) ?></strong> - <?php bp_activity_parent_content() ?> 80 </div> 81 <?php endif; ?> 76 82 77 83 <div class="activity-comments"> … … 79 85 80 86 <?php if ( is_user_logged_in() ) : ?> 81 <form action="" method="post" name="activity-comment-form" id="ac-form-<?php bp_activity_id() ?>" class="ac-form">82 <div class="ac-reply-avatar"><?php bp_loggedin_user_avatar( 'width=25&height=25' ) ?></div>83 <div class="ac-reply-content">84 <textarea id="ac-input-<?php bp_activity_id() ?>" class="ac-input" name="ac-input-<?php bp_activity_id() ?>"></textarea>85 <input type="submit" name="ac-form-submit" value="<?php _e( 'Post', 'buddypress' ) ?> →" />86 </div>87 <?php wp_nonce_field( 'new_activity_comment', '_wpnonce_new_activity_comment' ) ?>88 </form>87 <form action="" method="post" name="activity-comment-form" id="ac-form-<?php bp_activity_id() ?>" class="ac-form"> 88 <div class="ac-reply-avatar"><?php bp_loggedin_user_avatar( 'width=25&height=25' ) ?></div> 89 <div class="ac-reply-content"> 90 <textarea id="ac-input-<?php bp_activity_id() ?>" class="ac-input" name="ac-input-<?php bp_activity_id() ?>"></textarea> 91 <input type="submit" name="ac-form-submit" value="<?php _e( 'Post', 'buddypress' ) ?> →" /> 92 </div> 93 <?php wp_nonce_field( 'new_activity_comment', '_wpnonce_new_activity_comment' ) ?> 94 </form> 89 95 <?php endif; ?> 90 96 </div>
Note: See TracChangeset
for help on using the changeset viewer.