Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/04/2011 10:33:40 PM (13 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/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.