Skip to:
Content

BuddyPress.org


Ignore:
Location:
trunk/src/bp-templates/bp-legacy
Files:
2 deleted
75 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress-functions.php

    r11202 r10993  
    106106            // Group buttons.
    107107            if ( bp_is_active( 'groups' ) ) {
    108                 add_action( 'bp_group_header_actions',          'bp_group_join_button',               5           );
    109                 add_action( 'bp_group_header_actions',          'bp_group_new_topic_button',         20           );
    110                 add_action( 'bp_directory_groups_actions',      'bp_group_join_button'                            );
    111                 add_action( 'bp_groups_directory_group_filter', 'bp_legacy_theme_group_create_nav', 999           );
    112                 add_action( 'bp_after_group_admin_content',     'bp_legacy_groups_admin_screen_hidden_input'      );
    113                 add_action( 'bp_before_group_admin_form',       'bp_legacy_theme_group_manage_members_add_search' );
     108                add_action( 'bp_group_header_actions',          'bp_group_join_button',               5 );
     109                add_action( 'bp_group_header_actions',          'bp_group_new_topic_button',         20 );
     110                add_action( 'bp_directory_groups_actions',      'bp_group_join_button'                  );
     111                add_action( 'bp_groups_directory_group_filter', 'bp_legacy_theme_group_create_nav', 999 );
    114112            }
    115113
     
    609607
    610608/**
    611  * Renders the group ID hidden input on group admin screens.
    612  *
    613  * @since 2.7.0
    614  *
    615  * @return string html
    616  */
    617 function bp_legacy_groups_admin_screen_hidden_input() {
    618     ?>
    619     <input type="hidden" name="group-id" id="group-id" value="<?php bp_group_id(); ?>" />
    620     <?php
    621 }
    622 
    623 /**
    624609 * Add the Create a Site button to the Sites directory title.
    625610 *
     
    14491434        return;
    14501435
    1451     if ( ! $group = groups_get_group( $group_id ) )
     1436    if ( ! $group = groups_get_group( array( 'group_id' => $group_id ) ) )
    14521437        return;
    14531438
     
    14591444                _e( 'Error joining group', 'buddypress' );
    14601445            } else {
    1461                 echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button leave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>';
     1446                echo '<a id="group-' . esc_attr( $group->id ) . '" class="leave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>';
    14621447            }
    14631448
     
    14721457                    _e( 'Error requesting membership', 'buddypress' );
    14731458                } else {
    1474                     echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button leave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>';
     1459                    echo '<a id="group-' . esc_attr( $group->id ) . '" class="leave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>';
    14751460                }
    14761461
     
    14931478            _e( 'Error leaving group', 'buddypress' );
    14941479        } elseif ( 'public' == $group->status ) {
    1495             echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button join-group" rel="join" title="' . __( 'Join Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ) . '">' . __( 'Join Group', 'buddypress' ) . '</a>';
     1480            echo '<a id="group-' . esc_attr( $group->id ) . '" class="join-group" rel="join" title="' . __( 'Join Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ) . '">' . __( 'Join Group', 'buddypress' ) . '</a>';
    14961481        } elseif ( 'private' == $group->status ) {
    1497             echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button request-membership" rel="join" title="' . __( 'Request Membership', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_request_membership' ) . '">' . __( 'Request Membership', 'buddypress' ) . '</a>';
     1482            echo '<a id="group-' . esc_attr( $group->id ) . '" class="request-membership" rel="join" title="' . __( 'Request Membership', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_request_membership' ) . '">' . __( 'Request Membership', 'buddypress' ) . '</a>';
    14981483        }
    14991484    }
     
    19151900    ';
    19161901}
    1917 
    1918 /**
    1919  * Add a search box to a single group's manage members screen.
    1920  *
    1921  * @since 2.7.0
    1922  *
    1923  * @return string HTML for the search form.
    1924  */
    1925 function bp_legacy_theme_group_manage_members_add_search() {
    1926     if ( bp_is_action_variable( 'manage-members' ) ) :
    1927         ?>
    1928         <div id="members-dir-search" class="dir-search no-ajax" role="search">
    1929             <?php bp_directory_members_search_form(); ?>
    1930         </div>
    1931         <?php
    1932     endif;
    1933 }
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/comment.php

    r11202 r10993  
    2626    <div class="acomment-meta">
    2727        <?php
    28         /* translators: 1: user profile link, 2: user name, 3: activity permalink, 4: ISO8601 timestamp, 5: activity relative timestamp */
    29         printf( __( '<a href="%1$s">%2$s</a> replied <a href="%3$s" class="activity-time-since"><span class="time-since" data-livestamp="%4$s">%5$s</span></a>', 'buddypress' ), bp_get_activity_comment_user_link(), bp_get_activity_comment_name(), bp_get_activity_comment_permalink(), bp_core_get_iso8601_date( bp_get_activity_comment_date_recorded() ), bp_get_activity_comment_date_recorded() );
     28        /* translators: 1: user profile link, 2: user name, 3: activity permalink, 4: activity timestamp */
     29        printf( __( '<a href="%1$s">%2$s</a> replied <a href="%3$s" class="activity-time-since"><span class="time-since">%4$s</span></a>', 'buddypress' ), bp_get_activity_comment_user_link(), bp_get_activity_comment_name(), bp_get_activity_comment_permalink(), bp_get_activity_comment_date_recorded() );
    3030        ?>
    3131    </div>
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/index.php

    r11202 r10993  
    3333    <?php endif; ?>
    3434
    35     <div id="template-notices" role="alert" aria-atomic="true">
    36         <?php
    37 
    38         /**
    39          * Fires towards the top of template pages for notice display.
    40          *
    41          * @since 1.0.0
    42          */
    43         do_action( 'template_notices' ); ?>
    44 
    45     </div>
    46 
    47     <div class="item-list-tabs activity-type-tabs" aria-label="<?php esc_attr_e( 'Sitewide activities navigation', 'buddypress' ); ?>" role="navigation">
     35    <?php
     36
     37    /**
     38     * Fires towards the top of template pages for notice display.
     39     *
     40     * @since 1.0.0
     41     */
     42    do_action( 'template_notices' ); ?>
     43
     44    <div class="item-list-tabs activity-type-tabs" role="navigation">
    4845        <ul>
    4946            <?php
     
    141138    </div><!-- .item-list-tabs -->
    142139
    143     <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Activity secondary navigation', 'buddypress' ); ?>" role="navigation">
     140    <div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    144141        <ul>
    145142            <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>
     
    184181    do_action( 'bp_before_directory_activity_list' ); ?>
    185182
    186     <div class="activity" aria-live="polite" aria-atomic="true" aria-relevant="all">
     183    <div class="activity">
    187184
    188185        <?php bp_get_template_part( 'activity/activity-loop' ); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/activity/single/home.php

    r11202 r10993  
    99?>
    1010<div id="buddypress">
     11    <?php
    1112
    12     <div id="template-notices" role="alert" aria-atomic="true">
    13         <?php
    14 
    15         /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    16         do_action( 'template_notices' ); ?>
    17 
    18     </div>
     13    /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     14    do_action( 'template_notices' ); ?>
    1915
    2016    <div class="activity no-ajax">
  • trunk/src/bp-templates/bp-legacy/buddypress/blogs/create.php

    r11202 r10993  
    1414do_action( 'bp_before_create_blog_content_template' ); ?>
    1515
    16 <div id="template-notices" role="alert" aria-atomic="true">
    17     <?php
     16<?php
    1817
    19     /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    20     do_action( 'template_notices' ); ?>
    21 
    22 </div>
     18/** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     19do_action( 'template_notices' ); ?>
    2320
    2421<?php
  • trunk/src/bp-templates/bp-legacy/buddypress/blogs/index.php

    r11202 r10993  
    3434    do_action( 'bp_before_directory_blogs_content' ); ?>
    3535
    36     <?php /* Backward compatibility for inline search form. Use template part instead. */ ?>
    37     <?php if ( has_filter( 'bp_directory_blogs_search_form' ) ) : ?>
    38 
    39         <div id="blog-dir-search" class="dir-search" role="search">
    40             <?php bp_directory_blogs_search_form(); ?>
    41         </div><!-- #blog-dir-search -->
    42 
    43     <?php else : ?>
    44 
    45         <?php bp_get_template_part( 'common/search/dir-search-form' ); ?>
    46 
    47     <?php endif; ?>
     36    <div id="blog-dir-search" class="dir-search" role="search">
     37        <?php bp_directory_blogs_search_form(); ?>
     38    </div><!-- #blog-dir-search -->
    4839
    4940    <?php
     
    5849    <form action="" method="post" id="blogs-directory-form" class="dir-form">
    5950
    60         <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Sites directory main navigation', 'buddypress' ); ?>" role="navigation">
     51        <div class="item-list-tabs" role="navigation">
    6152            <ul>
    6253                <li class="selected" id="blogs-all"><a href="<?php bp_root_domain(); ?>/<?php bp_blogs_root_slug(); ?>"><?php printf( __( 'All Sites %s', 'buddypress' ), '<span>' . bp_get_total_blog_count() . '</span>' ); ?></a></li>
     
    8071        </div><!-- .item-list-tabs -->
    8172
    82         <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Sites directory secondary navigation', 'buddypress' ); ?>" role="navigation">
     73        <div class="item-list-tabs" id="subnav" role="navigation">
    8374            <ul>
    8475
     
    113104            </ul>
    114105        </div>
    115 
    116         <h2 class="bp-screen-reader-text"><?php
    117             /* translators: accessibility text */
    118             _e( 'Sites directory', 'buddypress' );
    119         ?></h2>
    120106
    121107        <div id="blogs-dir-list" class="blogs dir-list">
  • trunk/src/bp-templates/bp-legacy/buddypress/forums/index.php

    r11202 r10993  
    3030        do_action( 'bp_before_directory_forums_content' ); ?>
    3131
    32         <?php /* Backward compatibility for inline search form. Use template part instead. */ ?>
    33         <?php if ( has_filter( 'bp_directory_forums_search_form' ) ) : ?>
    34 
    35             <div id="forums-dir-search" class="dir-search" role="search">
    36                 <?php bp_directory_forums_search_form(); ?>
    37             </div>
    38 
    39         <?php else: ?>
    40 
    41             <?php bp_get_template_part( 'common/search/dir-search-form' ); ?>
    42 
    43         <?php endif; ?>
    44 
     32        <div id="forums-dir-search" class="dir-search" role="search">
     33
     34            <?php bp_directory_forums_search_form(); ?>
     35
     36        </div>
    4537    </form>
    4638
     
    5648    <form action="" method="post" id="forums-directory-form" class="dir-form">
    5749
    58         <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Forums directory main navigation', 'buddypress' ); ?>" role="navigation">
     50        <div class="item-list-tabs" role="navigation">
    5951            <ul>
    6052                <li class="selected" id="forums-all"><a href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_forums_root_slug() ); ?>"><?php printf( __( 'All Topics %s', 'buddypress' ), '<span>' . bp_get_forum_topic_count() . '</span>' ); ?></a></li>
     
    7870        </div>
    7971
    80         <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>" role="navigation">
     72        <div class="item-list-tabs" id="subnav" role="navigation">
    8173            <ul>
    8274
     
    169161                    <h5><?php _e( 'Create New Topic:', 'buddypress' ); ?></h5>
    170162
    171                     <div id="template-notices" role="alert" aria-atomic="true">
    172163                    <?php
    173164
    174                         /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    175                         do_action( 'template_notices' ); ?>
    176 
    177                     </div>
     165                    /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     166                    do_action( 'template_notices' ); ?>
    178167
    179168                    <label for="topic_title"><?php _e( 'Title:', 'buddypress' ); ?></label>
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/create.php

    r11202 r10993  
    3636        do_action( 'bp_before_create_group' ); ?>
    3737
    38         <div class="item-list-tabs no-ajax" id="group-create-tabs">
     38        <div class="item-list-tabs no-ajax" id="group-create-tabs" role="navigation">
    3939            <ul>
    4040
     
    4444        </div>
    4545
    46         <div id="template-notices" role="alert" aria-atomic="true">
    47             <?php
    48 
    49             /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    50             do_action( 'template_notices' ); ?>
    51 
    52         </div>
     46        <?php
     47
     48        /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     49        do_action( 'template_notices' ); ?>
    5350
    5451        <div class="item-body" id="group-create-body">
     
    5653            <?php /* Group creation step 1: Basic group details */ ?>
    5754            <?php if ( bp_is_group_creation_step( 'group-details' ) ) : ?>
    58 
    59                 <h2 class="bp-screen-reader-text"><?php
    60                     /* translators: accessibility text */
    61                     _e( 'Group Details', 'buddypress' );
    62                 ?></h2>
    6355
    6456                <?php
     
    9789            <?php /* Group creation step 2: Group settings */ ?>
    9890            <?php if ( bp_is_group_creation_step( 'group-settings' ) ) : ?>
    99 
    100                 <h2 class="bp-screen-reader-text"><?php
    101                     /* translators: accessibility text */
    102                     _e( 'Group Settings', 'buddypress' );
    103                 ?></h2>
    10491
    10592                <?php
     
    146133                </fieldset>
    147134
    148                 <?php // Group type selection ?>
    149                 <?php if ( $group_types = bp_groups_get_group_types( array( 'show_in_create_screen' => true ), 'objects' ) ): ?>
    150 
    151                     <fieldset class="group-create-types">
    152                         <legend><?php _e( 'Group Types', 'buddypress' ); ?></legend>
    153 
    154                         <p><?php _e( 'Select the types this group should be a part of.', 'buddypress' ); ?></p>
    155 
    156                         <?php foreach ( $group_types as $type ) : ?>
    157                             <div class="checkbox">
    158                                 <label for="<?php printf( 'group-type-%s', $type->name ); ?>"><input type="checkbox" name="group-types[]" id="<?php printf( 'group-type-%s', $type->name ); ?>" value="<?php echo esc_attr( $type->name ); ?>" <?php checked( true, ! empty( $type->create_screen_checked ) ); ?> /> <?php echo esc_html( $type->labels['name'] ); ?>
    159                                     <?php
    160                                         if ( ! empty( $type->description ) ) {
    161                                             /* translators: Group type description shown when creating a group. */
    162                                             printf( __( '&ndash; %s', 'buddypress' ), '<span class="bp-group-type-desc">' . esc_html( $type->description ) . '</span>' );
    163                                         }
    164                                     ?>
    165                                 </label>
    166                             </div>
    167 
    168                         <?php endforeach; ?>
    169 
    170                     </fieldset>
    171 
    172                 <?php endif; ?>
    173 
    174135                <fieldset class="group-create-invitations">
    175136
     
    224185            <?php /* Group creation step 3: Avatar Uploads */ ?>
    225186            <?php if ( bp_is_group_creation_step( 'group-avatar' ) ) : ?>
    226 
    227                 <h2 class="bp-screen-reader-text"><?php
    228                     /* translators: accessibility text */
    229                     _e( 'Group Avatar', 'buddypress' );
    230                 ?></h2>
    231187
    232188                <?php
     
    310266            <?php if ( bp_is_group_creation_step( 'group-cover-image' ) ) : ?>
    311267
    312                 <h2 class="bp-screen-reader-text"><?php
    313                     /* translators: accessibility text */
    314                     _e( 'Cover Image', 'buddypress' );
    315                 ?></h2>
    316 
    317268                <?php
    318269
     
    345296            <?php /* Group creation step 5: Invite friends to group */ ?>
    346297            <?php if ( bp_is_group_creation_step( 'group-invites' ) ) : ?>
    347 
    348                 <h2 class="bp-screen-reader-text"><?php
    349                     /* translators: accessibility text */
    350                     _e( 'Group Invites', 'buddypress' );
    351                 ?></h2>
    352298
    353299                <?php
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/groups-loop.php

    r11202 r10993  
    1919 */
    2020do_action( 'bp_before_groups_loop' ); ?>
    21 
    22 <?php if ( bp_get_current_group_directory_type() ) : ?>
    23     <p class="current-group-type"><?php bp_current_group_directory_type_message() ?></p>
    24 <?php endif; ?>
    2521
    2622<?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) ) ) : ?>
     
    5147    do_action( 'bp_before_directory_groups_list' ); ?>
    5248
    53     <ul id="groups-list" class="item-list" aria-live="assertive" aria-atomic="true" aria-relevant="all">
     49    <ul id="groups-list" class="item-list">
    5450
    5551    <?php while ( bp_groups() ) : bp_the_group(); ?>
     
    6460            <div class="item">
    6561                <div class="item-title"><a href="<?php bp_group_permalink(); ?>"><?php bp_group_name(); ?></a></div>
    66                 <div class="item-meta"><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></div>
     62                <div class="item-meta"><span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span></div>
    6763
    6864                <div class="item-desc"><?php bp_group_description_excerpt(); ?></div>
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/index.php

    r11202 r10993  
    3434    do_action( 'bp_before_directory_groups_content' ); ?>
    3535
    36     <?php /* Backward compatibility for inline search form. Use template part instead. */ ?>
    37     <?php if ( has_filter( 'bp_directory_groups_search_form' ) ) : ?>
    38 
    39         <div id="group-dir-search" class="dir-search" role="search">
    40             <?php bp_directory_groups_search_form(); ?>
    41         </div><!-- #group-dir-search -->
    42 
    43     <?php else: ?>
    44 
    45         <?php bp_get_template_part( 'common/search/dir-search-form' ); ?>
    46 
    47     <?php endif; ?>
     36    <div id="group-dir-search" class="dir-search" role="search">
     37        <?php bp_directory_groups_search_form(); ?>
     38    </div><!-- #group-dir-search -->
    4839
    4940    <form action="" method="post" id="groups-directory-form" class="dir-form">
    5041
    51         <div id="template-notices" role="alert" aria-atomic="true">
    52             <?php
     42        <?php
    5343
    54             /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    55             do_action( 'template_notices' ); ?>
     44        /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     45        do_action( 'template_notices' ); ?>
    5646
    57         </div>
    58 
    59         <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Groups directory main navigation', 'buddypress' ); ?>">
     47        <div class="item-list-tabs" role="navigation">
    6048            <ul>
    6149                <li class="selected" id="groups-all"><a href="<?php bp_groups_directory_permalink(); ?>"><?php printf( __( 'All Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count() . '</span>' ); ?></a></li>
     
    7765        </div><!-- .item-list-tabs -->
    7866
    79         <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Groups directory secondary navigation', 'buddypress' ); ?>" role="navigation">
     67        <div class="item-list-tabs" id="subnav" role="navigation">
    8068            <ul>
    8169                <?php
     
    11098            </ul>
    11199        </div>
    112 
    113         <h2 class="bp-screen-reader-text"><?php
    114             /* translators: accessibility text */
    115             _e( 'Groups directory', 'buddypress' );
    116         ?></h2>
    117100
    118101        <div id="groups-dir-list" class="groups dir-list">
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/activity.php

    r11202 r10993  
    88
    99?>
    10 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>" role="navigation">
     10<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    1111    <ul>
    1212        <li class="feed"><a href="<?php bp_group_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'buddypress' ); ?>"><?php _e( 'RSS', 'buddypress' ); ?></a></li>
     
    7373do_action( 'bp_before_group_activity_content' ); ?>
    7474
    75 <div class="activity single-group" aria-live="polite" aria-atomic="true" aria-relevant="all">
     75<div class="activity single-group">
    7676
    7777    <?php bp_get_template_part( 'activity/activity-loop' ); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/admin.php

    r11202 r10993  
    88
    99?>
    10 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>" role="navigation">
     10<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    1111    <ul>
    1212        <?php bp_group_admin_tabs(); ?>
     
    1414</div><!-- .item-list-tabs -->
    1515
     16<form action="<?php bp_group_admin_form_action(); ?>" name="group-settings-form" id="group-settings-form" class="standard-form" method="post" enctype="multipart/form-data">
     17
    1618<?php
     19
    1720/**
    18  * Fires before the group admin form and content.
     21 * Fires inside the group admin form and before the content.
    1922 *
    20  * @since 2.7.0
     23 * @since 1.1.0
    2124 */
    22 do_action( 'bp_before_group_admin_form' ); ?>
    23 
    24 <form action="<?php bp_group_admin_form_action(); ?>" name="group-settings-form" id="group-settings-form" class="standard-form" method="post" enctype="multipart/form-data">
    25 
    26     <?php
    27     /**
    28      * Fires inside the group admin form and before the content.
    29      *
    30      * @since 1.1.0
    31      */
    32     do_action( 'bp_before_group_admin_content' ); ?>
    33 
    34     <?php /* Fetch the template for the current admin screen being viewed */ ?>
    35 
    36     <?php if ( bp_is_group_admin_screen( bp_action_variable() ) ) : ?>
    37 
    38         <?php bp_get_template_part( 'groups/single/admin/' . bp_action_variable() ); ?>
     25do_action( 'bp_before_group_admin_content' ); ?>
     26
     27<?php /* Edit Group Details */ ?>
     28<?php if ( bp_is_group_admin_screen( 'edit-details' ) ) : ?>
     29
     30    <?php
     31
     32    /**
     33     * Fires before the display of group admin details.
     34     *
     35     * @since 1.1.0
     36     */
     37    do_action( 'bp_before_group_details_admin' ); ?>
     38
     39    <label for="group-name"><?php _e( 'Group Name (required)', 'buddypress' ); ?></label>
     40    <input type="text" name="group-name" id="group-name" value="<?php bp_group_name(); ?>" aria-required="true" />
     41
     42    <label for="group-desc"><?php _e( 'Group Description (required)', 'buddypress' ); ?></label>
     43    <textarea name="group-desc" id="group-desc" aria-required="true"><?php bp_group_description_editable(); ?></textarea>
     44
     45    <?php
     46
     47    /**
     48     * Fires after the group description admin details.
     49     *
     50     * @since 1.0.0
     51     */
     52    do_action( 'groups_custom_group_fields_editable' ); ?>
     53
     54    <p>
     55        <label for="group-notify-members">
     56            <input type="checkbox" name="group-notify-members" id="group-notify-members" value="1" /> <?php _e( 'Notify group members of these changes via email', 'buddypress' ); ?>
     57        </label>
     58    </p>
     59
     60    <?php
     61
     62    /**
     63     * Fires after the display of group admin details.
     64     *
     65     * @since 1.1.0
     66     */
     67    do_action( 'bp_after_group_details_admin' ); ?>
     68
     69    <p><input type="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="save" name="save" /></p>
     70    <?php wp_nonce_field( 'groups_edit_group_details' ); ?>
     71
     72<?php endif; ?>
     73
     74<?php /* Manage Group Settings */ ?>
     75<?php if ( bp_is_group_admin_screen( 'group-settings' ) ) : ?>
     76
     77    <?php
     78
     79    /**
     80     * Fires before the group settings admin display.
     81     *
     82     * @since 1.1.0
     83     */
     84    do_action( 'bp_before_group_settings_admin' ); ?>
     85
     86    <?php if ( bp_is_active( 'forums' ) ) : ?>
     87
     88        <?php if ( bp_forums_is_installed_correctly() ) : ?>
     89
     90            <div class="checkbox">
     91                <label for="group-show-forum"><input type="checkbox" name="group-show-forum" id="group-show-forum" value="1"<?php bp_group_show_forum_setting(); ?> /> <?php _e( 'Enable discussion forum', 'buddypress' ); ?></label>
     92            </div>
     93
     94            <hr />
     95
     96        <?php endif; ?>
    3997
    4098    <?php endif; ?>
    4199
    42     <?php
    43 
    44     /**
    45      * Fires inside the group admin template.
    46      *
    47      * Allows plugins to add custom group edit screens.
    48      *
    49      * @since 1.1.0
    50      */
    51     do_action( 'groups_custom_edit_steps' ); ?>
    52 
    53     <?php
    54 
    55     /**
    56      * Fires inside the group admin form and after the content.
    57      *
    58      * @since 1.1.0
    59      */
    60     do_action( 'bp_after_group_admin_content' ); ?>
     100    <fieldset class="group-create-privacy">
     101
     102        <legend><?php _e( 'Privacy Options', 'buddypress' ); ?></legend>
     103
     104        <div class="radio">
     105
     106            <label for="group-status-public"><input type="radio" name="group-status" id="group-status-public" value="public"<?php if ( 'public' == bp_get_new_group_status() || !bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="public-group-description" /> <?php _e( 'This is a public group', 'buddypress' ); ?></label>
     107
     108            <ul id="public-group-description">
     109                <li><?php _e( 'Any site member can join this group.', 'buddypress' ); ?></li>
     110                <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li>
     111                <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li>
     112            </ul>
     113
     114            <label for="group-status-private"><input type="radio" name="group-status" id="group-status-private" value="private"<?php if ( 'private' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="private-group-description" /> <?php _e( 'This is a private group', 'buddypress' ); ?></label>
     115
     116            <ul id="private-group-description">
     117                <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li>
     118                <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li>
     119                <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li>
     120            </ul>
     121
     122            <label for="group-status-hidden"><input type="radio" name="group-status" id="group-status-hidden" value="hidden"<?php if ( 'hidden' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="hidden-group-description" /> <?php _e('This is a hidden group', 'buddypress' ); ?></label>
     123
     124            <ul id="hidden-group-description">
     125                <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li>
     126                <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li>
     127                <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li>
     128            </ul>
     129
     130        </div>
     131
     132    </fieldset>
     133
     134    <fieldset class="group-create-invitations">
     135
     136        <legend><?php _e( 'Group Invitations', 'buddypress' ); ?></legend>
     137
     138        <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p>
     139
     140        <div class="radio">
     141
     142            <label for="group-invite-status-members"><input type="radio" name="group-invite-status" id="group-invite-status-members" value="members"<?php bp_group_show_invite_status_setting( 'members' ); ?> /> <?php _e( 'All group members', 'buddypress' ); ?></label>
     143
     144            <label for="group-invite-status-mods"><input type="radio" name="group-invite-status" id="group-invite-status-mods" value="mods"<?php bp_group_show_invite_status_setting( 'mods' ); ?> /> <?php _e( 'Group admins and mods only', 'buddypress' ); ?></label>
     145
     146            <label for="group-invite-status-admins"><input type="radio" name="group-invite-status" id="group-invite-status-admins" value="admins"<?php bp_group_show_invite_status_setting( 'admins' ); ?> /> <?php _e( 'Group admins only', 'buddypress' ); ?></label>
     147
     148        </div>
     149
     150    </fieldset>
     151
     152    <?php
     153
     154    /**
     155     * Fires after the group settings admin display.
     156     *
     157     * @since 1.1.0
     158     */
     159    do_action( 'bp_after_group_settings_admin' ); ?>
     160
     161    <p><input type="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="save" name="save" /></p>
     162    <?php wp_nonce_field( 'groups_edit_group_settings' ); ?>
     163
     164<?php endif; ?>
     165
     166<?php /* Group Avatar Settings */ ?>
     167<?php if ( bp_is_group_admin_screen( 'group-avatar' ) ) : ?>
     168
     169    <?php if ( 'upload-image' == bp_get_avatar_admin_step() ) : ?>
     170
     171            <p><?php _e("Upload an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.", 'buddypress' ); ?></p>
     172
     173            <p>
     174                <label for="file" class="bp-screen-reader-text"><?php
     175                    /* translators: accessibility text */
     176                    _e( 'Select an image', 'buddypress' );
     177                ?></label>
     178                <input type="file" name="file" id="file" />
     179                <input type="submit" name="upload" id="upload" value="<?php esc_attr_e( 'Upload Image', 'buddypress' ); ?>" />
     180                <input type="hidden" name="action" id="action" value="bp_avatar_upload" />
     181            </p>
     182
     183            <?php if ( bp_get_group_has_avatar() ) : ?>
     184
     185                <p><?php _e( "If you'd like to remove the existing group profile photo but not upload a new one, please use the delete group profile photo button.", 'buddypress' ); ?></p>
     186
     187                <?php bp_button( array( 'id' => 'delete_group_avatar', 'component' => 'groups', 'wrapper_id' => 'delete-group-avatar-button', 'link_class' => 'edit', 'link_href' => bp_get_group_avatar_delete_link(), 'link_text' => __( 'Delete Group Profile Photo', 'buddypress' ) ) ); ?>
     188
     189            <?php endif; ?>
     190
     191            <?php
     192            /**
     193             * Load the Avatar UI templates
     194             *
     195             * @since  2.3.0
     196             */
     197            bp_avatar_get_templates(); ?>
     198
     199            <?php wp_nonce_field( 'bp_avatar_upload' ); ?>
     200
     201    <?php endif; ?>
     202
     203    <?php if ( 'crop-image' == bp_get_avatar_admin_step() ) : ?>
     204
     205        <h4><?php _e( 'Crop Profile Photo', 'buddypress' ); ?></h4>
     206
     207        <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile photo to crop', 'buddypress' ); ?>" />
     208
     209        <div id="avatar-crop-pane">
     210            <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-crop-preview" class="avatar" alt="<?php esc_attr_e( 'Profile photo preview', 'buddypress' ); ?>" />
     211        </div>
     212
     213        <input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php esc_attr_e( 'Crop Image', 'buddypress' ); ?>" />
     214
     215        <input type="hidden" name="image_src" id="image_src" value="<?php bp_avatar_to_crop_src(); ?>" />
     216        <input type="hidden" id="x" name="x" />
     217        <input type="hidden" id="y" name="y" />
     218        <input type="hidden" id="w" name="w" />
     219        <input type="hidden" id="h" name="h" />
     220
     221        <?php wp_nonce_field( 'bp_avatar_cropstore' ); ?>
     222
     223    <?php endif; ?>
     224
     225<?php endif; ?>
     226
     227<?php /* Group Cover image Settings */ ?>
     228<?php if ( bp_is_group_admin_screen( 'group-cover-image' ) ) : ?>
     229
     230    <h4><?php _e( 'Change Cover Image', 'buddypress' ); ?></h4>
     231
     232    <?php
     233
     234    /**
     235     * Fires before the display of profile cover image upload content.
     236     *
     237     * @since 2.4.0
     238     */
     239    do_action( 'bp_before_group_settings_cover_image' ); ?>
     240
     241    <p><?php _e( 'The Cover Image will be used to customize the header of your group.', 'buddypress' ); ?></p>
     242
     243    <?php bp_attachments_get_template_part( 'cover-images/index' ); ?>
     244
     245    <?php
     246
     247    /**
     248     * Fires after the display of group cover image upload content.
     249     *
     250     * @since 2.4.0
     251     */
     252    do_action( 'bp_after_group_settings_cover_image' ); ?>
     253
     254<?php endif; ?>
     255
     256<?php /* Manage Group Members */ ?>
     257<?php if ( bp_is_group_admin_screen( 'manage-members' ) ) : ?>
     258
     259    <?php
     260
     261    /**
     262     * Fires before the group manage members admin display.
     263     *
     264     * @since 1.1.0
     265     */
     266    do_action( 'bp_before_group_manage_members_admin' ); ?>
     267
     268    <div class="bp-widget">
     269        <h4><?php _e( 'Administrators', 'buddypress' ); ?></h4>
     270
     271        <?php if ( bp_has_members( '&include='. bp_group_admin_ids() ) ) : ?>
     272
     273        <ul id="admins-list" class="item-list single-line">
     274
     275            <?php while ( bp_members() ) : bp_the_member(); ?>
     276            <li>
     277                <?php echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_member_name() ) ) ); ?>
     278                <h5>
     279                    <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a>
     280                    <?php if ( count( bp_group_admin_ids( false, 'array' ) ) > 1 ) : ?>
     281                    <span class="small">
     282                        <a class="button confirm admin-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a>
     283                    </span>
     284                    <?php endif; ?>
     285                </h5>
     286            </li>
     287            <?php endwhile; ?>
     288
     289        </ul>
     290
     291        <?php endif; ?>
     292
     293    </div>
     294
     295    <?php if ( bp_group_has_moderators() ) : ?>
     296        <div class="bp-widget">
     297            <h4><?php _e( 'Moderators', 'buddypress' ); ?></h4>
     298
     299            <?php if ( bp_has_members( '&include=' . bp_group_mod_ids() ) ) : ?>
     300                <ul id="mods-list" class="item-list single-line">
     301
     302                    <?php while ( bp_members() ) : bp_the_member(); ?>
     303                    <li>
     304                        <?php echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_member_name() ) ) ); ?>
     305                        <h5>
     306                            <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a>
     307                            <span class="small">
     308                                <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => bp_get_member_user_id() ) ); ?>" class="button confirm mod-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a>
     309                                <a class="button confirm mod-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a>
     310                            </span>
     311                        </h5>
     312                    </li>
     313                    <?php endwhile; ?>
     314
     315                </ul>
     316
     317            <?php endif; ?>
     318        </div>
     319    <?php endif ?>
     320
     321
     322    <div class="bp-widget">
     323        <h4><?php _e( "Members", 'buddypress' ); ?></h4>
     324
     325        <?php if ( bp_group_has_members( 'per_page=15&exclude_banned=0' ) ) : ?>
     326
     327            <?php if ( bp_group_member_needs_pagination() ) : ?>
     328
     329                <div class="pagination no-ajax">
     330
     331                    <div id="member-count" class="pag-count">
     332                        <?php bp_group_member_pagination_count(); ?>
     333                    </div>
     334
     335                    <div id="member-admin-pagination" class="pagination-links">
     336                        <?php bp_group_member_admin_pagination(); ?>
     337                    </div>
     338
     339                </div>
     340
     341            <?php endif; ?>
     342
     343            <ul id="members-list" class="item-list single-line">
     344                <?php while ( bp_group_members() ) : bp_group_the_member(); ?>
     345
     346                    <li class="<?php bp_group_member_css_class(); ?>">
     347                        <?php bp_group_member_avatar_mini(); ?>
     348
     349                        <h5>
     350                            <?php bp_group_member_link(); ?>
     351
     352                            <?php if ( bp_get_group_member_is_banned() ) _e( '(banned)', 'buddypress' ); ?>
     353
     354                            <span class="small">
     355
     356                            <?php if ( bp_get_group_member_is_banned() ) : ?>
     357
     358                                <a href="<?php bp_group_member_unban_link(); ?>" class="button confirm member-unban" title="<?php esc_attr_e( 'Unban this member', 'buddypress' ); ?>"><?php _e( 'Remove Ban', 'buddypress' ); ?></a>
     359
     360                            <?php else : ?>
     361
     362                                <a href="<?php bp_group_member_ban_link(); ?>" class="button confirm member-ban"><?php _e( 'Kick &amp; Ban', 'buddypress' ); ?></a>
     363                                <a href="<?php bp_group_member_promote_mod_link(); ?>" class="button confirm member-promote-to-mod"><?php _e( 'Promote to Mod', 'buddypress' ); ?></a>
     364                                <a href="<?php bp_group_member_promote_admin_link(); ?>" class="button confirm member-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a>
     365
     366                            <?php endif; ?>
     367
     368                                <a href="<?php bp_group_member_remove_link(); ?>" class="button confirm"><?php _e( 'Remove from group', 'buddypress' ); ?></a>
     369
     370                                <?php
     371
     372                                /**
     373                                 * Fires inside the display of a member admin item in group management area.
     374                                 *
     375                                 * @since 1.1.0
     376                                 */
     377                                do_action( 'bp_group_manage_members_admin_item' ); ?>
     378
     379                            </span>
     380                        </h5>
     381                    </li>
     382
     383                <?php endwhile; ?>
     384            </ul>
     385
     386            <?php if ( bp_group_member_needs_pagination() ) : ?>
     387
     388                <div class="pagination no-ajax">
     389
     390                    <div id="member-count" class="pag-count">
     391                        <?php bp_group_member_pagination_count(); ?>
     392                    </div>
     393
     394                    <div id="member-admin-pagination" class="pagination-links">
     395                        <?php bp_group_member_admin_pagination(); ?>
     396                    </div>
     397
     398                </div>
     399
     400            <?php endif; ?>
     401
     402        <?php else: ?>
     403
     404            <div id="message" class="info">
     405                <p><?php _e( 'This group has no members.', 'buddypress' ); ?></p>
     406            </div>
     407
     408        <?php endif; ?>
     409
     410    </div>
     411
     412    <?php
     413
     414    /**
     415     * Fires after the group manage members admin display.
     416     *
     417     * @since 1.1.0
     418     */
     419    do_action( 'bp_after_group_manage_members_admin' ); ?>
     420
     421<?php endif; ?>
     422
     423<?php /* Manage Membership Requests */ ?>
     424<?php if ( bp_is_group_admin_screen( 'membership-requests' ) ) : ?>
     425
     426    <?php
     427
     428    /**
     429     * Fires before the display of group membership requests admin.
     430     *
     431     * @since 1.1.0
     432     */
     433    do_action( 'bp_before_group_membership_requests_admin' ); ?>
     434
     435        <div class="requests">
     436
     437            <?php bp_get_template_part( 'groups/single/requests-loop' ); ?>
     438
     439        </div>
     440
     441    <?php
     442
     443    /**
     444     * Fires after the display of group membership requests admin.
     445     *
     446     * @since 1.1.0
     447     */
     448    do_action( 'bp_after_group_membership_requests_admin' ); ?>
     449
     450<?php endif; ?>
     451
     452<?php
     453
     454/**
     455 * Fires inside the group admin template.
     456 *
     457 * Allows plugins to add custom group edit screens.
     458 *
     459 * @since 1.1.0
     460 */
     461do_action( 'groups_custom_edit_steps' ); ?>
     462
     463<?php /* Delete Group Option */ ?>
     464<?php if ( bp_is_group_admin_screen( 'delete-group' ) ) : ?>
     465
     466    <?php
     467
     468    /**
     469     * Fires before the display of group delete admin.
     470     *
     471     * @since 1.1.0
     472     */
     473    do_action( 'bp_before_group_delete_admin' ); ?>
     474
     475    <div id="message" class="info">
     476        <p><?php _e( 'WARNING: Deleting this group will completely remove ALL content associated with it. There is no way back, please be careful with this option.', 'buddypress' ); ?></p>
     477    </div>
     478
     479    <label for="delete-group-understand"><input type="checkbox" name="delete-group-understand" id="delete-group-understand" value="1" onclick="if(this.checked) { document.getElementById('delete-group-button').disabled = ''; } else { document.getElementById('delete-group-button').disabled = 'disabled'; }" /> <?php _e( 'I understand the consequences of deleting this group.', 'buddypress' ); ?></label>
     480
     481    <?php
     482
     483    /**
     484     * Fires after the display of group delete admin.
     485     *
     486     * @since 1.1.0
     487     */
     488    do_action( 'bp_after_group_delete_admin' ); ?>
     489
     490    <div class="submit">
     491        <input type="submit" disabled="disabled" value="<?php esc_attr_e( 'Delete Group', 'buddypress' ); ?>" id="delete-group-button" name="delete-group-button" />
     492    </div>
     493
     494    <?php wp_nonce_field( 'groups_delete_group' ); ?>
     495
     496<?php endif; ?>
     497
     498<?php /* This is important, don't forget it */ ?>
     499    <input type="hidden" name="group-id" id="group-id" value="<?php bp_group_id(); ?>" />
     500
     501<?php
     502
     503/**
     504 * Fires inside the group admin form and after the content.
     505 *
     506 * @since 1.1.0
     507 */
     508do_action( 'bp_after_group_admin_content' ); ?>
    61509
    62510</form><!-- #group-settings-form -->
    63 
    64 <?php
    65 /**
    66  * Fires after the group admin form and content.
    67  *
    68  * @since 2.7.0
    69  */
    70 do_action( 'bp_after_group_admin_form' ); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php

    r11202 r10993  
    6060
    6161                <span class="highlight"><?php bp_group_type(); ?></span>
    62                 <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>
     62                <span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span>
    6363
    6464                <?php bp_group_description(); ?>
    6565
    66                 <?php bp_group_type_list(); ?>
    6766            </div>
    6867        </div><!-- #item-header-content -->
     
    119118 * @since 1.2.0
    120119 */
    121 do_action( 'bp_after_group_header' ); ?>
     120do_action( 'bp_after_group_header' );
    122121
    123 <div id="template-notices" role="alert" aria-atomic="true">
    124     <?php
    125 
    126     /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    127     do_action( 'template_notices' ); ?>
    128 
    129 </div>
     122/** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     123do_action( 'template_notices' ); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/forum.php

    r11202 r10993  
    2222else : ?>
    2323
    24     <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>" role="navigation">
     24    <div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    2525        <ul>
    2626
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php

    r11202 r10993  
    1818    <form action="<?php bp_forum_topic_action(); ?>" method="post" id="forum-topic-form" class="standard-form">
    1919
    20         <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>" role="navigation">
     20        <div class="item-list-tabs" id="subnav" role="navigation">
    2121            <ul>
    2222                <li>
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/forum/topic.php

    r11202 r10993  
    1515
    1616<form action="<?php bp_forum_topic_action(); ?>" method="post" id="forum-topic-form" class="standard-form">
    17     <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>" role="navigation">
     17    <div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    1818        <ul>
    1919            <?php if ( is_user_logged_in() ) : ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/group-header.php

    r11202 r10993  
    6969<div id="item-header-content">
    7070    <span class="highlight"><?php bp_group_type(); ?></span>
    71     <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>
     71    <span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span>
    7272
    7373    <?php
     
    8383
    8484        <?php bp_group_description(); ?>
    85 
    86         <?php bp_group_type_list(); ?>
    8785
    8886        <div id="item-buttons">
     
    118116 * @since 1.2.0
    119117 */
    120 do_action( 'bp_after_group_header' );  ?>
     118do_action( 'bp_after_group_header' );
    121119
    122 <div id="template-notices" role="alert" aria-atomic="true">
    123     <?php
    124 
    125     /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    126     do_action( 'template_notices' ); ?>
    127 
    128 </div>
     120/** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     121do_action( 'template_notices' );
     122?>
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/home.php

    r11202 r10993  
    3737
    3838    <div id="item-nav">
    39         <div class="item-list-tabs no-ajax" id="object-nav" aria-label="<?php esc_attr_e( 'Group primary navigation', 'buddypress' ); ?>" role="navigation">
     39        <div class="item-list-tabs no-ajax" id="object-nav" role="navigation">
    4040            <ul>
    4141
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php

    r11202 r10993  
    5959                <?php bp_group_invite_user_avatar(); ?>
    6060
    61                 <h3><?php bp_group_invite_user_link(); ?></h3>
     61                <h4><?php bp_group_invite_user_link(); ?></h4>
    6262                <span class="activity"><?php bp_group_invite_user_last_active(); ?></span>
    6363
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/members.php

    r11202 r10993  
    5757
    5858                <h5><?php bp_group_member_link(); ?></h5>
    59                 <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_member_joined_since( array( 'relative' => false ) ) ); ?>"><?php bp_group_member_joined_since(); ?></span>
     59                <span class="activity"><?php bp_group_member_joined_since(); ?></span>
    6060
    6161                <?php
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/request-membership.php

    r11202 r10993  
    1515
    1616<?php if ( !bp_group_has_requested_membership() ) : ?>
    17     <h2 class="bp-screen-reader-text"><?php
    18         /* translators: accessibility text */
    19         _e( 'Request form', 'buddypress' );
    20     ?></h2>
    21 
    2217    <p><?php printf( __( "You are requesting to become a member of the group '%s'.", 'buddypress' ), bp_get_group_name( false ) ); ?></p>
    2318
  • trunk/src/bp-templates/bp-legacy/buddypress/groups/single/send-invites.php

    r11202 r10993  
    1818if ( bp_get_new_group_invite_friend_list() ) : ?>
    1919
    20     <h2 class="bp-screen-reader-text"><?php _e( 'Send invites', 'buddypress' ); ?></h2>
    21 
    2220    <?php /* 'send-invite-form' is important for AJAX support */ ?>
    2321    <form action="<?php bp_group_send_invite_form_action(); ?>" method="post" id="send-invite-form" class="standard-form">
    2422
    25         <div class="invite" aria-live="polite" aria-atomic="false" aria-relevant="all">
     23        <div class="invite">
    2624            <?php bp_get_template_part( 'groups/single/invites-loop' ); ?>
    2725        </div>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/activate.php

    r11202 r10993  
    2222    <div class="page" id="activate-page">
    2323
    24         <div id="template-notices" role="alert" aria-atomic="true">
    25             <?php
     24        <?php
    2625
    27             /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    28             do_action( 'template_notices' ); ?>
    29 
    30         </div>
     26        /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     27        do_action( 'template_notices' ); ?>
    3128
    3229        <?php
  • trunk/src/bp-templates/bp-legacy/buddypress/members/index.php

    r11202 r10993  
    3434    do_action( 'bp_before_directory_members_content' ); ?>
    3535
    36     <?php /* Backward compatibility for inline search form. Use template part instead. */ ?>
    37     <?php if ( has_filter( 'bp_directory_members_search_form' ) ) : ?>
    38 
    39         <div id="members-dir-search" class="dir-search" role="search">
    40             <?php bp_directory_members_search_form(); ?>
    41         </div><!-- #members-dir-search -->
    42 
    43     <?php else: ?>
    44 
    45         <?php bp_get_template_part( 'common/search/dir-search-form' ); ?>
    46 
    47     <?php endif; ?>
     36    <div id="members-dir-search" class="dir-search" role="search">
     37        <?php bp_directory_members_search_form(); ?>
     38    </div><!-- #members-dir-search -->
    4839
    4940    <?php
     41
    5042    /**
    5143     * Fires before the display of the members list tabs.
     
    5749    <form action="" method="post" id="members-directory-form" class="dir-form">
    5850
    59         <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Members directory main navigation', 'buddypress' ); ?>" role="navigation">
     51        <div class="item-list-tabs" role="navigation">
    6052            <ul>
    6153                <li class="selected" id="members-all"><a href="<?php bp_members_directory_permalink(); ?>"><?php printf( __( 'All Members %s', 'buddypress' ), '<span>' . bp_get_total_member_count() . '</span>' ); ?></a></li>
    6254
    6355                <?php if ( is_user_logged_in() && bp_is_active( 'friends' ) && bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?>
    64                     <li id="members-personal"><a href="<?php echo esc_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/' ); ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
     56                    <li id="members-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/'; ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
    6557                <?php endif; ?>
    6658
     
    7769        </div><!-- .item-list-tabs -->
    7870
    79         <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Members directory secondary navigation', 'buddypress' ); ?>" role="navigation">
     71        <div class="item-list-tabs" id="subnav" role="navigation">
    8072            <ul>
    8173                <?php
     
    110102            </ul>
    111103        </div>
    112 
    113         <h2 class="bp-screen-reader-text"><?php
    114             /* translators: accessibility text */
    115             _e( 'Members directory', 'buddypress' );
    116         ?></h2>
    117104
    118105        <div id="members-dir-list" class="members dir-list">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/members-loop.php

    r11202 r10993  
    4747    do_action( 'bp_before_directory_members_list' ); ?>
    4848
    49     <ul id="members-list" class="item-list" aria-live="assertive" aria-relevant="all">
     49    <ul id="members-list" class="item-list">
    5050
    5151    <?php while ( bp_members() ) : bp_the_member(); ?>
     
    6868                </div>
    6969
    70                 <div class="item-meta"><span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_last_active( array( 'relative' => false ) ) ); ?>"><?php bp_member_last_active(); ?></span></div>
     70                <div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div>
    7171
    7272                <?php
  • trunk/src/bp-templates/bp-legacy/buddypress/members/register.php

    r11202 r10993  
    2525
    2626        <?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?>
    27 
    28             <div id="template-notices" role="alert" aria-atomic="true">
    29                 <?php
    30 
    31                 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    32                 do_action( 'template_notices' ); ?>
    33 
    34             </div>
    35 
     27            <?php
     28
     29            /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     30            do_action( 'template_notices' ); ?>
    3631            <?php
    3732
     
    5752        <?php if ( 'request-details' == bp_get_current_signup_step() ) : ?>
    5853
    59             <div id="template-notices" role="alert" aria-atomic="true">
    60                 <?php
    61 
    62                 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    63                 do_action( 'template_notices' ); ?>
    64 
    65             </div>
     54            <?php
     55
     56            /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     57            do_action( 'template_notices' ); ?>
    6658
    6759            <p><?php _e( 'Registering for this site is easy. Just fill in the fields below, and we\'ll get a new account set up for you in no time.', 'buddypress' ); ?></p>
     
    303295                        <input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value(); ?>" />
    304296
    305                         <fieldset class="register-site">
    306                             <legend class="label"><?php _e( 'Privacy: I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?></legend>
    307                             <?php
    308 
    309                             /**
    310                              * Fires and displays any member registration blog privacy errors.
    311                              *
    312                              * @since 1.1.0
    313                              */
    314                             do_action( 'bp_signup_blog_privacy_errors' ); ?>
    315 
    316                             <label for="signup_blog_privacy_public"><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ); ?></label>
    317                             <label for="signup_blog_privacy_private"><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ); ?></label>
    318                         </fieldset>
     297                        <span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?></span>
     298                        <?php
     299
     300                        /**
     301                         * Fires and displays any member registration blog privacy errors.
     302                         *
     303                         * @since 1.1.0
     304                         */
     305                        do_action( 'bp_signup_blog_privacy_errors' ); ?>
     306
     307                        <label for="signup_blog_privacy_public"><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ); ?></label>
     308                        <label for="signup_blog_privacy_private"><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ); ?></label>
    319309
    320310                        <?php
     
    370360        <?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?>
    371361
    372             <div id="template-notices" role="alert" aria-atomic="true">
    373                 <?php
    374 
    375                 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    376                 do_action( 'template_notices' ); ?>
    377 
    378             </div>
    379 
     362            <?php
     363
     364            /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     365            do_action( 'template_notices' ); ?>
    380366            <?php
    381367
     
    387373            do_action( 'bp_before_registration_confirmed' ); ?>
    388374
    389             <div id="template-notices" role="alert" aria-atomic="true">
    390                 <?php if ( bp_registration_needs_activation() ) : ?>
    391                     <p><?php _e( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' ); ?></p>
    392                 <?php else : ?>
    393                     <p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p>
    394                 <?php endif; ?>
    395             </div>
     375            <?php if ( bp_registration_needs_activation() ) : ?>
     376                <p><?php _e( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' ); ?></p>
     377            <?php else : ?>
     378                <p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p>
     379            <?php endif; ?>
    396380
    397381            <?php
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/activity.php

    r11202 r10993  
    99?>
    1010
    11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
     11<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    1212    <ul>
    1313
     
    6262do_action( 'bp_before_member_activity_content' ); ?>
    6363
    64 <div class="activity" aria-live="polite" aria-atomic="true" aria-relevant="all">
     64<div class="activity">
    6565
    6666    <?php bp_get_template_part( 'activity/activity-loop' ) ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/blogs.php

    r11202 r10993  
    99?>
    1010
    11 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
     11<div class="item-list-tabs" id="subnav" role="navigation">
    1212    <ul>
    1313
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php

    r11202 r10993  
    4545                do_action( 'bp_member_header_actions' ); ?></div><!-- #item-buttons -->
    4646
    47             <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_user_last_activity( bp_displayed_user_id() ) ); ?>"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
     47            <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
    4848
    4949            <?php
     
    9898do_action( 'bp_after_member_header' ); ?>
    9999
    100 <div id="template-notices" role="alert" aria-atomic="true">
    101     <?php
     100<?php
    102101
    103     /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    104     do_action( 'template_notices' ); ?>
    105 
    106 </div>
     102/** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     103do_action( 'template_notices' ); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/forums.php

    r11202 r10993  
    99?>
    1010
    11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
     11<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    1212    <ul>
    1313        <?php bp_get_options_nav(); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/friends.php

    r11202 r10993  
    99?>
    1010
    11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
     11<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    1212    <ul>
    1313        <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?>
     
    5353        do_action( 'bp_before_member_friends_content' ); ?>
    5454
    55         <?php if (is_user_logged_in() ) : ?>
    56             <h2 class="bp-screen-reader-text"><?php
    57                 /* translators: accessibility text */
    58                 _e( 'My friends', 'buddypress' );
    59             ?></h2>
    60         <?php else : ?>
    61             <h2 class="bp-screen-reader-text"><?php
    62                 /* translators: accessibility text */
    63                 _e( 'Friends', 'buddypress' );
    64             ?></h2>
    65         <?php endif ?>
    66 
    6755        <div class="members friends">
    6856
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/friends/requests.php

    r11202 r10993  
    1515
    1616<?php if ( bp_has_members( 'type=alphabetical&include=' . bp_get_friendship_requests() ) ) : ?>
    17 
    18     <h2 class="bp-screen-reader-text"><?php
    19         /* translators: accessibility text */
    20         _e( 'Friendship requests', 'buddypress' );
    21     ?></h2>
    2217
    2318    <div id="pag-top" class="pagination no-ajax">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/groups.php

    r11202 r10993  
    99?>
    1010
    11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
     11<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    1212    <ul>
    1313        <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?>
     
    5555        do_action( 'bp_before_member_groups_content' ); ?>
    5656
    57         <?php if ( is_user_logged_in() ) : ?>
    58             <h2 class="bp-screen-reader-text"><?php
    59                 /* translators: accessibility text */
    60                 _e( 'My groups', 'buddypress' );
    61             ?></h2>
    62         <?php else : ?>
    63             <h2 class="bp-screen-reader-text"><?php
    64                 /* translators: accessibility text */
    65                 _e( 'Member\'s groups', 'buddypress' );
    66             ?></h2>
    67         <?php endif; ?>
    68 
    6957        <div class="groups mygroups">
    7058
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/groups/invites.php

    r11202 r10993  
    1515
    1616<?php if ( bp_has_groups( 'type=invites&user_id=' . bp_loggedin_user_id() ) ) : ?>
    17 
    18     <h2 class="bp-screen-reader-text"><?php
    19         /* translators: accessibility text */
    20         _e( 'Group invitations', 'buddypress' );
    21     ?></h2>
    2217
    2318    <ul id="group-list" class="invites item-list">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/home.php

    r11202 r10993  
    3636
    3737    <div id="item-nav">
    38         <div class="item-list-tabs no-ajax" id="object-nav" aria-label="<?php esc_attr_e( 'Member primary navigation', 'buddypress' ); ?>" role="navigation">
     38        <div class="item-list-tabs no-ajax" id="object-nav" role="navigation">
    3939            <ul>
    4040
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/member-header.php

    r11202 r10993  
    3232    <?php endif; ?>
    3333
    34     <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_user_last_activity( bp_displayed_user_id() ) ); ?>"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
     34    <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
    3535
    3636    <?php
     
    9595do_action( 'bp_after_member_header' ); ?>
    9696
    97 <div id="template-notices" role="alert" aria-atomic="true">
    98     <?php
     97<?php
    9998
    100     /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
    101     do_action( 'template_notices' ); ?>
    102 
    103 </div>
     99/** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
     100do_action( 'template_notices' ); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages.php

    r11202 r10993  
    99?>
    1010
    11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
     11<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    1212    <ul>
    1313
     
    3737         */
    3838        do_action( 'bp_before_member_messages_content' ); ?>
    39 
    40         <?php if ( bp_is_messages_inbox() ) : ?>
    41             <h2 class="bp-screen-reader-text"><?php
    42                 /* translators: accessibility text */
    43                 _e( 'Messages inbox', 'buddypress' );
    44             ?></h2>
    45         <?php elseif ( bp_is_messages_sentbox() ) : ?>
    46             <h2 class="bp-screen-reader-text"><?php
    47                 /* translators: accessibility text */
    48                 _e( 'Sent Messages', 'buddypress' );
    49             ?></h2>
    50         <?php endif; ?>
    5139
    5240        <div class="messages">
     
    8472        do_action( 'bp_before_member_messages_content' ); ?>
    8573
    86         <h2 class="bp-screen-reader-text"><?php
    87             /* translators: accessibility text */
    88             _e( 'Sitewide Notices', 'buddypress' );
    89         ?></h2>
    90 
    9174        <div class="messages">
    9275            <?php bp_get_template_part( 'members/single/messages/notices-loop' ); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php

    r11202 r10993  
    88
    99?>
    10 <h2 class="bp-screen-reader-text"><?php
    11     /* translators: accessibility text */
    12     _e( 'Compose Message', 'buddypress' );
    13 ?></h2>
    14 
    1510<form action="<?php bp_messages_form_action('compose' ); ?>" method="post" id="send_message_form" class="standard-form" enctype="multipart/form-data">
    1611
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php

    r11202 r10993  
    1515
    1616<?php if ( bp_has_message_threads( bp_ajax_querystring( 'messages' ) ) ) : ?>
    17 
    18     <h2 class="bp-screen-reader-text"><?php
    19         /* translators: accessibility text */
    20         _e( 'Starred messages', 'buddypress' );
    21     ?></h2>
    2217
    2318    <div class="pagination no-ajax" id="user-pag">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/single.php

    r11202 r10993  
    2121    <?php if ( bp_thread_has_messages() ) : ?>
    2222
    23         <h2 id="message-subject"><?php bp_the_thread_subject(); ?></h2>
     23        <h3 id="message-subject"><?php bp_the_thread_subject(); ?></h3>
    2424
    2525        <p id="message-recipients">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications.php

    r11202 r10993  
    99?>
    1010
    11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
     11<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    1212    <ul>
    1313        <?php bp_get_options_nav(); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications/read.php

    r11202 r10993  
    1010
    1111<?php if ( bp_has_notifications() ) : ?>
    12 
    13     <h2 class="bp-screen-reader-text"><?php
    14         /* translators: accessibility text */
    15         _e( 'Notifications', 'buddypress' );
    16     ?></h2>
    1712
    1813    <div id="pag-top" class="pagination no-ajax">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications/unread.php

    r11202 r10993  
    1010
    1111<?php if ( bp_has_notifications() ) : ?>
    12 
    13     <h2 class="bp-screen-reader-text"><?php
    14         /* translators: accessibility text */
    15         _e( 'Unread notifications', 'buddypress' );
    16     ?></h2>
    1712
    1813    <div id="pag-top" class="pagination no-ajax">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/plugins.php

    r11202 r10993  
    1919        <?php if ( ! bp_is_current_component_core() ) : ?>
    2020
    21         <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
     21        <div class="item-list-tabs no-ajax" id="subnav">
    2222            <ul>
    2323                <?php bp_get_options_nav(); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile.php

    r11202 r10993  
    99?>
    1010
    11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
     11<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    1212    <ul>
    1313        <?php bp_get_options_nav(); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php

    r11202 r10993  
    2727
    2828        <?php if ( bp_profile_has_multiple_groups() ) : ?>
    29             <ul class="button-nav" aria-label="<?php esc_attr_e( 'Profile field groups', 'buddypress' ); ?>" role="navigation">
     29            <ul class="button-nav">
    3030
    3131                <?php bp_profile_group_tabs(); ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php

    r11202 r10993  
    2626
    2727    <div class="bp-widget wp-profile">
    28         <h2><?php bp_is_my_profile() ? _e( 'My Profile', 'buddypress' ) : printf( __( "%s's Profile", 'buddypress' ), bp_get_displayed_user_fullname() ); ?></h2>
     28        <h4><?php bp_is_my_profile() ? _e( 'My Profile', 'buddypress' ) : printf( __( "%s's Profile", 'buddypress' ), bp_get_displayed_user_fullname() ); ?></h4>
    2929
    3030        <table class="wp-profile-fields">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings.php

    r11202 r10993  
    99?>
    1010
    11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">
     11<div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    1212    <ul>
    1313        <?php if ( bp_core_can_edit_settings() ) : ?>
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/general.php

    r11202 r10993  
    99/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
    1010do_action( 'bp_before_member_settings_template' ); ?>
    11 
    12 <h2 class="bp-screen-reader-text"><?php
    13     /* translators: accessibility text */
    14     _e( 'Account settings', 'buddypress' );
    15 ?></h2>
    1611
    1712<form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/general'; ?>" method="post" class="standard-form" id="settings-form">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php

    r11202 r10993  
    99/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
    1010do_action( 'bp_before_member_settings_template' ); ?>
    11 
    12 <h2 class="bp-screen-reader-text"><?php
    13     /* translators: accessibility text */
    14     _e( 'Notification settings', 'buddypress' );
    15 ?></h2>
    1611
    1712<form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/notifications'; ?>" method="post" class="standard-form" id="settings-form">
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/profile.php

    r11202 r10993  
    1313 */
    1414do_action( 'bp_before_member_settings_template' ); ?>
    15 
    16 <h2 class="bp-screen-reader-text"><?php
    17     /* translators: accessibility text */
    18     _e( 'Profile visibility settings', 'buddypress' );
    19 ?></h2>
    2015
    2116<form action="<?php echo trailingslashit( bp_displayed_user_domain() . bp_get_settings_slug() . '/profile' ); ?>" method="post" class="standard-form" id="settings-form">
  • trunk/src/bp-templates/bp-legacy/css/buddypress-rtl.css

    r11202 r10993  
    647647    background: #fafafa;
    648648    border-radius: 0;
    649     color: #737373;
     649    color: #767676;
    650650    font: inherit;
    651651    font-size: 100%;
     
    844844}
    845845
    846 #buddypress form.standard-form .main-column ul#friend-list h3,
    847846#buddypress form.standard-form .main-column ul#friend-list h4 {
    848847    clear:none;
     
    862861    cursor: default;
    863862    opacity: .4;
    864 }
    865 
    866 fieldset.register-site {
    867     margin-top: 1em;
    868 }
    869 
    870 fieldset.create-site {
    871     margin-bottom: 2em;
    872 }
    873 
    874 fieldset.create-site legend {
    875     margin-bottom: 1em;
    876 }
    877 
    878 fieldset.create-site label {
    879     margin-left: 3em;
    880863}
    881864
     
    10881071#buddypress table.forum tr.alt td {
    10891072    background: #f5f5f5;
    1090     color: #707070;
    10911073}
    10921074#buddypress table.notification-settings {
     
    11871169    display: inline-block;
    11881170    font-size: small;
     1171    opacity: 0.8;
    11891172    padding: 0;
    11901173}
     
    13221305}
    13231306#buddypress ul.item-list li div.item-title,
    1324 #buddypress ul.item-list li h3,
    13251307#buddypress ul.item-list li h4 {
    13261308    font-weight: normal;
     
    14081390    background-color: #eee;
    14091391    color: #555;
    1410     opacity: .9;
     1392    opacity: .8;
    14111393    font-weight: bold;
    14121394}
     
    14361418    overflow: auto;
    14371419    list-style: none;
    1438 }
    1439 #buddypress .group-members-list {
    1440     width: 100%;
    1441     margin-top: 1em;
    1442     clear: both;
    1443     overflow: auto;
    14441420}
    14451421#buddypress #item-buttons:empty {
     
    16081584#buddypress .field-visibility-settings-toggle,
    16091585#buddypress .field-visibility-settings-notoggle {
    1610     color: #707070;
     1586    color: #767676;
    16111587}
    16121588#buddypress .field-visibility-settings-toggle a,
     
    16401616    border-bottom-left-radius: 0;
    16411617    background: #f5f5f5;
    1642     color: #707070;
    16431618}
    16441619#buddypress .tmce-active button.switch-tmce {
     
    16471622    border-bottom-left-radius: 0;
    16481623    background: #f5f5f5;
    1649     color: #707070;
    16501624}
    16511625#buddypress .standard-form .wp-editor-container textarea {
     
    16671641    display: inline-block;
    16681642    font-size: small;
     1643    opacity: 0.8;
    16691644    padding: 0;
    16701645}
     
    17681743        margin-bottom:1em;
    17691744    }
    1770     #buddypress form.standard-form .main-column ul#friend-list h3,
    17711745    #buddypress form.standard-form .main-column ul#friend-list h4{
    17721746        width:100%;
  • trunk/src/bp-templates/bp-legacy/css/buddypress.css

    r11202 r10993  
    647647    background: #fafafa;
    648648    border-radius: 0;
    649     color: #737373;
     649    color: #767676;
    650650    font: inherit;
    651651    font-size: 100%;
     
    844844}
    845845
    846 #buddypress form.standard-form .main-column ul#friend-list h3,
    847846#buddypress form.standard-form .main-column ul#friend-list h4 {
    848847    clear:none;
     
    862861    cursor: default;
    863862    opacity: .4;
    864 }
    865 
    866 fieldset.register-site {
    867     margin-top: 1em;
    868 }
    869 
    870 fieldset.create-site {
    871     margin-bottom: 2em;
    872 }
    873 
    874 fieldset.create-site legend {
    875     margin-bottom: 1em;
    876 }
    877 
    878 fieldset.create-site label {
    879     margin-right: 3em;
    880863}
    881864
     
    10881071#buddypress table.forum tr.alt td {
    10891072    background: #f5f5f5;
    1090     color: #707070;
    10911073}
    10921074#buddypress table.notification-settings {
     
    11871169    display: inline-block;
    11881170    font-size: small;
     1171    opacity: 0.8;
    11891172    padding: 0;
    11901173}
     
    13221305}
    13231306#buddypress ul.item-list li div.item-title,
    1324 #buddypress ul.item-list li h3,
    13251307#buddypress ul.item-list li h4 {
    13261308    font-weight: normal;
     
    14081390    background-color: #eee;
    14091391    color: #555;
    1410     opacity: .9;
     1392    opacity: .8;
    14111393    font-weight: bold;
    14121394}
     
    14361418    overflow: auto;
    14371419    list-style: none;
    1438 }
    1439 #buddypress .group-members-list {
    1440     width: 100%;
    1441     margin-top: 1em;
    1442     clear: both;
    1443     overflow: auto;
    14441420}
    14451421#buddypress #item-buttons:empty {
     
    16081584#buddypress .field-visibility-settings-toggle,
    16091585#buddypress .field-visibility-settings-notoggle {
    1610     color: #707070;
     1586    color: #767676;
    16111587}
    16121588#buddypress .field-visibility-settings-toggle a,
     
    16401616    border-bottom-right-radius: 0;
    16411617    background: #f5f5f5;
    1642     color: #707070;
    16431618}
    16441619#buddypress .tmce-active button.switch-tmce {
     
    16471622    border-bottom-right-radius: 0;
    16481623    background: #f5f5f5;
    1649     color: #707070;
    16501624}
    16511625#buddypress .standard-form .wp-editor-container textarea {
     
    16671641    display: inline-block;
    16681642    font-size: small;
     1643    opacity: 0.8;
    16691644    padding: 0;
    16701645}
     
    17681743        margin-bottom:1em;
    17691744    }
    1770     #buddypress form.standard-form .main-column ul#friend-list h3,
    17711745    #buddypress form.standard-form .main-column ul#friend-list h4{
    17721746        width:100%;
  • trunk/src/bp-templates/bp-legacy/css/twentyeleven-rtl.css

    r11202 r10993  
    11311131*-----------------------------------------
    11321132*/
    1133 .groups #group-settings-form h3 {
     1133.groups #group-settings-form h4 {
    11341134    background: #555;
    11351135    color: #fff;
  • trunk/src/bp-templates/bp-legacy/css/twentyeleven.css

    r11202 r10993  
    11311131*-----------------------------------------
    11321132*/
    1133 .groups #group-settings-form h3 {
     1133.groups #group-settings-form h4 {
    11341134    background: #555;
    11351135    color: #fff;
  • trunk/src/bp-templates/bp-legacy/css/twentyeleven.scss

    r11202 r10993  
    16071607.groups {
    16081608    #group-settings-form {
    1609         h3 {
     1609        h4 {
    16101610            background: $dark-background;
    16111611            color: $content-background;
  • trunk/src/bp-templates/bp-legacy/css/twentyfifteen-rtl.css

    r11202 r10993  
    336336}
    337337
    338 #buddypress .item-list a.activity-time-since {
    339     color: #717171;
    340 }
    341 
    342338#buddypress ul.item-list li {
    343339    overflow: hidden !important;
     
    604600    background-color: #f7f7f7;
    605601    border: 1px solid rgba(234, 234, 234, 0.6);
    606     color: #717171;
    607602    padding: 0 0.2em;
    608603}
     
    679674}
    680675
    681 #buddypress #activity-stream .activity-comments a {
    682     color: #717171;
    683 }
    684 
    685676#buddypress #activity-stream .activity-comments.has-comments {
    686677    border-right: 1px solid #eaeaea;
     
    722713#buddypress #activity-stream .activity-comments > ul .acomment-meta {
    723714    border-bottom: 1px solid #eaeaea;
    724     color: #737373;
    725715    font-style: italic;
    726716}
     
    10111001*-----------------------------------------
    10121002*/
    1013 .groups #group-settings-form h3 {
     1003.groups #group-settings-form h4 {
    10141004    background: #555;
    10151005    color: #fff;
     
    10581048.groups.group-settings #group-settings-form div.radio ul,
    10591049.groups.group-settings #create-group-form div.radio ul {
    1060     color: #767676;
     1050    color: rgba(51, 51, 51, 0.6);
    10611051    font-size: 14px;
    10621052    font-size: 1.4rem;
  • trunk/src/bp-templates/bp-legacy/css/twentyfifteen.css

    r11202 r10993  
    336336}
    337337
    338 #buddypress .item-list a.activity-time-since {
    339     color: #717171;
    340 }
    341 
    342338#buddypress ul.item-list li {
    343339    overflow: hidden !important;
     
    604600    background-color: #f7f7f7;
    605601    border: 1px solid rgba(234, 234, 234, 0.6);
    606     color: #717171;
    607602    padding: 0 0.2em;
    608603}
     
    679674}
    680675
    681 #buddypress #activity-stream .activity-comments a {
    682     color: #717171;
    683 }
    684 
    685676#buddypress #activity-stream .activity-comments.has-comments {
    686677    border-left: 1px solid #eaeaea;
     
    722713#buddypress #activity-stream .activity-comments > ul .acomment-meta {
    723714    border-bottom: 1px solid #eaeaea;
    724     color: #737373;
    725715    font-style: italic;
    726716}
     
    10111001*-----------------------------------------
    10121002*/
    1013 .groups #group-settings-form h3 {
     1003.groups #group-settings-form h4 {
    10141004    background: #555;
    10151005    color: #fff;
     
    10581048.groups.group-settings #group-settings-form div.radio ul,
    10591049.groups.group-settings #create-group-form div.radio ul {
    1060     color: #767676;
     1050    color: rgba(51, 51, 51, 0.6);
    10611051    font-size: 14px;
    10621052    font-size: 1.4rem;
  • trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss

    r11202 r10993  
    523523            @include default-font-sans();
    524524        }
    525 
    526         a.activity-time-since {
    527             color: #717171;
    528         }
    529525    }
    530526}
     
    828824                    background-color: $light-background;
    829825                    border: 1px solid rgba($border-light, 0.6);
    830                     color: #717171;
    831826                    padding: 0 0.2em;
    832827                }
     
    909904            margin: $spacing-val-sm 0 0;
    910905
    911             a {
    912                 color: #717171;
    913             }
    914 
    915906            &.has-comments {
    916907                border-left: 1px solid $border-light;
     
    946937                }
    947938
    948                 .acomment-meta {
    949                     border-bottom: 1px solid $border-light;
    950                     color: #737373;
    951                     font-style: italic;
    952                 }
     939                .acomment-meta {border-bottom: 1px solid $border-light; font-style: italic;}
    953940
    954941                // Display the user avatar stacked up to 30em
     
    12871274.groups {
    12881275    #group-settings-form {
    1289         h3 {
     1276        h4 {
    12901277            background: $dark-background;
    12911278            color: $content-background;
     
    13411328
    13421329            ul {
    1343                 color: #767676;
     1330                color: rgba($body-text, 0.6);
    13441331                @include font-size(14);
    13451332            }
  • trunk/src/bp-templates/bp-legacy/css/twentyfourteen-rtl.css

    r11202 r10993  
    124124}
    125125
    126 #buddypress .item-list-tabs ul a {
    127     color: #1b6e08;
    128 }
    129 
    130126.directory #buddypress .item-list-tabs ul:before,
    131127.directory #buddypress .item-list-tabs ul:after {
     
    167163}
    168164
    169 .directory #buddypress #subnav a {
    170     color: #1b6e08;
    171 }
    172 
    173165/* List last filters global */
    174166#buddypress #subnav li#activity-filter-select.last {
     
    221213    }
    222214    #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover {
    223         background: #f1f1f1;
     215        background: #bebebe;
    224216    }
    225217    #buddypress #object-nav ul li span {
     
    244236    #buddypress #item-body #subnav li:focus,
    245237    #buddypress #item-body #subnav li:hover {
    246         background: #f1f1f1;
     238        background: #bebebe;
    247239    }
    248240    #buddypress #item-body #subnav li.current {
     
    561553}
    562554
    563 #buddypress .activity .activity-comments a {
    564     color: #1b6e08;
    565 }
    566 
    567555#buddypress .activity .activity-comments ul {
    568556    background: rgba(247, 247, 247, 0.6);
     
    573561    border-right: 1px solid rgba(0, 0, 0, 0.1);
    574562    padding-right: 2%;
    575 }
    576 
    577 #buddypress .activity .activity-comments .acomment-meta {
    578     color: #737373;
    579563}
    580564
     
    821805#group-settings-form .radio ul,
    822806#create-group-form .radio ul {
    823     color: #6b6b6b;
     807    color: #787878;
    824808}
    825809
     
    830814
    831815/* Manage Members */
    832 .groups.manage-members #group-settings-form h3 {
     816.groups.manage-members #group-settings-form h4 {
    833817    margin-top: 40px;
    834818}
     
    857841.groups.manage-members #group-settings-form .item-list li h5 > a {
    858842    border-bottom: 0;
    859     color: #22830c;
    860843}
    861844
     
    1015998    */
    1016999#buddypress .profile .bp-widget h2 {
    1017     background: #949494;
     1000    background: #999;
    10181001    color: #fff;
    10191002    padding: 0.4em 0.2em;
     
    14771460}
    14781461
    1479 #buddypress table .alt a {
    1480     color: #22820c;
    1481 }
    1482 
    14831462/*__ User Account tables __*/
    14841463/**
  • trunk/src/bp-templates/bp-legacy/css/twentyfourteen.css

    r11202 r10993  
    124124}
    125125
    126 #buddypress .item-list-tabs ul a {
    127     color: #1b6e08;
    128 }
    129 
    130126.directory #buddypress .item-list-tabs ul:before,
    131127.directory #buddypress .item-list-tabs ul:after {
     
    167163}
    168164
    169 .directory #buddypress #subnav a {
    170     color: #1b6e08;
    171 }
    172 
    173165/* List last filters global */
    174166#buddypress #subnav li#activity-filter-select.last {
     
    221213    }
    222214    #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover {
    223         background: #f1f1f1;
     215        background: #bebebe;
    224216    }
    225217    #buddypress #object-nav ul li span {
     
    244236    #buddypress #item-body #subnav li:focus,
    245237    #buddypress #item-body #subnav li:hover {
    246         background: #f1f1f1;
     238        background: #bebebe;
    247239    }
    248240    #buddypress #item-body #subnav li.current {
     
    561553}
    562554
    563 #buddypress .activity .activity-comments a {
    564     color: #1b6e08;
    565 }
    566 
    567555#buddypress .activity .activity-comments ul {
    568556    background: rgba(247, 247, 247, 0.6);
     
    573561    border-left: 1px solid rgba(0, 0, 0, 0.1);
    574562    padding-left: 2%;
    575 }
    576 
    577 #buddypress .activity .activity-comments .acomment-meta {
    578     color: #737373;
    579563}
    580564
     
    821805#group-settings-form .radio ul,
    822806#create-group-form .radio ul {
    823     color: #6b6b6b;
     807    color: #787878;
    824808}
    825809
     
    830814
    831815/* Manage Members */
    832 .groups.manage-members #group-settings-form h3 {
     816.groups.manage-members #group-settings-form h4 {
    833817    margin-top: 40px;
    834818}
     
    857841.groups.manage-members #group-settings-form .item-list li h5 > a {
    858842    border-bottom: 0;
    859     color: #22830c;
    860843}
    861844
     
    1015998    */
    1016999#buddypress .profile .bp-widget h2 {
    1017     background: #949494;
     1000    background: #999;
    10181001    color: #fff;
    10191002    padding: 0.4em 0.2em;
     
    14771460}
    14781461
    1479 #buddypress table .alt a {
    1480     color: #22820c;
    1481 }
    1482 
    14831462/*__ User Account tables __*/
    14841463/**
  • trunk/src/bp-templates/bp-legacy/css/twentyfourteen.scss

    r11202 r10993  
    127127$dark-back-text-color:   #fff;
    128128$light-background:       #f7f7f7;
    129 $medium-background:      #949494;
     129$medium-background:      #999;
    130130$dark-background:        #000;
    131131$border-color:           #000; // border color can be varied using rgba
     
    287287                }
    288288            }
    289 
    290             a {
    291                 color: #1b6e08;
    292             }
    293289        }
    294290    }
     
    335331        ul {
    336332            border-bottom: 0;
    337         }
    338 
    339         a {
    340             color: #1b6e08;
    341333        }
    342334
     
    426418                    &:focus,
    427419                    &:hover {
    428                         background: lighten($nav-background-border, 20%);
     420                        background: $nav-background-border;
    429421                    }
    430422
     
    455447                li:focus,
    456448                li:hover {
    457                     background: lighten($nav-background-border, 20%);
     449                    background: $nav-background-border;
    458450                }
    459451
     
    846838            }
    847839
    848             a {
    849                 color: #1b6e08;
    850             }
    851 
    852840            ul {
    853841                background: rgba($light-background, 0.6);
     
    858846                border-left: 1px solid $border-light;
    859847                padding-left: 2%;
    860             }
    861 
    862             .acomment-meta {
    863                 color: #737373;
    864848            }
    865849
     
    11531137
    11541138        ul {
    1155             color: lighten($body-text, 25%);
     1139            color: lighten($body-text, 30%);
    11561140        }
    11571141    }
     
    11641148    #group-settings-form {
    11651149
    1166         h3 {margin-top: $spacing-val-lg;}
     1150        h4 {margin-top: $spacing-val-lg;}
    11671151
    11681152        .item-list {
     
    11791163                    clear: none;
    11801164                    float: left;
    1181 
    1182                     > a {
    1183                         border-bottom: 0;
    1184                         color: #22830c;
    1185                     }
     1165                    > a {border-bottom: 0;}
    11861166                }
    11871167
     
    18691849    table {
    18701850        border-color: $border-med;
    1871 
    1872         .alt a {
    1873             color: #22820c;
    1874         }
    18751851    }
    18761852}
  • trunk/src/bp-templates/bp-legacy/css/twentysixteen-rtl.css

    r11202 r10993  
    150150}
    151151
    152 #buddypress div.item-list-tabs ul li a {
    153     color: #0073c1;
    154 }
    155 
    156152#buddypress div.item-list-tabs ul li a span {
    157153    border-radius: 25%;
     
    203199        border-bottom: 1px solid #eaeaea;
    204200    }
     201}
     202
     203#buddypress #object-nav ul li:not(.selected) a {
     204    opacity: 0.7;
    205205}
    206206
     
    652652}
    653653
    654 #buddypress #activity-stream li .activity-content .activity-header a {
    655     color: #0075c4;
    656 }
    657 
    658654@media screen and (min-width: 46.25em) {
    659655    #buddypress #activity-stream li .activity-avatar {
     
    698694    background-color: #f7f7f7;
    699695    border: 1px solid rgba(234, 234, 234, 0.6);
    700     color: #727272;
    701696    margin-top: 0;
    702697    padding: 0 0.2em;
     
    773768#buddypress #activity-stream .activity-comments ul {
    774769    background: rgba(247, 247, 247, 0.6);
    775     color: #737373;
    776770    margin: 15px 2px 0 0;
    777 }
    778 
    779 #buddypress #activity-stream .activity-comments ul a {
    780     color: #0077c7;
    781 }
    782 
    783 #buddypress #activity-stream .activity-comments .acomment-meta {
    784     color: #737373;
    785771}
    786772
     
    10751061*-----------------------------------------
    10761062*/
    1077 .groups #group-settings-form h3 {
     1063.groups #group-settings-form h4 {
    10781064    background: #555;
    10791065    color: #fff;
     
    12081194    font-size: 12px;
    12091195    font-size: 0.75rem;
    1210 }
    1211 
    1212 .bp-user #buddypress table a {
    1213     color: #0074c2;
    12141196}
    12151197
     
    17121694    border-color: rgba(212, 208, 186, 0.5);
    17131695    border-width: 1px;
    1714 }
    1715 
    1716 #buddypress .standard-form select {
    1717     color: #737373;
    17181696}
    17191697
  • trunk/src/bp-templates/bp-legacy/css/twentysixteen.css

    r11202 r10993  
    150150}
    151151
    152 #buddypress div.item-list-tabs ul li a {
    153     color: #0073c1;
    154 }
    155 
    156152#buddypress div.item-list-tabs ul li a span {
    157153    border-radius: 25%;
     
    203199        border-bottom: 1px solid #eaeaea;
    204200    }
     201}
     202
     203#buddypress #object-nav ul li:not(.selected) a {
     204    opacity: 0.7;
    205205}
    206206
     
    652652}
    653653
    654 #buddypress #activity-stream li .activity-content .activity-header a {
    655     color: #0075c4;
    656 }
    657 
    658654@media screen and (min-width: 46.25em) {
    659655    #buddypress #activity-stream li .activity-avatar {
     
    698694    background-color: #f7f7f7;
    699695    border: 1px solid rgba(234, 234, 234, 0.6);
    700     color: #727272;
    701696    margin-top: 0;
    702697    padding: 0 0.2em;
     
    773768#buddypress #activity-stream .activity-comments ul {
    774769    background: rgba(247, 247, 247, 0.6);
    775     color: #737373;
    776770    margin: 15px 0 0 2px;
    777 }
    778 
    779 #buddypress #activity-stream .activity-comments ul a {
    780     color: #0077c7;
    781 }
    782 
    783 #buddypress #activity-stream .activity-comments .acomment-meta {
    784     color: #737373;
    785771}
    786772
     
    10751061*-----------------------------------------
    10761062*/
    1077 .groups #group-settings-form h3 {
     1063.groups #group-settings-form h4 {
    10781064    background: #555;
    10791065    color: #fff;
     
    12081194    font-size: 12px;
    12091195    font-size: 0.75rem;
    1210 }
    1211 
    1212 .bp-user #buddypress table a {
    1213     color: #0074c2;
    12141196}
    12151197
     
    17121694    border-color: rgba(212, 208, 186, 0.5);
    17131695    border-width: 1px;
    1714 }
    1715 
    1716 #buddypress .standard-form select {
    1717     color: #737373;
    17181696}
    17191697
  • trunk/src/bp-templates/bp-legacy/css/twentysixteen.scss

    r11202 r10993  
    364364            li {
    365365                a {
    366                     color: #0073c1;
    367 
    368366                    span {border-radius: 25%;}
    369367                }
     
    442440
    443441            li:not(.selected) {
     442                a {opacity: 0.7;}
    444443
    445444                @media screen and (max-width: 38.75em) {
     
    980979                .activity-header {
    981980                    @include font-size(14);
    982 
    983                     a {
    984                         color: #0075c4;
    985                     }
    986981                }
    987982            }
     
    10371032                    background-color: $light-background;
    10381033                    border: 1px solid rgba($border-light, 0.6);
    1039                     color: #727272;
    10401034                    margin-top: 0;
    10411035                    padding: 0 0.2em;
     
    11211115            ul {
    11221116                background: rgba($light-background, 0.6);
    1123                 color: #737373;
    11241117                margin: 15px 0 0 2px;
    1125 
    1126                 a {
    1127                     color: #0077c7;
    1128                 }
    1129             }
    1130 
    1131             .acomment-meta {
    1132                 color: #737373;
    11331118            }
    11341119
     
    14801465.groups {
    14811466    #group-settings-form {
    1482         h3 {
     1467        h4 {
    14831468            background: $dark-background;
    14841469            color: $content-background;
     
    16341619            th {@include font-size(14)}
    16351620            td {@include font-size(12)}
    1636             a { color: #0074c2; }
    16371621
    16381622            @include medium-up {
     
    21972181        }
    21982182
    2199         select {
    2200             color: #737373;
    2201         }
    2202 
    22032183    } // close .standard-form
    22042184
  • trunk/src/bp-templates/bp-legacy/css/twentyten-rtl.css

    r11202 r10993  
    10791079*-----------------------------------------
    10801080*/
    1081 .groups #group-settings-form h3 {
     1081.groups #group-settings-form h4 {
    10821082    background: #555;
    10831083    color: #fff;
  • trunk/src/bp-templates/bp-legacy/css/twentyten.css

    r11202 r10993  
    10791079*-----------------------------------------
    10801080*/
    1081 .groups #group-settings-form h3 {
     1081.groups #group-settings-form h4 {
    10821082    background: #555;
    10831083    color: #fff;
  • trunk/src/bp-templates/bp-legacy/css/twentyten.scss

    r11202 r10993  
    15101510.groups {
    15111511    #group-settings-form {
    1512         h3 {
     1512        h4 {
    15131513            background: $dark-background;
    15141514            color: $content-background;
  • trunk/src/bp-templates/bp-legacy/css/twentythirteen-rtl.css

    r11202 r10993  
    160160}
    161161
     162#buddypress #object-nav ul li:not(.selected) a {
     163    opacity: 0.7;
     164}
     165
    162166@media screen and (min-width: 38.75em) {
    163167    #buddypress #object-nav ul li {
     
    355359
    356360#buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover {
    357     background: #bd4b28;
     361    background: #e37a5a;
    358362    color: #f7f5e7;
    359363}
    360364
    361365#buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover {
    362     background: #bd4b28;
     366    background: #e37a5a;
    363367    color: #f7f5e7;
    364368}
     
    643647    background-color: #f7f7f7;
    644648    border: 1px solid rgba(234, 234, 234, 0.6);
    645     color: #727272;
    646649    margin-top: 0;
    647650    padding: 0 0.2em;
    648 }
    649 
    650 #buddypress #activity-stream .activity-content .activity-header p a.activity-time-since {
    651     color: #727272;
    652651}
    653652
     
    723722    background: rgba(247, 247, 247, 0.6);
    724723    margin: 15px 2px 0 0;
    725 }
    726 
    727 #buddypress #activity-stream .activity-comments a {
    728     color: #ac0404;
    729 }
    730 
    731 #buddypress #activity-stream .activity-comments .acomment-meta {
    732     color: #737373;
    733724}
    734725
     
    10991090*-----------------------------------------
    11001091*/
    1101 .groups #group-settings-form h3 {
     1092.groups #group-settings-form h4 {
    11021093    background: #555;
    11031094    color: #fff;
  • trunk/src/bp-templates/bp-legacy/css/twentythirteen.css

    r11202 r10993  
    160160}
    161161
     162#buddypress #object-nav ul li:not(.selected) a {
     163    opacity: 0.7;
     164}
     165
    162166@media screen and (min-width: 38.75em) {
    163167    #buddypress #object-nav ul li {
     
    355359
    356360#buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover {
    357     background: #bd4b28;
     361    background: #e37a5a;
    358362    color: #f7f5e7;
    359363}
    360364
    361365#buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover {
    362     background: #bd4b28;
     366    background: #e37a5a;
    363367    color: #f7f5e7;
    364368}
     
    643647    background-color: #f7f7f7;
    644648    border: 1px solid rgba(234, 234, 234, 0.6);
    645     color: #727272;
    646649    margin-top: 0;
    647650    padding: 0 0.2em;
    648 }
    649 
    650 #buddypress #activity-stream .activity-content .activity-header p a.activity-time-since {
    651     color: #727272;
    652651}
    653652
     
    723722    background: rgba(247, 247, 247, 0.6);
    724723    margin: 15px 0 0 2px;
    725 }
    726 
    727 #buddypress #activity-stream .activity-comments a {
    728     color: #ac0404;
    729 }
    730 
    731 #buddypress #activity-stream .activity-comments .acomment-meta {
    732     color: #737373;
    733724}
    734725
     
    10991090*-----------------------------------------
    11001091*/
    1101 .groups #group-settings-form h3 {
     1092.groups #group-settings-form h4 {
    11021093    background: #555;
    11031094    color: #fff;
  • trunk/src/bp-templates/bp-legacy/css/twentythirteen.scss

    r11202 r10993  
    144144$border-light:       #eaeaea; // BP dividers
    145145$border-med:         #ddd;
    146 $background-hover:   #bd4b28; // 2013 link background hover
     146$background-hover:   #db572f; // 2013 link background hover
    147147$bp-button-hover:    #ededed; // this is the default BP button hover background
    148148$notice-error:       #c85a6e;
     
    349349            }
    350350
     351            li:not(.selected) {
     352                a {opacity: 0.7;}
     353            }
     354
    351355            @media screen and (min-width: 38.75em) {
    352356                li {
     
    594598            &:focus,
    595599            &:hover {
    596                 background: $background-hover;
     600                background: lighten($background-hover, 10%);
    597601                color: $cream-background;
    598602            }
     
    605609                &:focus,
    606610                &:hover {
    607                     background: $background-hover;
     611                    background: lighten($background-hover, 10%);
    608612                    color: $cream-background;
    609613                }
     
    935939                    background-color: $light-background;
    936940                    border: 1px solid rgba($border-light, 0.6);
    937                     color: #727272;
    938941                    margin-top: 0;
    939942                    padding: 0 0.2em;
    940 
    941                     a.activity-time-since {
    942                         color: #727272;
    943                     }
    944943                }
    945944
     
    10241023                background: rgba($light-background, 0.6);
    10251024                margin: 15px 0 0 2px;
    1026             }
    1027 
    1028             a {
    1029                 color: #ac0404;
    1030             }
    1031 
    1032             .acomment-meta {
    1033                 color: #737373;
    10341025            }
    10351026
     
    14671458.groups {
    14681459    #group-settings-form {
    1469         h3 {
     1460        h4 {
    14701461            background: $dark-background;
    14711462            color: $content-background;
  • trunk/src/bp-templates/bp-legacy/css/twentytwelve-rtl.css

    r11202 r10993  
    771771}
    772772
    773 #buddypress #activity-stream .activity-comments a {
    774     color: #737373;
    775 }
    776 
    777773#buddypress #activity-stream .activity-comments .ac-form {
    778774    border: 1px solid #d4d0ba;
     
    11101106*-----------------------------------------
    11111107*/
    1112 .groups #group-settings-form h3 {
     1108.groups #group-settings-form h4 {
    11131109    background: #555;
    11141110    color: #fff;
     
    13901386    border-radius: 2px;
    13911387    background-clip: padding-box;
    1392     color: #f1f1f1;
     1388    color: #eee;
    13931389    font-weight: bold;
    13941390    padding: 0.1em 0.5em;
  • trunk/src/bp-templates/bp-legacy/css/twentytwelve.css

    r11202 r10993  
    771771}
    772772
    773 #buddypress #activity-stream .activity-comments a {
    774     color: #737373;
    775 }
    776 
    777773#buddypress #activity-stream .activity-comments .ac-form {
    778774    border: 1px solid #d4d0ba;
     
    11101106*-----------------------------------------
    11111107*/
    1112 .groups #group-settings-form h3 {
     1108.groups #group-settings-form h4 {
    11131109    background: #555;
    11141110    color: #fff;
     
    13901386    border-radius: 2px;
    13911387    background-clip: padding-box;
    1392     color: #f1f1f1;
     1388    color: #eee;
    13931389    font-weight: bold;
    13941390    padding: 0.1em 0.5em;
  • trunk/src/bp-templates/bp-legacy/css/twentytwelve.scss

    r11202 r10993  
    10991099                        @include font-size(12);
    11001100                    }
    1101                 }
    1102 
    1103             }
    1104 
    1105             a {
    1106                 color: #737373;
     1101
     1102                }
     1103
    11071104            }
    11081105
     
    15251522.groups {
    15261523    #group-settings-form {
    1527         h3 {
     1524        h4 {
    15281525            background: $dark-background;
    15291526            color: $content-background;
     
    18051802                    background: lighten($dark-background, 10%);
    18061803                    @include border-radius(2px);
    1807                     color: #f1f1f1;
     1804                    color: #eee;
    18081805                    font-weight: bold;
    18091806                    padding: 0.1em 0.5em;
  • trunk/src/bp-templates/bp-legacy/js/buddypress.js

    r11202 r10993  
    309309        /* Favoriting activity stream items */
    310310        if ( target.hasClass('fav') || target.hasClass('unfav') ) {
    311             /* Bail if a request is in progress */
    312             if ( target.hasClass( 'loading' ) ) {
    313                 return false;
    314             }
    315 
    316311            type      = target.hasClass('fav') ? 'fav' : 'unfav';
    317312            parent    = target.closest('.activity-item');
     
    853848
    854849        var target = jq(event.target),
    855             css_id, object, template, search_terms;
     850            css_id, object, template;
    856851
    857852        if ( target.attr('type') === 'submit' ) {
     
    859854            object = css_id[0];
    860855            template = null;
    861             search_terms = target.parent().find( '#' + object + '_search' ).val();
    862856
    863857            // The Group Members page specifies its own template
     
    867861            }
    868862
    869             bp_filter_request( object, jq.cookie('bp-' + object + '-filter'), jq.cookie('bp-' + object + '-scope') , 'div.' + object, search_terms, 1, jq.cookie('bp-' + object + '-extras'), null, template );
     863            bp_filter_request( object, jq.cookie('bp-' + object + '-filter'), jq.cookie('bp-' + object + '-scope') , 'div.' + object, target.parent().children('label').children('input').val(), 1, jq.cookie('bp-' + object + '-extras'), null, template );
    870864
    871865            return false;
     
    877871    /* When a navigation tab is clicked - e.g. | All Groups | My Groups | */
    878872    jq('div.item-list-tabs').on( 'click', function(event) {
    879         // If on a directory page with a type filter, add no-ajax class.
    880         if ( jq( 'body' ).hasClass( 'type' ) && jq( 'body' ).hasClass( 'directory' ) ) {
    881             jq(this).addClass( 'no-ajax' );
    882         }
    883 
    884873        if ( jq(this).hasClass('no-ajax')  || jq( event.target ).hasClass('no-ajax') )  {
    885874            return;
Note: See TracChangeset for help on using the changeset viewer.