Changeset 11380 for trunk/src/bp-groups/bp-groups-widgets.php
- Timestamp:
- 01/11/2017 02:17:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-widgets.php
r11366 r11380 40 40 $type = 'popular'; 41 41 break; 42 case 'alphabetical-groups': 43 $type = 'alphabetical'; 44 break; 42 45 } 43 46 … … 64 67 <?php if ( 'newest-groups' === $_POST['filter'] ) : ?> 65 68 <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_date_created( 0, array( 'relative' => false ) ) ); ?>"><?php printf( __( 'created %s', 'buddypress' ), bp_get_group_date_created() ); ?></span> 66 <?php elseif ( 'recently-active-groups' === $_POST['filter'] ) : ?> 69 <?php elseif ( 'popular-groups' === $_POST['filter'] ) : ?> 70 <span class="activity"><?php bp_group_member_count(); ?></span> 71 <?php else : ?> 67 72 <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span> 68 <?php else : ?>69 <span class="activity"><?php bp_group_member_count(); ?></span>70 73 <?php endif; ?> 71 74 </div>
Note: See TracChangeset
for help on using the changeset viewer.