Changes in trunk/src/bp-templates/bp-legacy [10993:11202]
- Location:
- trunk/src/bp-templates/bp-legacy
- Files:
-
- 11 added
- 75 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r10993 r11202 106 106 // Group buttons. 107 107 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 ); 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' ); 112 114 } 113 115 … … 607 609 608 610 /** 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 /** 609 624 * Add the Create a Site button to the Sites directory title. 610 625 * … … 1434 1449 return; 1435 1450 1436 if ( ! $group = groups_get_group( array( 'group_id' => $group_id )) )1451 if ( ! $group = groups_get_group( $group_id ) ) 1437 1452 return; 1438 1453 … … 1444 1459 _e( 'Error joining group', 'buddypress' ); 1445 1460 } else { 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>';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>'; 1447 1462 } 1448 1463 … … 1457 1472 _e( 'Error requesting membership', 'buddypress' ); 1458 1473 } else { 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>';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>'; 1460 1475 } 1461 1476 … … 1478 1493 _e( 'Error leaving group', 'buddypress' ); 1479 1494 } elseif ( 'public' == $group->status ) { 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>';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>'; 1481 1496 } elseif ( 'private' == $group->status ) { 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>';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>'; 1483 1498 } 1484 1499 } … … 1900 1915 '; 1901 1916 } 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
r10993 r11202 26 26 <div class="acomment-meta"> 27 27 <?php 28 /* translators: 1: user profile link, 2: user name, 3: activity permalink, 4: activitytimestamp */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() );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() ); 30 30 ?> 31 31 </div> -
trunk/src/bp-templates/bp-legacy/buddypress/activity/index.php
r10993 r11202 33 33 <?php endif; ?> 34 34 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"> 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"> 45 48 <ul> 46 49 <?php … … 138 141 </div><!-- .item-list-tabs --> 139 142 140 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">143 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Activity secondary navigation', 'buddypress' ); ?>" role="navigation"> 141 144 <ul> 142 145 <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> … … 181 184 do_action( 'bp_before_directory_activity_list' ); ?> 182 185 183 <div class="activity" >186 <div class="activity" aria-live="polite" aria-atomic="true" aria-relevant="all"> 184 187 185 188 <?php bp_get_template_part( 'activity/activity-loop' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/activity/single/home.php
r10993 r11202 9 9 ?> 10 10 <div id="buddypress"> 11 <?php12 11 13 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 14 do_action( 'template_notices' ); ?> 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> 15 19 16 20 <div class="activity no-ajax"> -
trunk/src/bp-templates/bp-legacy/buddypress/blogs/create.php
r10993 r11202 14 14 do_action( 'bp_before_create_blog_content_template' ); ?> 15 15 16 <?php 16 <div id="template-notices" role="alert" aria-atomic="true"> 17 <?php 17 18 18 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 19 do_action( 'template_notices' ); ?> 19 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 20 do_action( 'template_notices' ); ?> 21 22 </div> 20 23 21 24 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/blogs/index.php
r10993 r11202 34 34 do_action( 'bp_before_directory_blogs_content' ); ?> 35 35 36 <div id="blog-dir-search" class="dir-search" role="search"> 37 <?php bp_directory_blogs_search_form(); ?> 38 </div><!-- #blog-dir-search --> 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; ?> 39 48 40 49 <?php … … 49 58 <form action="" method="post" id="blogs-directory-form" class="dir-form"> 50 59 51 <div class="item-list-tabs" role="navigation">60 <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Sites directory main navigation', 'buddypress' ); ?>" role="navigation"> 52 61 <ul> 53 62 <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> … … 71 80 </div><!-- .item-list-tabs --> 72 81 73 <div class="item-list-tabs" id="subnav" role="navigation">82 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Sites directory secondary navigation', 'buddypress' ); ?>" role="navigation"> 74 83 <ul> 75 84 … … 104 113 </ul> 105 114 </div> 115 116 <h2 class="bp-screen-reader-text"><?php 117 /* translators: accessibility text */ 118 _e( 'Sites directory', 'buddypress' ); 119 ?></h2> 106 120 107 121 <div id="blogs-dir-list" class="blogs dir-list"> -
trunk/src/bp-templates/bp-legacy/buddypress/forums/index.php
r10993 r11202 30 30 do_action( 'bp_before_directory_forums_content' ); ?> 31 31 32 <div id="forums-dir-search" class="dir-search" role="search"> 33 34 <?php bp_directory_forums_search_form(); ?> 35 36 </div> 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 37 45 </form> 38 46 … … 48 56 <form action="" method="post" id="forums-directory-form" class="dir-form"> 49 57 50 <div class="item-list-tabs" role="navigation">58 <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Forums directory main navigation', 'buddypress' ); ?>" role="navigation"> 51 59 <ul> 52 60 <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> … … 70 78 </div> 71 79 72 <div class="item-list-tabs" id="subnav" role="navigation">80 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>" role="navigation"> 73 81 <ul> 74 82 … … 161 169 <h5><?php _e( 'Create New Topic:', 'buddypress' ); ?></h5> 162 170 171 <div id="template-notices" role="alert" aria-atomic="true"> 163 172 <?php 164 173 165 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 166 do_action( 'template_notices' ); ?> 174 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 175 do_action( 'template_notices' ); ?> 176 177 </div> 167 178 168 179 <label for="topic_title"><?php _e( 'Title:', 'buddypress' ); ?></label> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/create.php
r10993 r11202 36 36 do_action( 'bp_before_create_group' ); ?> 37 37 38 <div class="item-list-tabs no-ajax" id="group-create-tabs" role="navigation">38 <div class="item-list-tabs no-ajax" id="group-create-tabs"> 39 39 <ul> 40 40 … … 44 44 </div> 45 45 46 <?php 47 48 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 49 do_action( 'template_notices' ); ?> 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> 50 53 51 54 <div class="item-body" id="group-create-body"> … … 53 56 <?php /* Group creation step 1: Basic group details */ ?> 54 57 <?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> 55 63 56 64 <?php … … 89 97 <?php /* Group creation step 2: Group settings */ ?> 90 98 <?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> 91 104 92 105 <?php … … 133 146 </fieldset> 134 147 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( __( '– %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 135 174 <fieldset class="group-create-invitations"> 136 175 … … 185 224 <?php /* Group creation step 3: Avatar Uploads */ ?> 186 225 <?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> 187 231 188 232 <?php … … 266 310 <?php if ( bp_is_group_creation_step( 'group-cover-image' ) ) : ?> 267 311 312 <h2 class="bp-screen-reader-text"><?php 313 /* translators: accessibility text */ 314 _e( 'Cover Image', 'buddypress' ); 315 ?></h2> 316 268 317 <?php 269 318 … … 296 345 <?php /* Group creation step 5: Invite friends to group */ ?> 297 346 <?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> 298 352 299 353 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/groups/groups-loop.php
r10993 r11202 19 19 */ 20 20 do_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; ?> 21 25 22 26 <?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) ) ) : ?> … … 47 51 do_action( 'bp_before_directory_groups_list' ); ?> 48 52 49 <ul id="groups-list" class="item-list" >53 <ul id="groups-list" class="item-list" aria-live="assertive" aria-atomic="true" aria-relevant="all"> 50 54 51 55 <?php while ( bp_groups() ) : bp_the_group(); ?> … … 60 64 <div class="item"> 61 65 <div class="item-title"><a href="<?php bp_group_permalink(); ?>"><?php bp_group_name(); ?></a></div> 62 <div class="item-meta"><span class="activity" ><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span></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> 63 67 64 68 <div class="item-desc"><?php bp_group_description_excerpt(); ?></div> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/index.php
r10993 r11202 34 34 do_action( 'bp_before_directory_groups_content' ); ?> 35 35 36 <div id="group-dir-search" class="dir-search" role="search"> 37 <?php bp_directory_groups_search_form(); ?> 38 </div><!-- #group-dir-search --> 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; ?> 39 48 40 49 <form action="" method="post" id="groups-directory-form" class="dir-form"> 41 50 42 <?php 51 <div id="template-notices" role="alert" aria-atomic="true"> 52 <?php 43 53 44 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */45 do_action( 'template_notices' ); ?>54 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 55 do_action( 'template_notices' ); ?> 46 56 47 <div class="item-list-tabs" role="navigation"> 57 </div> 58 59 <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Groups directory main navigation', 'buddypress' ); ?>"> 48 60 <ul> 49 61 <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> … … 65 77 </div><!-- .item-list-tabs --> 66 78 67 <div class="item-list-tabs" id="subnav" role="navigation">79 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Groups directory secondary navigation', 'buddypress' ); ?>" role="navigation"> 68 80 <ul> 69 81 <?php … … 98 110 </ul> 99 111 </div> 112 113 <h2 class="bp-screen-reader-text"><?php 114 /* translators: accessibility text */ 115 _e( 'Groups directory', 'buddypress' ); 116 ?></h2> 100 117 101 118 <div id="groups-dir-list" class="groups dir-list"> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/activity.php
r10993 r11202 8 8 9 9 ?> 10 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">10 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>" role="navigation"> 11 11 <ul> 12 12 <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> … … 73 73 do_action( 'bp_before_group_activity_content' ); ?> 74 74 75 <div class="activity single-group" >75 <div class="activity single-group" aria-live="polite" aria-atomic="true" aria-relevant="all"> 76 76 77 77 <?php bp_get_template_part( 'activity/activity-loop' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/admin.php
r10993 r11202 8 8 9 9 ?> 10 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">10 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>" role="navigation"> 11 11 <ul> 12 12 <?php bp_group_admin_tabs(); ?> … … 14 14 </div><!-- .item-list-tabs --> 15 15 16 <?php 17 /** 18 * Fires before the group admin form and content. 19 * 20 * @since 2.7.0 21 */ 22 do_action( 'bp_before_group_admin_form' ); ?> 23 16 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"> 17 25 18 <?php 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' ); ?> 19 33 20 /** 21 * Fires inside the group admin form and before the content. 22 * 23 * @since 1.1.0 24 */ 25 do_action( 'bp_before_group_admin_content' ); ?> 34 <?php /* Fetch the template for the current admin screen being viewed */ ?> 26 35 27 <?php /* Edit Group Details */ ?> 28 <?php if ( bp_is_group_admin_screen( 'edit-details' ) ) : ?> 36 <?php if ( bp_is_group_admin_screen( bp_action_variable() ) ) : ?> 37 38 <?php bp_get_template_part( 'groups/single/admin/' . bp_action_variable() ); ?> 39 40 <?php endif; ?> 29 41 30 42 <?php 31 43 32 44 /** 33 * Fires before the display of group admin details. 45 * Fires inside the group admin template. 46 * 47 * Allows plugins to add custom group edit screens. 34 48 * 35 49 * @since 1.1.0 36 50 */ 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> 51 do_action( 'groups_custom_edit_steps' ); ?> 44 52 45 53 <?php 46 54 47 55 /** 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. 56 * Fires inside the group admin form and after the content. 64 57 * 65 58 * @since 1.1.0 66 59 */ 67 do_action( 'bp_after_group_ details_admin' ); ?>60 do_action( 'bp_after_group_admin_content' ); ?> 68 61 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; ?> 97 98 <?php endif; ?> 99 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 & 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; ?> 62 </form><!-- #group-settings-form --> 451 63 452 64 <?php 453 454 65 /** 455 * Fires inside the group admin template.66 * Fires after the group admin form and content. 456 67 * 457 * Allows plugins to add custom group edit screens. 458 * 459 * @since 1.1.0 68 * @since 2.7.0 460 69 */ 461 do_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 */ 508 do_action( 'bp_after_group_admin_content' ); ?> 509 510 </form><!-- #group-settings-form --> 70 do_action( 'bp_after_group_admin_form' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php
r10993 r11202 60 60 61 61 <span class="highlight"><?php bp_group_type(); ?></span> 62 <span class="activity" ><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></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> 63 63 64 64 <?php bp_group_description(); ?> 65 65 66 <?php bp_group_type_list(); ?> 66 67 </div> 67 68 </div><!-- #item-header-content --> … … 118 119 * @since 1.2.0 119 120 */ 120 do_action( 'bp_after_group_header' ); 121 do_action( 'bp_after_group_header' ); ?> 121 122 122 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 123 do_action( 'template_notices' ); ?> 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> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/forum.php
r10993 r11202 22 22 else : ?> 23 23 24 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">24 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>" role="navigation"> 25 25 <ul> 26 26 -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php
r10993 r11202 18 18 <form action="<?php bp_forum_topic_action(); ?>" method="post" id="forum-topic-form" class="standard-form"> 19 19 20 <div class="item-list-tabs" id="subnav" role="navigation">20 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>" role="navigation"> 21 21 <ul> 22 22 <li> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/forum/topic.php
r10993 r11202 15 15 16 16 <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" role="navigation">17 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>" role="navigation"> 18 18 <ul> 19 19 <?php if ( is_user_logged_in() ) : ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/group-header.php
r10993 r11202 69 69 <div id="item-header-content"> 70 70 <span class="highlight"><?php bp_group_type(); ?></span> 71 <span class="activity" ><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></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> 72 72 73 73 <?php … … 83 83 84 84 <?php bp_group_description(); ?> 85 86 <?php bp_group_type_list(); ?> 85 87 86 88 <div id="item-buttons"> … … 116 118 * @since 1.2.0 117 119 */ 118 do_action( 'bp_after_group_header' ); 120 do_action( 'bp_after_group_header' ); ?> 119 121 120 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 121 do_action( 'template_notices' ); 122 ?> 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> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/home.php
r10993 r11202 37 37 38 38 <div id="item-nav"> 39 <div class="item-list-tabs no-ajax" id="object-nav" role="navigation">39 <div class="item-list-tabs no-ajax" id="object-nav" aria-label="<?php esc_attr_e( 'Group primary navigation', 'buddypress' ); ?>" role="navigation"> 40 40 <ul> 41 41 -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php
r10993 r11202 59 59 <?php bp_group_invite_user_avatar(); ?> 60 60 61 <h 4><?php bp_group_invite_user_link(); ?></h4>61 <h3><?php bp_group_invite_user_link(); ?></h3> 62 62 <span class="activity"><?php bp_group_invite_user_last_active(); ?></span> 63 63 -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/members.php
r10993 r11202 57 57 58 58 <h5><?php bp_group_member_link(); ?></h5> 59 <span class="activity" ><?php bp_group_member_joined_since(); ?></span>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> 60 60 61 61 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/request-membership.php
r10993 r11202 15 15 16 16 <?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 17 22 <p><?php printf( __( "You are requesting to become a member of the group '%s'.", 'buddypress' ), bp_get_group_name( false ) ); ?></p> 18 23 -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/send-invites.php
r10993 r11202 18 18 if ( bp_get_new_group_invite_friend_list() ) : ?> 19 19 20 <h2 class="bp-screen-reader-text"><?php _e( 'Send invites', 'buddypress' ); ?></h2> 21 20 22 <?php /* 'send-invite-form' is important for AJAX support */ ?> 21 23 <form action="<?php bp_group_send_invite_form_action(); ?>" method="post" id="send-invite-form" class="standard-form"> 22 24 23 <div class="invite" >25 <div class="invite" aria-live="polite" aria-atomic="false" aria-relevant="all"> 24 26 <?php bp_get_template_part( 'groups/single/invites-loop' ); ?> 25 27 </div> -
trunk/src/bp-templates/bp-legacy/buddypress/members/activate.php
r10993 r11202 22 22 <div class="page" id="activate-page"> 23 23 24 <?php 24 <div id="template-notices" role="alert" aria-atomic="true"> 25 <?php 25 26 26 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 27 do_action( 'template_notices' ); ?> 27 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 28 do_action( 'template_notices' ); ?> 29 30 </div> 28 31 29 32 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/members/index.php
r10993 r11202 34 34 do_action( 'bp_before_directory_members_content' ); ?> 35 35 36 <div id="members-dir-search" class="dir-search" role="search"> 37 <?php bp_directory_members_search_form(); ?> 38 </div><!-- #members-dir-search --> 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; ?> 39 48 40 49 <?php 41 42 50 /** 43 51 * Fires before the display of the members list tabs. … … 49 57 <form action="" method="post" id="members-directory-form" class="dir-form"> 50 58 51 <div class="item-list-tabs" role="navigation">59 <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Members directory main navigation', 'buddypress' ); ?>" role="navigation"> 52 60 <ul> 53 61 <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> 54 62 55 63 <?php if ( is_user_logged_in() && bp_is_active( 'friends' ) && bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> 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>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> 57 65 <?php endif; ?> 58 66 … … 69 77 </div><!-- .item-list-tabs --> 70 78 71 <div class="item-list-tabs" id="subnav" role="navigation">79 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Members directory secondary navigation', 'buddypress' ); ?>" role="navigation"> 72 80 <ul> 73 81 <?php … … 102 110 </ul> 103 111 </div> 112 113 <h2 class="bp-screen-reader-text"><?php 114 /* translators: accessibility text */ 115 _e( 'Members directory', 'buddypress' ); 116 ?></h2> 104 117 105 118 <div id="members-dir-list" class="members dir-list"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/members-loop.php
r10993 r11202 47 47 do_action( 'bp_before_directory_members_list' ); ?> 48 48 49 <ul id="members-list" class="item-list" >49 <ul id="members-list" class="item-list" aria-live="assertive" aria-relevant="all"> 50 50 51 51 <?php while ( bp_members() ) : bp_the_member(); ?> … … 68 68 </div> 69 69 70 <div class="item-meta"><span class="activity" ><?php bp_member_last_active(); ?></span></div>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> 71 71 72 72 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/members/register.php
r10993 r11202 25 25 26 26 <?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?> 27 <?php 28 29 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 30 do_action( 'template_notices' ); ?> 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 31 36 <?php 32 37 … … 52 57 <?php if ( 'request-details' == bp_get_current_signup_step() ) : ?> 53 58 54 <?php 55 56 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 57 do_action( 'template_notices' ); ?> 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> 58 66 59 67 <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> … … 295 303 <input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value(); ?>" /> 296 304 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> 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> 309 319 310 320 <?php … … 360 370 <?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?> 361 371 362 <?php 363 364 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 365 do_action( 'template_notices' ); ?> 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 366 380 <?php 367 381 … … 373 387 do_action( 'bp_before_registration_confirmed' ); ?> 374 388 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; ?> 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> 380 396 381 397 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/activity.php
r10993 r11202 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> 12 12 <ul> 13 13 … … 62 62 do_action( 'bp_before_member_activity_content' ); ?> 63 63 64 <div class="activity" >64 <div class="activity" aria-live="polite" aria-atomic="true" aria-relevant="all"> 65 65 66 66 <?php bp_get_template_part( 'activity/activity-loop' ) ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/blogs.php
r10993 r11202 9 9 ?> 10 10 11 <div class="item-list-tabs" id="subnav" role="navigation">11 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> 12 12 <ul> 13 13 -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php
r10993 r11202 45 45 do_action( 'bp_member_header_actions' ); ?></div><!-- #item-buttons --> 46 46 47 <span class="activity" ><?php bp_last_activity( bp_displayed_user_id() ); ?></span>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> 48 48 49 49 <?php … … 98 98 do_action( 'bp_after_member_header' ); ?> 99 99 100 <?php 100 <div id="template-notices" role="alert" aria-atomic="true"> 101 <?php 101 102 102 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 103 do_action( 'template_notices' ); ?> 103 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 104 do_action( 'template_notices' ); ?> 105 106 </div> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/forums.php
r10993 r11202 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> 12 12 <ul> 13 13 <?php bp_get_options_nav(); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/friends.php
r10993 r11202 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> 12 12 <ul> 13 13 <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?> … … 53 53 do_action( 'bp_before_member_friends_content' ); ?> 54 54 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 55 67 <div class="members friends"> 56 68 -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/friends/requests.php
r10993 r11202 15 15 16 16 <?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> 17 22 18 23 <div id="pag-top" class="pagination no-ajax"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/groups.php
r10993 r11202 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> 12 12 <ul> 13 13 <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?> … … 55 55 do_action( 'bp_before_member_groups_content' ); ?> 56 56 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 57 69 <div class="groups mygroups"> 58 70 -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/groups/invites.php
r10993 r11202 15 15 16 16 <?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> 17 22 18 23 <ul id="group-list" class="invites item-list"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/home.php
r10993 r11202 36 36 37 37 <div id="item-nav"> 38 <div class="item-list-tabs no-ajax" id="object-nav" role="navigation">38 <div class="item-list-tabs no-ajax" id="object-nav" aria-label="<?php esc_attr_e( 'Member primary navigation', 'buddypress' ); ?>" role="navigation"> 39 39 <ul> 40 40 -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/member-header.php
r10993 r11202 32 32 <?php endif; ?> 33 33 34 <span class="activity" ><?php bp_last_activity( bp_displayed_user_id() ); ?></span>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> 35 35 36 36 <?php … … 95 95 do_action( 'bp_after_member_header' ); ?> 96 96 97 <?php 97 <div id="template-notices" role="alert" aria-atomic="true"> 98 <?php 98 99 99 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 100 do_action( 'template_notices' ); ?> 100 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 101 do_action( 'template_notices' ); ?> 102 103 </div> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages.php
r10993 r11202 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> 12 12 <ul> 13 13 … … 37 37 */ 38 38 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; ?> 39 51 40 52 <div class="messages"> … … 72 84 do_action( 'bp_before_member_messages_content' ); ?> 73 85 86 <h2 class="bp-screen-reader-text"><?php 87 /* translators: accessibility text */ 88 _e( 'Sitewide Notices', 'buddypress' ); 89 ?></h2> 90 74 91 <div class="messages"> 75 92 <?php bp_get_template_part( 'members/single/messages/notices-loop' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php
r10993 r11202 8 8 9 9 ?> 10 <h2 class="bp-screen-reader-text"><?php 11 /* translators: accessibility text */ 12 _e( 'Compose Message', 'buddypress' ); 13 ?></h2> 14 10 15 <form action="<?php bp_messages_form_action('compose' ); ?>" method="post" id="send_message_form" class="standard-form" enctype="multipart/form-data"> 11 16 -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php
r10993 r11202 15 15 16 16 <?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> 17 22 18 23 <div class="pagination no-ajax" id="user-pag"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/single.php
r10993 r11202 21 21 <?php if ( bp_thread_has_messages() ) : ?> 22 22 23 <h 3 id="message-subject"><?php bp_the_thread_subject(); ?></h3>23 <h2 id="message-subject"><?php bp_the_thread_subject(); ?></h2> 24 24 25 25 <p id="message-recipients"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications.php
r10993 r11202 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> 12 12 <ul> 13 13 <?php bp_get_options_nav(); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications/read.php
r10993 r11202 10 10 11 11 <?php if ( bp_has_notifications() ) : ?> 12 13 <h2 class="bp-screen-reader-text"><?php 14 /* translators: accessibility text */ 15 _e( 'Notifications', 'buddypress' ); 16 ?></h2> 12 17 13 18 <div id="pag-top" class="pagination no-ajax"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications/unread.php
r10993 r11202 10 10 11 11 <?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> 12 17 13 18 <div id="pag-top" class="pagination no-ajax"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/plugins.php
r10993 r11202 19 19 <?php if ( ! bp_is_current_component_core() ) : ?> 20 20 21 <div class="item-list-tabs no-ajax" id="subnav" >21 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> 22 22 <ul> 23 23 <?php bp_get_options_nav(); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile.php
r10993 r11202 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> 12 12 <ul> 13 13 <?php bp_get_options_nav(); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
r10993 r11202 27 27 28 28 <?php if ( bp_profile_has_multiple_groups() ) : ?> 29 <ul class="button-nav" >29 <ul class="button-nav" aria-label="<?php esc_attr_e( 'Profile field groups', 'buddypress' ); ?>" role="navigation"> 30 30 31 31 <?php bp_profile_group_tabs(); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php
r10993 r11202 26 26 27 27 <div class="bp-widget wp-profile"> 28 <h 4><?php bp_is_my_profile() ? _e( 'My Profile', 'buddypress' ) : printf( __( "%s's Profile", 'buddypress' ), bp_get_displayed_user_fullname() ); ?></h4>28 <h2><?php bp_is_my_profile() ? _e( 'My Profile', 'buddypress' ) : printf( __( "%s's Profile", 'buddypress' ), bp_get_displayed_user_fullname() ); ?></h2> 29 29 30 30 <table class="wp-profile-fields"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings.php
r10993 r11202 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> 12 12 <ul> 13 13 <?php if ( bp_core_can_edit_settings() ) : ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/general.php
r10993 r11202 9 9 /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */ 10 10 do_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> 11 16 12 17 <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
r10993 r11202 9 9 /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */ 10 10 do_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> 11 16 12 17 <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
r10993 r11202 13 13 */ 14 14 do_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> 15 20 16 21 <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
r10993 r11202 647 647 background: #fafafa; 648 648 border-radius: 0; 649 color: #7 67676;649 color: #737373; 650 650 font: inherit; 651 651 font-size: 100%; … … 844 844 } 845 845 846 #buddypress form.standard-form .main-column ul#friend-list h3, 846 847 #buddypress form.standard-form .main-column ul#friend-list h4 { 847 848 clear:none; … … 861 862 cursor: default; 862 863 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; 863 880 } 864 881 … … 1071 1088 #buddypress table.forum tr.alt td { 1072 1089 background: #f5f5f5; 1090 color: #707070; 1073 1091 } 1074 1092 #buddypress table.notification-settings { … … 1169 1187 display: inline-block; 1170 1188 font-size: small; 1171 opacity: 0.8;1172 1189 padding: 0; 1173 1190 } … … 1305 1322 } 1306 1323 #buddypress ul.item-list li div.item-title, 1324 #buddypress ul.item-list li h3, 1307 1325 #buddypress ul.item-list li h4 { 1308 1326 font-weight: normal; … … 1390 1408 background-color: #eee; 1391 1409 color: #555; 1392 opacity: . 8;1410 opacity: .9; 1393 1411 font-weight: bold; 1394 1412 } … … 1418 1436 overflow: auto; 1419 1437 list-style: none; 1438 } 1439 #buddypress .group-members-list { 1440 width: 100%; 1441 margin-top: 1em; 1442 clear: both; 1443 overflow: auto; 1420 1444 } 1421 1445 #buddypress #item-buttons:empty { … … 1584 1608 #buddypress .field-visibility-settings-toggle, 1585 1609 #buddypress .field-visibility-settings-notoggle { 1586 color: #7 67676;1610 color: #707070; 1587 1611 } 1588 1612 #buddypress .field-visibility-settings-toggle a, … … 1616 1640 border-bottom-left-radius: 0; 1617 1641 background: #f5f5f5; 1642 color: #707070; 1618 1643 } 1619 1644 #buddypress .tmce-active button.switch-tmce { … … 1622 1647 border-bottom-left-radius: 0; 1623 1648 background: #f5f5f5; 1649 color: #707070; 1624 1650 } 1625 1651 #buddypress .standard-form .wp-editor-container textarea { … … 1641 1667 display: inline-block; 1642 1668 font-size: small; 1643 opacity: 0.8;1644 1669 padding: 0; 1645 1670 } … … 1743 1768 margin-bottom:1em; 1744 1769 } 1770 #buddypress form.standard-form .main-column ul#friend-list h3, 1745 1771 #buddypress form.standard-form .main-column ul#friend-list h4{ 1746 1772 width:100%; -
trunk/src/bp-templates/bp-legacy/css/buddypress.css
r10993 r11202 647 647 background: #fafafa; 648 648 border-radius: 0; 649 color: #7 67676;649 color: #737373; 650 650 font: inherit; 651 651 font-size: 100%; … … 844 844 } 845 845 846 #buddypress form.standard-form .main-column ul#friend-list h3, 846 847 #buddypress form.standard-form .main-column ul#friend-list h4 { 847 848 clear:none; … … 861 862 cursor: default; 862 863 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; 863 880 } 864 881 … … 1071 1088 #buddypress table.forum tr.alt td { 1072 1089 background: #f5f5f5; 1090 color: #707070; 1073 1091 } 1074 1092 #buddypress table.notification-settings { … … 1169 1187 display: inline-block; 1170 1188 font-size: small; 1171 opacity: 0.8;1172 1189 padding: 0; 1173 1190 } … … 1305 1322 } 1306 1323 #buddypress ul.item-list li div.item-title, 1324 #buddypress ul.item-list li h3, 1307 1325 #buddypress ul.item-list li h4 { 1308 1326 font-weight: normal; … … 1390 1408 background-color: #eee; 1391 1409 color: #555; 1392 opacity: . 8;1410 opacity: .9; 1393 1411 font-weight: bold; 1394 1412 } … … 1418 1436 overflow: auto; 1419 1437 list-style: none; 1438 } 1439 #buddypress .group-members-list { 1440 width: 100%; 1441 margin-top: 1em; 1442 clear: both; 1443 overflow: auto; 1420 1444 } 1421 1445 #buddypress #item-buttons:empty { … … 1584 1608 #buddypress .field-visibility-settings-toggle, 1585 1609 #buddypress .field-visibility-settings-notoggle { 1586 color: #7 67676;1610 color: #707070; 1587 1611 } 1588 1612 #buddypress .field-visibility-settings-toggle a, … … 1616 1640 border-bottom-right-radius: 0; 1617 1641 background: #f5f5f5; 1642 color: #707070; 1618 1643 } 1619 1644 #buddypress .tmce-active button.switch-tmce { … … 1622 1647 border-bottom-right-radius: 0; 1623 1648 background: #f5f5f5; 1649 color: #707070; 1624 1650 } 1625 1651 #buddypress .standard-form .wp-editor-container textarea { … … 1641 1667 display: inline-block; 1642 1668 font-size: small; 1643 opacity: 0.8;1644 1669 padding: 0; 1645 1670 } … … 1743 1768 margin-bottom:1em; 1744 1769 } 1770 #buddypress form.standard-form .main-column ul#friend-list h3, 1745 1771 #buddypress form.standard-form .main-column ul#friend-list h4{ 1746 1772 width:100%; -
trunk/src/bp-templates/bp-legacy/css/twentyeleven-rtl.css
r10993 r11202 1131 1131 *----------------------------------------- 1132 1132 */ 1133 .groups #group-settings-form h 4{1133 .groups #group-settings-form h3 { 1134 1134 background: #555; 1135 1135 color: #fff; -
trunk/src/bp-templates/bp-legacy/css/twentyeleven.css
r10993 r11202 1131 1131 *----------------------------------------- 1132 1132 */ 1133 .groups #group-settings-form h 4{1133 .groups #group-settings-form h3 { 1134 1134 background: #555; 1135 1135 color: #fff; -
trunk/src/bp-templates/bp-legacy/css/twentyeleven.scss
r10993 r11202 1607 1607 .groups { 1608 1608 #group-settings-form { 1609 h 4{1609 h3 { 1610 1610 background: $dark-background; 1611 1611 color: $content-background; -
trunk/src/bp-templates/bp-legacy/css/twentyfifteen-rtl.css
r10993 r11202 336 336 } 337 337 338 #buddypress .item-list a.activity-time-since { 339 color: #717171; 340 } 341 338 342 #buddypress ul.item-list li { 339 343 overflow: hidden !important; … … 600 604 background-color: #f7f7f7; 601 605 border: 1px solid rgba(234, 234, 234, 0.6); 606 color: #717171; 602 607 padding: 0 0.2em; 603 608 } … … 674 679 } 675 680 681 #buddypress #activity-stream .activity-comments a { 682 color: #717171; 683 } 684 676 685 #buddypress #activity-stream .activity-comments.has-comments { 677 686 border-right: 1px solid #eaeaea; … … 713 722 #buddypress #activity-stream .activity-comments > ul .acomment-meta { 714 723 border-bottom: 1px solid #eaeaea; 724 color: #737373; 715 725 font-style: italic; 716 726 } … … 1001 1011 *----------------------------------------- 1002 1012 */ 1003 .groups #group-settings-form h 4{1013 .groups #group-settings-form h3 { 1004 1014 background: #555; 1005 1015 color: #fff; … … 1048 1058 .groups.group-settings #group-settings-form div.radio ul, 1049 1059 .groups.group-settings #create-group-form div.radio ul { 1050 color: rgba(51, 51, 51, 0.6);1060 color: #767676; 1051 1061 font-size: 14px; 1052 1062 font-size: 1.4rem; -
trunk/src/bp-templates/bp-legacy/css/twentyfifteen.css
r10993 r11202 336 336 } 337 337 338 #buddypress .item-list a.activity-time-since { 339 color: #717171; 340 } 341 338 342 #buddypress ul.item-list li { 339 343 overflow: hidden !important; … … 600 604 background-color: #f7f7f7; 601 605 border: 1px solid rgba(234, 234, 234, 0.6); 606 color: #717171; 602 607 padding: 0 0.2em; 603 608 } … … 674 679 } 675 680 681 #buddypress #activity-stream .activity-comments a { 682 color: #717171; 683 } 684 676 685 #buddypress #activity-stream .activity-comments.has-comments { 677 686 border-left: 1px solid #eaeaea; … … 713 722 #buddypress #activity-stream .activity-comments > ul .acomment-meta { 714 723 border-bottom: 1px solid #eaeaea; 724 color: #737373; 715 725 font-style: italic; 716 726 } … … 1001 1011 *----------------------------------------- 1002 1012 */ 1003 .groups #group-settings-form h 4{1013 .groups #group-settings-form h3 { 1004 1014 background: #555; 1005 1015 color: #fff; … … 1048 1058 .groups.group-settings #group-settings-form div.radio ul, 1049 1059 .groups.group-settings #create-group-form div.radio ul { 1050 color: rgba(51, 51, 51, 0.6);1060 color: #767676; 1051 1061 font-size: 14px; 1052 1062 font-size: 1.4rem; -
trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss
r10993 r11202 523 523 @include default-font-sans(); 524 524 } 525 526 a.activity-time-since { 527 color: #717171; 528 } 525 529 } 526 530 } … … 824 828 background-color: $light-background; 825 829 border: 1px solid rgba($border-light, 0.6); 830 color: #717171; 826 831 padding: 0 0.2em; 827 832 } … … 904 909 margin: $spacing-val-sm 0 0; 905 910 911 a { 912 color: #717171; 913 } 914 906 915 &.has-comments { 907 916 border-left: 1px solid $border-light; … … 937 946 } 938 947 939 .acomment-meta {border-bottom: 1px solid $border-light; font-style: italic;} 948 .acomment-meta { 949 border-bottom: 1px solid $border-light; 950 color: #737373; 951 font-style: italic; 952 } 940 953 941 954 // Display the user avatar stacked up to 30em … … 1274 1287 .groups { 1275 1288 #group-settings-form { 1276 h 4{1289 h3 { 1277 1290 background: $dark-background; 1278 1291 color: $content-background; … … 1328 1341 1329 1342 ul { 1330 color: rgba($body-text, 0.6);1343 color: #767676; 1331 1344 @include font-size(14); 1332 1345 } -
trunk/src/bp-templates/bp-legacy/css/twentyfourteen-rtl.css
r10993 r11202 124 124 } 125 125 126 #buddypress .item-list-tabs ul a { 127 color: #1b6e08; 128 } 129 126 130 .directory #buddypress .item-list-tabs ul:before, 127 131 .directory #buddypress .item-list-tabs ul:after { … … 163 167 } 164 168 169 .directory #buddypress #subnav a { 170 color: #1b6e08; 171 } 172 165 173 /* List last filters global */ 166 174 #buddypress #subnav li#activity-filter-select.last { … … 213 221 } 214 222 #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover { 215 background: # bebebe;223 background: #f1f1f1; 216 224 } 217 225 #buddypress #object-nav ul li span { … … 236 244 #buddypress #item-body #subnav li:focus, 237 245 #buddypress #item-body #subnav li:hover { 238 background: # bebebe;246 background: #f1f1f1; 239 247 } 240 248 #buddypress #item-body #subnav li.current { … … 553 561 } 554 562 563 #buddypress .activity .activity-comments a { 564 color: #1b6e08; 565 } 566 555 567 #buddypress .activity .activity-comments ul { 556 568 background: rgba(247, 247, 247, 0.6); … … 561 573 border-right: 1px solid rgba(0, 0, 0, 0.1); 562 574 padding-right: 2%; 575 } 576 577 #buddypress .activity .activity-comments .acomment-meta { 578 color: #737373; 563 579 } 564 580 … … 805 821 #group-settings-form .radio ul, 806 822 #create-group-form .radio ul { 807 color: # 787878;823 color: #6b6b6b; 808 824 } 809 825 … … 814 830 815 831 /* Manage Members */ 816 .groups.manage-members #group-settings-form h 4{832 .groups.manage-members #group-settings-form h3 { 817 833 margin-top: 40px; 818 834 } … … 841 857 .groups.manage-members #group-settings-form .item-list li h5 > a { 842 858 border-bottom: 0; 859 color: #22830c; 843 860 } 844 861 … … 998 1015 */ 999 1016 #buddypress .profile .bp-widget h2 { 1000 background: #9 99;1017 background: #949494; 1001 1018 color: #fff; 1002 1019 padding: 0.4em 0.2em; … … 1460 1477 } 1461 1478 1479 #buddypress table .alt a { 1480 color: #22820c; 1481 } 1482 1462 1483 /*__ User Account tables __*/ 1463 1484 /** -
trunk/src/bp-templates/bp-legacy/css/twentyfourteen.css
r10993 r11202 124 124 } 125 125 126 #buddypress .item-list-tabs ul a { 127 color: #1b6e08; 128 } 129 126 130 .directory #buddypress .item-list-tabs ul:before, 127 131 .directory #buddypress .item-list-tabs ul:after { … … 163 167 } 164 168 169 .directory #buddypress #subnav a { 170 color: #1b6e08; 171 } 172 165 173 /* List last filters global */ 166 174 #buddypress #subnav li#activity-filter-select.last { … … 213 221 } 214 222 #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover { 215 background: # bebebe;223 background: #f1f1f1; 216 224 } 217 225 #buddypress #object-nav ul li span { … … 236 244 #buddypress #item-body #subnav li:focus, 237 245 #buddypress #item-body #subnav li:hover { 238 background: # bebebe;246 background: #f1f1f1; 239 247 } 240 248 #buddypress #item-body #subnav li.current { … … 553 561 } 554 562 563 #buddypress .activity .activity-comments a { 564 color: #1b6e08; 565 } 566 555 567 #buddypress .activity .activity-comments ul { 556 568 background: rgba(247, 247, 247, 0.6); … … 561 573 border-left: 1px solid rgba(0, 0, 0, 0.1); 562 574 padding-left: 2%; 575 } 576 577 #buddypress .activity .activity-comments .acomment-meta { 578 color: #737373; 563 579 } 564 580 … … 805 821 #group-settings-form .radio ul, 806 822 #create-group-form .radio ul { 807 color: # 787878;823 color: #6b6b6b; 808 824 } 809 825 … … 814 830 815 831 /* Manage Members */ 816 .groups.manage-members #group-settings-form h 4{832 .groups.manage-members #group-settings-form h3 { 817 833 margin-top: 40px; 818 834 } … … 841 857 .groups.manage-members #group-settings-form .item-list li h5 > a { 842 858 border-bottom: 0; 859 color: #22830c; 843 860 } 844 861 … … 998 1015 */ 999 1016 #buddypress .profile .bp-widget h2 { 1000 background: #9 99;1017 background: #949494; 1001 1018 color: #fff; 1002 1019 padding: 0.4em 0.2em; … … 1460 1477 } 1461 1478 1479 #buddypress table .alt a { 1480 color: #22820c; 1481 } 1482 1462 1483 /*__ User Account tables __*/ 1463 1484 /** -
trunk/src/bp-templates/bp-legacy/css/twentyfourteen.scss
r10993 r11202 127 127 $dark-back-text-color: #fff; 128 128 $light-background: #f7f7f7; 129 $medium-background: #9 99;129 $medium-background: #949494; 130 130 $dark-background: #000; 131 131 $border-color: #000; // border color can be varied using rgba … … 287 287 } 288 288 } 289 290 a { 291 color: #1b6e08; 292 } 289 293 } 290 294 } … … 331 335 ul { 332 336 border-bottom: 0; 337 } 338 339 a { 340 color: #1b6e08; 333 341 } 334 342 … … 418 426 &:focus, 419 427 &:hover { 420 background: $nav-background-border;428 background: lighten($nav-background-border, 20%); 421 429 } 422 430 … … 447 455 li:focus, 448 456 li:hover { 449 background: $nav-background-border;457 background: lighten($nav-background-border, 20%); 450 458 } 451 459 … … 838 846 } 839 847 848 a { 849 color: #1b6e08; 850 } 851 840 852 ul { 841 853 background: rgba($light-background, 0.6); … … 846 858 border-left: 1px solid $border-light; 847 859 padding-left: 2%; 860 } 861 862 .acomment-meta { 863 color: #737373; 848 864 } 849 865 … … 1137 1153 1138 1154 ul { 1139 color: lighten($body-text, 30%);1155 color: lighten($body-text, 25%); 1140 1156 } 1141 1157 } … … 1148 1164 #group-settings-form { 1149 1165 1150 h 4{margin-top: $spacing-val-lg;}1166 h3 {margin-top: $spacing-val-lg;} 1151 1167 1152 1168 .item-list { … … 1163 1179 clear: none; 1164 1180 float: left; 1165 > a {border-bottom: 0;} 1181 1182 > a { 1183 border-bottom: 0; 1184 color: #22830c; 1185 } 1166 1186 } 1167 1187 … … 1849 1869 table { 1850 1870 border-color: $border-med; 1871 1872 .alt a { 1873 color: #22820c; 1874 } 1851 1875 } 1852 1876 } -
trunk/src/bp-templates/bp-legacy/css/twentysixteen-rtl.css
r10993 r11202 150 150 } 151 151 152 #buddypress div.item-list-tabs ul li a { 153 color: #0073c1; 154 } 155 152 156 #buddypress div.item-list-tabs ul li a span { 153 157 border-radius: 25%; … … 199 203 border-bottom: 1px solid #eaeaea; 200 204 } 201 }202 203 #buddypress #object-nav ul li:not(.selected) a {204 opacity: 0.7;205 205 } 206 206 … … 652 652 } 653 653 654 #buddypress #activity-stream li .activity-content .activity-header a { 655 color: #0075c4; 656 } 657 654 658 @media screen and (min-width: 46.25em) { 655 659 #buddypress #activity-stream li .activity-avatar { … … 694 698 background-color: #f7f7f7; 695 699 border: 1px solid rgba(234, 234, 234, 0.6); 700 color: #727272; 696 701 margin-top: 0; 697 702 padding: 0 0.2em; … … 768 773 #buddypress #activity-stream .activity-comments ul { 769 774 background: rgba(247, 247, 247, 0.6); 775 color: #737373; 770 776 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; 771 785 } 772 786 … … 1061 1075 *----------------------------------------- 1062 1076 */ 1063 .groups #group-settings-form h 4{1077 .groups #group-settings-form h3 { 1064 1078 background: #555; 1065 1079 color: #fff; … … 1194 1208 font-size: 12px; 1195 1209 font-size: 0.75rem; 1210 } 1211 1212 .bp-user #buddypress table a { 1213 color: #0074c2; 1196 1214 } 1197 1215 … … 1694 1712 border-color: rgba(212, 208, 186, 0.5); 1695 1713 border-width: 1px; 1714 } 1715 1716 #buddypress .standard-form select { 1717 color: #737373; 1696 1718 } 1697 1719 -
trunk/src/bp-templates/bp-legacy/css/twentysixteen.css
r10993 r11202 150 150 } 151 151 152 #buddypress div.item-list-tabs ul li a { 153 color: #0073c1; 154 } 155 152 156 #buddypress div.item-list-tabs ul li a span { 153 157 border-radius: 25%; … … 199 203 border-bottom: 1px solid #eaeaea; 200 204 } 201 }202 203 #buddypress #object-nav ul li:not(.selected) a {204 opacity: 0.7;205 205 } 206 206 … … 652 652 } 653 653 654 #buddypress #activity-stream li .activity-content .activity-header a { 655 color: #0075c4; 656 } 657 654 658 @media screen and (min-width: 46.25em) { 655 659 #buddypress #activity-stream li .activity-avatar { … … 694 698 background-color: #f7f7f7; 695 699 border: 1px solid rgba(234, 234, 234, 0.6); 700 color: #727272; 696 701 margin-top: 0; 697 702 padding: 0 0.2em; … … 768 773 #buddypress #activity-stream .activity-comments ul { 769 774 background: rgba(247, 247, 247, 0.6); 775 color: #737373; 770 776 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; 771 785 } 772 786 … … 1061 1075 *----------------------------------------- 1062 1076 */ 1063 .groups #group-settings-form h 4{1077 .groups #group-settings-form h3 { 1064 1078 background: #555; 1065 1079 color: #fff; … … 1194 1208 font-size: 12px; 1195 1209 font-size: 0.75rem; 1210 } 1211 1212 .bp-user #buddypress table a { 1213 color: #0074c2; 1196 1214 } 1197 1215 … … 1694 1712 border-color: rgba(212, 208, 186, 0.5); 1695 1713 border-width: 1px; 1714 } 1715 1716 #buddypress .standard-form select { 1717 color: #737373; 1696 1718 } 1697 1719 -
trunk/src/bp-templates/bp-legacy/css/twentysixteen.scss
r10993 r11202 364 364 li { 365 365 a { 366 color: #0073c1; 367 366 368 span {border-radius: 25%;} 367 369 } … … 440 442 441 443 li:not(.selected) { 442 a {opacity: 0.7;}443 444 444 445 @media screen and (max-width: 38.75em) { … … 979 980 .activity-header { 980 981 @include font-size(14); 982 983 a { 984 color: #0075c4; 985 } 981 986 } 982 987 } … … 1032 1037 background-color: $light-background; 1033 1038 border: 1px solid rgba($border-light, 0.6); 1039 color: #727272; 1034 1040 margin-top: 0; 1035 1041 padding: 0 0.2em; … … 1115 1121 ul { 1116 1122 background: rgba($light-background, 0.6); 1123 color: #737373; 1117 1124 margin: 15px 0 0 2px; 1125 1126 a { 1127 color: #0077c7; 1128 } 1129 } 1130 1131 .acomment-meta { 1132 color: #737373; 1118 1133 } 1119 1134 … … 1465 1480 .groups { 1466 1481 #group-settings-form { 1467 h 4{1482 h3 { 1468 1483 background: $dark-background; 1469 1484 color: $content-background; … … 1619 1634 th {@include font-size(14)} 1620 1635 td {@include font-size(12)} 1636 a { color: #0074c2; } 1621 1637 1622 1638 @include medium-up { … … 2181 2197 } 2182 2198 2199 select { 2200 color: #737373; 2201 } 2202 2183 2203 } // close .standard-form 2184 2204 -
trunk/src/bp-templates/bp-legacy/css/twentyten-rtl.css
r10993 r11202 1079 1079 *----------------------------------------- 1080 1080 */ 1081 .groups #group-settings-form h 4{1081 .groups #group-settings-form h3 { 1082 1082 background: #555; 1083 1083 color: #fff; -
trunk/src/bp-templates/bp-legacy/css/twentyten.css
r10993 r11202 1079 1079 *----------------------------------------- 1080 1080 */ 1081 .groups #group-settings-form h 4{1081 .groups #group-settings-form h3 { 1082 1082 background: #555; 1083 1083 color: #fff; -
trunk/src/bp-templates/bp-legacy/css/twentyten.scss
r10993 r11202 1510 1510 .groups { 1511 1511 #group-settings-form { 1512 h 4{1512 h3 { 1513 1513 background: $dark-background; 1514 1514 color: $content-background; -
trunk/src/bp-templates/bp-legacy/css/twentythirteen-rtl.css
r10993 r11202 160 160 } 161 161 162 #buddypress #object-nav ul li:not(.selected) a {163 opacity: 0.7;164 }165 166 162 @media screen and (min-width: 38.75em) { 167 163 #buddypress #object-nav ul li { … … 359 355 360 356 #buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover { 361 background: # e37a5a;357 background: #bd4b28; 362 358 color: #f7f5e7; 363 359 } 364 360 365 361 #buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover { 366 background: # e37a5a;362 background: #bd4b28; 367 363 color: #f7f5e7; 368 364 } … … 647 643 background-color: #f7f7f7; 648 644 border: 1px solid rgba(234, 234, 234, 0.6); 645 color: #727272; 649 646 margin-top: 0; 650 647 padding: 0 0.2em; 648 } 649 650 #buddypress #activity-stream .activity-content .activity-header p a.activity-time-since { 651 color: #727272; 651 652 } 652 653 … … 722 723 background: rgba(247, 247, 247, 0.6); 723 724 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; 724 733 } 725 734 … … 1090 1099 *----------------------------------------- 1091 1100 */ 1092 .groups #group-settings-form h 4{1101 .groups #group-settings-form h3 { 1093 1102 background: #555; 1094 1103 color: #fff; -
trunk/src/bp-templates/bp-legacy/css/twentythirteen.css
r10993 r11202 160 160 } 161 161 162 #buddypress #object-nav ul li:not(.selected) a {163 opacity: 0.7;164 }165 166 162 @media screen and (min-width: 38.75em) { 167 163 #buddypress #object-nav ul li { … … 359 355 360 356 #buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover { 361 background: # e37a5a;357 background: #bd4b28; 362 358 color: #f7f5e7; 363 359 } 364 360 365 361 #buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover { 366 background: # e37a5a;362 background: #bd4b28; 367 363 color: #f7f5e7; 368 364 } … … 647 643 background-color: #f7f7f7; 648 644 border: 1px solid rgba(234, 234, 234, 0.6); 645 color: #727272; 649 646 margin-top: 0; 650 647 padding: 0 0.2em; 648 } 649 650 #buddypress #activity-stream .activity-content .activity-header p a.activity-time-since { 651 color: #727272; 651 652 } 652 653 … … 722 723 background: rgba(247, 247, 247, 0.6); 723 724 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; 724 733 } 725 734 … … 1090 1099 *----------------------------------------- 1091 1100 */ 1092 .groups #group-settings-form h 4{1101 .groups #group-settings-form h3 { 1093 1102 background: #555; 1094 1103 color: #fff; -
trunk/src/bp-templates/bp-legacy/css/twentythirteen.scss
r10993 r11202 144 144 $border-light: #eaeaea; // BP dividers 145 145 $border-med: #ddd; 146 $background-hover: # db572f; // 2013 link background hover146 $background-hover: #bd4b28; // 2013 link background hover 147 147 $bp-button-hover: #ededed; // this is the default BP button hover background 148 148 $notice-error: #c85a6e; … … 349 349 } 350 350 351 li:not(.selected) {352 a {opacity: 0.7;}353 }354 355 351 @media screen and (min-width: 38.75em) { 356 352 li { … … 598 594 &:focus, 599 595 &:hover { 600 background: lighten($background-hover, 10%);596 background: $background-hover; 601 597 color: $cream-background; 602 598 } … … 609 605 &:focus, 610 606 &:hover { 611 background: lighten($background-hover, 10%);607 background: $background-hover; 612 608 color: $cream-background; 613 609 } … … 939 935 background-color: $light-background; 940 936 border: 1px solid rgba($border-light, 0.6); 937 color: #727272; 941 938 margin-top: 0; 942 939 padding: 0 0.2em; 940 941 a.activity-time-since { 942 color: #727272; 943 } 943 944 } 944 945 … … 1023 1024 background: rgba($light-background, 0.6); 1024 1025 margin: 15px 0 0 2px; 1026 } 1027 1028 a { 1029 color: #ac0404; 1030 } 1031 1032 .acomment-meta { 1033 color: #737373; 1025 1034 } 1026 1035 … … 1458 1467 .groups { 1459 1468 #group-settings-form { 1460 h 4{1469 h3 { 1461 1470 background: $dark-background; 1462 1471 color: $content-background; -
trunk/src/bp-templates/bp-legacy/css/twentytwelve-rtl.css
r10993 r11202 771 771 } 772 772 773 #buddypress #activity-stream .activity-comments a { 774 color: #737373; 775 } 776 773 777 #buddypress #activity-stream .activity-comments .ac-form { 774 778 border: 1px solid #d4d0ba; … … 1106 1110 *----------------------------------------- 1107 1111 */ 1108 .groups #group-settings-form h 4{1112 .groups #group-settings-form h3 { 1109 1113 background: #555; 1110 1114 color: #fff; … … 1386 1390 border-radius: 2px; 1387 1391 background-clip: padding-box; 1388 color: # eee;1392 color: #f1f1f1; 1389 1393 font-weight: bold; 1390 1394 padding: 0.1em 0.5em; -
trunk/src/bp-templates/bp-legacy/css/twentytwelve.css
r10993 r11202 771 771 } 772 772 773 #buddypress #activity-stream .activity-comments a { 774 color: #737373; 775 } 776 773 777 #buddypress #activity-stream .activity-comments .ac-form { 774 778 border: 1px solid #d4d0ba; … … 1106 1110 *----------------------------------------- 1107 1111 */ 1108 .groups #group-settings-form h 4{1112 .groups #group-settings-form h3 { 1109 1113 background: #555; 1110 1114 color: #fff; … … 1386 1390 border-radius: 2px; 1387 1391 background-clip: padding-box; 1388 color: # eee;1392 color: #f1f1f1; 1389 1393 font-weight: bold; 1390 1394 padding: 0.1em 0.5em; -
trunk/src/bp-templates/bp-legacy/css/twentytwelve.scss
r10993 r11202 1099 1099 @include font-size(12); 1100 1100 } 1101 1102 } 1103 1101 } 1102 1103 } 1104 1105 a { 1106 color: #737373; 1104 1107 } 1105 1108 … … 1522 1525 .groups { 1523 1526 #group-settings-form { 1524 h 4{1527 h3 { 1525 1528 background: $dark-background; 1526 1529 color: $content-background; … … 1802 1805 background: lighten($dark-background, 10%); 1803 1806 @include border-radius(2px); 1804 color: # eee;1807 color: #f1f1f1; 1805 1808 font-weight: bold; 1806 1809 padding: 0.1em 0.5em; -
trunk/src/bp-templates/bp-legacy/js/buddypress.js
r10993 r11202 309 309 /* Favoriting activity stream items */ 310 310 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 311 316 type = target.hasClass('fav') ? 'fav' : 'unfav'; 312 317 parent = target.closest('.activity-item'); … … 848 853 849 854 var target = jq(event.target), 850 css_id, object, template ;855 css_id, object, template, search_terms; 851 856 852 857 if ( target.attr('type') === 'submit' ) { … … 854 859 object = css_id[0]; 855 860 template = null; 861 search_terms = target.parent().find( '#' + object + '_search' ).val(); 856 862 857 863 // The Group Members page specifies its own template … … 861 867 } 862 868 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 );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 ); 864 870 865 871 return false; … … 871 877 /* When a navigation tab is clicked - e.g. | All Groups | My Groups | */ 872 878 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 873 884 if ( jq(this).hasClass('no-ajax') || jq( event.target ).hasClass('no-ajax') ) { 874 885 return;
Note: See TracChangeset
for help on using the changeset viewer.