Changes in trunk/src/bp-templates/bp-legacy [11202:10993]
- Location:
- trunk/src/bp-templates/bp-legacy
- Files:
-
- 2 deleted
- 75 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r11202 r10993 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 ); 112 add_action( 'bp_after_group_admin_content', 'bp_legacy_groups_admin_screen_hidden_input' ); 113 add_action( 'bp_before_group_admin_form', 'bp_legacy_theme_group_manage_members_add_search' ); 108 add_action( 'bp_group_header_actions', 'bp_group_join_button', 5 ); 109 add_action( 'bp_group_header_actions', 'bp_group_new_topic_button', 20 ); 110 add_action( 'bp_directory_groups_actions', 'bp_group_join_button' ); 111 add_action( 'bp_groups_directory_group_filter', 'bp_legacy_theme_group_create_nav', 999 ); 114 112 } 115 113 … … 609 607 610 608 /** 611 * Renders the group ID hidden input on group admin screens.612 *613 * @since 2.7.0614 *615 * @return string html616 */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 <?php621 }622 623 /**624 609 * Add the Create a Site button to the Sites directory title. 625 610 * … … 1449 1434 return; 1450 1435 1451 if ( ! $group = groups_get_group( $group_id) )1436 if ( ! $group = groups_get_group( array( 'group_id' => $group_id ) ) ) 1452 1437 return; 1453 1438 … … 1459 1444 _e( 'Error joining group', 'buddypress' ); 1460 1445 } else { 1461 echo '<a id="group-' . esc_attr( $group->id ) . '" class=" group-buttonleave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>';1446 echo '<a id="group-' . esc_attr( $group->id ) . '" class="leave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>'; 1462 1447 } 1463 1448 … … 1472 1457 _e( 'Error requesting membership', 'buddypress' ); 1473 1458 } else { 1474 echo '<a id="group-' . esc_attr( $group->id ) . '" class=" group-buttonleave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>';1459 echo '<a id="group-' . esc_attr( $group->id ) . '" class="leave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>'; 1475 1460 } 1476 1461 … … 1493 1478 _e( 'Error leaving group', 'buddypress' ); 1494 1479 } elseif ( 'public' == $group->status ) { 1495 echo '<a id="group-' . esc_attr( $group->id ) . '" class=" group-buttonjoin-group" rel="join" title="' . __( 'Join Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ) . '">' . __( 'Join Group', 'buddypress' ) . '</a>';1480 echo '<a id="group-' . esc_attr( $group->id ) . '" class="join-group" rel="join" title="' . __( 'Join Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ) . '">' . __( 'Join Group', 'buddypress' ) . '</a>'; 1496 1481 } elseif ( 'private' == $group->status ) { 1497 echo '<a id="group-' . esc_attr( $group->id ) . '" class=" group-buttonrequest-membership" rel="join" title="' . __( 'Request Membership', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_request_membership' ) . '">' . __( 'Request Membership', 'buddypress' ) . '</a>';1482 echo '<a id="group-' . esc_attr( $group->id ) . '" class="request-membership" rel="join" title="' . __( 'Request Membership', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_request_membership' ) . '">' . __( 'Request Membership', 'buddypress' ) . '</a>'; 1498 1483 } 1499 1484 } … … 1915 1900 '; 1916 1901 } 1917 1918 /**1919 * Add a search box to a single group's manage members screen.1920 *1921 * @since 2.7.01922 *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 <?php1932 endif;1933 } -
trunk/src/bp-templates/bp-legacy/buddypress/activity/comment.php
r11202 r10993 26 26 <div class="acomment-meta"> 27 27 <?php 28 /* translators: 1: user profile link, 2: user name, 3: activity permalink, 4: ISO8601 timestamp, 5: activity relativetimestamp */29 printf( __( '<a href="%1$s">%2$s</a> replied <a href="%3$s" class="activity-time-since"><span class="time-since" data-livestamp="%4$s">%5$s</span></a>', 'buddypress' ), bp_get_activity_comment_user_link(), bp_get_activity_comment_name(), bp_get_activity_comment_permalink(), bp_core_get_iso8601_date( bp_get_activity_comment_date_recorded()), bp_get_activity_comment_date_recorded() );28 /* translators: 1: user profile link, 2: user name, 3: activity permalink, 4: activity timestamp */ 29 printf( __( '<a href="%1$s">%2$s</a> replied <a href="%3$s" class="activity-time-since"><span class="time-since">%4$s</span></a>', 'buddypress' ), bp_get_activity_comment_user_link(), bp_get_activity_comment_name(), bp_get_activity_comment_permalink(), bp_get_activity_comment_date_recorded() ); 30 30 ?> 31 31 </div> -
trunk/src/bp-templates/bp-legacy/buddypress/activity/index.php
r11202 r10993 33 33 <?php endif; ?> 34 34 35 <div id="template-notices" role="alert" aria-atomic="true"> 36 <?php 37 38 /** 39 * Fires towards the top of template pages for notice display. 40 * 41 * @since 1.0.0 42 */ 43 do_action( 'template_notices' ); ?> 44 45 </div> 46 47 <div class="item-list-tabs activity-type-tabs" aria-label="<?php esc_attr_e( 'Sitewide activities navigation', 'buddypress' ); ?>" role="navigation"> 35 <?php 36 37 /** 38 * Fires towards the top of template pages for notice display. 39 * 40 * @since 1.0.0 41 */ 42 do_action( 'template_notices' ); ?> 43 44 <div class="item-list-tabs activity-type-tabs" role="navigation"> 48 45 <ul> 49 46 <?php … … 141 138 </div><!-- .item-list-tabs --> 142 139 143 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Activity secondary navigation', 'buddypress' ); ?>"role="navigation">140 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 144 141 <ul> 145 142 <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> … … 184 181 do_action( 'bp_before_directory_activity_list' ); ?> 185 182 186 <div class="activity" aria-live="polite" aria-atomic="true" aria-relevant="all">183 <div class="activity"> 187 184 188 185 <?php bp_get_template_part( 'activity/activity-loop' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/activity/single/home.php
r11202 r10993 9 9 ?> 10 10 <div id="buddypress"> 11 <?php 11 12 12 <div id="template-notices" role="alert" aria-atomic="true"> 13 <?php 14 15 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 16 do_action( 'template_notices' ); ?> 17 18 </div> 13 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 14 do_action( 'template_notices' ); ?> 19 15 20 16 <div class="activity no-ajax"> -
trunk/src/bp-templates/bp-legacy/buddypress/blogs/create.php
r11202 r10993 14 14 do_action( 'bp_before_create_blog_content_template' ); ?> 15 15 16 <div id="template-notices" role="alert" aria-atomic="true"> 17 <?php 16 <?php 18 17 19 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 20 do_action( 'template_notices' ); ?> 21 22 </div> 18 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 19 do_action( 'template_notices' ); ?> 23 20 24 21 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/blogs/index.php
r11202 r10993 34 34 do_action( 'bp_before_directory_blogs_content' ); ?> 35 35 36 <?php /* Backward compatibility for inline search form. Use template part instead. */ ?> 37 <?php if ( has_filter( 'bp_directory_blogs_search_form' ) ) : ?> 38 39 <div id="blog-dir-search" class="dir-search" role="search"> 40 <?php bp_directory_blogs_search_form(); ?> 41 </div><!-- #blog-dir-search --> 42 43 <?php else : ?> 44 45 <?php bp_get_template_part( 'common/search/dir-search-form' ); ?> 46 47 <?php endif; ?> 36 <div id="blog-dir-search" class="dir-search" role="search"> 37 <?php bp_directory_blogs_search_form(); ?> 38 </div><!-- #blog-dir-search --> 48 39 49 40 <?php … … 58 49 <form action="" method="post" id="blogs-directory-form" class="dir-form"> 59 50 60 <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Sites directory main navigation', 'buddypress' ); ?>"role="navigation">51 <div class="item-list-tabs" role="navigation"> 61 52 <ul> 62 53 <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> … … 80 71 </div><!-- .item-list-tabs --> 81 72 82 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Sites directory secondary navigation', 'buddypress' ); ?>"role="navigation">73 <div class="item-list-tabs" id="subnav" role="navigation"> 83 74 <ul> 84 75 … … 113 104 </ul> 114 105 </div> 115 116 <h2 class="bp-screen-reader-text"><?php117 /* translators: accessibility text */118 _e( 'Sites directory', 'buddypress' );119 ?></h2>120 106 121 107 <div id="blogs-dir-list" class="blogs dir-list"> -
trunk/src/bp-templates/bp-legacy/buddypress/forums/index.php
r11202 r10993 30 30 do_action( 'bp_before_directory_forums_content' ); ?> 31 31 32 <?php /* Backward compatibility for inline search form. Use template part instead. */ ?> 33 <?php if ( has_filter( 'bp_directory_forums_search_form' ) ) : ?> 34 35 <div id="forums-dir-search" class="dir-search" role="search"> 36 <?php bp_directory_forums_search_form(); ?> 37 </div> 38 39 <?php else: ?> 40 41 <?php bp_get_template_part( 'common/search/dir-search-form' ); ?> 42 43 <?php endif; ?> 44 32 <div id="forums-dir-search" class="dir-search" role="search"> 33 34 <?php bp_directory_forums_search_form(); ?> 35 36 </div> 45 37 </form> 46 38 … … 56 48 <form action="" method="post" id="forums-directory-form" class="dir-form"> 57 49 58 <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Forums directory main navigation', 'buddypress' ); ?>"role="navigation">50 <div class="item-list-tabs" role="navigation"> 59 51 <ul> 60 52 <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> … … 78 70 </div> 79 71 80 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>"role="navigation">72 <div class="item-list-tabs" id="subnav" role="navigation"> 81 73 <ul> 82 74 … … 169 161 <h5><?php _e( 'Create New Topic:', 'buddypress' ); ?></h5> 170 162 171 <div id="template-notices" role="alert" aria-atomic="true">172 163 <?php 173 164 174 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 175 do_action( 'template_notices' ); ?> 176 177 </div> 165 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 166 do_action( 'template_notices' ); ?> 178 167 179 168 <label for="topic_title"><?php _e( 'Title:', 'buddypress' ); ?></label> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/create.php
r11202 r10993 36 36 do_action( 'bp_before_create_group' ); ?> 37 37 38 <div class="item-list-tabs no-ajax" id="group-create-tabs" >38 <div class="item-list-tabs no-ajax" id="group-create-tabs" role="navigation"> 39 39 <ul> 40 40 … … 44 44 </div> 45 45 46 <div id="template-notices" role="alert" aria-atomic="true"> 47 <?php 48 49 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 50 do_action( 'template_notices' ); ?> 51 52 </div> 46 <?php 47 48 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 49 do_action( 'template_notices' ); ?> 53 50 54 51 <div class="item-body" id="group-create-body"> … … 56 53 <?php /* Group creation step 1: Basic group details */ ?> 57 54 <?php if ( bp_is_group_creation_step( 'group-details' ) ) : ?> 58 59 <h2 class="bp-screen-reader-text"><?php60 /* translators: accessibility text */61 _e( 'Group Details', 'buddypress' );62 ?></h2>63 55 64 56 <?php … … 97 89 <?php /* Group creation step 2: Group settings */ ?> 98 90 <?php if ( bp_is_group_creation_step( 'group-settings' ) ) : ?> 99 100 <h2 class="bp-screen-reader-text"><?php101 /* translators: accessibility text */102 _e( 'Group Settings', 'buddypress' );103 ?></h2>104 91 105 92 <?php … … 146 133 </fieldset> 147 134 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 <?php160 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 174 135 <fieldset class="group-create-invitations"> 175 136 … … 224 185 <?php /* Group creation step 3: Avatar Uploads */ ?> 225 186 <?php if ( bp_is_group_creation_step( 'group-avatar' ) ) : ?> 226 227 <h2 class="bp-screen-reader-text"><?php228 /* translators: accessibility text */229 _e( 'Group Avatar', 'buddypress' );230 ?></h2>231 187 232 188 <?php … … 310 266 <?php if ( bp_is_group_creation_step( 'group-cover-image' ) ) : ?> 311 267 312 <h2 class="bp-screen-reader-text"><?php313 /* translators: accessibility text */314 _e( 'Cover Image', 'buddypress' );315 ?></h2>316 317 268 <?php 318 269 … … 345 296 <?php /* Group creation step 5: Invite friends to group */ ?> 346 297 <?php if ( bp_is_group_creation_step( 'group-invites' ) ) : ?> 347 348 <h2 class="bp-screen-reader-text"><?php349 /* translators: accessibility text */350 _e( 'Group Invites', 'buddypress' );351 ?></h2>352 298 353 299 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/groups/groups-loop.php
r11202 r10993 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; ?>25 21 26 22 <?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) ) ) : ?> … … 51 47 do_action( 'bp_before_directory_groups_list' ); ?> 52 48 53 <ul id="groups-list" class="item-list" aria-live="assertive" aria-atomic="true" aria-relevant="all">49 <ul id="groups-list" class="item-list"> 54 50 55 51 <?php while ( bp_groups() ) : bp_the_group(); ?> … … 64 60 <div class="item"> 65 61 <div class="item-title"><a href="<?php bp_group_permalink(); ?>"><?php bp_group_name(); ?></a></div> 66 <div class="item-meta"><span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span></div>62 <div class="item-meta"><span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span></div> 67 63 68 64 <div class="item-desc"><?php bp_group_description_excerpt(); ?></div> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/index.php
r11202 r10993 34 34 do_action( 'bp_before_directory_groups_content' ); ?> 35 35 36 <?php /* Backward compatibility for inline search form. Use template part instead. */ ?> 37 <?php if ( has_filter( 'bp_directory_groups_search_form' ) ) : ?> 38 39 <div id="group-dir-search" class="dir-search" role="search"> 40 <?php bp_directory_groups_search_form(); ?> 41 </div><!-- #group-dir-search --> 42 43 <?php else: ?> 44 45 <?php bp_get_template_part( 'common/search/dir-search-form' ); ?> 46 47 <?php endif; ?> 36 <div id="group-dir-search" class="dir-search" role="search"> 37 <?php bp_directory_groups_search_form(); ?> 38 </div><!-- #group-dir-search --> 48 39 49 40 <form action="" method="post" id="groups-directory-form" class="dir-form"> 50 41 51 <div id="template-notices" role="alert" aria-atomic="true"> 52 <?php 42 <?php 53 43 54 55 44 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 45 do_action( 'template_notices' ); ?> 56 46 57 </div> 58 59 <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Groups directory main navigation', 'buddypress' ); ?>"> 47 <div class="item-list-tabs" role="navigation"> 60 48 <ul> 61 49 <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> … … 77 65 </div><!-- .item-list-tabs --> 78 66 79 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Groups directory secondary navigation', 'buddypress' ); ?>"role="navigation">67 <div class="item-list-tabs" id="subnav" role="navigation"> 80 68 <ul> 81 69 <?php … … 110 98 </ul> 111 99 </div> 112 113 <h2 class="bp-screen-reader-text"><?php114 /* translators: accessibility text */115 _e( 'Groups directory', 'buddypress' );116 ?></h2>117 100 118 101 <div id="groups-dir-list" class="groups dir-list"> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/activity.php
r11202 r10993 8 8 9 9 ?> 10 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>"role="navigation">10 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 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" aria-live="polite" aria-atomic="true" aria-relevant="all">75 <div class="activity single-group"> 76 76 77 77 <?php bp_get_template_part( 'activity/activity-loop' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/admin.php
r11202 r10993 8 8 9 9 ?> 10 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>"role="navigation">10 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 11 11 <ul> 12 12 <?php bp_group_admin_tabs(); ?> … … 14 14 </div><!-- .item-list-tabs --> 15 15 16 <form action="<?php bp_group_admin_form_action(); ?>" name="group-settings-form" id="group-settings-form" class="standard-form" method="post" enctype="multipart/form-data"> 17 16 18 <?php 19 17 20 /** 18 * Fires before the group admin form andcontent.21 * Fires inside the group admin form and before the content. 19 22 * 20 * @since 2.7.023 * @since 1.1.0 21 24 */ 22 do_action( 'bp_before_group_admin_form' ); ?> 23 24 <form action="<?php bp_group_admin_form_action(); ?>" name="group-settings-form" id="group-settings-form" class="standard-form" method="post" enctype="multipart/form-data"> 25 26 <?php 27 /** 28 * Fires inside the group admin form and before the content. 29 * 30 * @since 1.1.0 31 */ 32 do_action( 'bp_before_group_admin_content' ); ?> 33 34 <?php /* Fetch the template for the current admin screen being viewed */ ?> 35 36 <?php if ( bp_is_group_admin_screen( bp_action_variable() ) ) : ?> 37 38 <?php bp_get_template_part( 'groups/single/admin/' . bp_action_variable() ); ?> 25 do_action( 'bp_before_group_admin_content' ); ?> 26 27 <?php /* Edit Group Details */ ?> 28 <?php if ( bp_is_group_admin_screen( 'edit-details' ) ) : ?> 29 30 <?php 31 32 /** 33 * Fires before the display of group admin details. 34 * 35 * @since 1.1.0 36 */ 37 do_action( 'bp_before_group_details_admin' ); ?> 38 39 <label for="group-name"><?php _e( 'Group Name (required)', 'buddypress' ); ?></label> 40 <input type="text" name="group-name" id="group-name" value="<?php bp_group_name(); ?>" aria-required="true" /> 41 42 <label for="group-desc"><?php _e( 'Group Description (required)', 'buddypress' ); ?></label> 43 <textarea name="group-desc" id="group-desc" aria-required="true"><?php bp_group_description_editable(); ?></textarea> 44 45 <?php 46 47 /** 48 * Fires after the group description admin details. 49 * 50 * @since 1.0.0 51 */ 52 do_action( 'groups_custom_group_fields_editable' ); ?> 53 54 <p> 55 <label for="group-notify-members"> 56 <input type="checkbox" name="group-notify-members" id="group-notify-members" value="1" /> <?php _e( 'Notify group members of these changes via email', 'buddypress' ); ?> 57 </label> 58 </p> 59 60 <?php 61 62 /** 63 * Fires after the display of group admin details. 64 * 65 * @since 1.1.0 66 */ 67 do_action( 'bp_after_group_details_admin' ); ?> 68 69 <p><input type="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="save" name="save" /></p> 70 <?php wp_nonce_field( 'groups_edit_group_details' ); ?> 71 72 <?php endif; ?> 73 74 <?php /* Manage Group Settings */ ?> 75 <?php if ( bp_is_group_admin_screen( 'group-settings' ) ) : ?> 76 77 <?php 78 79 /** 80 * Fires before the group settings admin display. 81 * 82 * @since 1.1.0 83 */ 84 do_action( 'bp_before_group_settings_admin' ); ?> 85 86 <?php if ( bp_is_active( 'forums' ) ) : ?> 87 88 <?php if ( bp_forums_is_installed_correctly() ) : ?> 89 90 <div class="checkbox"> 91 <label for="group-show-forum"><input type="checkbox" name="group-show-forum" id="group-show-forum" value="1"<?php bp_group_show_forum_setting(); ?> /> <?php _e( 'Enable discussion forum', 'buddypress' ); ?></label> 92 </div> 93 94 <hr /> 95 96 <?php endif; ?> 39 97 40 98 <?php endif; ?> 41 99 42 <?php 43 44 /** 45 * Fires inside the group admin template. 46 * 47 * Allows plugins to add custom group edit screens. 48 * 49 * @since 1.1.0 50 */ 51 do_action( 'groups_custom_edit_steps' ); ?> 52 53 <?php 54 55 /** 56 * Fires inside the group admin form and after the content. 57 * 58 * @since 1.1.0 59 */ 60 do_action( 'bp_after_group_admin_content' ); ?> 100 <fieldset class="group-create-privacy"> 101 102 <legend><?php _e( 'Privacy Options', 'buddypress' ); ?></legend> 103 104 <div class="radio"> 105 106 <label for="group-status-public"><input type="radio" name="group-status" id="group-status-public" value="public"<?php if ( 'public' == bp_get_new_group_status() || !bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="public-group-description" /> <?php _e( 'This is a public group', 'buddypress' ); ?></label> 107 108 <ul id="public-group-description"> 109 <li><?php _e( 'Any site member can join this group.', 'buddypress' ); ?></li> 110 <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> 111 <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li> 112 </ul> 113 114 <label for="group-status-private"><input type="radio" name="group-status" id="group-status-private" value="private"<?php if ( 'private' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="private-group-description" /> <?php _e( 'This is a private group', 'buddypress' ); ?></label> 115 116 <ul id="private-group-description"> 117 <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li> 118 <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> 119 <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> 120 </ul> 121 122 <label for="group-status-hidden"><input type="radio" name="group-status" id="group-status-hidden" value="hidden"<?php if ( 'hidden' == bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> aria-describedby="hidden-group-description" /> <?php _e('This is a hidden group', 'buddypress' ); ?></label> 123 124 <ul id="hidden-group-description"> 125 <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li> 126 <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li> 127 <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> 128 </ul> 129 130 </div> 131 132 </fieldset> 133 134 <fieldset class="group-create-invitations"> 135 136 <legend><?php _e( 'Group Invitations', 'buddypress' ); ?></legend> 137 138 <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p> 139 140 <div class="radio"> 141 142 <label for="group-invite-status-members"><input type="radio" name="group-invite-status" id="group-invite-status-members" value="members"<?php bp_group_show_invite_status_setting( 'members' ); ?> /> <?php _e( 'All group members', 'buddypress' ); ?></label> 143 144 <label for="group-invite-status-mods"><input type="radio" name="group-invite-status" id="group-invite-status-mods" value="mods"<?php bp_group_show_invite_status_setting( 'mods' ); ?> /> <?php _e( 'Group admins and mods only', 'buddypress' ); ?></label> 145 146 <label for="group-invite-status-admins"><input type="radio" name="group-invite-status" id="group-invite-status-admins" value="admins"<?php bp_group_show_invite_status_setting( 'admins' ); ?> /> <?php _e( 'Group admins only', 'buddypress' ); ?></label> 147 148 </div> 149 150 </fieldset> 151 152 <?php 153 154 /** 155 * Fires after the group settings admin display. 156 * 157 * @since 1.1.0 158 */ 159 do_action( 'bp_after_group_settings_admin' ); ?> 160 161 <p><input type="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="save" name="save" /></p> 162 <?php wp_nonce_field( 'groups_edit_group_settings' ); ?> 163 164 <?php endif; ?> 165 166 <?php /* Group Avatar Settings */ ?> 167 <?php if ( bp_is_group_admin_screen( 'group-avatar' ) ) : ?> 168 169 <?php if ( 'upload-image' == bp_get_avatar_admin_step() ) : ?> 170 171 <p><?php _e("Upload an image to use as a profile photo for this group. The image will be shown on the main group page, and in search results.", 'buddypress' ); ?></p> 172 173 <p> 174 <label for="file" class="bp-screen-reader-text"><?php 175 /* translators: accessibility text */ 176 _e( 'Select an image', 'buddypress' ); 177 ?></label> 178 <input type="file" name="file" id="file" /> 179 <input type="submit" name="upload" id="upload" value="<?php esc_attr_e( 'Upload Image', 'buddypress' ); ?>" /> 180 <input type="hidden" name="action" id="action" value="bp_avatar_upload" /> 181 </p> 182 183 <?php if ( bp_get_group_has_avatar() ) : ?> 184 185 <p><?php _e( "If you'd like to remove the existing group profile photo but not upload a new one, please use the delete group profile photo button.", 'buddypress' ); ?></p> 186 187 <?php bp_button( array( 'id' => 'delete_group_avatar', 'component' => 'groups', 'wrapper_id' => 'delete-group-avatar-button', 'link_class' => 'edit', 'link_href' => bp_get_group_avatar_delete_link(), 'link_text' => __( 'Delete Group Profile Photo', 'buddypress' ) ) ); ?> 188 189 <?php endif; ?> 190 191 <?php 192 /** 193 * Load the Avatar UI templates 194 * 195 * @since 2.3.0 196 */ 197 bp_avatar_get_templates(); ?> 198 199 <?php wp_nonce_field( 'bp_avatar_upload' ); ?> 200 201 <?php endif; ?> 202 203 <?php if ( 'crop-image' == bp_get_avatar_admin_step() ) : ?> 204 205 <h4><?php _e( 'Crop Profile Photo', 'buddypress' ); ?></h4> 206 207 <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile photo to crop', 'buddypress' ); ?>" /> 208 209 <div id="avatar-crop-pane"> 210 <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-crop-preview" class="avatar" alt="<?php esc_attr_e( 'Profile photo preview', 'buddypress' ); ?>" /> 211 </div> 212 213 <input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php esc_attr_e( 'Crop Image', 'buddypress' ); ?>" /> 214 215 <input type="hidden" name="image_src" id="image_src" value="<?php bp_avatar_to_crop_src(); ?>" /> 216 <input type="hidden" id="x" name="x" /> 217 <input type="hidden" id="y" name="y" /> 218 <input type="hidden" id="w" name="w" /> 219 <input type="hidden" id="h" name="h" /> 220 221 <?php wp_nonce_field( 'bp_avatar_cropstore' ); ?> 222 223 <?php endif; ?> 224 225 <?php endif; ?> 226 227 <?php /* Group Cover image Settings */ ?> 228 <?php if ( bp_is_group_admin_screen( 'group-cover-image' ) ) : ?> 229 230 <h4><?php _e( 'Change Cover Image', 'buddypress' ); ?></h4> 231 232 <?php 233 234 /** 235 * Fires before the display of profile cover image upload content. 236 * 237 * @since 2.4.0 238 */ 239 do_action( 'bp_before_group_settings_cover_image' ); ?> 240 241 <p><?php _e( 'The Cover Image will be used to customize the header of your group.', 'buddypress' ); ?></p> 242 243 <?php bp_attachments_get_template_part( 'cover-images/index' ); ?> 244 245 <?php 246 247 /** 248 * Fires after the display of group cover image upload content. 249 * 250 * @since 2.4.0 251 */ 252 do_action( 'bp_after_group_settings_cover_image' ); ?> 253 254 <?php endif; ?> 255 256 <?php /* Manage Group Members */ ?> 257 <?php if ( bp_is_group_admin_screen( 'manage-members' ) ) : ?> 258 259 <?php 260 261 /** 262 * Fires before the group manage members admin display. 263 * 264 * @since 1.1.0 265 */ 266 do_action( 'bp_before_group_manage_members_admin' ); ?> 267 268 <div class="bp-widget"> 269 <h4><?php _e( 'Administrators', 'buddypress' ); ?></h4> 270 271 <?php if ( bp_has_members( '&include='. bp_group_admin_ids() ) ) : ?> 272 273 <ul id="admins-list" class="item-list single-line"> 274 275 <?php while ( bp_members() ) : bp_the_member(); ?> 276 <li> 277 <?php echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_member_name() ) ) ); ?> 278 <h5> 279 <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a> 280 <?php if ( count( bp_group_admin_ids( false, 'array' ) ) > 1 ) : ?> 281 <span class="small"> 282 <a class="button confirm admin-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a> 283 </span> 284 <?php endif; ?> 285 </h5> 286 </li> 287 <?php endwhile; ?> 288 289 </ul> 290 291 <?php endif; ?> 292 293 </div> 294 295 <?php if ( bp_group_has_moderators() ) : ?> 296 <div class="bp-widget"> 297 <h4><?php _e( 'Moderators', 'buddypress' ); ?></h4> 298 299 <?php if ( bp_has_members( '&include=' . bp_group_mod_ids() ) ) : ?> 300 <ul id="mods-list" class="item-list single-line"> 301 302 <?php while ( bp_members() ) : bp_the_member(); ?> 303 <li> 304 <?php echo bp_core_fetch_avatar( array( 'item_id' => bp_get_member_user_id(), 'type' => 'thumb', 'width' => 30, 'height' => 30, 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_member_name() ) ) ); ?> 305 <h5> 306 <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a> 307 <span class="small"> 308 <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => bp_get_member_user_id() ) ); ?>" class="button confirm mod-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a> 309 <a class="button confirm mod-demote-to-member" href="<?php bp_group_member_demote_link( bp_get_member_user_id() ); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a> 310 </span> 311 </h5> 312 </li> 313 <?php endwhile; ?> 314 315 </ul> 316 317 <?php endif; ?> 318 </div> 319 <?php endif ?> 320 321 322 <div class="bp-widget"> 323 <h4><?php _e( "Members", 'buddypress' ); ?></h4> 324 325 <?php if ( bp_group_has_members( 'per_page=15&exclude_banned=0' ) ) : ?> 326 327 <?php if ( bp_group_member_needs_pagination() ) : ?> 328 329 <div class="pagination no-ajax"> 330 331 <div id="member-count" class="pag-count"> 332 <?php bp_group_member_pagination_count(); ?> 333 </div> 334 335 <div id="member-admin-pagination" class="pagination-links"> 336 <?php bp_group_member_admin_pagination(); ?> 337 </div> 338 339 </div> 340 341 <?php endif; ?> 342 343 <ul id="members-list" class="item-list single-line"> 344 <?php while ( bp_group_members() ) : bp_group_the_member(); ?> 345 346 <li class="<?php bp_group_member_css_class(); ?>"> 347 <?php bp_group_member_avatar_mini(); ?> 348 349 <h5> 350 <?php bp_group_member_link(); ?> 351 352 <?php if ( bp_get_group_member_is_banned() ) _e( '(banned)', 'buddypress' ); ?> 353 354 <span class="small"> 355 356 <?php if ( bp_get_group_member_is_banned() ) : ?> 357 358 <a href="<?php bp_group_member_unban_link(); ?>" class="button confirm member-unban" title="<?php esc_attr_e( 'Unban this member', 'buddypress' ); ?>"><?php _e( 'Remove Ban', 'buddypress' ); ?></a> 359 360 <?php else : ?> 361 362 <a href="<?php bp_group_member_ban_link(); ?>" class="button confirm member-ban"><?php _e( 'Kick & Ban', 'buddypress' ); ?></a> 363 <a href="<?php bp_group_member_promote_mod_link(); ?>" class="button confirm member-promote-to-mod"><?php _e( 'Promote to Mod', 'buddypress' ); ?></a> 364 <a href="<?php bp_group_member_promote_admin_link(); ?>" class="button confirm member-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a> 365 366 <?php endif; ?> 367 368 <a href="<?php bp_group_member_remove_link(); ?>" class="button confirm"><?php _e( 'Remove from group', 'buddypress' ); ?></a> 369 370 <?php 371 372 /** 373 * Fires inside the display of a member admin item in group management area. 374 * 375 * @since 1.1.0 376 */ 377 do_action( 'bp_group_manage_members_admin_item' ); ?> 378 379 </span> 380 </h5> 381 </li> 382 383 <?php endwhile; ?> 384 </ul> 385 386 <?php if ( bp_group_member_needs_pagination() ) : ?> 387 388 <div class="pagination no-ajax"> 389 390 <div id="member-count" class="pag-count"> 391 <?php bp_group_member_pagination_count(); ?> 392 </div> 393 394 <div id="member-admin-pagination" class="pagination-links"> 395 <?php bp_group_member_admin_pagination(); ?> 396 </div> 397 398 </div> 399 400 <?php endif; ?> 401 402 <?php else: ?> 403 404 <div id="message" class="info"> 405 <p><?php _e( 'This group has no members.', 'buddypress' ); ?></p> 406 </div> 407 408 <?php endif; ?> 409 410 </div> 411 412 <?php 413 414 /** 415 * Fires after the group manage members admin display. 416 * 417 * @since 1.1.0 418 */ 419 do_action( 'bp_after_group_manage_members_admin' ); ?> 420 421 <?php endif; ?> 422 423 <?php /* Manage Membership Requests */ ?> 424 <?php if ( bp_is_group_admin_screen( 'membership-requests' ) ) : ?> 425 426 <?php 427 428 /** 429 * Fires before the display of group membership requests admin. 430 * 431 * @since 1.1.0 432 */ 433 do_action( 'bp_before_group_membership_requests_admin' ); ?> 434 435 <div class="requests"> 436 437 <?php bp_get_template_part( 'groups/single/requests-loop' ); ?> 438 439 </div> 440 441 <?php 442 443 /** 444 * Fires after the display of group membership requests admin. 445 * 446 * @since 1.1.0 447 */ 448 do_action( 'bp_after_group_membership_requests_admin' ); ?> 449 450 <?php endif; ?> 451 452 <?php 453 454 /** 455 * Fires inside the group admin template. 456 * 457 * Allows plugins to add custom group edit screens. 458 * 459 * @since 1.1.0 460 */ 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' ); ?> 61 509 62 510 </form><!-- #group-settings-form --> 63 64 <?php65 /**66 * Fires after the group admin form and content.67 *68 * @since 2.7.069 */70 do_action( 'bp_after_group_admin_form' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php
r11202 r10993 60 60 61 61 <span class="highlight"><?php bp_group_type(); ?></span> 62 <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span>62 <span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span> 63 63 64 64 <?php bp_group_description(); ?> 65 65 66 <?php bp_group_type_list(); ?>67 66 </div> 68 67 </div><!-- #item-header-content --> … … 119 118 * @since 1.2.0 120 119 */ 121 do_action( 'bp_after_group_header' ); ?>120 do_action( 'bp_after_group_header' ); 122 121 123 <div id="template-notices" role="alert" aria-atomic="true"> 124 <?php 125 126 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 127 do_action( 'template_notices' ); ?> 128 129 </div> 122 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 123 do_action( 'template_notices' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/forum.php
r11202 r10993 22 22 else : ?> 23 23 24 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>"role="navigation">24 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 25 25 <ul> 26 26 -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php
r11202 r10993 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" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>"role="navigation">20 <div class="item-list-tabs" id="subnav" role="navigation"> 21 21 <ul> 22 22 <li> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/forum/topic.php
r11202 r10993 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" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>"role="navigation">17 <div class="item-list-tabs no-ajax" id="subnav" 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
r11202 r10993 69 69 <div id="item-header-content"> 70 70 <span class="highlight"><?php bp_group_type(); ?></span> 71 <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span>71 <span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span> 72 72 73 73 <?php … … 83 83 84 84 <?php bp_group_description(); ?> 85 86 <?php bp_group_type_list(); ?>87 85 88 86 <div id="item-buttons"> … … 118 116 * @since 1.2.0 119 117 */ 120 do_action( 'bp_after_group_header' ); ?>118 do_action( 'bp_after_group_header' ); 121 119 122 <div id="template-notices" role="alert" aria-atomic="true"> 123 <?php 124 125 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 126 do_action( 'template_notices' ); ?> 127 128 </div> 120 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 121 do_action( 'template_notices' ); 122 ?> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/home.php
r11202 r10993 37 37 38 38 <div id="item-nav"> 39 <div class="item-list-tabs no-ajax" id="object-nav" aria-label="<?php esc_attr_e( 'Group primary navigation', 'buddypress' ); ?>"role="navigation">39 <div class="item-list-tabs no-ajax" id="object-nav" role="navigation"> 40 40 <ul> 41 41 -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php
r11202 r10993 59 59 <?php bp_group_invite_user_avatar(); ?> 60 60 61 <h 3><?php bp_group_invite_user_link(); ?></h3>61 <h4><?php bp_group_invite_user_link(); ?></h4> 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
r11202 r10993 57 57 58 58 <h5><?php bp_group_member_link(); ?></h5> 59 <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_member_joined_since( array( 'relative' => false ) ) ); ?>"><?php bp_group_member_joined_since(); ?></span>59 <span class="activity"><?php bp_group_member_joined_since(); ?></span> 60 60 61 61 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/request-membership.php
r11202 r10993 15 15 16 16 <?php if ( !bp_group_has_requested_membership() ) : ?> 17 <h2 class="bp-screen-reader-text"><?php18 /* translators: accessibility text */19 _e( 'Request form', 'buddypress' );20 ?></h2>21 22 17 <p><?php printf( __( "You are requesting to become a member of the group '%s'.", 'buddypress' ), bp_get_group_name( false ) ); ?></p> 23 18 -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/send-invites.php
r11202 r10993 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 22 20 <?php /* 'send-invite-form' is important for AJAX support */ ?> 23 21 <form action="<?php bp_group_send_invite_form_action(); ?>" method="post" id="send-invite-form" class="standard-form"> 24 22 25 <div class="invite" aria-live="polite" aria-atomic="false" aria-relevant="all">23 <div class="invite"> 26 24 <?php bp_get_template_part( 'groups/single/invites-loop' ); ?> 27 25 </div> -
trunk/src/bp-templates/bp-legacy/buddypress/members/activate.php
r11202 r10993 22 22 <div class="page" id="activate-page"> 23 23 24 <div id="template-notices" role="alert" aria-atomic="true"> 25 <?php 24 <?php 26 25 27 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 28 do_action( 'template_notices' ); ?> 29 30 </div> 26 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 27 do_action( 'template_notices' ); ?> 31 28 32 29 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/members/index.php
r11202 r10993 34 34 do_action( 'bp_before_directory_members_content' ); ?> 35 35 36 <?php /* Backward compatibility for inline search form. Use template part instead. */ ?> 37 <?php if ( has_filter( 'bp_directory_members_search_form' ) ) : ?> 38 39 <div id="members-dir-search" class="dir-search" role="search"> 40 <?php bp_directory_members_search_form(); ?> 41 </div><!-- #members-dir-search --> 42 43 <?php else: ?> 44 45 <?php bp_get_template_part( 'common/search/dir-search-form' ); ?> 46 47 <?php endif; ?> 36 <div id="members-dir-search" class="dir-search" role="search"> 37 <?php bp_directory_members_search_form(); ?> 38 </div><!-- #members-dir-search --> 48 39 49 40 <?php 41 50 42 /** 51 43 * Fires before the display of the members list tabs. … … 57 49 <form action="" method="post" id="members-directory-form" class="dir-form"> 58 50 59 <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Members directory main navigation', 'buddypress' ); ?>"role="navigation">51 <div class="item-list-tabs" role="navigation"> 60 52 <ul> 61 53 <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> 62 54 63 55 <?php if ( is_user_logged_in() && bp_is_active( 'friends' ) && bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> 64 <li id="members-personal"><a href="<?php echo esc_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/' ); ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>56 <li id="members-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/'; ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li> 65 57 <?php endif; ?> 66 58 … … 77 69 </div><!-- .item-list-tabs --> 78 70 79 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Members directory secondary navigation', 'buddypress' ); ?>"role="navigation">71 <div class="item-list-tabs" id="subnav" role="navigation"> 80 72 <ul> 81 73 <?php … … 110 102 </ul> 111 103 </div> 112 113 <h2 class="bp-screen-reader-text"><?php114 /* translators: accessibility text */115 _e( 'Members directory', 'buddypress' );116 ?></h2>117 104 118 105 <div id="members-dir-list" class="members dir-list"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/members-loop.php
r11202 r10993 47 47 do_action( 'bp_before_directory_members_list' ); ?> 48 48 49 <ul id="members-list" class="item-list" aria-live="assertive" aria-relevant="all">49 <ul id="members-list" class="item-list"> 50 50 51 51 <?php while ( bp_members() ) : bp_the_member(); ?> … … 68 68 </div> 69 69 70 <div class="item-meta"><span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_last_active( array( 'relative' => false ) ) ); ?>"><?php bp_member_last_active(); ?></span></div>70 <div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div> 71 71 72 72 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/members/register.php
r11202 r10993 25 25 26 26 <?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?> 27 28 <div id="template-notices" role="alert" aria-atomic="true"> 29 <?php 30 31 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 32 do_action( 'template_notices' ); ?> 33 34 </div> 35 27 <?php 28 29 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 30 do_action( 'template_notices' ); ?> 36 31 <?php 37 32 … … 57 52 <?php if ( 'request-details' == bp_get_current_signup_step() ) : ?> 58 53 59 <div id="template-notices" role="alert" aria-atomic="true"> 60 <?php 61 62 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 63 do_action( 'template_notices' ); ?> 64 65 </div> 54 <?php 55 56 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 57 do_action( 'template_notices' ); ?> 66 58 67 59 <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> … … 303 295 <input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value(); ?>" /> 304 296 305 <fieldset class="register-site"> 306 <legend class="label"><?php _e( 'Privacy: I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?></legend> 307 <?php 308 309 /** 310 * Fires and displays any member registration blog privacy errors. 311 * 312 * @since 1.1.0 313 */ 314 do_action( 'bp_signup_blog_privacy_errors' ); ?> 315 316 <label for="signup_blog_privacy_public"><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ); ?></label> 317 <label for="signup_blog_privacy_private"><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ); ?></label> 318 </fieldset> 297 <span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?></span> 298 <?php 299 300 /** 301 * Fires and displays any member registration blog privacy errors. 302 * 303 * @since 1.1.0 304 */ 305 do_action( 'bp_signup_blog_privacy_errors' ); ?> 306 307 <label for="signup_blog_privacy_public"><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php if ( 'public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes', 'buddypress' ); ?></label> 308 <label for="signup_blog_privacy_private"><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ); ?></label> 319 309 320 310 <?php … … 370 360 <?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?> 371 361 372 <div id="template-notices" role="alert" aria-atomic="true"> 373 <?php 374 375 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 376 do_action( 'template_notices' ); ?> 377 378 </div> 379 362 <?php 363 364 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 365 do_action( 'template_notices' ); ?> 380 366 <?php 381 367 … … 387 373 do_action( 'bp_before_registration_confirmed' ); ?> 388 374 389 <div id="template-notices" role="alert" aria-atomic="true"> 390 <?php if ( bp_registration_needs_activation() ) : ?> 391 <p><?php _e( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' ); ?></p> 392 <?php else : ?> 393 <p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p> 394 <?php endif; ?> 395 </div> 375 <?php if ( bp_registration_needs_activation() ) : ?> 376 <p><?php _e( 'You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.', 'buddypress' ); ?></p> 377 <?php else : ?> 378 <p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p> 379 <?php endif; ?> 396 380 397 381 <?php -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/activity.php
r11202 r10993 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>"role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 12 12 <ul> 13 13 … … 62 62 do_action( 'bp_before_member_activity_content' ); ?> 63 63 64 <div class="activity" aria-live="polite" aria-atomic="true" aria-relevant="all">64 <div class="activity"> 65 65 66 66 <?php bp_get_template_part( 'activity/activity-loop' ) ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/blogs.php
r11202 r10993 9 9 ?> 10 10 11 <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>"role="navigation">11 <div class="item-list-tabs" id="subnav" role="navigation"> 12 12 <ul> 13 13 -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php
r11202 r10993 45 45 do_action( 'bp_member_header_actions' ); ?></div><!-- #item-buttons --> 46 46 47 <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_user_last_activity( bp_displayed_user_id() ) ); ?>"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>47 <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span> 48 48 49 49 <?php … … 98 98 do_action( 'bp_after_member_header' ); ?> 99 99 100 <div id="template-notices" role="alert" aria-atomic="true"> 101 <?php 100 <?php 102 101 103 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 104 do_action( 'template_notices' ); ?> 105 106 </div> 102 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 103 do_action( 'template_notices' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/forums.php
r11202 r10993 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>"role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 12 12 <ul> 13 13 <?php bp_get_options_nav(); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/friends.php
r11202 r10993 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>"role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 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"><?php57 /* translators: accessibility text */58 _e( 'My friends', 'buddypress' );59 ?></h2>60 <?php else : ?>61 <h2 class="bp-screen-reader-text"><?php62 /* translators: accessibility text */63 _e( 'Friends', 'buddypress' );64 ?></h2>65 <?php endif ?>66 67 55 <div class="members friends"> 68 56 -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/friends/requests.php
r11202 r10993 15 15 16 16 <?php if ( bp_has_members( 'type=alphabetical&include=' . bp_get_friendship_requests() ) ) : ?> 17 18 <h2 class="bp-screen-reader-text"><?php19 /* translators: accessibility text */20 _e( 'Friendship requests', 'buddypress' );21 ?></h2>22 17 23 18 <div id="pag-top" class="pagination no-ajax"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/groups.php
r11202 r10993 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>"role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 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"><?php59 /* translators: accessibility text */60 _e( 'My groups', 'buddypress' );61 ?></h2>62 <?php else : ?>63 <h2 class="bp-screen-reader-text"><?php64 /* translators: accessibility text */65 _e( 'Member\'s groups', 'buddypress' );66 ?></h2>67 <?php endif; ?>68 69 57 <div class="groups mygroups"> 70 58 -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/groups/invites.php
r11202 r10993 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"><?php19 /* translators: accessibility text */20 _e( 'Group invitations', 'buddypress' );21 ?></h2>22 17 23 18 <ul id="group-list" class="invites item-list"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/home.php
r11202 r10993 36 36 37 37 <div id="item-nav"> 38 <div class="item-list-tabs no-ajax" id="object-nav" aria-label="<?php esc_attr_e( 'Member primary navigation', 'buddypress' ); ?>"role="navigation">38 <div class="item-list-tabs no-ajax" id="object-nav" role="navigation"> 39 39 <ul> 40 40 -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/member-header.php
r11202 r10993 32 32 <?php endif; ?> 33 33 34 <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_user_last_activity( bp_displayed_user_id() ) ); ?>"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>34 <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span> 35 35 36 36 <?php … … 95 95 do_action( 'bp_after_member_header' ); ?> 96 96 97 <div id="template-notices" role="alert" aria-atomic="true"> 98 <?php 97 <?php 99 98 100 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 101 do_action( 'template_notices' ); ?> 102 103 </div> 99 /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ 100 do_action( 'template_notices' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages.php
r11202 r10993 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>"role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 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"><?php42 /* translators: accessibility text */43 _e( 'Messages inbox', 'buddypress' );44 ?></h2>45 <?php elseif ( bp_is_messages_sentbox() ) : ?>46 <h2 class="bp-screen-reader-text"><?php47 /* translators: accessibility text */48 _e( 'Sent Messages', 'buddypress' );49 ?></h2>50 <?php endif; ?>51 39 52 40 <div class="messages"> … … 84 72 do_action( 'bp_before_member_messages_content' ); ?> 85 73 86 <h2 class="bp-screen-reader-text"><?php87 /* translators: accessibility text */88 _e( 'Sitewide Notices', 'buddypress' );89 ?></h2>90 91 74 <div class="messages"> 92 75 <?php bp_get_template_part( 'members/single/messages/notices-loop' ); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php
r11202 r10993 8 8 9 9 ?> 10 <h2 class="bp-screen-reader-text"><?php11 /* translators: accessibility text */12 _e( 'Compose Message', 'buddypress' );13 ?></h2>14 15 10 <form action="<?php bp_messages_form_action('compose' ); ?>" method="post" id="send_message_form" class="standard-form" enctype="multipart/form-data"> 16 11 -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php
r11202 r10993 15 15 16 16 <?php if ( bp_has_message_threads( bp_ajax_querystring( 'messages' ) ) ) : ?> 17 18 <h2 class="bp-screen-reader-text"><?php19 /* translators: accessibility text */20 _e( 'Starred messages', 'buddypress' );21 ?></h2>22 17 23 18 <div class="pagination no-ajax" id="user-pag"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/messages/single.php
r11202 r10993 21 21 <?php if ( bp_thread_has_messages() ) : ?> 22 22 23 <h 2 id="message-subject"><?php bp_the_thread_subject(); ?></h2>23 <h3 id="message-subject"><?php bp_the_thread_subject(); ?></h3> 24 24 25 25 <p id="message-recipients"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications.php
r11202 r10993 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>"role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 12 12 <ul> 13 13 <?php bp_get_options_nav(); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications/read.php
r11202 r10993 10 10 11 11 <?php if ( bp_has_notifications() ) : ?> 12 13 <h2 class="bp-screen-reader-text"><?php14 /* translators: accessibility text */15 _e( 'Notifications', 'buddypress' );16 ?></h2>17 12 18 13 <div id="pag-top" class="pagination no-ajax"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/notifications/unread.php
r11202 r10993 10 10 11 11 <?php if ( bp_has_notifications() ) : ?> 12 13 <h2 class="bp-screen-reader-text"><?php14 /* translators: accessibility text */15 _e( 'Unread notifications', 'buddypress' );16 ?></h2>17 12 18 13 <div id="pag-top" class="pagination no-ajax"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/plugins.php
r11202 r10993 19 19 <?php if ( ! bp_is_current_component_core() ) : ?> 20 20 21 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation">21 <div class="item-list-tabs no-ajax" id="subnav"> 22 22 <ul> 23 23 <?php bp_get_options_nav(); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile.php
r11202 r10993 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>"role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 12 12 <ul> 13 13 <?php bp_get_options_nav(); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
r11202 r10993 27 27 28 28 <?php if ( bp_profile_has_multiple_groups() ) : ?> 29 <ul class="button-nav" aria-label="<?php esc_attr_e( 'Profile field groups', 'buddypress' ); ?>" role="navigation">29 <ul class="button-nav"> 30 30 31 31 <?php bp_profile_group_tabs(); ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php
r11202 r10993 26 26 27 27 <div class="bp-widget wp-profile"> 28 <h 2><?php bp_is_my_profile() ? _e( 'My Profile', 'buddypress' ) : printf( __( "%s's Profile", 'buddypress' ), bp_get_displayed_user_fullname() ); ?></h2>28 <h4><?php bp_is_my_profile() ? _e( 'My Profile', 'buddypress' ) : printf( __( "%s's Profile", 'buddypress' ), bp_get_displayed_user_fullname() ); ?></h4> 29 29 30 30 <table class="wp-profile-fields"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings.php
r11202 r10993 9 9 ?> 10 10 11 <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>"role="navigation">11 <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> 12 12 <ul> 13 13 <?php if ( bp_core_can_edit_settings() ) : ?> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/general.php
r11202 r10993 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"><?php13 /* translators: accessibility text */14 _e( 'Account settings', 'buddypress' );15 ?></h2>16 11 17 12 <form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/general'; ?>" method="post" class="standard-form" id="settings-form"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php
r11202 r10993 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"><?php13 /* translators: accessibility text */14 _e( 'Notification settings', 'buddypress' );15 ?></h2>16 11 17 12 <form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/notifications'; ?>" method="post" class="standard-form" id="settings-form"> -
trunk/src/bp-templates/bp-legacy/buddypress/members/single/settings/profile.php
r11202 r10993 13 13 */ 14 14 do_action( 'bp_before_member_settings_template' ); ?> 15 16 <h2 class="bp-screen-reader-text"><?php17 /* translators: accessibility text */18 _e( 'Profile visibility settings', 'buddypress' );19 ?></h2>20 15 21 16 <form action="<?php echo trailingslashit( bp_displayed_user_domain() . bp_get_settings_slug() . '/profile' ); ?>" method="post" class="standard-form" id="settings-form"> -
trunk/src/bp-templates/bp-legacy/css/buddypress-rtl.css
r11202 r10993 647 647 background: #fafafa; 648 648 border-radius: 0; 649 color: #7 37373;649 color: #767676; 650 650 font: inherit; 651 651 font-size: 100%; … … 844 844 } 845 845 846 #buddypress form.standard-form .main-column ul#friend-list h3,847 846 #buddypress form.standard-form .main-column ul#friend-list h4 { 848 847 clear:none; … … 862 861 cursor: default; 863 862 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;880 863 } 881 864 … … 1088 1071 #buddypress table.forum tr.alt td { 1089 1072 background: #f5f5f5; 1090 color: #707070;1091 1073 } 1092 1074 #buddypress table.notification-settings { … … 1187 1169 display: inline-block; 1188 1170 font-size: small; 1171 opacity: 0.8; 1189 1172 padding: 0; 1190 1173 } … … 1322 1305 } 1323 1306 #buddypress ul.item-list li div.item-title, 1324 #buddypress ul.item-list li h3,1325 1307 #buddypress ul.item-list li h4 { 1326 1308 font-weight: normal; … … 1408 1390 background-color: #eee; 1409 1391 color: #555; 1410 opacity: . 9;1392 opacity: .8; 1411 1393 font-weight: bold; 1412 1394 } … … 1436 1418 overflow: auto; 1437 1419 list-style: none; 1438 }1439 #buddypress .group-members-list {1440 width: 100%;1441 margin-top: 1em;1442 clear: both;1443 overflow: auto;1444 1420 } 1445 1421 #buddypress #item-buttons:empty { … … 1608 1584 #buddypress .field-visibility-settings-toggle, 1609 1585 #buddypress .field-visibility-settings-notoggle { 1610 color: #7 07070;1586 color: #767676; 1611 1587 } 1612 1588 #buddypress .field-visibility-settings-toggle a, … … 1640 1616 border-bottom-left-radius: 0; 1641 1617 background: #f5f5f5; 1642 color: #707070;1643 1618 } 1644 1619 #buddypress .tmce-active button.switch-tmce { … … 1647 1622 border-bottom-left-radius: 0; 1648 1623 background: #f5f5f5; 1649 color: #707070;1650 1624 } 1651 1625 #buddypress .standard-form .wp-editor-container textarea { … … 1667 1641 display: inline-block; 1668 1642 font-size: small; 1643 opacity: 0.8; 1669 1644 padding: 0; 1670 1645 } … … 1768 1743 margin-bottom:1em; 1769 1744 } 1770 #buddypress form.standard-form .main-column ul#friend-list h3,1771 1745 #buddypress form.standard-form .main-column ul#friend-list h4{ 1772 1746 width:100%; -
trunk/src/bp-templates/bp-legacy/css/buddypress.css
r11202 r10993 647 647 background: #fafafa; 648 648 border-radius: 0; 649 color: #7 37373;649 color: #767676; 650 650 font: inherit; 651 651 font-size: 100%; … … 844 844 } 845 845 846 #buddypress form.standard-form .main-column ul#friend-list h3,847 846 #buddypress form.standard-form .main-column ul#friend-list h4 { 848 847 clear:none; … … 862 861 cursor: default; 863 862 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;880 863 } 881 864 … … 1088 1071 #buddypress table.forum tr.alt td { 1089 1072 background: #f5f5f5; 1090 color: #707070;1091 1073 } 1092 1074 #buddypress table.notification-settings { … … 1187 1169 display: inline-block; 1188 1170 font-size: small; 1171 opacity: 0.8; 1189 1172 padding: 0; 1190 1173 } … … 1322 1305 } 1323 1306 #buddypress ul.item-list li div.item-title, 1324 #buddypress ul.item-list li h3,1325 1307 #buddypress ul.item-list li h4 { 1326 1308 font-weight: normal; … … 1408 1390 background-color: #eee; 1409 1391 color: #555; 1410 opacity: . 9;1392 opacity: .8; 1411 1393 font-weight: bold; 1412 1394 } … … 1436 1418 overflow: auto; 1437 1419 list-style: none; 1438 }1439 #buddypress .group-members-list {1440 width: 100%;1441 margin-top: 1em;1442 clear: both;1443 overflow: auto;1444 1420 } 1445 1421 #buddypress #item-buttons:empty { … … 1608 1584 #buddypress .field-visibility-settings-toggle, 1609 1585 #buddypress .field-visibility-settings-notoggle { 1610 color: #7 07070;1586 color: #767676; 1611 1587 } 1612 1588 #buddypress .field-visibility-settings-toggle a, … … 1640 1616 border-bottom-right-radius: 0; 1641 1617 background: #f5f5f5; 1642 color: #707070;1643 1618 } 1644 1619 #buddypress .tmce-active button.switch-tmce { … … 1647 1622 border-bottom-right-radius: 0; 1648 1623 background: #f5f5f5; 1649 color: #707070;1650 1624 } 1651 1625 #buddypress .standard-form .wp-editor-container textarea { … … 1667 1641 display: inline-block; 1668 1642 font-size: small; 1643 opacity: 0.8; 1669 1644 padding: 0; 1670 1645 } … … 1768 1743 margin-bottom:1em; 1769 1744 } 1770 #buddypress form.standard-form .main-column ul#friend-list h3,1771 1745 #buddypress form.standard-form .main-column ul#friend-list h4{ 1772 1746 width:100%; -
trunk/src/bp-templates/bp-legacy/css/twentyeleven-rtl.css
r11202 r10993 1131 1131 *----------------------------------------- 1132 1132 */ 1133 .groups #group-settings-form h 3{1133 .groups #group-settings-form h4 { 1134 1134 background: #555; 1135 1135 color: #fff; -
trunk/src/bp-templates/bp-legacy/css/twentyeleven.css
r11202 r10993 1131 1131 *----------------------------------------- 1132 1132 */ 1133 .groups #group-settings-form h 3{1133 .groups #group-settings-form h4 { 1134 1134 background: #555; 1135 1135 color: #fff; -
trunk/src/bp-templates/bp-legacy/css/twentyeleven.scss
r11202 r10993 1607 1607 .groups { 1608 1608 #group-settings-form { 1609 h 3{1609 h4 { 1610 1610 background: $dark-background; 1611 1611 color: $content-background; -
trunk/src/bp-templates/bp-legacy/css/twentyfifteen-rtl.css
r11202 r10993 336 336 } 337 337 338 #buddypress .item-list a.activity-time-since {339 color: #717171;340 }341 342 338 #buddypress ul.item-list li { 343 339 overflow: hidden !important; … … 604 600 background-color: #f7f7f7; 605 601 border: 1px solid rgba(234, 234, 234, 0.6); 606 color: #717171;607 602 padding: 0 0.2em; 608 603 } … … 679 674 } 680 675 681 #buddypress #activity-stream .activity-comments a {682 color: #717171;683 }684 685 676 #buddypress #activity-stream .activity-comments.has-comments { 686 677 border-right: 1px solid #eaeaea; … … 722 713 #buddypress #activity-stream .activity-comments > ul .acomment-meta { 723 714 border-bottom: 1px solid #eaeaea; 724 color: #737373;725 715 font-style: italic; 726 716 } … … 1011 1001 *----------------------------------------- 1012 1002 */ 1013 .groups #group-settings-form h 3{1003 .groups #group-settings-form h4 { 1014 1004 background: #555; 1015 1005 color: #fff; … … 1058 1048 .groups.group-settings #group-settings-form div.radio ul, 1059 1049 .groups.group-settings #create-group-form div.radio ul { 1060 color: #767676;1050 color: rgba(51, 51, 51, 0.6); 1061 1051 font-size: 14px; 1062 1052 font-size: 1.4rem; -
trunk/src/bp-templates/bp-legacy/css/twentyfifteen.css
r11202 r10993 336 336 } 337 337 338 #buddypress .item-list a.activity-time-since {339 color: #717171;340 }341 342 338 #buddypress ul.item-list li { 343 339 overflow: hidden !important; … … 604 600 background-color: #f7f7f7; 605 601 border: 1px solid rgba(234, 234, 234, 0.6); 606 color: #717171;607 602 padding: 0 0.2em; 608 603 } … … 679 674 } 680 675 681 #buddypress #activity-stream .activity-comments a {682 color: #717171;683 }684 685 676 #buddypress #activity-stream .activity-comments.has-comments { 686 677 border-left: 1px solid #eaeaea; … … 722 713 #buddypress #activity-stream .activity-comments > ul .acomment-meta { 723 714 border-bottom: 1px solid #eaeaea; 724 color: #737373;725 715 font-style: italic; 726 716 } … … 1011 1001 *----------------------------------------- 1012 1002 */ 1013 .groups #group-settings-form h 3{1003 .groups #group-settings-form h4 { 1014 1004 background: #555; 1015 1005 color: #fff; … … 1058 1048 .groups.group-settings #group-settings-form div.radio ul, 1059 1049 .groups.group-settings #create-group-form div.radio ul { 1060 color: #767676;1050 color: rgba(51, 51, 51, 0.6); 1061 1051 font-size: 14px; 1062 1052 font-size: 1.4rem; -
trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss
r11202 r10993 523 523 @include default-font-sans(); 524 524 } 525 526 a.activity-time-since {527 color: #717171;528 }529 525 } 530 526 } … … 828 824 background-color: $light-background; 829 825 border: 1px solid rgba($border-light, 0.6); 830 color: #717171;831 826 padding: 0 0.2em; 832 827 } … … 909 904 margin: $spacing-val-sm 0 0; 910 905 911 a {912 color: #717171;913 }914 915 906 &.has-comments { 916 907 border-left: 1px solid $border-light; … … 946 937 } 947 938 948 .acomment-meta { 949 border-bottom: 1px solid $border-light; 950 color: #737373; 951 font-style: italic; 952 } 939 .acomment-meta {border-bottom: 1px solid $border-light; font-style: italic;} 953 940 954 941 // Display the user avatar stacked up to 30em … … 1287 1274 .groups { 1288 1275 #group-settings-form { 1289 h 3{1276 h4 { 1290 1277 background: $dark-background; 1291 1278 color: $content-background; … … 1341 1328 1342 1329 ul { 1343 color: #767676;1330 color: rgba($body-text, 0.6); 1344 1331 @include font-size(14); 1345 1332 } -
trunk/src/bp-templates/bp-legacy/css/twentyfourteen-rtl.css
r11202 r10993 124 124 } 125 125 126 #buddypress .item-list-tabs ul a {127 color: #1b6e08;128 }129 130 126 .directory #buddypress .item-list-tabs ul:before, 131 127 .directory #buddypress .item-list-tabs ul:after { … … 167 163 } 168 164 169 .directory #buddypress #subnav a {170 color: #1b6e08;171 }172 173 165 /* List last filters global */ 174 166 #buddypress #subnav li#activity-filter-select.last { … … 221 213 } 222 214 #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover { 223 background: # f1f1f1;215 background: #bebebe; 224 216 } 225 217 #buddypress #object-nav ul li span { … … 244 236 #buddypress #item-body #subnav li:focus, 245 237 #buddypress #item-body #subnav li:hover { 246 background: # f1f1f1;238 background: #bebebe; 247 239 } 248 240 #buddypress #item-body #subnav li.current { … … 561 553 } 562 554 563 #buddypress .activity .activity-comments a {564 color: #1b6e08;565 }566 567 555 #buddypress .activity .activity-comments ul { 568 556 background: rgba(247, 247, 247, 0.6); … … 573 561 border-right: 1px solid rgba(0, 0, 0, 0.1); 574 562 padding-right: 2%; 575 }576 577 #buddypress .activity .activity-comments .acomment-meta {578 color: #737373;579 563 } 580 564 … … 821 805 #group-settings-form .radio ul, 822 806 #create-group-form .radio ul { 823 color: # 6b6b6b;807 color: #787878; 824 808 } 825 809 … … 830 814 831 815 /* Manage Members */ 832 .groups.manage-members #group-settings-form h 3{816 .groups.manage-members #group-settings-form h4 { 833 817 margin-top: 40px; 834 818 } … … 857 841 .groups.manage-members #group-settings-form .item-list li h5 > a { 858 842 border-bottom: 0; 859 color: #22830c;860 843 } 861 844 … … 1015 998 */ 1016 999 #buddypress .profile .bp-widget h2 { 1017 background: #9 49494;1000 background: #999; 1018 1001 color: #fff; 1019 1002 padding: 0.4em 0.2em; … … 1477 1460 } 1478 1461 1479 #buddypress table .alt a {1480 color: #22820c;1481 }1482 1483 1462 /*__ User Account tables __*/ 1484 1463 /** -
trunk/src/bp-templates/bp-legacy/css/twentyfourteen.css
r11202 r10993 124 124 } 125 125 126 #buddypress .item-list-tabs ul a {127 color: #1b6e08;128 }129 130 126 .directory #buddypress .item-list-tabs ul:before, 131 127 .directory #buddypress .item-list-tabs ul:after { … … 167 163 } 168 164 169 .directory #buddypress #subnav a {170 color: #1b6e08;171 }172 173 165 /* List last filters global */ 174 166 #buddypress #subnav li#activity-filter-select.last { … … 221 213 } 222 214 #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover { 223 background: # f1f1f1;215 background: #bebebe; 224 216 } 225 217 #buddypress #object-nav ul li span { … … 244 236 #buddypress #item-body #subnav li:focus, 245 237 #buddypress #item-body #subnav li:hover { 246 background: # f1f1f1;238 background: #bebebe; 247 239 } 248 240 #buddypress #item-body #subnav li.current { … … 561 553 } 562 554 563 #buddypress .activity .activity-comments a {564 color: #1b6e08;565 }566 567 555 #buddypress .activity .activity-comments ul { 568 556 background: rgba(247, 247, 247, 0.6); … … 573 561 border-left: 1px solid rgba(0, 0, 0, 0.1); 574 562 padding-left: 2%; 575 }576 577 #buddypress .activity .activity-comments .acomment-meta {578 color: #737373;579 563 } 580 564 … … 821 805 #group-settings-form .radio ul, 822 806 #create-group-form .radio ul { 823 color: # 6b6b6b;807 color: #787878; 824 808 } 825 809 … … 830 814 831 815 /* Manage Members */ 832 .groups.manage-members #group-settings-form h 3{816 .groups.manage-members #group-settings-form h4 { 833 817 margin-top: 40px; 834 818 } … … 857 841 .groups.manage-members #group-settings-form .item-list li h5 > a { 858 842 border-bottom: 0; 859 color: #22830c;860 843 } 861 844 … … 1015 998 */ 1016 999 #buddypress .profile .bp-widget h2 { 1017 background: #9 49494;1000 background: #999; 1018 1001 color: #fff; 1019 1002 padding: 0.4em 0.2em; … … 1477 1460 } 1478 1461 1479 #buddypress table .alt a {1480 color: #22820c;1481 }1482 1483 1462 /*__ User Account tables __*/ 1484 1463 /** -
trunk/src/bp-templates/bp-legacy/css/twentyfourteen.scss
r11202 r10993 127 127 $dark-back-text-color: #fff; 128 128 $light-background: #f7f7f7; 129 $medium-background: #9 49494;129 $medium-background: #999; 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 }293 289 } 294 290 } … … 335 331 ul { 336 332 border-bottom: 0; 337 }338 339 a {340 color: #1b6e08;341 333 } 342 334 … … 426 418 &:focus, 427 419 &:hover { 428 background: lighten($nav-background-border, 20%);420 background: $nav-background-border; 429 421 } 430 422 … … 455 447 li:focus, 456 448 li:hover { 457 background: lighten($nav-background-border, 20%);449 background: $nav-background-border; 458 450 } 459 451 … … 846 838 } 847 839 848 a {849 color: #1b6e08;850 }851 852 840 ul { 853 841 background: rgba($light-background, 0.6); … … 858 846 border-left: 1px solid $border-light; 859 847 padding-left: 2%; 860 }861 862 .acomment-meta {863 color: #737373;864 848 } 865 849 … … 1153 1137 1154 1138 ul { 1155 color: lighten($body-text, 25%);1139 color: lighten($body-text, 30%); 1156 1140 } 1157 1141 } … … 1164 1148 #group-settings-form { 1165 1149 1166 h 3{margin-top: $spacing-val-lg;}1150 h4 {margin-top: $spacing-val-lg;} 1167 1151 1168 1152 .item-list { … … 1179 1163 clear: none; 1180 1164 float: left; 1181 1182 > a { 1183 border-bottom: 0; 1184 color: #22830c; 1185 } 1165 > a {border-bottom: 0;} 1186 1166 } 1187 1167 … … 1869 1849 table { 1870 1850 border-color: $border-med; 1871 1872 .alt a {1873 color: #22820c;1874 }1875 1851 } 1876 1852 } -
trunk/src/bp-templates/bp-legacy/css/twentysixteen-rtl.css
r11202 r10993 150 150 } 151 151 152 #buddypress div.item-list-tabs ul li a {153 color: #0073c1;154 }155 156 152 #buddypress div.item-list-tabs ul li a span { 157 153 border-radius: 25%; … … 203 199 border-bottom: 1px solid #eaeaea; 204 200 } 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 658 654 @media screen and (min-width: 46.25em) { 659 655 #buddypress #activity-stream li .activity-avatar { … … 698 694 background-color: #f7f7f7; 699 695 border: 1px solid rgba(234, 234, 234, 0.6); 700 color: #727272;701 696 margin-top: 0; 702 697 padding: 0 0.2em; … … 773 768 #buddypress #activity-stream .activity-comments ul { 774 769 background: rgba(247, 247, 247, 0.6); 775 color: #737373;776 770 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;785 771 } 786 772 … … 1075 1061 *----------------------------------------- 1076 1062 */ 1077 .groups #group-settings-form h 3{1063 .groups #group-settings-form h4 { 1078 1064 background: #555; 1079 1065 color: #fff; … … 1208 1194 font-size: 12px; 1209 1195 font-size: 0.75rem; 1210 }1211 1212 .bp-user #buddypress table a {1213 color: #0074c2;1214 1196 } 1215 1197 … … 1712 1694 border-color: rgba(212, 208, 186, 0.5); 1713 1695 border-width: 1px; 1714 }1715 1716 #buddypress .standard-form select {1717 color: #737373;1718 1696 } 1719 1697 -
trunk/src/bp-templates/bp-legacy/css/twentysixteen.css
r11202 r10993 150 150 } 151 151 152 #buddypress div.item-list-tabs ul li a {153 color: #0073c1;154 }155 156 152 #buddypress div.item-list-tabs ul li a span { 157 153 border-radius: 25%; … … 203 199 border-bottom: 1px solid #eaeaea; 204 200 } 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 658 654 @media screen and (min-width: 46.25em) { 659 655 #buddypress #activity-stream li .activity-avatar { … … 698 694 background-color: #f7f7f7; 699 695 border: 1px solid rgba(234, 234, 234, 0.6); 700 color: #727272;701 696 margin-top: 0; 702 697 padding: 0 0.2em; … … 773 768 #buddypress #activity-stream .activity-comments ul { 774 769 background: rgba(247, 247, 247, 0.6); 775 color: #737373;776 770 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;785 771 } 786 772 … … 1075 1061 *----------------------------------------- 1076 1062 */ 1077 .groups #group-settings-form h 3{1063 .groups #group-settings-form h4 { 1078 1064 background: #555; 1079 1065 color: #fff; … … 1208 1194 font-size: 12px; 1209 1195 font-size: 0.75rem; 1210 }1211 1212 .bp-user #buddypress table a {1213 color: #0074c2;1214 1196 } 1215 1197 … … 1712 1694 border-color: rgba(212, 208, 186, 0.5); 1713 1695 border-width: 1px; 1714 }1715 1716 #buddypress .standard-form select {1717 color: #737373;1718 1696 } 1719 1697 -
trunk/src/bp-templates/bp-legacy/css/twentysixteen.scss
r11202 r10993 364 364 li { 365 365 a { 366 color: #0073c1;367 368 366 span {border-radius: 25%;} 369 367 } … … 442 440 443 441 li:not(.selected) { 442 a {opacity: 0.7;} 444 443 445 444 @media screen and (max-width: 38.75em) { … … 980 979 .activity-header { 981 980 @include font-size(14); 982 983 a {984 color: #0075c4;985 }986 981 } 987 982 } … … 1037 1032 background-color: $light-background; 1038 1033 border: 1px solid rgba($border-light, 0.6); 1039 color: #727272;1040 1034 margin-top: 0; 1041 1035 padding: 0 0.2em; … … 1121 1115 ul { 1122 1116 background: rgba($light-background, 0.6); 1123 color: #737373;1124 1117 margin: 15px 0 0 2px; 1125 1126 a {1127 color: #0077c7;1128 }1129 }1130 1131 .acomment-meta {1132 color: #737373;1133 1118 } 1134 1119 … … 1480 1465 .groups { 1481 1466 #group-settings-form { 1482 h 3{1467 h4 { 1483 1468 background: $dark-background; 1484 1469 color: $content-background; … … 1634 1619 th {@include font-size(14)} 1635 1620 td {@include font-size(12)} 1636 a { color: #0074c2; }1637 1621 1638 1622 @include medium-up { … … 2197 2181 } 2198 2182 2199 select {2200 color: #737373;2201 }2202 2203 2183 } // close .standard-form 2204 2184 -
trunk/src/bp-templates/bp-legacy/css/twentyten-rtl.css
r11202 r10993 1079 1079 *----------------------------------------- 1080 1080 */ 1081 .groups #group-settings-form h 3{1081 .groups #group-settings-form h4 { 1082 1082 background: #555; 1083 1083 color: #fff; -
trunk/src/bp-templates/bp-legacy/css/twentyten.css
r11202 r10993 1079 1079 *----------------------------------------- 1080 1080 */ 1081 .groups #group-settings-form h 3{1081 .groups #group-settings-form h4 { 1082 1082 background: #555; 1083 1083 color: #fff; -
trunk/src/bp-templates/bp-legacy/css/twentyten.scss
r11202 r10993 1510 1510 .groups { 1511 1511 #group-settings-form { 1512 h 3{1512 h4 { 1513 1513 background: $dark-background; 1514 1514 color: $content-background; -
trunk/src/bp-templates/bp-legacy/css/twentythirteen-rtl.css
r11202 r10993 160 160 } 161 161 162 #buddypress #object-nav ul li:not(.selected) a { 163 opacity: 0.7; 164 } 165 162 166 @media screen and (min-width: 38.75em) { 163 167 #buddypress #object-nav ul li { … … 355 359 356 360 #buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover { 357 background: # bd4b28;361 background: #e37a5a; 358 362 color: #f7f5e7; 359 363 } 360 364 361 365 #buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover { 362 background: # bd4b28;366 background: #e37a5a; 363 367 color: #f7f5e7; 364 368 } … … 643 647 background-color: #f7f7f7; 644 648 border: 1px solid rgba(234, 234, 234, 0.6); 645 color: #727272;646 649 margin-top: 0; 647 650 padding: 0 0.2em; 648 }649 650 #buddypress #activity-stream .activity-content .activity-header p a.activity-time-since {651 color: #727272;652 651 } 653 652 … … 723 722 background: rgba(247, 247, 247, 0.6); 724 723 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;733 724 } 734 725 … … 1099 1090 *----------------------------------------- 1100 1091 */ 1101 .groups #group-settings-form h 3{1092 .groups #group-settings-form h4 { 1102 1093 background: #555; 1103 1094 color: #fff; -
trunk/src/bp-templates/bp-legacy/css/twentythirteen.css
r11202 r10993 160 160 } 161 161 162 #buddypress #object-nav ul li:not(.selected) a { 163 opacity: 0.7; 164 } 165 162 166 @media screen and (min-width: 38.75em) { 163 167 #buddypress #object-nav ul li { … … 355 359 356 360 #buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover { 357 background: # bd4b28;361 background: #e37a5a; 358 362 color: #f7f5e7; 359 363 } 360 364 361 365 #buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover { 362 background: # bd4b28;366 background: #e37a5a; 363 367 color: #f7f5e7; 364 368 } … … 643 647 background-color: #f7f7f7; 644 648 border: 1px solid rgba(234, 234, 234, 0.6); 645 color: #727272;646 649 margin-top: 0; 647 650 padding: 0 0.2em; 648 }649 650 #buddypress #activity-stream .activity-content .activity-header p a.activity-time-since {651 color: #727272;652 651 } 653 652 … … 723 722 background: rgba(247, 247, 247, 0.6); 724 723 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;733 724 } 734 725 … … 1099 1090 *----------------------------------------- 1100 1091 */ 1101 .groups #group-settings-form h 3{1092 .groups #group-settings-form h4 { 1102 1093 background: #555; 1103 1094 color: #fff; -
trunk/src/bp-templates/bp-legacy/css/twentythirteen.scss
r11202 r10993 144 144 $border-light: #eaeaea; // BP dividers 145 145 $border-med: #ddd; 146 $background-hover: # bd4b28; // 2013 link background hover146 $background-hover: #db572f; // 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 351 355 @media screen and (min-width: 38.75em) { 352 356 li { … … 594 598 &:focus, 595 599 &:hover { 596 background: $background-hover;600 background: lighten($background-hover, 10%); 597 601 color: $cream-background; 598 602 } … … 605 609 &:focus, 606 610 &:hover { 607 background: $background-hover;611 background: lighten($background-hover, 10%); 608 612 color: $cream-background; 609 613 } … … 935 939 background-color: $light-background; 936 940 border: 1px solid rgba($border-light, 0.6); 937 color: #727272;938 941 margin-top: 0; 939 942 padding: 0 0.2em; 940 941 a.activity-time-since {942 color: #727272;943 }944 943 } 945 944 … … 1024 1023 background: rgba($light-background, 0.6); 1025 1024 margin: 15px 0 0 2px; 1026 }1027 1028 a {1029 color: #ac0404;1030 }1031 1032 .acomment-meta {1033 color: #737373;1034 1025 } 1035 1026 … … 1467 1458 .groups { 1468 1459 #group-settings-form { 1469 h 3{1460 h4 { 1470 1461 background: $dark-background; 1471 1462 color: $content-background; -
trunk/src/bp-templates/bp-legacy/css/twentytwelve-rtl.css
r11202 r10993 771 771 } 772 772 773 #buddypress #activity-stream .activity-comments a {774 color: #737373;775 }776 777 773 #buddypress #activity-stream .activity-comments .ac-form { 778 774 border: 1px solid #d4d0ba; … … 1110 1106 *----------------------------------------- 1111 1107 */ 1112 .groups #group-settings-form h 3{1108 .groups #group-settings-form h4 { 1113 1109 background: #555; 1114 1110 color: #fff; … … 1390 1386 border-radius: 2px; 1391 1387 background-clip: padding-box; 1392 color: # f1f1f1;1388 color: #eee; 1393 1389 font-weight: bold; 1394 1390 padding: 0.1em 0.5em; -
trunk/src/bp-templates/bp-legacy/css/twentytwelve.css
r11202 r10993 771 771 } 772 772 773 #buddypress #activity-stream .activity-comments a {774 color: #737373;775 }776 777 773 #buddypress #activity-stream .activity-comments .ac-form { 778 774 border: 1px solid #d4d0ba; … … 1110 1106 *----------------------------------------- 1111 1107 */ 1112 .groups #group-settings-form h 3{1108 .groups #group-settings-form h4 { 1113 1109 background: #555; 1114 1110 color: #fff; … … 1390 1386 border-radius: 2px; 1391 1387 background-clip: padding-box; 1392 color: # f1f1f1;1388 color: #eee; 1393 1389 font-weight: bold; 1394 1390 padding: 0.1em 0.5em; -
trunk/src/bp-templates/bp-legacy/css/twentytwelve.scss
r11202 r10993 1099 1099 @include font-size(12); 1100 1100 } 1101 } 1102 1103 } 1104 1105 a { 1106 color: #737373; 1101 1102 } 1103 1107 1104 } 1108 1105 … … 1525 1522 .groups { 1526 1523 #group-settings-form { 1527 h 3{1524 h4 { 1528 1525 background: $dark-background; 1529 1526 color: $content-background; … … 1805 1802 background: lighten($dark-background, 10%); 1806 1803 @include border-radius(2px); 1807 color: # f1f1f1;1804 color: #eee; 1808 1805 font-weight: bold; 1809 1806 padding: 0.1em 0.5em; -
trunk/src/bp-templates/bp-legacy/js/buddypress.js
r11202 r10993 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 316 311 type = target.hasClass('fav') ? 'fav' : 'unfav'; 317 312 parent = target.closest('.activity-item'); … … 853 848 854 849 var target = jq(event.target), 855 css_id, object, template , search_terms;850 css_id, object, template; 856 851 857 852 if ( target.attr('type') === 'submit' ) { … … 859 854 object = css_id[0]; 860 855 template = null; 861 search_terms = target.parent().find( '#' + object + '_search' ).val();862 856 863 857 // The Group Members page specifies its own template … … 867 861 } 868 862 869 bp_filter_request( object, jq.cookie('bp-' + object + '-filter'), jq.cookie('bp-' + object + '-scope') , 'div.' + object, search_terms, 1, jq.cookie('bp-' + object + '-extras'), null, template );863 bp_filter_request( object, jq.cookie('bp-' + object + '-filter'), jq.cookie('bp-' + object + '-scope') , 'div.' + object, target.parent().children('label').children('input').val(), 1, jq.cookie('bp-' + object + '-extras'), null, template ); 870 864 871 865 return false; … … 877 871 /* When a navigation tab is clicked - e.g. | All Groups | My Groups | */ 878 872 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 884 873 if ( jq(this).hasClass('no-ajax') || jq( event.target ).hasClass('no-ajax') ) { 885 874 return;
Note: See TracChangeset
for help on using the changeset viewer.