Changeset 9762
- Timestamp:
- 04/17/2015 03:31:35 AM (10 years ago)
- Location:
- trunk/src/bp-templates/bp-legacy/buddypress/activity
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/activity/activity-loop.php
r9604 r9762 1 <?php do_action( 'bp_before_activity_loop' ); ?> 1 <?php 2 3 /** 4 * Fires before the start of the activity loop. 5 * 6 * @since BuddyPress (1.2.0) 7 */ 8 do_action( 'bp_before_activity_loop' ); ?> 2 9 3 10 <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?> … … 37 44 <?php endif; ?> 38 45 39 <?php do_action( 'bp_after_activity_loop' ); ?> 46 <?php 47 48 /** 49 * Fires after the finish of the activity loop. 50 * 51 * @since BuddyPress (1.2.0) 52 */ 53 do_action( 'bp_after_activity_loop' ); ?> 40 54 41 55 <?php if ( empty( $_POST['page'] ) ) : ?> -
trunk/src/bp-templates/bp-legacy/buddypress/activity/comment.php
r9604 r9762 13 13 ?> 14 14 15 <?php do_action( 'bp_before_activity_comment' ); ?> 15 <?php 16 17 /** 18 * Fires before the display of an activity comment. 19 * 20 * @since BuddyPress (1.5.0) 21 */ 22 do_action( 'bp_before_activity_comment' ); ?> 16 23 17 24 <li id="acomment-<?php bp_activity_comment_id(); ?>"> … … 45 52 <?php endif; ?> 46 53 47 <?php do_action( 'bp_activity_comment_options' ); ?> 54 <?php 55 56 /** 57 * Fires after the defualt comment action options display. 58 * 59 * @since BuddyPress (1.6.0) 60 */ 61 do_action( 'bp_activity_comment_options' ); ?> 48 62 49 63 </div> … … 52 66 </li> 53 67 54 <?php do_action( 'bp_after_activity_comment' ); ?> 68 <?php 69 70 /** 71 * Fires after the display of an activity comment. 72 * 73 * @since BuddyPress (1.5.0) 74 */ 75 do_action( 'bp_after_activity_comment' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/activity/entry.php
r9604 r9762 13 13 ?> 14 14 15 <?php do_action( 'bp_before_activity_entry' ); ?> 15 <?php 16 17 /** 18 * Fires before the display of an activity entry. 19 * 20 * @since BuddyPress (1.2.0) 21 */ 22 do_action( 'bp_before_activity_entry' ); ?> 16 23 17 24 <li class="<?php bp_activity_css_class(); ?>" id="activity-<?php bp_activity_id(); ?>"> … … 42 49 <?php endif; ?> 43 50 44 <?php do_action( 'bp_activity_entry_content' ); ?> 51 <?php 52 53 /** 54 * Fires after the display of an activity entry content. 55 * 56 * @since BuddyPress (1.2.0) 57 */ 58 do_action( 'bp_activity_entry_content' ); ?> 45 59 46 60 <div class="activity-meta"> … … 76 90 <?php if ( bp_activity_user_can_delete() ) bp_activity_delete_link(); ?> 77 91 78 <?php do_action( 'bp_activity_entry_meta' ); ?> 92 <?php 93 94 /** 95 * Fires at the end of the activity entry meta data area. 96 * 97 * @since BuddyPress (1.2.0) 98 */ 99 do_action( 'bp_activity_entry_meta' ); ?> 79 100 80 101 <?php endif; ?> … … 84 105 </div> 85 106 86 <?php do_action( 'bp_before_activity_entry_comments' ); ?> 107 <?php 108 109 /** 110 * Fires before the display of the activity entry comments. 111 * 112 * @since BuddyPress (1.2.0) 113 */ 114 do_action( 'bp_before_activity_entry_comments' ); ?> 87 115 88 116 <?php if ( ( bp_activity_get_comment_count() || bp_activity_can_comment() ) || bp_is_single_activity() ) : ?> … … 104 132 </div> 105 133 106 <?php do_action( 'bp_activity_entry_comments' ); ?> 134 <?php 135 136 /** 137 * Fires after the activity entry comment form. 138 * 139 * @since BuddyPress (1.5.0) 140 */ 141 do_action( 'bp_activity_entry_comments' ); ?> 107 142 108 143 <?php wp_nonce_field( 'new_activity_comment', '_wpnonce_new_activity_comment' ); ?> … … 116 151 <?php endif; ?> 117 152 118 <?php do_action( 'bp_after_activity_entry_comments' ); ?> 153 <?php 154 155 /** 156 * Fires after the display of the activity entry comments. 157 * 158 * @since BuddyPress (1.2.0) 159 */ 160 do_action( 'bp_after_activity_entry_comments' ); ?> 119 161 120 162 </li> 121 163 122 <?php do_action( 'bp_after_activity_entry' ); ?> 164 <?php 165 166 /** 167 * Fires after the display of an activity entry. 168 * 169 * @since BuddyPress (1.2.0) 170 */ 171 do_action( 'bp_after_activity_entry' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/activity/index.php
r9604 r9762 1 <?php do_action( 'bp_before_directory_activity' ); ?> 1 <?php 2 3 /** 4 * Fires before the activity directory listing. 5 * 6 * @since BuddyPress (1.5.0) 7 */ 8 do_action( 'bp_before_directory_activity' ); ?> 2 9 3 10 <div id="buddypress"> 4 11 5 <?php do_action( 'bp_before_directory_activity_content' ); ?> 12 <?php 13 14 /** 15 * Fires before the activity directory display content. 16 * 17 * @since BuddyPress (1.2.0) 18 */ 19 do_action( 'bp_before_directory_activity_content' ); ?> 6 20 7 21 <?php if ( is_user_logged_in() ) : ?> … … 11 25 <?php endif; ?> 12 26 13 <?php do_action( 'template_notices' ); ?> 27 <?php 28 29 /** 30 * Fires towards the top of template pages for notice display. 31 * 32 * @since BuddyPress (1.0.0) 33 */ 34 do_action( 'template_notices' ); ?> 14 35 15 36 <div class="item-list-tabs activity-type-tabs" role="navigation"> 16 37 <ul> 17 <?php do_action( 'bp_before_activity_type_tab_all' ); ?> 38 <?php 39 40 /** 41 * Fires before the listing of activity type tabs. 42 * 43 * @since BuddyPress (1.2.0) 44 */ 45 do_action( 'bp_before_activity_type_tab_all' ); ?> 18 46 19 47 <li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( __( 'All Members <span>%s</span>', 'buddypress' ), bp_get_total_member_count() ); ?></a></li> … … 21 49 <?php if ( is_user_logged_in() ) : ?> 22 50 23 <?php do_action( 'bp_before_activity_type_tab_friends' ); ?> 51 <?php 52 53 /** 54 * Fires before the listing of friends activity type tab. 55 * 56 * @since BuddyPress (1.2.0) 57 */ 58 do_action( 'bp_before_activity_type_tab_friends' ); ?> 24 59 25 60 <?php if ( bp_is_active( 'friends' ) ) : ?> … … 33 68 <?php endif; ?> 34 69 35 <?php do_action( 'bp_before_activity_type_tab_groups' ); ?> 70 <?php 71 72 /** 73 * Fires before the listing of groups activity type tab. 74 * 75 * @since BuddyPress (1.2.0) 76 */ 77 do_action( 'bp_before_activity_type_tab_groups' ); ?> 36 78 37 79 <?php if ( bp_is_active( 'groups' ) ) : ?> … … 45 87 <?php endif; ?> 46 88 47 <?php do_action( 'bp_before_activity_type_tab_favorites' ); ?> 89 <?php 90 91 /** 92 * Fires before the listing of favorites activity type tab. 93 * 94 * @since BuddyPress (1.2.0) 95 */ 96 do_action( 'bp_before_activity_type_tab_favorites' ); ?> 48 97 49 98 <?php if ( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) : ?> … … 55 104 <?php if ( bp_activity_do_mentions() ) : ?> 56 105 57 <?php do_action( 'bp_before_activity_type_tab_mentions' ); ?> 106 <?php 107 108 /** 109 * Fires before the listing of mentions activity type tab. 110 * 111 * @since BuddyPress (1.2.0) 112 */ 113 do_action( 'bp_before_activity_type_tab_mentions' ); ?> 58 114 59 115 <li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/'; ?>" title="<?php esc_attr_e( 'Activity that I have been mentioned in.', 'buddypress' ); ?>"><?php _e( 'Mentions', 'buddypress' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><span><?php printf( _nx( '%s new', '%s new', bp_get_total_mention_count_for_user( bp_loggedin_user_id() ), 'Number of new activity mentions', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?></span></strong><?php endif; ?></a></li> … … 63 119 <?php endif; ?> 64 120 65 <?php do_action( 'bp_activity_type_tabs' ); ?> 121 <?php 122 123 /** 124 * Fires after the listing of activity type tabs. 125 * 126 * @since BuddyPress (1.2.0) 127 */ 128 do_action( 'bp_activity_type_tabs' ); ?> 66 129 </ul> 67 130 </div><!-- .item-list-tabs --> … … 71 134 <li class="feed"><a href="<?php bp_sitewide_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS', 'buddypress' ); ?></a></li> 72 135 73 <?php do_action( 'bp_activity_syndication_options' ); ?> 136 <?php 137 138 /** 139 * Fires before the display of the activity syndication options. 140 * 141 * @since BuddyPress (1.2.0) 142 */ 143 do_action( 'bp_activity_syndication_options' ); ?> 74 144 75 145 <li id="activity-filter-select" class="last"> … … 80 150 <?php bp_activity_show_filters(); ?> 81 151 82 <?php do_action( 'bp_activity_filter_options' ); ?> 152 <?php 153 154 /** 155 * Fires inside the select input for activity filter by options. 156 * 157 * @since BuddyPress (1.2.0) 158 */ 159 do_action( 'bp_activity_filter_options' ); ?> 83 160 84 161 </select> … … 87 164 </div><!-- .item-list-tabs --> 88 165 89 <?php do_action( 'bp_before_directory_activity_list' ); ?> 166 <?php 167 168 /** 169 * Fires before the display of the activity list. 170 * 171 * @since BuddyPress (1.5.0) 172 */ 173 do_action( 'bp_before_directory_activity_list' ); ?> 90 174 91 175 <div class="activity" role="main"> … … 95 179 </div><!-- .activity --> 96 180 97 <?php do_action( 'bp_after_directory_activity_list' ); ?> 98 99 <?php do_action( 'bp_directory_activity_content' ); ?> 100 101 <?php do_action( 'bp_after_directory_activity_content' ); ?> 102 103 <?php do_action( 'bp_after_directory_activity' ); ?> 181 <?php 182 183 /** 184 * Fires after the display of the activity list. 185 * 186 * @since BuddyPress (1.5.0) 187 */ 188 do_action( 'bp_after_directory_activity_list' ); ?> 189 190 <?php 191 192 /** 193 * Fires inside and displays the activity directory display content. 194 */ 195 do_action( 'bp_directory_activity_content' ); ?> 196 197 <?php 198 199 /** 200 * Fires after the activity directory display content. 201 * 202 * @since BuddyPress (1.2.0) 203 */ 204 do_action( 'bp_after_directory_activity_content' ); ?> 205 206 <?php 207 208 /** 209 * Fires after the activity directory listing. 210 * 211 * @since BuddyPress (1.5.0) 212 */ 213 do_action( 'bp_after_directory_activity' ); ?> 104 214 105 215 </div> -
trunk/src/bp-templates/bp-legacy/buddypress/activity/post-form.php
r9604 r9762 12 12 <form action="<?php bp_activity_post_form_action(); ?>" method="post" id="whats-new-form" name="whats-new-form" role="complementary"> 13 13 14 <?php do_action( 'bp_before_activity_post_form' ); ?> 14 <?php 15 16 /** 17 * Fires before the activity post form. 18 * 19 * @since BuddyPress (1.2.0) 20 */ 21 do_action( 'bp_before_activity_post_form' ); ?> 15 22 16 23 <div id="whats-new-avatar"> … … 28 35 <div id="whats-new-content"> 29 36 <div id="whats-new-textarea"> 30 <textarea class="bp-suggestions" name="whats-new" id="whats-new" cols="50" rows="10" 37 <textarea class="bp-suggestions" name="whats-new" id="whats-new" cols="50" rows="10" 31 38 <?php if ( bp_is_group() ) : ?>data-suggestions-group-id="<?php echo esc_attr( (int) bp_get_current_group_id() ); ?>" <?php endif; ?> 32 39 ><?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif; ?></textarea> … … 66 73 <?php endif; ?> 67 74 68 <?php do_action( 'bp_activity_post_form_options' ); ?> 75 <?php 76 77 /** 78 * Fires at the end of the activity post form markup. 79 * 80 * @since BuddyPress (1.2.0) 81 */ 82 do_action( 'bp_activity_post_form_options' ); ?> 69 83 70 84 </div><!-- #whats-new-options --> … … 72 86 73 87 <?php wp_nonce_field( 'post_update', '_wpnonce_post_update' ); ?> 74 <?php do_action( 'bp_after_activity_post_form' ); ?> 88 <?php 89 90 /** 91 * Fires after the activity post form. 92 * 93 * @since BuddyPress (1.2.0) 94 */ 95 do_action( 'bp_after_activity_post_form' ); ?> 75 96 76 97 </form><!-- #whats-new-form --> -
trunk/src/bp-templates/bp-legacy/buddypress/activity/single/home.php
r9604 r9762 1 1 <div id="buddypress"> 2 <?php do_action( 'template_notices' ); ?> 2 <?php 3 4 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 5 do_action( 'template_notices' ); ?> 3 6 4 7 <div class="activity no-ajax" role="main">
Note: See TracChangeset
for help on using the changeset viewer.