Changeset 2128 for trunk/bp-activity/bp-activity-widgets.php
- Timestamp:
- 11/25/2009 08:38:56 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-widgets.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-widgets.php
r2077 r2128 23 23 . $after_title; ?> 24 24 25 <?php if ( bp_has_activities( 'type=sitewide&max=' . $instance['max_items'] . '&per_page=' . $instance['per_page'] ) ) : ?>25 <?php if ( bp_has_activities( 'type=sitewide&max=' . $instance['max_items'] . '&per_page=' . $instance['per_page'] . '&display_comments=threaded' ) ) : ?> 26 26 27 27 <?php if ( !file_exists( WP_CONTENT_DIR . '/bp-themes' ) ) : ?> … … 43 43 <ul id="site-wide-stream" class="activity-list"> 44 44 <?php while ( bp_activities() ) : bp_the_activity(); ?> 45 <li class="<?php bp_activity_css_class() ?>"> 46 <?php if ( !file_exists( WP_CONTENT_DIR . '/bp-themes' ) ) : ?> 47 <div class="activity-avatar"> 48 <?php bp_activity_avatar() ?> 45 <li class="<?php bp_activity_css_class() ?>" id="activity-<?php bp_activity_id() ?>"> 46 <div class="activity-avatar"> 47 <?php bp_activity_avatar('width=40&height=40') ?> 48 </div> 49 50 <div class="activity-content"> 51 <?php bp_activity_content() ?> 52 53 <?php if ( is_user_logged_in() ) : ?> 54 <div class="activity-meta"> 55 <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> 49 56 </div> 50 <?php endif; ?> 57 <?php endif; ?> 58 </div> 51 59 52 <?php bp_activity_content() ?> 60 <div class="activity-comments"> 61 <?php bp_activity_comments() ?> 62 63 <?php if ( is_user_logged_in() ) : ?> 64 <form action="" method="post" name="activity-comment-form" id="ac-form-<?php bp_activity_id() ?>" class="ac-form"> 65 <div class="ac-reply-avatar"><?php bp_loggedin_user_avatar( 'width=25&height=25' ) ?></div> 66 <div class="ac-reply-content"> 67 <textarea id="ac-input-<?php bp_activity_id() ?>" class="ac-input" name="ac-input-<?php bp_activity_id() ?>"></textarea> 68 <input type="submit" name="ac-form-submit" value="<?php _e( 'Post', 'buddypress' ) ?> →" /> 69 </div> 70 <?php wp_nonce_field( 'new_activity_comment', '_wpnonce_new_activity_comment' ) ?> 71 </form> 72 <?php endif; ?> 73 </div> 74 53 75 </li> 54 76 <?php endwhile; ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)