Skip to:
Content

BuddyPress.org

Changeset 4454


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

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

Location:
trunk/bp-themes/bp-default
Files:
3 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' ); ?>
  • trunk/bp-themes/bp-default/groups/single/activity.php

    r3771 r4454  
    66
    77                <li id="activity-filter-select" class="last">
    8                         <select>
    9                                 <option value="-1"><?php _e( 'No Filter', 'buddypress' ) ?></option>
    10                                 <option value="activity_update"><?php _e( 'Show Updates', 'buddypress' ) ?></option>
     8                        <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label>
     9                        <select id="activity-filter-by">
     10                                <option value="-1"><?php _e( 'Everything', 'buddypress' ) ?></option>
     11                                <option value="activity_update"><?php _e( 'Updates', 'buddypress' ) ?></option>
    1112
    1213                                <?php if ( bp_is_active( 'forums' ) ) : ?>
    13                                         <option value="new_forum_topic"><?php _e( 'Show New Forum Topics', 'buddypress' ) ?></option>
    14                                         <option value="new_forum_post"><?php _e( 'Show Forum Replies', 'buddypress' ) ?></option>
     14                                        <option value="new_forum_topic"><?php _e( 'Forum Topics', 'buddypress' ) ?></option>
     15                                        <option value="new_forum_post"><?php _e( 'Forum Replies', 'buddypress' ) ?></option>
    1516                                <?php endif; ?>
    1617
    17                                 <option value="joined_group"><?php _e( 'Show New Group Memberships', 'buddypress' ) ?></option>
     18                                <option value="joined_group"><?php _e( 'Group Memberships', 'buddypress' ) ?></option>
    1819
    1920                                <?php do_action( 'bp_group_activity_filter_options' ) ?>
  • trunk/bp-themes/bp-default/members/single/activity.php

    r3833 r4454  
    1616
    1717                <li id="activity-filter-select" class="last">
    18                         <select>
    19                                 <option value="-1"><?php _e( 'No Filter', 'buddypress' ) ?></option>
    20                                 <option value="activity_update"><?php _e( 'Show Updates', 'buddypress' ) ?></option>
     18                        <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label>
     19                        <select id="activity-filter-by">
     20                                <option value="-1"><?php _e( 'Everything', 'buddypress' ) ?></option>
     21                                <option value="activity_update"><?php _e( 'Updates', 'buddypress' ) ?></option>
    2122
    2223                                <?php
     
    2425                                        if ( bp_is_active( 'blogs' ) ) : ?>
    2526
    26                                                 <option value="new_blog_post"><?php _e( 'Show Blog Posts', 'buddypress' ) ?></option>
    27                                                 <option value="new_blog_comment"><?php _e( 'Show Blog Comments', 'buddypress' ) ?></option>
     27                                                <option value="new_blog_post"><?php _e( 'Blog Posts', 'buddypress' ) ?></option>
     28                                                <option value="new_blog_comment"><?php _e( 'Blog Comments', 'buddypress' ) ?></option>
    2829
    2930                                        <?php
     
    3233                                        if ( bp_is_active( 'friends' ) ) : ?>
    3334
    34                                                 <option value="friendship_accepted,friendship_created"><?php _e( 'Show Friendship Connections', 'buddypress' ) ?></option>
     35                                                <option value="friendship_accepted,friendship_created"><?php _e( 'Friendships', 'buddypress' ) ?></option>
    3536
    3637                                        <?php endif;
     
    4041                                if ( bp_is_active( 'forums' ) ) : ?>
    4142
    42                                         <option value="new_forum_topic"><?php _e( 'Show New Forum Topics', 'buddypress' ) ?></option>
    43                                         <option value="new_forum_post"><?php _e( 'Show Forum Replies', 'buddypress' ) ?></option>
     43                                        <option value="new_forum_topic"><?php _e( 'Forum Topics', 'buddypress' ) ?></option>
     44                                        <option value="new_forum_post"><?php _e( 'Forum Replies', 'buddypress' ) ?></option>
    4445
    4546                                <?php endif;
     
    4748                                if ( bp_is_active( 'groups' ) ) : ?>
    4849
    49                                         <option value="created_group"><?php _e( 'Show New Groups', 'buddypress' ) ?></option>
    50                                         <option value="joined_group"><?php _e( 'Show New Group Memberships', 'buddypress' ) ?></option>
     50                                        <option value="created_group"><?php _e( 'New Groups', 'buddypress' ) ?></option>
     51                                        <option value="joined_group"><?php _e( 'Group Memberships', 'buddypress' ) ?></option>
    5152
    5253                                <?php endif;
Note: See TracChangeset for help on using the changeset viewer.