Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/04/2011 10:33:40 PM (14 years ago)
Author:
djpaul
Message:

Add label to activity stream filters; rename those items to fit labels. See #3264

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/activity/index.php

    r4347 r4454  
    8888
    8989                    <li id="activity-filter-select" class="last">
    90                         <select>
    91                             <option value="-1"><?php _e( 'No Filter', 'buddypress' ) ?></option>
    92                             <option value="activity_update"><?php _e( 'Show Updates', 'buddypress' ) ?></option>
     90                        <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label>
     91                        <select id="activity-filter-by">
     92                            <option value="-1"><?php _e( 'Everything', 'buddypress' ) ?></option>
     93                            <option value="activity_update"><?php _e( 'Updates', 'buddypress' ) ?></option>
    9394
    9495                            <?php if ( bp_is_active( 'blogs' ) ) : ?>
    9596
    96                                 <option value="new_blog_post"><?php _e( 'Show Blog Posts', 'buddypress' ) ?></option>
    97                                 <option value="new_blog_comment"><?php _e( 'Show Blog Comments', 'buddypress' ) ?></option>
     97                                <option value="new_blog_post"><?php _e( 'Blog Posts', 'buddypress' ) ?></option>
     98                                <option value="new_blog_comment"><?php _e( 'Blog Comments', 'buddypress' ) ?></option>
    9899
    99100                            <?php endif; ?>
     
    101102                            <?php if ( bp_is_active( 'forums' ) ) : ?>
    102103
    103                                 <option value="new_forum_topic"><?php _e( 'Show New Forum Topics', 'buddypress' ); ?></option>
    104                                 <option value="new_forum_post"><?php _e( 'Show Forum Replies', 'buddypress' ); ?></option>
     104                                <option value="new_forum_topic"><?php _e( 'Forum Topics', 'buddypress' ); ?></option>
     105                                <option value="new_forum_post"><?php _e( 'Forum Replies', 'buddypress' ); ?></option>
    105106
    106107                            <?php endif; ?>
     
    108109                            <?php if ( bp_is_active( 'groups' ) ) : ?>
    109110
    110                                 <option value="created_group"><?php _e( 'Show New Groups', 'buddypress' ); ?></option>
    111                                 <option value="joined_group"><?php _e( 'Show New Group Memberships', 'buddypress' ); ?></option>
     111                                <option value="created_group"><?php _e( 'New Groups', 'buddypress' ); ?></option>
     112                                <option value="joined_group"><?php _e( 'Group Memberships', 'buddypress' ); ?></option>
    112113
    113114                            <?php endif; ?>
     
    115116                            <?php if ( bp_is_active( 'friends' ) ) : ?>
    116117
    117                                 <option value="friendship_accepted,friendship_created"><?php _e( 'Show Friendship Connections', 'buddypress' ); ?></option>
     118                                <option value="friendship_accepted,friendship_created"><?php _e( 'Friendships', 'buddypress' ); ?></option>
    118119
    119120                            <?php endif; ?>
    120121
    121                             <option value="new_member"><?php _e( 'Show New Members', 'buddypress' ); ?></option>
     122                            <option value="new_member"><?php _e( 'New Members', 'buddypress' ); ?></option>
    122123
    123124                            <?php do_action( 'bp_activity_filter_options' ); ?>
Note: See TracChangeset for help on using the changeset viewer.