- Timestamp:
- 04/17/2015 03:31:35 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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>
Note: See TracChangeset
for help on using the changeset viewer.