diff --git a/wp-content/plugins/buddypress/bp-activity/bp-activity-actions.php b/wp-content/plugins/buddypress/bp-activity/bp-activity-actions.php index 7df351dadc4fd6ca1afc911e6a7d09659ba3873b..44480880190e5fdb9bc7a441bcb764f8fbbe9c2f 100644 --- a/wp-content/plugins/buddypress/bp-activity/bp-activity-actions.php +++ b/wp-content/plugins/buddypress/bp-activity/bp-activity-actions.php @@ -71,7 +71,7 @@ function bp_activity_action_permalink_router() { } else { // Set redirect to group activity stream. - if ( $group = groups_get_group( array( 'group_id' => $activity->item_id ) ) ) { + if ( $group = groups_get_group( $activity->item_id ) ) { $redirect = bp_get_group_permalink( $group ) . bp_get_activity_slug() . '/' . $activity->id . '/'; } } @@ -604,45 +604,6 @@ function bp_activity_action_favorites_feed() { } add_action( 'bp_actions', 'bp_activity_action_favorites_feed' ); -/** - * Loads Akismet filtering for activity. - * - * @since 1.6.0 - * @since 2.3.0 We only support Akismet 3+. - */ -function bp_activity_setup_akismet() { - $bp = buddypress(); - - // Bail if Akismet is not active. - if ( ! defined( 'AKISMET_VERSION' ) ) { - return; - } - - // Bail if older version of Akismet. - if ( ! class_exists( 'Akismet' ) ) { - return; - } - - // Bail if no Akismet key is set. - if ( ! bp_get_option( 'wordpress_api_key' ) && ! defined( 'WPCOM_API_KEY' ) ) { - return; - } - - /** - * Filters if BuddyPress Activity Akismet support has been disabled by another plugin. - * - * @since 1.6.0 - * - * @param bool $value Return value of bp_is_akismet_active boolean function. - */ - if ( ! apply_filters( 'bp_activity_use_akismet', bp_is_akismet_active() ) ) { - return; - } - - // Instantiate Akismet for BuddyPress. - $bp->activity->akismet = new BP_Akismet(); -} - /** * AJAX endpoint for Suggestions API lookups. * diff --git a/wp-content/plugins/buddypress/bp-activity/bp-activity-akismet.php b/wp-content/plugins/buddypress/bp-activity/bp-activity-akismet.php index 5e65746c131ef1a8711b2b873e35ca841b9782a8..70ad4f61c73754b55d68244431699029bf548fb5 100644 --- a/wp-content/plugins/buddypress/bp-activity/bp-activity-akismet.php +++ b/wp-content/plugins/buddypress/bp-activity/bp-activity-akismet.php @@ -14,6 +14,29 @@ if ( ! buddypress()->do_autoload ) { require dirname( __FILE__ ) . '/classes/class-bp-akismet.php'; } +/** + * Loads Akismet filtering for activity. + * + * @since 1.6.0 + * @since 2.3.0 We only support Akismet 3+. + */ +function bp_activity_setup_akismet() { + /** + * Filters if BuddyPress Activity Akismet support has been disabled by another plugin. + * + * @since 1.6.0 + * + * @param bool $value Return value of bp_is_akismet_active boolean function. + */ + if ( ! apply_filters( 'bp_activity_use_akismet', bp_is_akismet_active() ) ) { + return; + } + + // Instantiate Akismet for BuddyPress. + buddypress()->activity->akismet = new BP_Akismet(); +} +add_action( 'bp_activity_setup_globals', 'bp_activity_setup_akismet' ); + /** * Delete old spam activity meta data. * diff --git a/wp-content/plugins/buddypress/bp-activity/bp-activity-cache.php b/wp-content/plugins/buddypress/bp-activity/bp-activity-cache.php index a3a7241dd68408221c50ee738b4d36737718c180..da7542770e50a13baf8361cc84b9159463f2be14 100644 --- a/wp-content/plugins/buddypress/bp-activity/bp-activity-cache.php +++ b/wp-content/plugins/buddypress/bp-activity/bp-activity-cache.php @@ -63,3 +63,24 @@ function bp_activity_clear_cache_for_deleted_activity( $deleted_ids ) { } } add_action( 'bp_activity_deleted_activities', 'bp_activity_clear_cache_for_deleted_activity' ); + +/** + * Reset cache incrementor for the Activity component. + * + * Called whenever an activity item is created, updated, or deleted, this + * function effectively invalidates all cached results of activity queries. + * + * @since 2.7.0 + * + * @return bool True on success, false on failure. + */ +function bp_activity_reset_cache_incrementor() { + $without_last_activity = bp_core_reset_incrementor( 'bp_activity' ); + $with_last_activity = bp_core_reset_incrementor( 'bp_activity_with_last_activity' ); + return $without_last_activity && $with_last_activity; +} +add_action( 'bp_activity_delete', 'bp_activity_reset_cache_incrementor' ); +add_action( 'bp_activity_add', 'bp_activity_reset_cache_incrementor' ); +add_action( 'added_activity_meta', 'bp_activity_reset_cache_incrementor' ); +add_action( 'updated_activity_meta', 'bp_activity_reset_cache_incrementor' ); +add_action( 'deleted_activity_meta', 'bp_activity_reset_cache_incrementor' ); diff --git a/wp-content/plugins/buddypress/bp-activity/bp-activity-filters.php b/wp-content/plugins/buddypress/bp-activity/bp-activity-filters.php index eb66c3f984ce1552f89de761abff1ee56a1d6eb1..0acfc90cc28e9703e215e93062dc2981e1a4d9a0 100644 --- a/wp-content/plugins/buddypress/bp-activity/bp-activity-filters.php +++ b/wp-content/plugins/buddypress/bp-activity/bp-activity-filters.php @@ -207,13 +207,15 @@ function bp_activity_filter_kses( $content ) { global $allowedtags; $activity_allowedtags = $allowedtags; - $activity_allowedtags['a']['class'] = array(); - $activity_allowedtags['a']['id'] = array(); - $activity_allowedtags['a']['rel'] = array(); - $activity_allowedtags['a']['title'] = array(); - $activity_allowedtags['b'] = array(); - $activity_allowedtags['code'] = array(); - $activity_allowedtags['i'] = array(); + $activity_allowedtags['a']['class'] = array(); + $activity_allowedtags['a']['id'] = array(); + $activity_allowedtags['a']['rel'] = array(); + $activity_allowedtags['a']['title'] = array(); + + $activity_allowedtags['b'] = array(); + $activity_allowedtags['code'] = array(); + $activity_allowedtags['i'] = array(); + $activity_allowedtags['img'] = array(); $activity_allowedtags['img']['src'] = array(); $activity_allowedtags['img']['alt'] = array(); @@ -222,8 +224,10 @@ function bp_activity_filter_kses( $content ) { $activity_allowedtags['img']['class'] = array(); $activity_allowedtags['img']['id'] = array(); $activity_allowedtags['img']['title'] = array(); - $activity_allowedtags['span'] = array(); - $activity_allowedtags['span']['class'] = array(); + + $activity_allowedtags['span'] = array(); + $activity_allowedtags['span']['class'] = array(); + $activity_allowedtags['span']['data-livestamp'] = array(); /** @@ -278,7 +282,7 @@ function bp_activity_at_name_filter( $content, $activity_id = 0 ) { // Linkify the mentions with the username. foreach ( (array) $usernames as $user_id => $username ) { - $content = preg_replace( '/(@' . $username . '\b)/', "<a href='" . bp_core_get_user_domain( $user_id ) . "' rel='nofollow'>@$username</a>", $content ); + $content = preg_replace( '/(@' . $username . '\b)/', "<a class='bp-suggestions-mention' href='" . bp_core_get_user_domain( $user_id ) . "' rel='nofollow'>@$username</a>", $content ); } // Put everything back. @@ -319,7 +323,7 @@ function bp_activity_at_name_filter_updates( $activity ) { if ( ! empty( $usernames ) ) { // Replace @mention text with userlinks. foreach( (array) $usernames as $user_id => $username ) { - $activity->content = preg_replace( '/(@' . $username . '\b)/', "<a href='" . bp_core_get_user_domain( $user_id ) . "' rel='nofollow'>@$username</a>", $activity->content ); + $activity->content = preg_replace( '/(@' . $username . '\b)/', "<a class='bp-suggestions-mention' href='" . bp_core_get_user_domain( $user_id ) . "' rel='nofollow'>@$username</a>", $activity->content ); } // Add our hook to send @mention emails after the activity item is saved. diff --git a/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php b/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php index a76432030784b5bd9c1db0fb335c8563b218ba49..b9b8a094410fab2bd5478b3e4d54bfb0df00ea51 100644 --- a/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php +++ b/wp-content/plugins/buddypress/bp-activity/bp-activity-functions.php @@ -1663,56 +1663,28 @@ function bp_activity_get( $args = '' ) { * ); */ 'filter' => array() - ) ); - - // Attempt to return a cached copy of the first page of sitewide activity. - if ( ( 1 === (int) $r['page'] ) && empty( $r['max'] ) && ( 'all' === $r['fields'] ) && empty( $r['search_terms'] ) && empty( $r['meta_query'] ) && empty( $r['date_query'] ) && empty( $r['filter_query'] ) && empty( $r['filter'] ) && empty( $r['scope'] )&& empty( $r['exclude'] ) && empty( $r['in'] ) && ( 'DESC' === $r['sort'] ) && empty( $r['exclude'] ) && ( 'ham_only' === $r['spam'] ) ) { - - $activity = wp_cache_get( 'bp_activity_sitewide_front', 'bp' ); - if ( false === $activity ) { - - $activity = BP_Activity_Activity::get( array( - 'page' => $r['page'], - 'per_page' => $r['per_page'], - 'max' => $r['max'], - 'fields' => $r['fields'], - 'sort' => $r['sort'], - 'search_terms' => $r['search_terms'], - 'meta_query' => $r['meta_query'], - 'date_query' => $r['date_query'], - 'filter_query' => $r['filter_query'], - 'filter' => $r['filter'], - 'scope' => $r['scope'], - 'display_comments' => $r['display_comments'], - 'show_hidden' => $r['show_hidden'], - 'spam' => $r['spam'], - 'update_meta_cache' => $r['update_meta_cache'], - 'count_total' => $r['count_total'], - ) ); - - wp_cache_set( 'bp_activity_sitewide_front', $activity, 'bp' ); - } + ), 'activity_get' ); - } else { - $activity = BP_Activity_Activity::get( array( - 'page' => $r['page'], - 'per_page' => $r['per_page'], - 'max' => $r['max'], - 'sort' => $r['sort'], - 'search_terms' => $r['search_terms'], - 'meta_query' => $r['meta_query'], - 'date_query' => $r['date_query'], - 'filter_query' => $r['filter_query'], - 'filter' => $r['filter'], - 'scope' => $r['scope'], - 'display_comments' => $r['display_comments'], - 'show_hidden' => $r['show_hidden'], - 'exclude' => $r['exclude'], - 'in' => $r['in'], - 'spam' => $r['spam'], - 'count_total' => $r['count_total'], - ) ); - } + $activity = BP_Activity_Activity::get( array( + 'page' => $r['page'], + 'per_page' => $r['per_page'], + 'max' => $r['max'], + 'sort' => $r['sort'], + 'search_terms' => $r['search_terms'], + 'meta_query' => $r['meta_query'], + 'date_query' => $r['date_query'], + 'filter_query' => $r['filter_query'], + 'filter' => $r['filter'], + 'scope' => $r['scope'], + 'display_comments' => $r['display_comments'], + 'show_hidden' => $r['show_hidden'], + 'exclude' => $r['exclude'], + 'in' => $r['in'], + 'spam' => $r['spam'], + 'update_meta_cache' => $r['update_meta_cache'], + 'count_total' => $r['count_total'], + 'fields' => $r['fields'], + ) ); /** * Filters the requested activity item(s). @@ -1898,10 +1870,13 @@ function bp_activity_add( $args = '' ) { * @since 1.2.0 * * @param array|string $args { - * @type string $content The content of the activity update. - * @type int $user_id Optional. Defaults to the logged-in user. + * @type string $content The content of the activity update. + * @type int $user_id Optional. Defaults to the logged-in user. + * @type string $error_type Optional. Error type to return. Either 'bool' or 'wp_error'. Defaults to + * 'bool' for boolean. 'wp_error' will return a WP_Error object. * } - * @return int $activity_id The activity id. + * @return int|bool|WP_Error $activity_id The activity id on success. On failure, either boolean false or WP_Error + * object depending on the 'error_type' $args parameter. */ function bp_activity_post_update( $args = '' ) { @@ -3417,6 +3392,211 @@ function bp_activity_mark_as_ham( &$activity, $source = 'by_a_person' ) { do_action( 'bp_activity_mark_as_ham', $activity, $source ); } +/* Emails *********************************************************************/ + +/** + * Send email and BP notifications when a user is mentioned in an update. + * + * @since 1.2.0 + * + * @param int $activity_id The ID of the activity update. + * @param int $receiver_user_id The ID of the user who is receiving the update. + */ +function bp_activity_at_message_notification( $activity_id, $receiver_user_id ) { + $notifications = BP_Core_Notification::get_all_for_user( $receiver_user_id, 'all' ); + + // Don't leave multiple notifications for the same activity item. + foreach( $notifications as $notification ) { + if ( $activity_id == $notification->item_id ) { + return; + } + } + + $activity = new BP_Activity_Activity( $activity_id ); + $email_type = 'activity-at-message'; + $group_name = ''; + $message_link = bp_activity_get_permalink( $activity_id ); + $poster_name = bp_core_get_user_displayname( $activity->user_id ); + + remove_filter( 'bp_get_activity_content_body', 'convert_smilies' ); + remove_filter( 'bp_get_activity_content_body', 'wpautop' ); + remove_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 ); + + /** This filter is documented in bp-activity/bp-activity-template.php */ + $content = apply_filters( 'bp_get_activity_content_body', $activity->content ); + + add_filter( 'bp_get_activity_content_body', 'convert_smilies' ); + add_filter( 'bp_get_activity_content_body', 'wpautop' ); + add_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 ); + + // Now email the user with the contents of the message (if they have enabled email notifications). + if ( 'no' != bp_get_user_meta( $receiver_user_id, 'notification_activity_new_mention', true ) ) { + if ( bp_is_active( 'groups' ) && bp_is_group() ) { + $email_type = 'groups-at-message'; + $group_name = bp_get_current_group_name(); + } + + $unsubscribe_args = array( + 'user_id' => $receiver_user_id, + 'notification_type' => $email_type, + ); + + $args = array( + 'tokens' => array( + 'activity' => $activity, + 'usermessage' => wp_strip_all_tags( $content ), + 'group.name' => $group_name, + 'mentioned.url' => $message_link, + 'poster.name' => $poster_name, + 'receiver-user.id' => $receiver_user_id, + 'unsubscribe' => esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ), + ), + ); + + bp_send_email( $email_type, $receiver_user_id, $args ); + } + + /** + * Fires after the sending of an @mention email notification. + * + * @since 1.5.0 + * @since 2.5.0 $subject, $message, $content arguments unset and deprecated. + * + * @param BP_Activity_Activity $activity Activity Item object. + * @param string $deprecated Removed in 2.5; now an empty string. + * @param string $deprecated Removed in 2.5; now an empty string. + * @param string $deprecated Removed in 2.5; now an empty string. + * @param int $receiver_user_id The ID of the user who is receiving the update. + */ + do_action( 'bp_activity_sent_mention_email', $activity, '', '', '', $receiver_user_id ); +} + +/** + * Send email and BP notifications when an activity item receives a comment. + * + * @since 1.2.0 + * @since 2.5.0 Updated to use new email APIs. + * + * @param int $comment_id The comment id. + * @param int $commenter_id The ID of the user who posted the comment. + * @param array $params {@link bp_activity_new_comment()}. + */ +function bp_activity_new_comment_notification( $comment_id = 0, $commenter_id = 0, $params = array() ) { + $original_activity = new BP_Activity_Activity( $params['activity_id'] ); + $poster_name = bp_core_get_user_displayname( $commenter_id ); + $thread_link = bp_activity_get_permalink( $params['activity_id'] ); + + remove_filter( 'bp_get_activity_content_body', 'convert_smilies' ); + remove_filter( 'bp_get_activity_content_body', 'wpautop' ); + remove_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 ); + + /** This filter is documented in bp-activity/bp-activity-template.php */ + $content = apply_filters( 'bp_get_activity_content_body', $params['content'] ); + + add_filter( 'bp_get_activity_content_body', 'convert_smilies' ); + add_filter( 'bp_get_activity_content_body', 'wpautop' ); + add_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 ); + + if ( $original_activity->user_id != $commenter_id ) { + + // Send an email if the user hasn't opted-out. + if ( 'no' != bp_get_user_meta( $original_activity->user_id, 'notification_activity_new_reply', true ) ) { + + $unsubscribe_args = array( + 'user_id' => $original_activity->user_id, + 'notification_type' => 'activity-comment', + ); + + $args = array( + 'tokens' => array( + 'comment.id' => $comment_id, + 'commenter.id' => $commenter_id, + 'usermessage' => wp_strip_all_tags( $content ), + 'original_activity.user_id' => $original_activity->user_id, + 'poster.name' => $poster_name, + 'thread.url' => esc_url( $thread_link ), + 'unsubscribe' => esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ), + ), + ); + + bp_send_email( 'activity-comment', $original_activity->user_id, $args ); + } + + /** + * Fires at the point that notifications should be sent for activity comments. + * + * @since 2.6.0 + * + * @param BP_Activity_Activity $original_activity The original activity. + * @param int $comment_id ID for the newly received comment. + * @param int $commenter_id ID of the user who made the comment. + * @param array $params Arguments used with the original activity comment. + */ + do_action( 'bp_activity_sent_reply_to_update_notification', $original_activity, $comment_id, $commenter_id, $params ); + } + + + /* + * If this is a reply to another comment, send an email notification to the + * author of the immediate parent comment. + */ + if ( empty( $params['parent_id'] ) || ( $params['activity_id'] == $params['parent_id'] ) ) { + return; + } + + $parent_comment = new BP_Activity_Activity( $params['parent_id'] ); + + if ( $parent_comment->user_id != $commenter_id && $original_activity->user_id != $parent_comment->user_id ) { + + // Send an email if the user hasn't opted-out. + if ( 'no' != bp_get_user_meta( $parent_comment->user_id, 'notification_activity_new_reply', true ) ) { + + $unsubscribe_args = array( + 'user_id' => $parent_comment->user_id, + 'notification_type' => 'activity-comment-author', + ); + + $args = array( + 'tokens' => array( + 'comment.id' => $comment_id, + 'commenter.id' => $commenter_id, + 'usermessage' => wp_strip_all_tags( $content ), + 'parent-comment-user.id' => $parent_comment->user_id, + 'poster.name' => $poster_name, + 'thread.url' => esc_url( $thread_link ), + 'unsubscribe' => esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ), + ), + ); + + bp_send_email( 'activity-comment-author', $parent_comment->user_id, $args ); + } + + /** + * Fires at the point that notifications should be sent for comments on activity replies. + * + * @since 2.6.0 + * + * @param BP_Activity_Activity $parent_comment The parent activity. + * @param int $comment_id ID for the newly received comment. + * @param int $commenter_id ID of the user who made the comment. + * @param array $params Arguments used with the original activity comment. + */ + do_action( 'bp_activity_sent_reply_to_reply_notification', $parent_comment, $comment_id, $commenter_id, $params ); + } +} + +/** + * Helper method to map action arguments to function parameters. + * + * @since 1.9.0 + * + * @param int $comment_id ID of the comment being notified about. + * @param array $params Parameters to use with notification. + */ +function bp_activity_new_comment_notification_helper( $comment_id, $params ) { + bp_activity_new_comment_notification( $comment_id, $params['user_id'], $params ); +} +add_action( 'bp_activity_comment_posted', 'bp_activity_new_comment_notification_helper', 10, 2 ); /** Embeds *******************************************************************/ diff --git a/wp-content/plugins/buddypress/bp-activity/bp-activity-loader.php b/wp-content/plugins/buddypress/bp-activity/bp-activity-loader.php index 1269a5c5f1a69f28bbeb424d0a80b9828212b743..07ddf9ca3d616b379de75aea053e92732c668b6c 100644 --- a/wp-content/plugins/buddypress/bp-activity/bp-activity-loader.php +++ b/wp-content/plugins/buddypress/bp-activity/bp-activity-loader.php @@ -17,7 +17,7 @@ if ( ! buddypress()->do_autoload ) { } /** - * Bootstrap the Activity component. + * Set up the bp-activity component. * * @since 1.6.0 */ diff --git a/wp-content/plugins/buddypress/bp-activity/bp-activity-notifications.php b/wp-content/plugins/buddypress/bp-activity/bp-activity-notifications.php index 7803f762adeb7d1e99ef6f3632225007465b2114..cc76318f3acc15ebc11c928414169084c61fd9d9 100644 --- a/wp-content/plugins/buddypress/bp-activity/bp-activity-notifications.php +++ b/wp-content/plugins/buddypress/bp-activity/bp-activity-notifications.php @@ -10,194 +10,6 @@ // Exit if accessed directly. defined( 'ABSPATH' ) || exit; -/* Emails *********************************************************************/ - -/** - * Send email and BP notifications when a user is mentioned in an update. - * - * @since 1.2.0 - * - * @param int $activity_id The ID of the activity update. - * @param int $receiver_user_id The ID of the user who is receiving the update. - */ -function bp_activity_at_message_notification( $activity_id, $receiver_user_id ) { - $notifications = BP_Core_Notification::get_all_for_user( $receiver_user_id, 'all' ); - - // Don't leave multiple notifications for the same activity item. - foreach( $notifications as $notification ) { - if ( $activity_id == $notification->item_id ) { - return; - } - } - - $activity = new BP_Activity_Activity( $activity_id ); - $email_type = 'activity-at-message'; - $group_name = ''; - $message_link = bp_activity_get_permalink( $activity_id ); - $poster_name = bp_core_get_user_displayname( $activity->user_id ); - - remove_filter( 'bp_get_activity_content_body', 'convert_smilies' ); - remove_filter( 'bp_get_activity_content_body', 'wpautop' ); - remove_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 ); - - /** This filter is documented in bp-activity/bp-activity-template.php */ - $content = apply_filters( 'bp_get_activity_content_body', $activity->content ); - - add_filter( 'bp_get_activity_content_body', 'convert_smilies' ); - add_filter( 'bp_get_activity_content_body', 'wpautop' ); - add_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 ); - - // Now email the user with the contents of the message (if they have enabled email notifications). - if ( 'no' != bp_get_user_meta( $receiver_user_id, 'notification_activity_new_mention', true ) ) { - if ( bp_is_active( 'groups' ) && bp_is_group() ) { - $email_type = 'groups-at-message'; - $group_name = bp_get_current_group_name(); - } - - $args = array( - 'tokens' => array( - 'activity' => $activity, - 'usermessage' => wp_strip_all_tags( $content ), - 'group.name' => $group_name, - 'mentioned.url' => $message_link, - 'poster.name' => $poster_name, - 'receiver-user.id' => $receiver_user_id, - ), - ); - - bp_send_email( $email_type, $receiver_user_id, $args ); - } - - /** - * Fires after the sending of an @mention email notification. - * - * @since 1.5.0 - * @since 2.5.0 $subject, $message, $content arguments unset and deprecated. - * - * @param BP_Activity_Activity $activity Activity Item object. - * @param string $deprecated Removed in 2.5; now an empty string. - * @param string $deprecated Removed in 2.5; now an empty string. - * @param string $deprecated Removed in 2.5; now an empty string. - * @param int $receiver_user_id The ID of the user who is receiving the update. - */ - do_action( 'bp_activity_sent_mention_email', $activity, '', '', '', $receiver_user_id ); -} - -/** - * Send email and BP notifications when an activity item receives a comment. - * - * @since 1.2.0 - * @since 2.5.0 Updated to use new email APIs. - * - * @param int $comment_id The comment id. - * @param int $commenter_id The ID of the user who posted the comment. - * @param array $params {@link bp_activity_new_comment()}. - */ -function bp_activity_new_comment_notification( $comment_id = 0, $commenter_id = 0, $params = array() ) { - $original_activity = new BP_Activity_Activity( $params['activity_id'] ); - $poster_name = bp_core_get_user_displayname( $commenter_id ); - $thread_link = bp_activity_get_permalink( $params['activity_id'] ); - - remove_filter( 'bp_get_activity_content_body', 'convert_smilies' ); - remove_filter( 'bp_get_activity_content_body', 'wpautop' ); - remove_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 ); - - /** This filter is documented in bp-activity/bp-activity-template.php */ - $content = apply_filters( 'bp_get_activity_content_body', $params['content'] ); - - add_filter( 'bp_get_activity_content_body', 'convert_smilies' ); - add_filter( 'bp_get_activity_content_body', 'wpautop' ); - add_filter( 'bp_get_activity_content_body', 'bp_activity_truncate_entry', 5 ); - - if ( $original_activity->user_id != $commenter_id ) { - - // Send an email if the user hasn't opted-out. - if ( 'no' != bp_get_user_meta( $original_activity->user_id, 'notification_activity_new_reply', true ) ) { - $args = array( - 'tokens' => array( - 'comment.id' => $comment_id, - 'commenter.id' => $commenter_id, - 'usermessage' => wp_strip_all_tags( $content ), - 'original_activity.user_id' => $original_activity->user_id, - 'poster.name' => $poster_name, - 'thread.url' => esc_url( $thread_link ), - ), - ); - - bp_send_email( 'activity-comment', $original_activity->user_id, $args ); - } - - /** - * Fires at the point that notifications should be sent for activity comments. - * - * @since 2.6.0 - * - * @param BP_Activity_Activity $original_activity The original activity. - * @param int $comment_id ID for the newly received comment. - * @param int $commenter_id ID of the user who made the comment. - * @param array $params Arguments used with the original activity comment. - */ - do_action( 'bp_activity_sent_reply_to_update_notification', $original_activity, $comment_id, $commenter_id, $params ); - } - - - /* - * If this is a reply to another comment, send an email notification to the - * author of the immediate parent comment. - */ - if ( empty( $params['parent_id'] ) || ( $params['activity_id'] == $params['parent_id'] ) ) { - return; - } - - $parent_comment = new BP_Activity_Activity( $params['parent_id'] ); - - if ( $parent_comment->user_id != $commenter_id && $original_activity->user_id != $parent_comment->user_id ) { - - // Send an email if the user hasn't opted-out. - if ( 'no' != bp_get_user_meta( $parent_comment->user_id, 'notification_activity_new_reply', true ) ) { - $args = array( - 'tokens' => array( - 'comment.id' => $comment_id, - 'commenter.id' => $commenter_id, - 'usermessage' => wp_strip_all_tags( $content ), - 'parent-comment-user.id' => $parent_comment->user_id, - 'poster.name' => $poster_name, - 'thread.url' => esc_url( $thread_link ), - ), - ); - - bp_send_email( 'activity-comment-author', $parent_comment->user_id, $args ); - } - - /** - * Fires at the point that notifications should be sent for comments on activity replies. - * - * @since 2.6.0 - * - * @param BP_Activity_Activity $parent_comment The parent activity. - * @param int $comment_id ID for the newly received comment. - * @param int $commenter_id ID of the user who made the comment. - * @param array $params Arguments used with the original activity comment. - */ - do_action( 'bp_activity_sent_reply_to_reply_notification', $parent_comment, $comment_id, $commenter_id, $params ); - } -} - -/** - * Helper method to map action arguments to function parameters. - * - * @since 1.9.0 - * - * @param int $comment_id ID of the comment being notified about. - * @param array $params Parameters to use with notification. - */ -function bp_activity_new_comment_notification_helper( $comment_id, $params ) { - bp_activity_new_comment_notification( $comment_id, $params['user_id'], $params ); -} -add_action( 'bp_activity_comment_posted', 'bp_activity_new_comment_notification_helper', 10, 2 ); - -/** Notifications *************************************************************/ - /** * Format notifications related to activity. * @@ -339,8 +151,7 @@ function bp_activity_format_notifications( $action, $item_id, $secondary_item_id * @param int $receiver_user_id ID of user receiving notification. */ function bp_activity_at_mention_add_notification( $activity, $subject, $message, $content, $receiver_user_id ) { - if ( bp_is_active( 'notifications' ) ) { - bp_notifications_add_notification( array( + bp_notifications_add_notification( array( 'user_id' => $receiver_user_id, 'item_id' => $activity->id, 'secondary_item_id' => $activity->user_id, @@ -348,8 +159,7 @@ function bp_activity_at_mention_add_notification( $activity, $subject, $message, 'component_action' => 'new_at_mention', 'date_notified' => bp_core_current_time(), 'is_new' => 1, - ) ); - } + ) ); } add_action( 'bp_activity_sent_mention_email', 'bp_activity_at_mention_add_notification', 10, 5 ); @@ -363,17 +173,15 @@ add_action( 'bp_activity_sent_mention_email', 'bp_activity_at_mention_add_notifi * @param int $commenter_id ID of the user who made the comment. */ function bp_activity_update_reply_add_notification( $activity, $comment_id, $commenter_id ) { - if ( bp_is_active( 'notifications' ) ) { - bp_notifications_add_notification( array( - 'user_id' => $activity->user_id, - 'item_id' => $comment_id, - 'secondary_item_id' => $commenter_id, - 'component_name' => buddypress()->activity->id, - 'component_action' => 'update_reply', - 'date_notified' => bp_core_current_time(), - 'is_new' => 1, - ) ); - } + bp_notifications_add_notification( array( + 'user_id' => $activity->user_id, + 'item_id' => $comment_id, + 'secondary_item_id' => $commenter_id, + 'component_name' => buddypress()->activity->id, + 'component_action' => 'update_reply', + 'date_notified' => bp_core_current_time(), + 'is_new' => 1, + ) ); } add_action( 'bp_activity_sent_reply_to_update_notification', 'bp_activity_update_reply_add_notification', 10, 3 ); @@ -387,17 +195,15 @@ add_action( 'bp_activity_sent_reply_to_update_notification', 'bp_activity_update * @param int $commenter_id ID of the user who made the comment. */ function bp_activity_comment_reply_add_notification( $activity_comment, $comment_id, $commenter_id ) { - if ( bp_is_active( 'notifications' ) ) { - bp_notifications_add_notification( array( - 'user_id' => $activity_comment->user_id, - 'item_id' => $comment_id, - 'secondary_item_id' => $commenter_id, - 'component_name' => buddypress()->activity->id, - 'component_action' => 'comment_reply', - 'date_notified' => bp_core_current_time(), - 'is_new' => 1, - ) ); - } + bp_notifications_add_notification( array( + 'user_id' => $activity_comment->user_id, + 'item_id' => $comment_id, + 'secondary_item_id' => $commenter_id, + 'component_name' => buddypress()->activity->id, + 'component_action' => 'comment_reply', + 'date_notified' => bp_core_current_time(), + 'is_new' => 1, + ) ); } add_action( 'bp_activity_sent_reply_to_reply_notification', 'bp_activity_comment_reply_add_notification', 10, 3 ); @@ -410,10 +216,6 @@ add_action( 'bp_activity_sent_reply_to_reply_notification', 'bp_activity_comment * @param int $user_id The id of the user whose notifications are marked as read. */ function bp_activity_remove_screen_notifications( $user_id = 0 ) { - if ( ! bp_is_active( 'notifications' ) ) { - return; - } - // Only mark read if the current user is looking at his own mentions. if ( empty( $user_id ) || (int) $user_id !== (int) bp_loggedin_user_id() ) { return; @@ -431,10 +233,6 @@ add_action( 'bp_activity_clear_new_mentions', 'bp_activity_remove_screen_notific * @param BP_Activity_Activity $activity Activity object. */ function bp_activity_remove_screen_notifications_single_activity_permalink( $activity ) { - if ( ! bp_is_active( 'notifications' ) ) { - return; - } - if ( ! is_user_logged_in() ) { return; } @@ -453,7 +251,7 @@ add_action( 'bp_activity_screen_single_activity_permalink', 'bp_activity_remove_ * @since 2.6.0 */ function bp_activity_remove_screen_notifications_for_non_mentions() { - if ( false === bp_is_active( 'notifications' ) || false === is_singular() || false === is_user_logged_in() || empty( $_GET['nid'] ) ) { + if ( false === is_singular() || false === is_user_logged_in() || empty( $_GET['nid'] ) ) { return; } @@ -480,7 +278,7 @@ add_action( 'bp_screens', 'bp_activity_remove_screen_notifications_for_non_menti function bp_activity_at_mention_delete_notification( $activity_ids_deleted = array() ) { // Let's delete all without checking if content contains any mentions // to avoid a query to get the activity. - if ( bp_is_active( 'notifications' ) && ! empty( $activity_ids_deleted ) ) { + if ( ! empty( $activity_ids_deleted ) ) { foreach ( $activity_ids_deleted as $activity_id ) { bp_notifications_delete_all_notifications_by_type( $activity_id, buddypress()->activity->id ); } @@ -502,7 +300,7 @@ add_action( 'bp_activity_deleted_activities', 'bp_activity_at_mention_delete_not */ function bp_activity_add_notification_for_synced_blog_comment( $activity_id, $post_type_comment, $activity_args, $activity_post_object ) { // If activity comments are disabled for WP posts, stop now! - if ( bp_disable_blogforum_comments() || empty( $activity_id ) || false === bp_is_active( 'notifications' ) ) { + if ( bp_disable_blogforum_comments() || empty( $activity_id ) ) { return; } diff --git a/wp-content/plugins/buddypress/bp-activity/bp-activity-screens.php b/wp-content/plugins/buddypress/bp-activity/bp-activity-screens.php index a1315489830d27cd569fc37ebbfd6e9cf9947d93..c55ee4b15d2f3a5bfa6ceb32368be16fe3ed2d6b 100644 --- a/wp-content/plugins/buddypress/bp-activity/bp-activity-screens.php +++ b/wp-content/plugins/buddypress/bp-activity/bp-activity-screens.php @@ -236,7 +236,7 @@ function bp_activity_screen_single_activity_permalink() { // Check to see if the group is not public, if so, check the // user has access to see this activity. - if ( $group = groups_get_group( array( 'group_id' => $activity->item_id ) ) ) { + if ( $group = groups_get_group( $activity->item_id ) ) { // Group is not public. if ( 'public' != $group->status ) { diff --git a/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php b/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php index 92b42bc5675b5a414ec9c62694e0a69d508a1170..72d1885ccb273a537b90e31bc08fa060778c38d2 100644 --- a/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php +++ b/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php @@ -1177,11 +1177,7 @@ function bp_activity_secondary_avatar( $args = '' ) { // Only if groups is active. if ( bp_is_active( 'groups' ) ) { - $group = groups_get_group( array( - 'group_id' => $item_id, - 'populate_extras' => false, - 'update_meta_cache' => false, - ) ); + $group = groups_get_group( $item_id ); $link = bp_get_group_permalink( $group ); $name = $group->name; } @@ -1476,6 +1472,13 @@ function bp_insert_activity_meta( $content = '' ) { // Get the time since this activity was recorded. $date_recorded = bp_core_time_since( $activities_template->activity->date_recorded ); + // Set up 'time-since' <span>. + $time_since = sprintf( + '<span class="time-since" data-livestamp="%1$s">%2$s</span>', + bp_core_get_iso8601_date( $activities_template->activity->date_recorded ), + $date_recorded + ); + /** * Filters the activity item time since markup. * @@ -1484,7 +1487,7 @@ function bp_insert_activity_meta( $content = '' ) { * @param array $value Array containing the time since markup and the current activity component. */ $time_since = apply_filters_ref_array( 'bp_activity_time_since', array( - '<span class="time-since">' . $date_recorded . '</span>', + $time_since, &$activities_template->activity ) ); @@ -1533,7 +1536,7 @@ function bp_insert_activity_meta( $content = '' ) { * * @global object $activities_template {@link BP_Activity_Template} * - * @param object|bool $activity Optional. Falls back on the current item in the loop. + * @param BP_Activity_Activity $activity Optional. Falls back on the current item in the loop. * @return bool True if can delete, false otherwise. */ function bp_activity_user_can_delete( $activity = false ) { @@ -2090,7 +2093,7 @@ function bp_activity_comment_delete_link() { * activity comment. */ function bp_get_activity_comment_delete_link() { - $link = wp_nonce_url( bp_get_root_domain() . '/' . bp_get_activity_slug() . '/delete/' . bp_get_activity_comment_id() . '?cid=' . bp_get_activity_comment_id(), 'bp_activity_delete_link' ); + $link = wp_nonce_url( bp_get_activity_directory_permalink() . 'delete/' . bp_get_activity_comment_id() . '?cid=' . bp_get_activity_comment_id(), 'bp_activity_delete_link' ); /** * Filters the link used for deleting the activity comment currently being displayed. @@ -3162,8 +3165,6 @@ function bp_send_public_message_button( $args = '' ) { * @type string $wrapper_id Default: 'post-mention'. * @type string $link_href Default: the public message link for * the current member in the loop. - * @type string $link_title Default: 'Send a public message on your - * activity stream.'. * @type string $link_text Default: 'Public Message'. * @type string $link_class Default: 'activity-button mention'. * } @@ -3178,7 +3179,6 @@ function bp_send_public_message_button( $args = '' ) { 'block_self' => true, 'wrapper_id' => 'post-mention', 'link_href' => bp_get_send_public_message_link(), - 'link_title' => __( 'Send a public message on your activity stream.', 'buddypress' ), 'link_text' => __( 'Public Message', 'buddypress' ), 'link_class' => 'activity-button mention' ) ); diff --git a/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-activity.php b/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-activity.php index c24a53316e34bf225edecf7ad9dce790737d5139..8040fcf0a0d5d5b3bb5b5c40608e131c337426a7 100644 --- a/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-activity.php +++ b/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-activity.php @@ -645,7 +645,23 @@ class BP_Activity_Activity { */ $activity_ids_sql = apply_filters( 'bp_activity_paged_activities_sql', $activity_ids_sql, $r ); - $activity_ids = $wpdb->get_col( $activity_ids_sql ); + /* + * Queries that include 'last_activity' are cached separately, + * since they are generally much less long-lived. + */ + if ( preg_match( '/a\.type NOT IN \([^\)]*\'last_activity\'[^\)]*\)/', $activity_ids_sql ) ) { + $cache_group = 'bp_activity'; + } else { + $cache_group = 'bp_activity_with_last_activity'; + } + + $cached = bp_core_get_incremented_cache( $activity_ids_sql, $cache_group ); + if ( false === $cached ) { + $activity_ids = $wpdb->get_col( $activity_ids_sql ); + bp_core_set_incremented_cache( $activity_ids_sql, $cache_group, $activity_ids ); + } else { + $activity_ids = $cached; + } $retval['has_more_items'] = ! empty( $per_page ) && count( $activity_ids ) > $per_page; @@ -702,7 +718,13 @@ class BP_Activity_Activity { * @param string $sort Sort direction for query. */ $total_activities_sql = apply_filters( 'bp_activity_total_activities_sql', "SELECT count(DISTINCT a.id) FROM {$bp->activity->table_name} a {$join_sql} {$where_sql}", $where_sql, $sort ); - $total_activities = $wpdb->get_var( $total_activities_sql ); + $cached = bp_core_get_incremented_cache( $total_activities_sql, $cache_group ); + if ( false === $cached ) { + $total_activities = $wpdb->get_var( $total_activities_sql ); + bp_core_set_incremented_cache( $total_activities_sql, $cache_group, $total_activities ); + } else { + $total_activities = $cached; + } if ( !empty( $r['max'] ) ) { if ( (int) $total_activities > (int) $r['max'] ) { diff --git a/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-component.php b/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-component.php index 4f85efbaf398a7165040fe7157e48bf6e1157df7..2aa6124b7809557fee2185d2de6d1f6c9dfea108 100644 --- a/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-component.php +++ b/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-component.php @@ -57,10 +57,14 @@ class BP_Activity_Component extends BP_Component { 'adminbar', 'template', 'functions', - 'notifications', 'cache' ); + // Notifications support. + if ( bp_is_active( 'notifications' ) ) { + $includes[] = 'notifications'; + } + if ( ! buddypress()->do_autoload ) { $includes[] = 'classes'; } @@ -68,7 +72,7 @@ class BP_Activity_Component extends BP_Component { // Load Akismet support if Akismet is configured. $akismet_key = bp_get_option( 'wordpress_api_key' ); - /** This filter is documented in bp-activity/bp-activity-actions.php */ + /** This filter is documented in bp-activity/bp-activity-akismet.php */ if ( defined( 'AKISMET_VERSION' ) && class_exists( 'Akismet' ) && ( ! empty( $akismet_key ) || defined( 'WPCOM_API_KEY' ) ) && apply_filters( 'bp_activity_use_akismet', bp_is_akismet_active() ) ) { $includes[] = 'akismet'; } @@ -116,13 +120,17 @@ class BP_Activity_Component extends BP_Component { 'activity' => $bp->table_prefix . 'bp_activity_meta', ); + // Fetch the default directory title. + $default_directory_titles = bp_core_get_directory_page_default_titles(); + $default_directory_title = $default_directory_titles[$this->id]; + // All globals for activity component. // Note that global_tables is included in this array. $args = array( 'slug' => BP_ACTIVITY_SLUG, 'root_slug' => isset( $bp->pages->activity->slug ) ? $bp->pages->activity->slug : BP_ACTIVITY_SLUG, 'has_directory' => true, - 'directory_title' => _x( 'Site-Wide Activity', 'component directory title', 'buddypress' ), + 'directory_title' => isset( $bp->pages->activity->title ) ? $bp->pages->activity->title : $default_directory_title, 'notification_callback' => 'bp_activity_format_notifications', 'search_string' => __( 'Search Activity...', 'buddypress' ), 'global_tables' => $global_tables, @@ -361,19 +369,6 @@ class BP_Activity_Component extends BP_Component { parent::setup_title(); } - /** - * Set up actions necessary for the component. - * - * @since 1.6.0 - */ - public function setup_actions() { - - // Spam prevention. - add_action( 'bp_include', 'bp_activity_setup_akismet' ); - - parent::setup_actions(); - } - /** * Setup cache groups. * diff --git a/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-list-table.php b/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-list-table.php index 985f6885f8ac749d318cbf27c79de45126a273a1..0e3a48843cc58cef3ae7bff81dea8a45a56eee56 100644 --- a/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-list-table.php +++ b/wp-content/plugins/buddypress/bp-activity/classes/class-bp-activity-list-table.php @@ -428,8 +428,26 @@ class BP_Activity_List_Table extends WP_List_Table { <option value="" <?php selected( ! $selected ); ?>><?php _e( 'View all actions', 'buddypress' ); ?></option> <?php foreach ( $activity_actions as $component => $actions ) : ?> - - <optgroup label="<?php echo ucfirst( $component ); ?>"> + <?php + // Older avatar activity items use 'profile' for component. See r4273. + if ( $component === 'profile' ) { + $component = 'xprofile'; + } + + if ( bp_is_active( $component ) ) { + if ( $component === 'xprofile' ) { + $component_name = buddypress()->profile->name; + } else { + $component_name = buddypress()->$component->name; + } + + } else { + // Prevent warnings by other plugins if a component is disabled but the activity type has been registered. + $component_name = ucfirst( $component ); + } + ?> + + <optgroup label="<?php echo esc_html( $component_name ); ?>"> <?php foreach ( $actions as $action_key => $action_values ) : ?> diff --git a/wp-content/plugins/buddypress/bp-activity/js/mentions.min.js b/wp-content/plugins/buddypress/bp-activity/js/mentions.min.js index ffcf7fe265a620fa989c6825e7f3bde9e6c5b419..674a9ed8f552f890f50499eca32037f953f6d06f 100644 --- a/wp-content/plugins/buddypress/bp-activity/js/mentions.min.js +++ b/wp-content/plugins/buddypress/bp-activity/js/mentions.min.js @@ -1 +1 @@ -window.bp=window.bp||{},function(a,b,c){var d,e=[];a.mentions=a.mentions||{},a.mentions.users=window.bp.mentions.users||[],"object"==typeof window.BP_Suggestions&&(a.mentions.users=window.BP_Suggestions.friends||a.mentions.users),b.fn.bp_mentions=function(a){b.isArray(a)&&(a={data:a});var c={delay:200,hide_without_suffix:!0,insert_tpl:"</>${atwho-data-value}</>",limit:10,start_with_space:!1,suffix:"",callbacks:{filter:function(a,b,c){var d,e,f,g=[],h=new RegExp("^"+a+"| "+a,"ig");for(e=0,f=b.length;f>e;e++)d=b[e],d[c].toLowerCase().match(h)&&g.push(d);return g},highlighter:function(a,b){if(!b)return a;var c=new RegExp(">(\\s*|[\\w\\s]*)("+this.at.replace("+","\\+")+"?"+b.replace("+","\\+")+")([\\w ]*)\\s*<","ig");return a.replace(c,function(a,b,c,d){return">"+b+"<strong>"+c+"</strong>"+d+"<"})},before_reposition:function(a){var c,d,e,f,g=b("#atwho-ground-"+this.id+" .atwho-view"),h=b("body"),i=this.$inputor.data("atwho");"undefined"!==i&&"undefined"!==i.iframe&&null!==i.iframe?(c=this.$inputor.caret("offset",{iframe:i.iframe}),e=b(i.iframe).offset(),"undefined"!==e&&(c.left+=e.left,c.top+=e.top)):c=this.$inputor.caret("offset"),c.left>h.width()/2?(g.addClass("right"),f=c.left-a.left-this.view.$el.width()):(g.removeClass("right"),f=c.left-a.left+1),h.width()<=400&&b(document).scrollTop(c.top-6),d=parseInt(this.$inputor.css("line-height").substr(0,this.$inputor.css("line-height").length-2),10),(!d||5>d)&&(d=19),a.top=c.top+d,a.left+=f},inserting_wrapper:function(a,b,c){return""+b+c}}},f={callbacks:{remote_filter:function(a,c){var f=b(this),g={};return d=e[a],"object"==typeof d?void c(d):(f.xhr&&f.xhr.abort(),g={action:"bp_get_suggestions",term:a,type:"members"},b.isNumeric(this.$inputor.data("suggestions-group-id"))&&(g["group-id"]=parseInt(this.$inputor.data("suggestions-group-id"),10)),void(f.xhr=b.getJSON(ajaxurl,g).done(function(d){if(d.success){var f=b.map(d.data,function(a){return a.search=a.search||a.ID+" "+a.name,a});e[a]=f,c(f)}})))}},data:b.map(a.data,function(a){return a.search=a.search||a.ID+" "+a.name,a}),at:"@",search_key:"search",tpl:'<li data-value="@${ID}"><img src="${image}" /><span class="username">@${ID}</span><small>${name}</small></li>'},g=b.extend(!0,{},c,f,a);return b.fn.atwho.call(this,g)},b(document).ready(function(){b(".bp-suggestions, #comments form textarea, .wp-editor-area").bp_mentions(a.mentions.users)}),a.mentions.tinyMCEinit=function(){"undefined"!=typeof window.tinyMCE&&null!==window.tinyMCE.activeEditor&&"undefined"!=typeof window.tinyMCE.activeEditor&&b(window.tinyMCE.activeEditor.contentDocument.activeElement).atwho("setIframe",b(".wp-editor-wrap iframe")[0]).bp_mentions(a.mentions.users)}}(bp,jQuery); \ No newline at end of file +window.bp=window.bp||{},function(a,b,c){var d,e=[];a.mentions=a.mentions||{},a.mentions.users=window.bp.mentions.users||[],"object"==typeof window.BP_Suggestions&&(a.mentions.users=window.BP_Suggestions.friends||a.mentions.users),b.fn.bp_mentions=function(a){b.isArray(a)&&(a={data:a});var c={delay:200,hide_without_suffix:!0,insert_tpl:"</>${atwho-data-value}</>",limit:10,start_with_space:!1,suffix:"",callbacks:{filter:function(a,b,c){var d,e,f,g=[],h=new RegExp("^"+a+"| "+a,"ig");for(e=0,f=b.length;e<f;e++)d=b[e],d[c].toLowerCase().match(h)&&g.push(d);return g},highlighter:function(a,b){if(!b)return a;var c=new RegExp(">(\\s*|[\\w\\s]*)("+this.at.replace("+","\\+")+"?"+b.replace("+","\\+")+")([\\w ]*)\\s*<","ig");return a.replace(c,function(a,b,c,d){return">"+b+"<strong>"+c+"</strong>"+d+"<"})},before_reposition:function(a){var c,d,e,f,g=b("#atwho-ground-"+this.id+" .atwho-view"),h=b("body"),i=this.$inputor.data("atwho");"undefined"!==i&&"undefined"!==i.iframe&&null!==i.iframe?(c=this.$inputor.caret("offset",{iframe:i.iframe}),e=b(i.iframe).offset(),"undefined"!==e&&(c.left+=e.left,c.top+=e.top)):c=this.$inputor.caret("offset"),c.left>h.width()/2?(g.addClass("right"),f=c.left-a.left-this.view.$el.width()):(g.removeClass("right"),f=c.left-a.left+1),h.width()<=400&&b(document).scrollTop(c.top-6),d=parseInt(this.$inputor.css("line-height").substr(0,this.$inputor.css("line-height").length-2),10),(!d||d<5)&&(d=19),a.top=c.top+d,a.left+=f},inserting_wrapper:function(a,b,c){return""+b+c}}},f={callbacks:{remote_filter:function(a,c){var f=b(this),g={};return d=e[a],"object"==typeof d?void c(d):(f.xhr&&f.xhr.abort(),g={action:"bp_get_suggestions",term:a,type:"members"},b.isNumeric(this.$inputor.data("suggestions-group-id"))&&(g["group-id"]=parseInt(this.$inputor.data("suggestions-group-id"),10)),void(f.xhr=b.getJSON(ajaxurl,g).done(function(d){if(d.success){var f=b.map(d.data,function(a){return a.search=a.search||a.ID+" "+a.name,a});e[a]=f,c(f)}})))}},data:b.map(a.data,function(a){return a.search=a.search||a.ID+" "+a.name,a}),at:"@",search_key:"search",tpl:'<li data-value="@${ID}"><img src="${image}" /><span class="username">@${ID}</span><small>${name}</small></li>'},g=b.extend(!0,{},c,f,a);return b.fn.atwho.call(this,g)},b(document).ready(function(){b(".bp-suggestions, #comments form textarea, .wp-editor-area").bp_mentions(a.mentions.users)}),a.mentions.tinyMCEinit=function(){"undefined"!=typeof window.tinyMCE&&null!==window.tinyMCE.activeEditor&&"undefined"!=typeof window.tinyMCE.activeEditor&&b(window.tinyMCE.activeEditor.contentDocument.activeElement).atwho("setIframe",b(".wp-editor-wrap iframe")[0]).bp_mentions(a.mentions.users)}}(bp,jQuery); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php b/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php index 83da06732d9e2f11282476108ea47606d61ba623..5c91e83e8b073ff90a4b6a95bee8cc6316bcaf12 100644 --- a/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php +++ b/wp-content/plugins/buddypress/bp-blogs/bp-blogs-activity.php @@ -1291,7 +1291,7 @@ function bp_blogs_can_comment_reply( $retval, $comment ) { // Check comment depth and disable if depth is too large. if ( isset( buddypress()->blogs->thread_depth[$comment->item_id] ) ){ - if ( $comment->mptt_left > buddypress()->blogs->thread_depth[$comment->item_id] ) { + if ( bp_activity_get_comment_depth() > buddypress()->blogs->thread_depth[$comment->item_id] ) { $retval = false; } } diff --git a/wp-content/plugins/buddypress/bp-blogs/bp-blogs-filters.php b/wp-content/plugins/buddypress/bp-blogs/bp-blogs-filters.php index 1d0d71b40b61b5da55d03a474bbd3ba70f80afe6..95ee435f943dbce6b62c7ba77dce7bc0b43e5894 100644 --- a/wp-content/plugins/buddypress/bp-blogs/bp-blogs-filters.php +++ b/wp-content/plugins/buddypress/bp-blogs/bp-blogs-filters.php @@ -121,3 +121,17 @@ function bp_blogs_post_pre_publish( $return = true, $blog_id = 0, $post_id = 0, } add_filter( 'bp_activity_post_pre_publish', 'bp_blogs_post_pre_publish', 10, 4 ); add_filter( 'bp_activity_post_pre_comment', 'bp_blogs_post_pre_publish', 10, 4 ); + +/** + * Registers our custom thumb size with WP's Site Icon feature. + * + * @since 2.7.0 + * + * @param array $sizes Current array of custom site icon sizes. + * @return array + */ +function bp_blogs_register_custom_site_icon_size( $sizes ) { + $sizes[] = bp_core_avatar_thumb_width(); + return $sizes; +} +add_filter( 'site_icon_image_sizes', 'bp_blogs_register_custom_site_icon_size' ); diff --git a/wp-content/plugins/buddypress/bp-blogs/bp-blogs-functions.php b/wp-content/plugins/buddypress/bp-blogs/bp-blogs-functions.php index a9895e73673bad3fc55e40fc0b7302d7adbcfcd3..be32eeff56b8e0ad80f0ef095f5863382d6af475 100644 --- a/wp-content/plugins/buddypress/bp-blogs/bp-blogs-functions.php +++ b/wp-content/plugins/buddypress/bp-blogs/bp-blogs-functions.php @@ -475,6 +475,26 @@ function bp_blogs_update_option_thread_comments_depth( $oldvalue, $newvalue ) { } add_action( 'update_option_thread_comments_depth', 'bp_blogs_update_option_thread_comments_depth', 10, 2 ); +/** + * Syncs site icon URLs to blogmeta. + * + * @since 2.7.0 + * + * @param int|string $old_value Old value + * @param int|string $new_value New value + */ +function bp_blogs_update_option_site_icon( $old_value, $new_value ) { + if ( 0 === $new_value ) { + bp_blogs_update_blogmeta( get_current_blog_id(), 'site_icon_url_thumb', 0 ); + bp_blogs_update_blogmeta( get_current_blog_id(), 'site_icon_url_full', 0 ); + } else { + // Save site icon URL as blogmeta. + bp_blogs_update_blogmeta( get_current_blog_id(), 'site_icon_url_thumb', get_site_icon_url( bp_core_avatar_thumb_width() ) ); + bp_blogs_update_blogmeta( get_current_blog_id(), 'site_icon_url_full', get_site_icon_url( bp_core_avatar_full_width() ) ); + } +} +add_action( 'update_option_site_icon', 'bp_blogs_update_option_site_icon', 10, 2 ); + /** * Deletes the 'url' blogmeta for a site. * diff --git a/wp-content/plugins/buddypress/bp-blogs/bp-blogs-loader.php b/wp-content/plugins/buddypress/bp-blogs/bp-blogs-loader.php index 5dff186c46365d0dea9d60936385e94689ccc07b..348d8966ee87c6c82dd53a2729744fe09977951c 100644 --- a/wp-content/plugins/buddypress/bp-blogs/bp-blogs-loader.php +++ b/wp-content/plugins/buddypress/bp-blogs/bp-blogs-loader.php @@ -20,6 +20,8 @@ if ( ! buddypress()->do_autoload ) { /** * Set up the bp-blogs component. + * + * @since 1.5.0 */ function bp_setup_blogs() { buddypress()->blogs = new BP_Blogs_Component(); diff --git a/wp-content/plugins/buddypress/bp-blogs/bp-blogs-template.php b/wp-content/plugins/buddypress/bp-blogs/bp-blogs-template.php index 312056f9baf12edad12dcbde269b1a3383dde4bc..b4b4dd55de40c557763c8d1643ba6ba5d4d0f0bc 100644 --- a/wp-content/plugins/buddypress/bp-blogs/bp-blogs-template.php +++ b/wp-content/plugins/buddypress/bp-blogs/bp-blogs-template.php @@ -220,9 +220,20 @@ function bp_the_blog() { /** * Output the blogs pagination count. * - * @global object $blogs_template {@link BP_Blogs_Template} + * @since 1.0.0 */ function bp_blogs_pagination_count() { + echo bp_get_blogs_pagination_count(); +} + +/** + * Get the blogs pagination count. + * + * @since 2.7.0 + * + * @global object $blogs_template {@link BP_Blogs_Template} + */ +function bp_get_blogs_pagination_count() { global $blogs_template; $start_num = intval( ( $blogs_template->pag_page - 1 ) * $blogs_template->pag_num ) + 1; @@ -236,7 +247,17 @@ function bp_blogs_pagination_count() { $message = sprintf( _n( 'Viewing %1$s - %2$s of %3$s site', 'Viewing %1$s - %2$s of %3$s sites', $blogs_template->total_blog_count, 'buddypress' ), $from_num, $to_num, $total ); } - echo $message; + /** + * Filters the "Viewing x-y of z blogs" pagination message. + * + * @since 2.7.0 + * + * @param string $message "Viewing x-y of z blogs" text. + * @param string $from_num Total amount for the low value in the range. + * @param string $to_num Total amount for the high value in the range. + * @param string $total Total amount of blogs found. + */ + return apply_filters( 'bp_get_blogs_pagination_count', $message, $from_num, $to_num, $total ); } /** @@ -324,19 +345,77 @@ function bp_blog_avatar( $args = '' ) { 'no_grav' => true, ) ); - // Fetch the avatar. - $avatar = bp_core_fetch_avatar( array( - 'item_id' => $blogs_template->blog->admin_user_id, - 'title' => $r['title'], - // 'avatar_dir' => 'blog-avatars', - // 'object' => 'blog', - 'type' => $r['type'], - 'alt' => $r['alt'], - 'css_id' => $r['id'], - 'class' => $r['class'], - 'width' => $r['width'], - 'height' => $r['height'] - ) ); + // Use site icon if available. + $avatar = ''; + if ( bp_is_active( 'blogs', 'site-icon' ) && function_exists( 'has_site_icon' ) ) { + $site_icon = bp_blogs_get_blogmeta( bp_get_blog_id(), "site_icon_url_{$r['type']}" ); + + // Never attempted to fetch site icon before; do it now! + if ( '' === $site_icon ) { + switch_to_blog( bp_get_blog_id() ); + + // Fetch the other size first. + if ( 'full' === $r['type'] ) { + $size = bp_core_avatar_thumb_width(); + $save_size = 'thumb'; + } else { + $size = bp_core_avatar_full_width(); + $save_size = 'full'; + } + + $site_icon = get_site_icon_url( $size ); + // Empty site icons get saved as integer 0. + if ( empty( $site_icon ) ) { + $site_icon = 0; + } + + // Sync site icon for other size to blogmeta. + bp_blogs_update_blogmeta( bp_get_blog_id(), "site_icon_url_{$save_size}", $site_icon ); + + // Now, fetch the size we want. + if ( 0 !== $site_icon ) { + $size = 'full' === $r['type'] ? bp_core_avatar_full_width() : bp_core_avatar_thumb_width(); + $site_icon = get_site_icon_url( $size ); + } + + // Sync site icon to blogmeta. + bp_blogs_update_blogmeta( bp_get_blog_id(), "site_icon_url_{$r['type']}", $site_icon ); + + restore_current_blog(); + } + + // We have a site icon. + if ( ! is_numeric( $site_icon ) ) { + if ( empty( $r['width'] ) && ! isset( $size ) ) { + $size = 'full' === $r['type'] ? bp_core_avatar_full_width() : bp_core_avatar_thumb_width(); + } else { + $size = (int) $r['width']; + } + + $avatar = sprintf( '<img src="%1$s" class="%2$s" width="%3$s" height="%3$s" alt="%4$s" title="%4$s" />', + esc_url( $site_icon ), + esc_attr( "{$r['class']} avatar-{$size}" ), + esc_attr( $size ), + sprintf( esc_attr__( 'Site icon for %s', 'buddypress' ), bp_get_blog_name() ) + ); + } + } + + // Fallback to user ID avatar. + if ( '' === $avatar ) { + $avatar = bp_core_fetch_avatar( array( + 'item_id' => $blogs_template->blog->admin_user_id, + 'title' => $r['title'], + // 'avatar_dir' => 'blog-avatars', + // 'object' => 'blog', + 'type' => $r['type'], + 'alt' => $r['alt'], + 'css_id' => $r['id'], + 'class' => $r['class'], + 'width' => $r['width'], + 'height' => $r['height'] + ) ); + } /** * In future BuddyPress versions you will be able to set the avatar for a blog. @@ -1032,9 +1111,8 @@ function bp_blogs_signup_blog( $blogname = '', $blog_title = '', $errors = '' ) echo '<input name="blog_title" type="text" id="blog_title" value="'.esc_html($blog_title, 1).'" /></p>'; ?> - <p> - <label for="blog_public_on"><?php _e('Privacy:', 'buddypress') ?></label> - <?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?> + <fieldset class="create-site"> + <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> <label class="checkbox" for="blog_public_on"> <input type="radio" id="blog_public_on" name="blog_public" value="1" <?php if( !isset( $_POST['blog_public'] ) || '1' == $_POST['blog_public'] ) { ?>checked="checked"<?php } ?> /> @@ -1044,7 +1122,7 @@ function bp_blogs_signup_blog( $blogname = '', $blog_title = '', $errors = '' ) <input type="radio" id="blog_public_off" name="blog_public" value="0" <?php if( isset( $_POST['blog_public'] ) && '0' == $_POST['blog_public'] ) { ?>checked="checked"<?php } ?> /> <strong><?php _e( 'No' , 'buddypress'); ?></strong> </label> - </p> + </fieldset> <?php @@ -1280,7 +1358,6 @@ function bp_blog_create_button() { 'id' => 'create_blog', 'component' => 'blogs', 'link_text' => __( 'Create a Site', 'buddypress' ), - 'link_title' => __( 'Create a Site', 'buddypress' ), 'link_class' => 'blog-create no-ajax', 'link_href' => trailingslashit( bp_get_blogs_directory_permalink() . 'create' ), 'wrapper' => false, @@ -1377,7 +1454,6 @@ function bp_blogs_visit_blog_button( $args = '' ) { * @type string $link_href Permalink of the current blog in the loop. * @type string $link_class Default: 'blog-button visit'. * @type string $link_text Default: 'Visit Site'. - * @type string $link_title Default: 'Visit Site'. * } * @return string The HTML for the Visit button. */ @@ -1391,7 +1467,6 @@ function bp_blogs_visit_blog_button( $args = '' ) { 'link_href' => bp_get_blog_permalink(), 'link_class' => 'blog-button visit', 'link_text' => __( 'Visit Site', 'buddypress' ), - 'link_title' => __( 'Visit Site', 'buddypress' ), ); $button = wp_parse_args( $args, $defaults ); diff --git a/wp-content/plugins/buddypress/bp-blogs/classes/class-bp-blogs-blog.php b/wp-content/plugins/buddypress/bp-blogs/classes/class-bp-blogs-blog.php index 6e36295923448949c41a893bd8e2e82b187d3fe6..f2b07cc125166113daf99f5dd973a565dc1288f0 100644 --- a/wp-content/plugins/buddypress/bp-blogs/classes/class-bp-blogs-blog.php +++ b/wp-content/plugins/buddypress/bp-blogs/classes/class-bp-blogs-blog.php @@ -48,7 +48,7 @@ class BP_Blogs_Blog { */ public function __construct( $id = null ) { if ( !empty( $id ) ) { - $this->id = $id; + $this->id = (int) $id; $this->populate(); } } @@ -63,8 +63,8 @@ class BP_Blogs_Blog { $blog = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$bp->blogs->table_name} WHERE id = %d", $this->id ) ); - $this->user_id = $blog->user_id; - $this->blog_id = $blog->blog_id; + $this->user_id = (int) $blog->user_id; + $this->blog_id = (int) $blog->blog_id; } /** @@ -243,6 +243,12 @@ class BP_Blogs_Blog { $paged_blogs = BP_Blogs_Blog::get_blog_extras( $paged_blogs, $blog_ids, $type ); + // Integer casting. + foreach ( (array) $paged_blogs as $key => $data ) { + $paged_blogs[ $key ]->blog_id = (int) $paged_blogs[ $key ]->blog_id; + $paged_blogs[ $key ]->admin_user_id = (int) $paged_blogs[ $key ]->admin_user_id; + } + if ( $update_meta_cache ) { bp_blogs_update_meta_cache( $blog_ids ); } @@ -338,8 +344,8 @@ class BP_Blogs_Blog { $user_blogs = array(); foreach ( (array) $blogs as $blog ) { $user_blogs[$blog->blog_id] = new stdClass; - $user_blogs[$blog->blog_id]->id = $blog->id; - $user_blogs[$blog->blog_id]->blog_id = $blog->blog_id; + $user_blogs[$blog->blog_id]->id = (int) $blog->id; + $user_blogs[$blog->blog_id]->blog_id = (int) $blog->blog_id; $user_blogs[$blog->blog_id]->siteurl = ( is_ssl() ) ? 'https://' . $blog->domain . $blog->path : 'http://' . $blog->domain . $blog->path; $user_blogs[$blog->blog_id]->name = $blog->name; } @@ -364,7 +370,7 @@ class BP_Blogs_Blog { if ( !$user_id ) $user_id = bp_displayed_user_id(); - return $wpdb->get_col( $wpdb->prepare( "SELECT blog_id FROM {$bp->blogs->table_name} WHERE user_id = %d", $user_id ) ); + return array_map( 'intval', $wpdb->get_col( $wpdb->prepare( "SELECT blog_id FROM {$bp->blogs->table_name} WHERE user_id = %d", $user_id ) ) ); } /** @@ -379,7 +385,9 @@ class BP_Blogs_Blog { $bp = buddypress(); - return $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->blogs->table_name} WHERE blog_id = %d", $blog_id ) ); + $query = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->blogs->table_name} WHERE blog_id = %d", $blog_id ) ); + + return is_numeric( $query ) ? (int) $query : $query; } /** @@ -444,7 +452,12 @@ class BP_Blogs_Blog { $paged_blogs = $wpdb->get_results( "SELECT DISTINCT bm.blog_id FROM {$bp->blogs->table_name_blogmeta} bm LEFT JOIN {$wpdb->base_prefix}blogs wb ON bm.blog_id = wb.blog_id WHERE ( ( bm.meta_key = 'name' OR bm.meta_key = 'description' ) AND {$search_terms_sql} ) {$hidden_sql} AND wb.mature = 0 AND wb.spam = 0 AND wb.archived = '0' AND wb.deleted = 0 ORDER BY meta_value ASC{$pag_sql}" ); $total_blogs = $wpdb->get_var( "SELECT COUNT(DISTINCT bm.blog_id) FROM {$bp->blogs->table_name_blogmeta} bm LEFT JOIN {$wpdb->base_prefix}blogs wb ON bm.blog_id = wb.blog_id WHERE ( ( bm.meta_key = 'name' OR bm.meta_key = 'description' ) AND {$search_terms_sql} ) {$hidden_sql} AND wb.mature = 0 AND wb.spam = 0 AND wb.archived = '0' AND wb.deleted = 0 ORDER BY meta_value ASC" ); - return array( 'blogs' => $paged_blogs, 'total' => $total_blogs ); + // Integer casting. + foreach ( (array) $paged_blogs as $key => $data ) { + $paged_blogs[ $key ]->blog_id = (int) $paged_blogs[ $key ]->blog_id; + } + + return array( 'blogs' => $paged_blogs, 'total' => (int) $total_blogs ); } /** @@ -472,7 +485,12 @@ class BP_Blogs_Blog { $paged_blogs = $wpdb->get_results( "SELECT DISTINCT b.blog_id FROM {$bp->blogs->table_name} b LEFT JOIN {$wpdb->base_prefix}blogs wb ON b.blog_id = wb.blog_id WHERE wb.mature = 0 AND wb.spam = 0 AND wb.archived = '0' AND wb.deleted = 0 {$hidden_sql} {$pag_sql}" ); $total_blogs = $wpdb->get_var( "SELECT COUNT(DISTINCT b.blog_id) FROM {$bp->blogs->table_name} b LEFT JOIN {$wpdb->base_prefix}blogs wb ON b.blog_id = wb.blog_id WHERE wb.mature = 0 AND wb.spam = 0 AND wb.archived = '0' AND wb.deleted = 0 {$hidden_sql}" ); - return array( 'blogs' => $paged_blogs, 'total' => $total_blogs ); + // Integer casting. + foreach ( (array) $paged_blogs as $key => $data ) { + $paged_blogs[ $key ]->blog_id = (int) $paged_blogs[ $key ]->blog_id; + } + + return array( 'blogs' => $paged_blogs, 'total' => (int) $total_blogs ); } /** @@ -509,7 +527,12 @@ class BP_Blogs_Blog { $paged_blogs = $wpdb->get_results( "SELECT DISTINCT bm.blog_id FROM {$bp->blogs->table_name_blogmeta} bm LEFT JOIN {$wpdb->base_prefix}blogs wb ON bm.blog_id = wb.blog_id WHERE bm.meta_key = 'name' AND {$letter_sql} {$hidden_sql} AND wb.mature = 0 AND wb.spam = 0 AND wb.archived = '0' AND wb.deleted = 0 ORDER BY bm.meta_value ASC{$pag_sql}" ); $total_blogs = $wpdb->get_var( "SELECT COUNT(DISTINCT bm.blog_id) FROM {$bp->blogs->table_name_blogmeta} bm LEFT JOIN {$wpdb->base_prefix}blogs wb ON bm.blog_id = wb.blog_id WHERE bm.meta_key = 'name' AND {$letter_sql} {$hidden_sql} AND wb.mature = 0 AND wb.spam = 0 AND wb.archived = '0' AND wb.deleted = 0 ORDER BY bm.meta_value ASC" ); - return array( 'blogs' => $paged_blogs, 'total' => $total_blogs ); + // Integer casting. + foreach ( (array) $paged_blogs as $key => $data ) { + $paged_blogs[ $key ]->blog_id = (int) $paged_blogs[ $key ]->blog_id; + } + + return array( 'blogs' => $paged_blogs, 'total' => (int) $total_blogs ); } /** diff --git a/wp-content/plugins/buddypress/bp-blogs/classes/class-bp-blogs-component.php b/wp-content/plugins/buddypress/bp-blogs/classes/class-bp-blogs-component.php index 69dfe3720457cb9beaae6cc811612edb554564eb..225b05092dd42729977619b206cef94ad160295a 100644 --- a/wp-content/plugins/buddypress/bp-blogs/classes/class-bp-blogs-component.php +++ b/wp-content/plugins/buddypress/bp-blogs/classes/class-bp-blogs-component.php @@ -32,6 +32,7 @@ class BP_Blogs_Component extends BP_Component { array( 'adminbar_myaccount_order' => 30, 'search_query_arg' => 'sites_search', + 'features' => array( 'site-icon' ) ) ); } @@ -65,12 +66,16 @@ class BP_Blogs_Component extends BP_Component { 'blog' => $bp->table_prefix . 'bp_user_blogs_blogmeta', ); + // Fetch the default directory title. + $default_directory_titles = bp_core_get_directory_page_default_titles(); + $default_directory_title = $default_directory_titles[$this->id]; + // All globals for blogs component. $args = array( 'slug' => BP_BLOGS_SLUG, 'root_slug' => isset( $bp->pages->blogs->slug ) ? $bp->pages->blogs->slug : BP_BLOGS_SLUG, 'has_directory' => is_multisite(), // Non-multisite installs don't need a top-level Sites directory, since there's only one site. - 'directory_title' => _x( 'Sites', 'component directory title', 'buddypress' ), + 'directory_title' => isset( $bp->pages->blogs->title ) ? $bp->pages->blogs->title : $default_directory_title, 'notification_callback' => 'bp_blogs_format_notifications', 'search_string' => __( 'Search sites...', 'buddypress' ), 'autocomplete_all' => defined( 'BP_MESSAGES_AUTOCOMPLETE_ALL' ), diff --git a/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-components.php b/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-components.php index 558f70b37f748e8b53694aaf512c745b919f09ef..80ddfe48b4f8c1499e22fad55779fa06ff972274 100644 --- a/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-components.php +++ b/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-components.php @@ -276,6 +276,7 @@ function bp_core_admin_components_settings_handler() { $bp = buddypress(); // Save settings and upgrade schema. + require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); require_once( $bp->plugin_dir . '/bp-core/admin/bp-core-admin-schema.php' ); $submitted = stripslashes_deep( $_POST['bp_components'] ); diff --git a/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-functions.php b/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-functions.php index 39b54b2a5f9bd78074b377be4097d9f154d4cf54..4b1061e7ca1dda2fecd0155ab7ef7c70277ce059 100644 --- a/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-functions.php +++ b/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-functions.php @@ -804,7 +804,29 @@ function bp_admin_do_wp_nav_menu_meta_box() { </ul> </div> + <?php + $removed_args = array( + 'action', + 'customlink-tab', + 'edit-menu-item', + 'menu-item', + 'page-tab', + '_wpnonce', + ); + ?> + <p class="button-controls"> + <span class="list-controls"> + <a href="<?php + echo esc_url( add_query_arg( + array( + $post_type_name . '-tab' => 'all', + 'selectall' => 1, + ), + remove_query_arg( $removed_args ) + ) ); + ?>#buddypress-menu" class="select-all"><?php _e( 'Select All', 'buddypress' ); ?></a> + </span> <span class="add-to-menu"> <input type="submit"<?php if ( function_exists( 'wp_nav_menu_disabled_check' ) ) : wp_nav_menu_disabled_check( $nav_menu_selected_id ); endif; ?> class="button-secondary submit-add-to-menu right" value="<?php esc_attr_e( 'Add to Menu', 'buddypress' ); ?>" name="add-custom-menu-item" id="submit-buddypress-menu" /> <span class="spinner"></span> @@ -1091,3 +1113,214 @@ function bp_core_admin_user_spammed_js() { </script> <?php } + +/** Upgrade protection *******************************************************/ + +/** + * Determines whether the current installation is running PHP 5.3 or greater. + * + * BuddyPress 2.8 introduces a minimum PHP requirement of PHP 5.3. + * + * @since 2.7.0 + * + * @return bool + */ +function bp_core_admin_is_running_php53_or_greater() { + return version_compare( PHP_VERSION, '5.3', '>=' ); +} + +/** + * Replaces WP's default update notice on plugins.php with an error message, when site is not running PHP 5.3 or greater. + * + * @since 2.7.0 + */ +function bp_core_admin_maybe_disable_update_row_for_php53_requirement() { + if ( bp_core_admin_is_running_php53_or_greater() ) { + return; + } + + $loader = basename( constant( 'BP_PLUGIN_DIR' ) ) . '/bp-loader.php'; + + remove_action( "after_plugin_row_{$loader}", 'wp_plugin_update_row', 10, 2 ); + add_action( "after_plugin_row_{$loader}", 'bp_core_admin_php52_plugin_row', 10, 2 ); +} +add_action( 'load-plugins.php', 'bp_core_admin_maybe_disable_update_row_for_php53_requirement', 100 ); + +/** + * On the "Dashboard > Updates" page, remove BuddyPress from plugins list if PHP < 5.3. + * + * @since 2.7.0 + */ +function bp_core_admin_maybe_remove_from_update_core() { + if ( bp_core_admin_is_running_php53_or_greater() ) { + return; + } + + // Add filter to remove BP from the update plugins list. + add_filter( 'site_transient_update_plugins', 'bp_core_admin_remove_buddypress_from_update_transient' ); +} +add_action( 'load-update-core.php', 'bp_core_admin_maybe_remove_from_update_core' ); + +/** + * Filter callback to remove BuddyPress from the update plugins list. + * + * Attached to the 'site_transient_update_plugins' filter. + * + * @since 2.7.0 + * + * @param object $retval Object of plugin update data. + * @return object + */ +function bp_core_admin_remove_buddypress_from_update_transient( $retval ) { + $loader = basename( constant( 'BP_PLUGIN_DIR' ) ) . '/bp-loader.php'; + + // Remove BP from update plugins list. + if ( isset( $retval->response[ $loader ] ) ) { + unset( $retval->response[ $loader ] ); + } + + return $retval; +} + +/** + * Outputs a replacement for WP's default update notice, when site is not running PHP 5.3 or greater. + * + * When we see that a site is not running PHP 5.3 and is trying to update to + * BP 2.8+, we replace WP's default notice with our own, which both provides a + * link to our documentation of the requirement, and removes the link that + * allows a single plugin to be updated. + * + * @since 2.7.0 + * + * @param string $file Plugin filename. buddypress/bp-loader.php. + * @param array $plugin_data Data about the BuddyPress plugin, as returned by the + * plugins API. + */ +function bp_core_admin_php52_plugin_row( $file, $plugin_data ) { + if ( is_multisite() && ! is_network_admin() ) { + return; + } + + $current = get_site_transient( 'update_plugins' ); + if ( ! isset( $current->response[ $file ] ) ) { + return false; + } + + $response = $current->response[ $file ]; + + // No need to do this if update is for < BP 2.8. + if ( version_compare( $response->new_version, '2.8', '<' ) ) { + return false; + } + + $wp_list_table = _get_list_table( 'WP_Plugins_List_Table' ); + + if ( is_network_admin() ) { + $active_class = is_plugin_active_for_network( $file ) ? ' active' : ''; + } else { + $active_class = is_plugin_active( $file ) ? ' active' : ''; + } + + // WP 4.6 uses different markup for the plugin row notice. + if ( function_exists( 'wp_get_ext_types' ) ) { + $p = '<p>%s</p>'; + + // WP < 4.6. + } else { + $p = '%s'; + + // Ugh. + $active_class .= ' not-shiny'; + } + + echo '<tr class="plugin-update-tr' . $active_class . '" id="' . esc_attr( $response->slug . '-update' ) . '" data-slug="' . esc_attr( $response->slug ) . '" data-plugin="' . esc_attr( $file ) . '"><td colspan="' . esc_attr( $wp_list_table->get_column_count() ) . '" class="plugin-update colspanchange"><div class="update-message inline notice notice-error notice-alt">'; + + printf( $p, + esc_html__( 'A BuddyPress update is available, but your system is not compatible.', 'buddypress' ) . ' ' . + sprintf( __( 'See <a href="%s">the Codex guide</a> for more information.', 'buddypress' ), 'https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/' ) + ); + + echo '</div></td></tr>'; + + /* + * JavaScript to disable the bulk upgrade checkbox. + * See WP_Plugins_List_Table::single_row(). + */ + $checkbox_id = 'checkbox_' . md5( $plugin_data['Name'] ); + echo "<script type='text/javascript'>document.getElementById('$checkbox_id').disabled = true;</script>"; +} + +/** + * Add an admin notice to installations that are not running PHP 5.3+. + * + * @since 2.7.0 + */ +function bp_core_admin_php53_admin_notice() { + // If not on the Plugins page, stop now. + if ( 'plugins' !== get_current_screen()->parent_base ) { + return; + } + + if ( ! current_user_can( 'update_core' ) ) { + return; + } + + if ( bp_core_admin_is_running_php53_or_greater() ) { + return; + } + + $notice_id = 'bp28-php53'; + if ( bp_get_option( "bp-dismissed-notice-$notice_id" ) ) { + return; + } + + $bp = buddypress(); + $min = bp_core_get_minified_asset_suffix(); + + wp_enqueue_script( + 'bp-dismissible-admin-notices', + "{$bp->plugin_url}bp-core/admin/js/dismissible-admin-notices{$min}.js", + array( 'jquery' ), + bp_get_version(), + true + ); + + $php_version = PHP_VERSION; + + ?> + + <div id="message" class="error notice is-dismissible bp-is-dismissible" data-noticeid="<?php echo esc_attr( $notice_id ); ?>"> + <p><strong><?php esc_html_e( 'Your site is not ready for BuddyPress 2.8.', 'buddypress' ); ?></strong></p> + <p><?php printf( esc_html__( 'Your site is currently running PHP version %s, while BuddyPress 2.8 will require version 5.3+.', 'buddypress' ), $php_version ); ?> <?php printf( __( 'See <a href="%s">the Codex guide</a> for more information.', 'buddypress' ), 'https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/' ); ?></p> + <?php wp_nonce_field( "bp-dismissible-notice-$notice_id", "bp-dismissible-nonce-$notice_id" ); ?> + </div> + <?php +} +add_action( 'admin_notices', 'bp_core_admin_php53_admin_notice' ); +add_action( 'network_admin_notices', 'bp_core_admin_php53_admin_notice' ); + +/** + * Catch and process an admin notice dismissal. + * + * @since 2.7.0 + */ +function bp_core_admin_notice_dismiss_callback() { + if ( ! current_user_can( 'install_plugins' ) ) { + wp_send_json_error(); + } + + if ( empty( $_POST['nonce'] ) || empty( $_POST['notice_id'] ) ) { + wp_send_json_error(); + } + + $notice_id = wp_unslash( $_POST['notice_id'] ); + + if ( ! wp_verify_nonce( $_POST['nonce'], 'bp-dismissible-notice-' . $notice_id ) ) { + wp_send_json_error(); + } + + bp_update_option( "bp-dismissed-notice-$notice_id", 1 ); + + wp_send_json_success(); +} +add_action( 'wp_ajax_bp_dismiss_notice', 'bp_core_admin_notice_dismiss_callback' ); diff --git a/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-schema.php b/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-schema.php index ba38b31377b59f87cf012f18cc9f0fee9945951f..919015729489f2e0432e1e4ced123268408a417f 100644 --- a/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-schema.php +++ b/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-schema.php @@ -10,23 +10,6 @@ // Exit if accessed directly. defined( 'ABSPATH' ) || exit; -/** - * Get the DB schema to use for BuddyPress components. - * - * @since 1.1.0 - * - * @global $wpdb $wpdb - * - * @return string The default database character-set, if set. - */ -function bp_core_set_charset() { - global $wpdb; - - require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); - - return !empty( $wpdb->charset ) ? "DEFAULT CHARACTER SET {$wpdb->charset}" : ''; -} - /** * Main installer. * @@ -93,7 +76,7 @@ function bp_core_install( $active_components = false ) { */ function bp_core_install_notifications() { $sql = array(); - $charset_collate = bp_core_set_charset(); + $charset_collate = $GLOBALS['wpdb']->get_charset_collate(); $bp_prefix = bp_core_get_table_prefix(); $sql[] = "CREATE TABLE {$bp_prefix}bp_notifications ( @@ -134,7 +117,7 @@ function bp_core_install_notifications() { */ function bp_core_install_activity_streams() { $sql = array(); - $charset_collate = bp_core_set_charset(); + $charset_collate = $GLOBALS['wpdb']->get_charset_collate(); $bp_prefix = bp_core_get_table_prefix(); $sql[] = "CREATE TABLE {$bp_prefix}bp_activity ( @@ -184,7 +167,7 @@ function bp_core_install_activity_streams() { */ function bp_core_install_friends() { $sql = array(); - $charset_collate = bp_core_set_charset(); + $charset_collate = $GLOBALS['wpdb']->get_charset_collate(); $bp_prefix = bp_core_get_table_prefix(); $sql[] = "CREATE TABLE {$bp_prefix}bp_friends ( @@ -209,7 +192,7 @@ function bp_core_install_friends() { */ function bp_core_install_groups() { $sql = array(); - $charset_collate = bp_core_set_charset(); + $charset_collate = $GLOBALS['wpdb']->get_charset_collate(); $bp_prefix = bp_core_get_table_prefix(); $sql[] = "CREATE TABLE {$bp_prefix}bp_groups ( @@ -219,10 +202,12 @@ function bp_core_install_groups() { slug varchar(200) NOT NULL, description longtext NOT NULL, status varchar(10) NOT NULL DEFAULT 'public', + parent_id bigint(20) NOT NULL DEFAULT 0, enable_forum tinyint(1) NOT NULL DEFAULT '1', date_created datetime NOT NULL, KEY creator_id (creator_id), - KEY status (status) + KEY status (status), + KEY parent_id (parent_id) ) {$charset_collate};"; $sql[] = "CREATE TABLE {$bp_prefix}bp_groups_members ( @@ -266,7 +251,7 @@ function bp_core_install_groups() { */ function bp_core_install_private_messaging() { $sql = array(); - $charset_collate = bp_core_set_charset(); + $charset_collate = $GLOBALS['wpdb']->get_charset_collate(); $bp_prefix = bp_core_get_table_prefix(); $sql[] = "CREATE TABLE {$bp_prefix}bp_messages_messages ( @@ -325,7 +310,7 @@ function bp_core_install_extended_profiles() { global $wpdb; $sql = array(); - $charset_collate = bp_core_set_charset(); + $charset_collate = $GLOBALS['wpdb']->get_charset_collate(); $bp_prefix = bp_core_get_table_prefix(); // These values should only be updated if they are not already present. @@ -410,7 +395,7 @@ function bp_core_install_extended_profiles() { */ function bp_core_install_blog_tracking() { $sql = array(); - $charset_collate = bp_core_set_charset(); + $charset_collate = $GLOBALS['wpdb']->get_charset_collate(); $bp_prefix = bp_core_get_table_prefix(); $sql[] = "CREATE TABLE {$bp_prefix}bp_user_blogs ( @@ -517,7 +502,7 @@ function bp_core_install_emails() { ); $emails = bp_email_get_schema(); - $descriptions = bp_email_get_type_schema(); + $descriptions = bp_email_get_type_schema( 'description' ); // Add these emails to the database. foreach ( $emails as $id => $email ) { @@ -535,6 +520,8 @@ function bp_core_install_emails() { } } + bp_update_option( 'bp-emails-unsubscribe-salt', base64_encode( wp_generate_password( 64, true, true ) ) ); + /** * Fires after BuddyPress adds the posts for its emails. * diff --git a/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-slugs.php b/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-slugs.php index 3fb22e3e8c07a7533b86c365915e80fe69747e27..aecc908015bdcfd281e80c7dc6b562eccacc1e59 100644 --- a/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-slugs.php +++ b/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-slugs.php @@ -184,12 +184,20 @@ function bp_core_admin_slugs_options() { <h3><?php _e( 'Registration', 'buddypress' ); ?></h3> - <p><?php _e( 'Associate WordPress Pages with the following BuddyPress Registration pages.', 'buddypress' ); ?></p> + <?php if ( bp_get_signup_allowed() ) : ?> + <p><?php _e( 'Associate WordPress Pages with the following BuddyPress Registration pages.', 'buddypress' ); ?></p> + <?php else : ?> + <?php if ( is_multisite() ) : ?> + <p><?php printf( __( 'Registration is currently disabled. Before associating a page is allowed, please enable registration by selecting either the "User accounts may be registered" or "Both sites and user accounts can be registered" option on <a href="%s">this page</a>.', 'buddypress' ), network_admin_url( 'settings.php' ) ); ?></p> + <?php else : ?> + <p><?php printf( __( 'Registration is currently disabled. Before associating a page is allowed, please enable registration by clicking on the "Anyone can register" checkbox on <a href="%s">this page</a>.', 'buddypress' ), admin_url( 'options-general.php' ) ); ?></p> + <?php endif; ?> + <?php endif; ?> <table class="form-table"> <tbody> - <?php foreach ( $static_pages as $name => $label ) : ?> + <?php if ( bp_get_signup_allowed() ) : foreach ( $static_pages as $name => $label ) : ?> <tr valign="top"> <th scope="row"> @@ -218,7 +226,7 @@ function bp_core_admin_slugs_options() { </td> </tr> - <?php endforeach ?> + <?php endforeach; endif; ?> <?php diff --git a/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-tools.php b/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-tools.php index f5d5391fc942835ce3116cb0228262cf6ce9bd79..6926c28b48230c6f80274b2939f840a561a9a5a7 100644 --- a/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-tools.php +++ b/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-tools.php @@ -21,42 +21,33 @@ function bp_core_admin_tools() { <h1><?php esc_html_e( 'BuddyPress Tools', 'buddypress' ) ?></h1> - <p> - <?php esc_html_e( 'BuddyPress keeps track of various relationships between members, groups, and activity items. Occasionally these relationships become out of sync, most often after an import, update, or migration.', 'buddypress' ); ?> - <?php esc_html_e( 'Use the tools below to manually recalculate these relationships.', 'buddypress' ); ?> + <p><?php esc_html_e( 'BuddyPress keeps track of various relationships between members, groups, and activity items. Occasionally these relationships become out of sync, most often after an import, update, or migration.', 'buddypress' ); ?></p> + <p><?php esc_html_e( 'Use the tools below to manually recalculate these relationships.', 'buddypress' ); ?> </p> <p class="description"><?php esc_html_e( 'Some of these tools create substantial database overhead. Avoid running more than one repair job at a time.', 'buddypress' ); ?></p> <form class="settings" method="post" action=""> - <table class="form-table"> - <tbody> - <tr valign="top"> - <th scope="row"><?php esc_html_e( 'Repair tools', 'buddypress' ) ?></th> - <td> - <fieldset> - <legend class="screen-reader-text"><span><?php - /* translators: accessibility text */ - esc_html_e( 'Repair', 'buddypress' ); - ?></span></legend> - - <?php foreach ( bp_admin_repair_list() as $item ) : ?> - - <label for="<?php echo esc_attr( str_replace( '_', '-', $item[0] ) ); ?>"><input type="checkbox" class="checkbox" name="<?php echo esc_attr( $item[0] ) . '" id="' . esc_attr( str_replace( '_', '-', $item[0] ) ); ?>" value="1" /> <?php echo esc_html( $item[1] ); ?></label><br /> - - <?php endforeach; ?> - - </fieldset> - </td> - </tr> - </tbody> - </table> - - <fieldset class="submit"> - <input class="button-primary" type="submit" name="bp-tools-submit" value="<?php esc_attr_e( 'Repair Items', 'buddypress' ); ?>" /> - <?php wp_nonce_field( 'bp-do-counts' ); ?> + + <fieldset> + <legend><?php esc_html_e( 'Repair tools', 'buddypress' ) ?></legend> + + <div class="checkbox"> + <?php foreach ( bp_admin_repair_list() as $item ) : ?> + <label for="<?php echo esc_attr( str_replace( '_', '-', $item[0] ) ); ?>"><input type="checkbox" class="checkbox" name="<?php echo esc_attr( $item[0] ) . '" id="' . esc_attr( str_replace( '_', '-', $item[0] ) ); ?>" value="1" /> <?php echo esc_html( $item[1] ); ?></label> + <?php endforeach; ?> + </div> + + <p class="submit"> + <input class="button-primary" type="submit" name="bp-tools-submit" value="<?php esc_attr_e( 'Repair Items', 'buddypress' ); ?>" /> + <?php wp_nonce_field( 'bp-do-counts' ); ?> + </p> + </fieldset> + </form> + </div> + <?php } diff --git a/wp-content/plugins/buddypress/bp-core/admin/css/common-rtl.css b/wp-content/plugins/buddypress/bp-core/admin/css/common-rtl.css index 1c6728258cbb1fbc94db173ae777a48ec07209be..9f26083a7263f375e4f5b590774d2dc41265cb5a 100644 --- a/wp-content/plugins/buddypress/bp-core/admin/css/common-rtl.css +++ b/wp-content/plugins/buddypress/bp-core/admin/css/common-rtl.css @@ -20,6 +20,8 @@ TABLE OF CONTENTS: 2.3 Tools 3.0 User's Lists 4.0 Emails - Edit page +5.0 Tools - BuddyPress +6.0 Plugins page ------------------------------------------------------------------------------*/ /*------------------------------------------------------------------------------ @@ -64,7 +66,27 @@ TABLE OF CONTENTS: .index_page_bp-about .bp-headline-feature, .dashboard_page_bp-about .bp-headline-feature { margin-bottom: 3em; + margin-top: 3em; + padding: 2em 3em; +} + +.index_page_bp-about .bp-headline, +.dashboard_page_bp-about .bp-headline { + margin: 0 auto; + width: 35em; +} + +.index_page_bp-about .bp-headline span.dashicons, +.dashboard_page_bp-about .bp-headline span.dashicons { + background-color: #f1f1f1; + clear: right; + font-size: 100px; + float: right; + height: 100px; + line-height: 100px; + margin: 0 0 15px 15px ; text-align: center; + width: 100px; } .index_page_bp-about .bp-headline-feature h3, @@ -72,16 +94,15 @@ TABLE OF CONTENTS: .dashboard_page_bp-about .bp-headline-feature h3, .dashboard_page_bp-about .bp-headline-feature .headline-title { font-size: 2.2em; - line-height: 1.3; - margin: 1.25em 0 0.6em; - text-align: center; + font-weight: 300; + line-height: 1; + margin: 0 125px 0 0; } .index_page_bp-about .bp-headline-feature p, .dashboard_page_bp-about .bp-headline-feature p { font-size: 1.15em; - margin: 1.15em auto 0.6em; - max-width: 80%; + margin: 1.15em 125px 0.6em auto; } .index_page_bp-about .bp-headline-feature .introduction, @@ -96,26 +117,53 @@ TABLE OF CONTENTS: .index_page_bp-about .bp-features-section, .dashboard_page_bp-about .bp-features-section { clear: both; - margin-bottom: 2em; - margin-top: 2em; + margin-top: 3em; + overflow: hidden; padding-bottom: 0; } +.index_page_bp-about span.dashicons, +.dashboard_page_bp-about span.dashicons { + background-color: #fff; + border-radius: 50%; + clear: right; + color: #d84800; + font-size: 50px; + float: right; + height: 80px; + line-height: 80px; + margin: 0 0 15px 15px ; + text-align: center; + width: 80px; +} + .index_page_bp-about .bp-features-section h3, .dashboard_page_bp-about .bp-features-section h3 { - font-size: 1.8em; - font-weight: normal; - line-height: 1.5em; - margin: 0 0 0.6em; + font-size: 2em; + font-weight: 300; + line-height: 1.5; + margin: 0 auto 3em; text-align: center; } .index_page_bp-about .bp-feature, .dashboard_page_bp-about .bp-feature { - clear: both; - overflow: hidden; + float: right; margin-bottom: 3em; - margin-top: 3em; + margin-left: 4.799999999%; + width: 47.6%; +} + + +.index_page_bp-about .bp-feature code, +.dashboard_page_bp-about .bp-feature code{ + font-size: 0.95em; + line-height: 1.5; +} + +.index_page_bp-about .bp-feature:nth-of-type(2n), +.dashboard_page_bp-about .bp-feature:nth-of-type(2n) { + margin-left: 0; } .index_page_bp-about .bp-feature::after, @@ -125,55 +173,28 @@ TABLE OF CONTENTS: .index_page_bp-about .bp-feature h4, .dashboard_page_bp-about .bp-feature h4 { - color: #23282d; - display: inline-block; font-size: 1.25em; - margin-bottom: 0.6em; + line-height: 1.5; + margin-bottom: 0; + margin-right: 110px; margin-top: 0; - width: 47%; + text-align: right; } .index_page_bp-about .bp-feature p, .dashboard_page_bp-about .bp-feature p { - float: right; - font-size: 1.15em; - width: 47%; -} - -.index_page_bp-about .bp-feature.opposite h4, -.dashboard_page_bp-about .bp-feature.opposite h4, -.index_page_bp-about .bp-feature.opposite p, -.dashboard_page_bp-about .bp-feature.opposite p { - float: left; -} - -.index_page_bp-about .bp-feature img, -.dashboard_page_bp-about .bp-feature img { - clear: left; - float: left; - margin-right: 2.5%; - width: 50%; - max-width: 50%; -} - -.index_page_bp-about .bp-feature.opposite img, -.dashboard_page_bp-about .bp-feature.opposite img{ - clear: right; - float: right; - margin-right: 0; - margin-left: 2.5%; + margin-right: 110px; } - /* * 1.2.3 Changelog Section */ .index_page_bp-about .bp-changelog-section, .dashboard_page_bp-about .bp-changelog-section { - border-top: 1px solid #ccc; clear: both; - margin-bottom: 3em; - margin-top: 2em; + margin-bottom: 8em; + margin-top: 3em; + overflow: hidden; padding-bottom: 0; } @@ -188,7 +209,7 @@ TABLE OF CONTENTS: font-size: 1.8em; font-weight: 300; line-height: 1.5; - margin: 1.25em 0 0.6em; + margin: 0 auto 0.5em; text-align: center; } @@ -212,39 +233,38 @@ TABLE OF CONTENTS: .index_page_bp-about .bp-changelog h4, .dashboard_page_bp-about .bp-changelog h4 { - font-size: 1.15em; - margin-top: 1.5em; - margin-bottom: 0.6em; + font-size: 1em; + margin-bottom: 0; + margin-top: 0; } .index_page_bp-about .bp-changelog p, .dashboard_page_bp-about .bp-changelog p { - font-size: 1.05em; - margin-top: 0.75em; + margin-bottom: 3em; +} + +.bp-changelog-url { + text-align: center; } .bp-assets { clear: both; margin-bottom: 2em; - padding-top: 3em; } @media screen and ( max-width: 782px ) { .index_page_bp-about .bp-headline-feature, .dashboard_page_bp-about .bp-headline-feature { - max-width: 100%; - } - .index_page_bp-about .bp-headline-feature .headline-title, - .dashboard_page_bp-about .bp-headline-feature .headline-title { - font-size: 1.5em; - line-height: 1.5; + padding: 0; } - .index_page_bp-about .bp-headline-feature p, - .dashboard_page_bp-about .bp-headline-feature p { - max-width: 100%; + .index_page_bp-about .bp-headline, + .dashboard_page_bp-about .bp-headline { + margin: 0; + width: 97%; } .index_page_bp-about .bp-features-section, .dashboard_page_bp-about .bp-features-section { + clear: both; margin-bottom: 0; margin-top: 2em; } @@ -255,6 +275,8 @@ TABLE OF CONTENTS: font-size: 1.8em; font-weight: 300; line-height: 1.5; + margin-bottom: 0.5em; + margin-top: 0.5em; } .index_page_bp-about .bp-features-section h4, .dashboard_page_bp-about .bp-features-section h4, @@ -267,8 +289,17 @@ TABLE OF CONTENTS: } .index_page_bp-about .bp-feature, .dashboard_page_bp-about .bp-feature { + clear: both; + float: right; margin-bottom: 1em; margin-top: 1em; + margin-left: 0; + padding-left: 1em; + width: 100%; + } + .index_page_bp-about .bp-feature span, + .dashboard_page_bp-about .bp-feature span { + margin-top: 0.33em; } .index_page_bp-about .bp-feature h4, .dashboard_page_bp-about .bp-feature h4, @@ -282,19 +313,22 @@ TABLE OF CONTENTS: .dashboard_page_bp-about .bp-feature.opposite p { float: none; } - .index_page_bp-about .bp-feature img, - .dashboard_page_bp-about .bp-feature img { - clear: right; - float: none; - margin-right: 0; - width: 100%; - max-width: 100%; + .index_page_bp-about .bp-changelog-section, + .dashboard_page_bp-about .bp-changelog-section { + clear: both; + margin-bottom: 2em; } - .index_page_bp-about .bp-feature.opposite img, - .dashboard_page_bp-about .bp-feature.opposite img{ - clear: right; - float: none; - margin-left: 0; + .index_page_bp-about .bp-changelog-section .changelog-title, + .dashboard_page_bp-about .bp-changelog-section .changelog-title { + margin-bottom: 1em; + } + .index_page_bp-about .bp-changelog h4, + .dashboard_page_bp-about .bp-changelog h4 { + font-size: 1em; + } + .index_page_bp-about .bp-changelog p, + .dashboard_page_bp-about .bp-changelog p { + margin-bottom: 2em; } .index_page_bp-about .bp-changelog-section .two-col > div, .dashboard_page_bp-about .bp-changelog-section .two-col > div { @@ -303,8 +337,58 @@ TABLE OF CONTENTS: width: 100%; } } - - +@media screen and ( max-width: 360px ) { + .index_page_bp-about .bp-headline, + .dashboard_page_bp-about .bp-headline { + text-align: center; + } + .index_page_bp-about .bp-headline span.dashicons, + .dashboard_page_bp-about .bp-headline span.dashicons { + clear: none; + font-size: 80px; + float: none; + height: 80px; + line-height: 80px; + margin: 0 auto; + width: 80px; + } + .index_page_bp-about .bp-headline-feature h3, + .index_page_bp-about .bp-headline-feature .headline-title, + .dashboard_page_bp-about .bp-headline-feature h3, + .dashboard_page_bp-about .bp-headline-feature .headline-title { + margin: 1em 0 0 0; + text-align: right; + } + .index_page_bp-about .bp-headline-feature p, + .dashboard_page_bp-about .bp-headline-feature p { + margin: 1.15em 0 0.6em auto; + text-align: right; + } + .index_page_bp-about .bp-headline-feature .headline-title, + .dashboard_page_bp-about .bp-headline-feature .headline-title { + font-size: 1.5em; + line-height: 1.5; + } + .index_page_bp-about .bp-headline-feature p, + .dashboard_page_bp-about .bp-headline-feature p { + width: auto; + } + .index_page_bp-about .bp-feature, + .dashboard_page_bp-about .bp-feature { + text-align: center; + } + .index_page_bp-about span.dashicons, + .dashboard_page_bp-about span.dashicons { + float: none; + } + .index_page_bp-about .bp-features-section h4, + .dashboard_page_bp-about .bp-features-section h4, + .index_page_bp-about .bp-features-section p, + .dashboard_page_bp-about .bp-features-section p { + margin-right: 0; + text-align: right; + } +} /*------------------------------------------------------------------------------ * 2.0 Dashicons *----------------------------------------------------------------------------*/ @@ -491,3 +575,60 @@ body.post-type-bp-email .categorydiv label { padding-right: 25px; text-indent: -25px; } + +/*------------------------------------------------------------------------------ + * 5.0 Tools - BuddyPress + *----------------------------------------------------------------------------*/ +.tools_page_bp-tools .wrap { + max-width: 950px; +} + +.tools_page_bp-tools p { + line-height: 2; +} + +.tools_page_bp-tools fieldset { + margin: 2em 0 0; +} + +.tools_page_bp-tools legend { + color: #23282d; + font-size: 1.3em; + font-weight: 600px; + margin: 1em 0; +} + +.tools_page_bp-tools label { + clear: right; + display: block; + line-height: 1.5em; + margin: 0 0 1em; + vertical-align: middle; +} + +@media screen and (max-width: 782px) { + .tools_page_bp-tools p { + line-height: 1.5; + } + .tools_page_bp-tools label { + margin-bottom: 1em; + padding-left: 25px; + text-indent: -33px; + } + .tools_page_bp-tools .checkbox { + padding: 0 30px 0 0; + } +} + + +/*------------------------------------------------------------------------------ + * 6.0 Plugins page + *----------------------------------------------------------------------------*/ +#buddypress-update.not-shiny .update-message { + border-right: 0; + padding-right: 36px; +} + +#buddypress-update.not-shiny .update-message:before { + content: "\f534"; +} diff --git a/wp-content/plugins/buddypress/bp-core/admin/css/common-rtl.min.css b/wp-content/plugins/buddypress/bp-core/admin/css/common-rtl.min.css index 4a0a9f504d92f4e481a742770b04cffb0a993629..a1d0dc3c9b6b2488bdbf91d0a327021768aa0103 100644 --- a/wp-content/plugins/buddypress/bp-core/admin/css/common-rtl.min.css +++ b/wp-content/plugins/buddypress/bp-core/admin/css/common-rtl.min.css @@ -1 +1 @@ -.bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.dashboard_page_bp-about .bp-changelog-section::after,.dashboard_page_bp-about .bp-feature::after,.index_page_bp-about .bp-changelog-section::after,.index_page_bp-about .bp-feature::after{content:''}.about-wrap .bp-badge{position:absolute;top:0;left:0}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;left:auto}}.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{margin-bottom:3em;text-align:center}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{font-size:2.2em;line-height:1.3;margin:1.25em 0 .6em;text-align:center}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{font-size:1.15em;margin:1.15em auto .6em;max-width:80%}.dashboard_page_bp-about .bp-headline-feature .introduction,.index_page_bp-about .bp-headline-feature .introduction{font-weight:600}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-bottom:2em;margin-top:2em;padding-bottom:0}.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:400;line-height:1.5em;margin:0 0 .6em;text-align:center}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{clear:both;overflow:hidden;margin-bottom:3em;margin-top:3em}.dashboard_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature h4{color:#23282d;display:inline-block;font-size:1.25em;margin-bottom:.6em;margin-top:0;width:47%}.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature p{float:right;font-size:1.15em;width:47%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:left}.dashboard_page_bp-about .bp-feature img,.index_page_bp-about .bp-feature img{clear:left;float:left;margin-right:2.5%;width:50%;max-width:50%}.dashboard_page_bp-about .bp-feature.opposite img,.index_page_bp-about .bp-feature.opposite img{clear:right;float:right;margin-right:0;margin-left:2.5%}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{border-top:1px solid #ccc;clear:both;margin-bottom:3em;margin-top:2em;padding-bottom:0}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{color:#23282d;font-size:1.8em;font-weight:300;line-height:1.5;margin:1.25em 0 .6em;text-align:center}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{float:right;margin-left:4.799999999%;position:relative;width:47.6%}.dashboard_page_bp-about .bp-changelog-section .two-col>div.last-feature,.index_page_bp-about .bp-changelog-section .two-col>div.last-feature{margin-left:0}.dashboard_page_bp-about .bp-changelog,.index_page_bp-about .bp-changelog{margin-bottom:3em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1.15em;margin-top:1.5em;margin-bottom:.6em}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{font-size:1.05em;margin-top:.75em}.bp-assets{clear:both;margin-bottom:2em;padding-top:3em}@media screen and (max-width:782px){.dashboard_page_bp-about .bp-headline-feature,.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature p{max-width:100%}.dashboard_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{margin-bottom:0;margin-top:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:300;line-height:1.5}.dashboard_page_bp-about .bp-changelog-section h4,.dashboard_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-changelog-section h4,.index_page_bp-about .bp-features-section h4{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:right}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{margin-bottom:1em;margin-top:1em}.dashboard_page_bp-about .bp-feature h4,.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature p{width:100%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:none}.dashboard_page_bp-about .bp-feature img,.index_page_bp-about .bp-feature img{clear:right;float:none;margin-right:0;width:100%;max-width:100%}.dashboard_page_bp-about .bp-feature.opposite img,.index_page_bp-about .bp-feature.opposite img{clear:right;float:none;margin-left:0}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:right;width:18px;height:18px;margin-left:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.post-type-bp-email th#situation,body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:right;padding-right:25px;text-indent:-25px} \ No newline at end of file +.bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.dashboard_page_bp-about .bp-changelog-section::after,.dashboard_page_bp-about .bp-feature::after,.index_page_bp-about .bp-changelog-section::after,.index_page_bp-about .bp-feature::after{content:''}.about-wrap .bp-badge{position:absolute;top:0;left:0}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;left:auto}}.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{margin-bottom:3em;margin-top:3em;padding:2em 3em}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0 auto;width:35em}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{background-color:#f1f1f1;clear:right;font-size:100px;float:right;height:100px;line-height:100px;margin:0 0 15px 15px;text-align:center;width:100px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{font-size:2.2em;font-weight:300;line-height:1;margin:0 125px 0 0}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{font-size:1.15em;margin:1.15em 125px .6em auto}.dashboard_page_bp-about .bp-headline-feature .introduction,.index_page_bp-about .bp-headline-feature .introduction{font-weight:600}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{background-color:#fff;border-radius:50%;clear:right;color:#d84800;font-size:50px;float:right;height:80px;line-height:80px;margin:0 0 15px 15px;text-align:center;width:80px}.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-features-section h3{font-size:2em;font-weight:300;line-height:1.5;margin:0 auto 3em;text-align:center}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{float:right;margin-bottom:3em;margin-left:4.799999999%;width:47.6%}.dashboard_page_bp-about .bp-feature code,.index_page_bp-about .bp-feature code{font-size:.95em;line-height:1.5}.dashboard_page_bp-about .bp-feature:nth-of-type(2n),.index_page_bp-about .bp-feature:nth-of-type(2n){margin-left:0}.dashboard_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature h4{font-size:1.25em;line-height:1.5;margin-bottom:0;margin-right:110px;margin-top:0;text-align:right}.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature p{margin-right:110px}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:8em;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{color:#23282d;font-size:1.8em;font-weight:300;line-height:1.5;margin:0 auto .5em;text-align:center}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{float:right;margin-left:4.799999999%;position:relative;width:47.6%}.dashboard_page_bp-about .bp-changelog-section .two-col>div.last-feature,.index_page_bp-about .bp-changelog-section .two-col>div.last-feature{margin-left:0}.dashboard_page_bp-about .bp-changelog,.index_page_bp-about .bp-changelog{margin-bottom:3em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em;margin-bottom:0;margin-top:0}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:3em}.bp-changelog-url{text-align:center}.bp-assets{clear:both;margin-bottom:2em}@media screen and (max-width:782px){.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{padding:0}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0;width:97%}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-bottom:0;margin-top:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:300;line-height:1.5;margin-bottom:.5em;margin-top:.5em}.dashboard_page_bp-about .bp-changelog-section h4,.dashboard_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-changelog-section h4,.index_page_bp-about .bp-features-section h4{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:right}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{clear:both;float:right;margin-bottom:1em;margin-top:1em;margin-left:0;padding-left:1em;width:100%}.dashboard_page_bp-about .bp-feature span,.index_page_bp-about .bp-feature span{margin-top:.33em}.dashboard_page_bp-about .bp-feature h4,.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature p{width:100%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:none}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{margin-bottom:1em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}@media screen and (max-width:360px){.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{text-align:center}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{clear:none;font-size:80px;float:none;height:80px;line-height:80px;margin:0 auto;width:80px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{margin:1em 0 0;text-align:right}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{margin:1.15em 0 .6em auto;text-align:right;width:auto}.dashboard_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{text-align:center}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{float:none}.dashboard_page_bp-about .bp-features-section h4,.dashboard_page_bp-about .bp-features-section p,.index_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-features-section p{margin-right:0;text-align:right}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:right;width:18px;height:18px;margin-left:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.post-type-bp-email th#situation,body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:right;padding-right:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600px;margin:1em 0}.tools_page_bp-tools label{clear:right;display:block;line-height:1.5em;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-left:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 30px 0 0}}#buddypress-update.not-shiny .update-message{border-right:0;padding-right:36px}#buddypress-update.not-shiny .update-message:before{content:"\f534"} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/admin/css/common.css b/wp-content/plugins/buddypress/bp-core/admin/css/common.css index c7be0038cfd9e3a4c62a1367dffc94bff2fe8376..ec2b48d6bf3c84fa2435bb6f4d87a4db7bb6a3ae 100644 --- a/wp-content/plugins/buddypress/bp-core/admin/css/common.css +++ b/wp-content/plugins/buddypress/bp-core/admin/css/common.css @@ -20,6 +20,8 @@ TABLE OF CONTENTS: 2.3 Tools 3.0 User's Lists 4.0 Emails - Edit page +5.0 Tools - BuddyPress +6.0 Plugins page ------------------------------------------------------------------------------*/ /*------------------------------------------------------------------------------ @@ -64,7 +66,27 @@ TABLE OF CONTENTS: .index_page_bp-about .bp-headline-feature, .dashboard_page_bp-about .bp-headline-feature { margin-bottom: 3em; + margin-top: 3em; + padding: 2em 3em; +} + +.index_page_bp-about .bp-headline, +.dashboard_page_bp-about .bp-headline { + margin: 0 auto; + width: 35em; +} + +.index_page_bp-about .bp-headline span.dashicons, +.dashboard_page_bp-about .bp-headline span.dashicons { + background-color: #f1f1f1; + clear: left; + font-size: 100px; + float: left; + height: 100px; + line-height: 100px; + margin: 0 15px 15px 0 ; text-align: center; + width: 100px; } .index_page_bp-about .bp-headline-feature h3, @@ -72,16 +94,15 @@ TABLE OF CONTENTS: .dashboard_page_bp-about .bp-headline-feature h3, .dashboard_page_bp-about .bp-headline-feature .headline-title { font-size: 2.2em; - line-height: 1.3; - margin: 1.25em 0 0.6em; - text-align: center; + font-weight: 300; + line-height: 1; + margin: 0 0 0 125px; } .index_page_bp-about .bp-headline-feature p, .dashboard_page_bp-about .bp-headline-feature p { font-size: 1.15em; - margin: 1.15em auto 0.6em; - max-width: 80%; + margin: 1.15em auto 0.6em 125px; } .index_page_bp-about .bp-headline-feature .introduction, @@ -96,26 +117,53 @@ TABLE OF CONTENTS: .index_page_bp-about .bp-features-section, .dashboard_page_bp-about .bp-features-section { clear: both; - margin-bottom: 2em; - margin-top: 2em; + margin-top: 3em; + overflow: hidden; padding-bottom: 0; } +.index_page_bp-about span.dashicons, +.dashboard_page_bp-about span.dashicons { + background-color: #fff; + border-radius: 50%; + clear: left; + color: #d84800; + font-size: 50px; + float: left; + height: 80px; + line-height: 80px; + margin: 0 15px 15px 0 ; + text-align: center; + width: 80px; +} + .index_page_bp-about .bp-features-section h3, .dashboard_page_bp-about .bp-features-section h3 { - font-size: 1.8em; - font-weight: normal; - line-height: 1.5em; - margin: 0 0 0.6em; + font-size: 2em; + font-weight: 300; + line-height: 1.5; + margin: 0 auto 3em; text-align: center; } .index_page_bp-about .bp-feature, .dashboard_page_bp-about .bp-feature { - clear: both; - overflow: hidden; + float: left; margin-bottom: 3em; - margin-top: 3em; + margin-right: 4.799999999%; + width: 47.6%; +} + + +.index_page_bp-about .bp-feature code, +.dashboard_page_bp-about .bp-feature code{ + font-size: 0.95em; + line-height: 1.5; +} + +.index_page_bp-about .bp-feature:nth-of-type(2n), +.dashboard_page_bp-about .bp-feature:nth-of-type(2n) { + margin-right: 0; } .index_page_bp-about .bp-feature::after, @@ -125,55 +173,28 @@ TABLE OF CONTENTS: .index_page_bp-about .bp-feature h4, .dashboard_page_bp-about .bp-feature h4 { - color: #23282d; - display: inline-block; font-size: 1.25em; - margin-bottom: 0.6em; + line-height: 1.5; + margin-bottom: 0; + margin-left: 110px; margin-top: 0; - width: 47%; + text-align: left; } .index_page_bp-about .bp-feature p, .dashboard_page_bp-about .bp-feature p { - float: left; - font-size: 1.15em; - width: 47%; -} - -.index_page_bp-about .bp-feature.opposite h4, -.dashboard_page_bp-about .bp-feature.opposite h4, -.index_page_bp-about .bp-feature.opposite p, -.dashboard_page_bp-about .bp-feature.opposite p { - float: right; -} - -.index_page_bp-about .bp-feature img, -.dashboard_page_bp-about .bp-feature img { - clear: right; - float: right; - margin-left: 2.5%; - width: 50%; - max-width: 50%; -} - -.index_page_bp-about .bp-feature.opposite img, -.dashboard_page_bp-about .bp-feature.opposite img{ - clear: left; - float: left; - margin-left: 0; - margin-right: 2.5%; + margin-left: 110px; } - /* * 1.2.3 Changelog Section */ .index_page_bp-about .bp-changelog-section, .dashboard_page_bp-about .bp-changelog-section { - border-top: 1px solid #ccc; clear: both; - margin-bottom: 3em; - margin-top: 2em; + margin-bottom: 8em; + margin-top: 3em; + overflow: hidden; padding-bottom: 0; } @@ -188,7 +209,7 @@ TABLE OF CONTENTS: font-size: 1.8em; font-weight: 300; line-height: 1.5; - margin: 1.25em 0 0.6em; + margin: 0 auto 0.5em; text-align: center; } @@ -212,39 +233,38 @@ TABLE OF CONTENTS: .index_page_bp-about .bp-changelog h4, .dashboard_page_bp-about .bp-changelog h4 { - font-size: 1.15em; - margin-top: 1.5em; - margin-bottom: 0.6em; + font-size: 1em; + margin-bottom: 0; + margin-top: 0; } .index_page_bp-about .bp-changelog p, .dashboard_page_bp-about .bp-changelog p { - font-size: 1.05em; - margin-top: 0.75em; + margin-bottom: 3em; +} + +.bp-changelog-url { + text-align: center; } .bp-assets { clear: both; margin-bottom: 2em; - padding-top: 3em; } @media screen and ( max-width: 782px ) { .index_page_bp-about .bp-headline-feature, .dashboard_page_bp-about .bp-headline-feature { - max-width: 100%; - } - .index_page_bp-about .bp-headline-feature .headline-title, - .dashboard_page_bp-about .bp-headline-feature .headline-title { - font-size: 1.5em; - line-height: 1.5; + padding: 0; } - .index_page_bp-about .bp-headline-feature p, - .dashboard_page_bp-about .bp-headline-feature p { - max-width: 100%; + .index_page_bp-about .bp-headline, + .dashboard_page_bp-about .bp-headline { + margin: 0; + width: 97%; } .index_page_bp-about .bp-features-section, .dashboard_page_bp-about .bp-features-section { + clear: both; margin-bottom: 0; margin-top: 2em; } @@ -255,6 +275,8 @@ TABLE OF CONTENTS: font-size: 1.8em; font-weight: 300; line-height: 1.5; + margin-bottom: 0.5em; + margin-top: 0.5em; } .index_page_bp-about .bp-features-section h4, .dashboard_page_bp-about .bp-features-section h4, @@ -267,8 +289,17 @@ TABLE OF CONTENTS: } .index_page_bp-about .bp-feature, .dashboard_page_bp-about .bp-feature { + clear: both; + float: left; margin-bottom: 1em; margin-top: 1em; + margin-right: 0; + padding-right: 1em; + width: 100%; + } + .index_page_bp-about .bp-feature span, + .dashboard_page_bp-about .bp-feature span { + margin-top: 0.33em; } .index_page_bp-about .bp-feature h4, .dashboard_page_bp-about .bp-feature h4, @@ -282,19 +313,22 @@ TABLE OF CONTENTS: .dashboard_page_bp-about .bp-feature.opposite p { float: none; } - .index_page_bp-about .bp-feature img, - .dashboard_page_bp-about .bp-feature img { - clear: left; - float: none; - margin-left: 0; - width: 100%; - max-width: 100%; + .index_page_bp-about .bp-changelog-section, + .dashboard_page_bp-about .bp-changelog-section { + clear: both; + margin-bottom: 2em; } - .index_page_bp-about .bp-feature.opposite img, - .dashboard_page_bp-about .bp-feature.opposite img{ - clear: left; - float: none; - margin-right: 0; + .index_page_bp-about .bp-changelog-section .changelog-title, + .dashboard_page_bp-about .bp-changelog-section .changelog-title { + margin-bottom: 1em; + } + .index_page_bp-about .bp-changelog h4, + .dashboard_page_bp-about .bp-changelog h4 { + font-size: 1em; + } + .index_page_bp-about .bp-changelog p, + .dashboard_page_bp-about .bp-changelog p { + margin-bottom: 2em; } .index_page_bp-about .bp-changelog-section .two-col > div, .dashboard_page_bp-about .bp-changelog-section .two-col > div { @@ -303,8 +337,58 @@ TABLE OF CONTENTS: width: 100%; } } - - +@media screen and ( max-width: 360px ) { + .index_page_bp-about .bp-headline, + .dashboard_page_bp-about .bp-headline { + text-align: center; + } + .index_page_bp-about .bp-headline span.dashicons, + .dashboard_page_bp-about .bp-headline span.dashicons { + clear: none; + font-size: 80px; + float: none; + height: 80px; + line-height: 80px; + margin: 0 auto; + width: 80px; + } + .index_page_bp-about .bp-headline-feature h3, + .index_page_bp-about .bp-headline-feature .headline-title, + .dashboard_page_bp-about .bp-headline-feature h3, + .dashboard_page_bp-about .bp-headline-feature .headline-title { + margin: 1em 0 0 0; + text-align: left; + } + .index_page_bp-about .bp-headline-feature p, + .dashboard_page_bp-about .bp-headline-feature p { + margin: 1.15em auto 0.6em 0; + text-align: left; + } + .index_page_bp-about .bp-headline-feature .headline-title, + .dashboard_page_bp-about .bp-headline-feature .headline-title { + font-size: 1.5em; + line-height: 1.5; + } + .index_page_bp-about .bp-headline-feature p, + .dashboard_page_bp-about .bp-headline-feature p { + width: auto; + } + .index_page_bp-about .bp-feature, + .dashboard_page_bp-about .bp-feature { + text-align: center; + } + .index_page_bp-about span.dashicons, + .dashboard_page_bp-about span.dashicons { + float: none; + } + .index_page_bp-about .bp-features-section h4, + .dashboard_page_bp-about .bp-features-section h4, + .index_page_bp-about .bp-features-section p, + .dashboard_page_bp-about .bp-features-section p { + margin-left: 0; + text-align: left; + } +} /*------------------------------------------------------------------------------ * 2.0 Dashicons *----------------------------------------------------------------------------*/ @@ -491,3 +575,60 @@ body.post-type-bp-email .categorydiv label { padding-left: 25px; text-indent: -25px; } + +/*------------------------------------------------------------------------------ + * 5.0 Tools - BuddyPress + *----------------------------------------------------------------------------*/ +.tools_page_bp-tools .wrap { + max-width: 950px; +} + +.tools_page_bp-tools p { + line-height: 2; +} + +.tools_page_bp-tools fieldset { + margin: 2em 0 0; +} + +.tools_page_bp-tools legend { + color: #23282d; + font-size: 1.3em; + font-weight: 600px; + margin: 1em 0; +} + +.tools_page_bp-tools label { + clear: left; + display: block; + line-height: 1.5em; + margin: 0 0 1em; + vertical-align: middle; +} + +@media screen and (max-width: 782px) { + .tools_page_bp-tools p { + line-height: 1.5; + } + .tools_page_bp-tools label { + margin-bottom: 1em; + padding-right: 25px; + text-indent: -33px; + } + .tools_page_bp-tools .checkbox { + padding: 0 0 0 30px; + } +} + + +/*------------------------------------------------------------------------------ + * 6.0 Plugins page + *----------------------------------------------------------------------------*/ +#buddypress-update.not-shiny .update-message { + border-left: 0; + padding-left: 36px; +} + +#buddypress-update.not-shiny .update-message:before { + content: "\f534"; +} diff --git a/wp-content/plugins/buddypress/bp-core/admin/css/common.min.css b/wp-content/plugins/buddypress/bp-core/admin/css/common.min.css index d96106467f061a6b4c9636f0ca0e97611233069b..93252a6e358e2ee696d5db75de8e7646388695cb 100644 --- a/wp-content/plugins/buddypress/bp-core/admin/css/common.min.css +++ b/wp-content/plugins/buddypress/bp-core/admin/css/common.min.css @@ -1 +1 @@ -.bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.dashboard_page_bp-about .bp-changelog-section::after,.dashboard_page_bp-about .bp-feature::after,.index_page_bp-about .bp-changelog-section::after,.index_page_bp-about .bp-feature::after{content:''}.about-wrap .bp-badge{position:absolute;top:0;right:0}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;right:auto}}.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{margin-bottom:3em;text-align:center}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{font-size:2.2em;line-height:1.3;margin:1.25em 0 .6em;text-align:center}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{font-size:1.15em;margin:1.15em auto .6em;max-width:80%}.dashboard_page_bp-about .bp-headline-feature .introduction,.index_page_bp-about .bp-headline-feature .introduction{font-weight:600}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-bottom:2em;margin-top:2em;padding-bottom:0}.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:400;line-height:1.5em;margin:0 0 .6em;text-align:center}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{clear:both;overflow:hidden;margin-bottom:3em;margin-top:3em}.dashboard_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature h4{color:#23282d;display:inline-block;font-size:1.25em;margin-bottom:.6em;margin-top:0;width:47%}.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature p{float:left;font-size:1.15em;width:47%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:right}.dashboard_page_bp-about .bp-feature img,.index_page_bp-about .bp-feature img{clear:right;float:right;margin-left:2.5%;width:50%;max-width:50%}.dashboard_page_bp-about .bp-feature.opposite img,.index_page_bp-about .bp-feature.opposite img{clear:left;float:left;margin-left:0;margin-right:2.5%}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{border-top:1px solid #ccc;clear:both;margin-bottom:3em;margin-top:2em;padding-bottom:0}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{color:#23282d;font-size:1.8em;font-weight:300;line-height:1.5;margin:1.25em 0 .6em;text-align:center}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{float:left;margin-right:4.799999999%;position:relative;width:47.6%}.dashboard_page_bp-about .bp-changelog-section .two-col>div.last-feature,.index_page_bp-about .bp-changelog-section .two-col>div.last-feature{margin-right:0}.dashboard_page_bp-about .bp-changelog,.index_page_bp-about .bp-changelog{margin-bottom:3em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1.15em;margin-top:1.5em;margin-bottom:.6em}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{font-size:1.05em;margin-top:.75em}.bp-assets{clear:both;margin-bottom:2em;padding-top:3em}@media screen and (max-width:782px){.dashboard_page_bp-about .bp-headline-feature,.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature p{max-width:100%}.dashboard_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{margin-bottom:0;margin-top:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:300;line-height:1.5}.dashboard_page_bp-about .bp-changelog-section h4,.dashboard_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-changelog-section h4,.index_page_bp-about .bp-features-section h4{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:left}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{margin-bottom:1em;margin-top:1em}.dashboard_page_bp-about .bp-feature h4,.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature p{width:100%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:none}.dashboard_page_bp-about .bp-feature img,.index_page_bp-about .bp-feature img{clear:left;float:none;margin-left:0;width:100%;max-width:100%}.dashboard_page_bp-about .bp-feature.opposite img,.index_page_bp-about .bp-feature.opposite img{clear:left;float:none;margin-right:0}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:left;width:18px;height:18px;margin-right:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.post-type-bp-email th#situation,body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:left;padding-left:25px;text-indent:-25px} \ No newline at end of file +.bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.dashboard_page_bp-about .bp-changelog-section::after,.dashboard_page_bp-about .bp-feature::after,.index_page_bp-about .bp-changelog-section::after,.index_page_bp-about .bp-feature::after{content:''}.about-wrap .bp-badge{position:absolute;top:0;right:0}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;right:auto}}.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{margin-bottom:3em;margin-top:3em;padding:2em 3em}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0 auto;width:35em}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{background-color:#f1f1f1;clear:left;font-size:100px;float:left;height:100px;line-height:100px;margin:0 15px 15px 0;text-align:center;width:100px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{font-size:2.2em;font-weight:300;line-height:1;margin:0 0 0 125px}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{font-size:1.15em;margin:1.15em auto .6em 125px}.dashboard_page_bp-about .bp-headline-feature .introduction,.index_page_bp-about .bp-headline-feature .introduction{font-weight:600}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{background-color:#fff;border-radius:50%;clear:left;color:#d84800;font-size:50px;float:left;height:80px;line-height:80px;margin:0 15px 15px 0;text-align:center;width:80px}.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-features-section h3{font-size:2em;font-weight:300;line-height:1.5;margin:0 auto 3em;text-align:center}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{float:left;margin-bottom:3em;margin-right:4.799999999%;width:47.6%}.dashboard_page_bp-about .bp-feature code,.index_page_bp-about .bp-feature code{font-size:.95em;line-height:1.5}.dashboard_page_bp-about .bp-feature:nth-of-type(2n),.index_page_bp-about .bp-feature:nth-of-type(2n){margin-right:0}.dashboard_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature h4{font-size:1.25em;line-height:1.5;margin-bottom:0;margin-left:110px;margin-top:0;text-align:left}.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature p{margin-left:110px}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:8em;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{color:#23282d;font-size:1.8em;font-weight:300;line-height:1.5;margin:0 auto .5em;text-align:center}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{float:left;margin-right:4.799999999%;position:relative;width:47.6%}.dashboard_page_bp-about .bp-changelog-section .two-col>div.last-feature,.index_page_bp-about .bp-changelog-section .two-col>div.last-feature{margin-right:0}.dashboard_page_bp-about .bp-changelog,.index_page_bp-about .bp-changelog{margin-bottom:3em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em;margin-bottom:0;margin-top:0}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:3em}.bp-changelog-url{text-align:center}.bp-assets{clear:both;margin-bottom:2em}@media screen and (max-width:782px){.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{padding:0}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0;width:97%}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-bottom:0;margin-top:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:300;line-height:1.5;margin-bottom:.5em;margin-top:.5em}.dashboard_page_bp-about .bp-changelog-section h4,.dashboard_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-changelog-section h4,.index_page_bp-about .bp-features-section h4{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:left}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{clear:both;float:left;margin-bottom:1em;margin-top:1em;margin-right:0;padding-right:1em;width:100%}.dashboard_page_bp-about .bp-feature span,.index_page_bp-about .bp-feature span{margin-top:.33em}.dashboard_page_bp-about .bp-feature h4,.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature p{width:100%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:none}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{margin-bottom:1em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}@media screen and (max-width:360px){.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{text-align:center}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{clear:none;font-size:80px;float:none;height:80px;line-height:80px;margin:0 auto;width:80px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{margin:1em 0 0;text-align:left}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{margin:1.15em auto .6em 0;text-align:left;width:auto}.dashboard_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{text-align:center}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{float:none}.dashboard_page_bp-about .bp-features-section h4,.dashboard_page_bp-about .bp-features-section p,.index_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-features-section p{margin-left:0;text-align:left}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:left;width:18px;height:18px;margin-right:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.post-type-bp-email th#situation,body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:left;padding-left:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600px;margin:1em 0}.tools_page_bp-tools label{clear:left;display:block;line-height:1.5em;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-right:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 0 0 30px}}#buddypress-update.not-shiny .update-message{border-left:0;padding-left:36px}#buddypress-update.not-shiny .update-message:before{content:"\f534"} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/admin/js/dismissible-admin-notices.js b/wp-content/plugins/buddypress/bp-core/admin/js/dismissible-admin-notices.js new file mode 100644 index 0000000000000000000000000000000000000000..ec7419be207a1242b98a3a2795e9cee7374e8527 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/admin/js/dismissible-admin-notices.js @@ -0,0 +1,16 @@ +(function($){ + $(document).ready(function() { + $( '.bp-is-dismissible .notice-dismiss' ).click( function() { + var $notice = $( this ).closest( '.notice' ); + var notice_id = $notice.data( 'noticeid' ); + $.post( { + url: ajaxurl, + data: { + action: 'bp_dismiss_notice', + nonce: $( '#bp-dismissible-nonce-' + notice_id ).val(), + notice_id: $notice.data( 'noticeid' ) + } + } ); + } ); + }); +}(jQuery)); diff --git a/wp-content/plugins/buddypress/bp-core/admin/js/dismissible-admin-notices.min.js b/wp-content/plugins/buddypress/bp-core/admin/js/dismissible-admin-notices.min.js new file mode 100644 index 0000000000000000000000000000000000000000..63bd7362483e94d0ce1d7bf0e5b6d19da66c81a9 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/admin/js/dismissible-admin-notices.min.js @@ -0,0 +1 @@ +!function(a){a(document).ready(function(){a(".bp-is-dismissible .notice-dismiss").click(function(){var b=a(this).closest(".notice"),c=b.data("noticeid");a.post({url:ajaxurl,data:{action:"bp_dismiss_notice",nonce:a("#bp-dismissible-nonce-"+c).val(),notice_id:b.data("noticeid")}})})})}(jQuery); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-actions.php b/wp-content/plugins/buddypress/bp-core/bp-core-actions.php index b4478a12681813f02e57d33dc90d9c8d339f37b5..d8fc1d6ffa6c1fe95e22c8729cb5c38ea1406904 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-actions.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-actions.php @@ -29,7 +29,7 @@ defined( 'ABSPATH' ) || exit; * near the bottom of this file. * * v--WordPress Actions v--BuddyPress Sub-actions - */ + */ add_action( 'plugins_loaded', 'bp_loaded', 10 ); add_action( 'init', 'bp_init', 10 ); add_action( 'rest_api_init', 'bp_rest_api_init', 20 ); // After WP core. @@ -57,7 +57,6 @@ add_action( 'bp_loaded', 'bp_setup_components', 2 ); add_action( 'bp_loaded', 'bp_include', 4 ); add_action( 'bp_loaded', 'bp_setup_cache_groups', 5 ); add_action( 'bp_loaded', 'bp_setup_widgets', 6 ); -add_action( 'bp_loaded', 'bp_register_member_types', 8 ); add_action( 'bp_loaded', 'bp_register_theme_packages', 12 ); add_action( 'bp_loaded', 'bp_register_theme_directory', 14 ); @@ -68,9 +67,9 @@ add_action( 'bp_loaded', 'bp_register_theme_directory', 14 ); * The load order helps to execute code at the correct time. * v---Load order */ +add_action( 'bp_init', 'bp_register_post_types', 2 ); +add_action( 'bp_init', 'bp_register_taxonomies', 2 ); add_action( 'bp_init', 'bp_core_set_uri_globals', 2 ); -add_action( 'bp_init', 'bp_register_post_types', 3 ); -add_action( 'bp_init', 'bp_register_taxonomies', 3 ); add_action( 'bp_init', 'bp_setup_globals', 4 ); add_action( 'bp_init', 'bp_setup_canonical_stack', 5 ); add_action( 'bp_init', 'bp_setup_nav', 6 ); @@ -80,6 +79,11 @@ add_action( 'bp_init', 'bp_add_rewrite_tags', 20 ); add_action( 'bp_init', 'bp_add_rewrite_rules', 30 ); add_action( 'bp_init', 'bp_add_permastructs', 40 ); +/** + * The bp_register_taxonomies hook - Attached to 'bp_init' @ priority 2 above. + */ +add_action( 'bp_register_taxonomies', 'bp_register_member_types' ); + /** * The bp_template_redirect hook - Attached to 'template_redirect' above. * @@ -110,3 +114,6 @@ if ( is_admin() ) { // Activation redirect. add_action( 'bp_activation', 'bp_add_activation_redirect' ); + +// Email unsubscribe. +add_action( 'bp_get_request_unsubscribe', 'bp_email_unsubscribe_handler' ); diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-admin.php b/wp-content/plugins/buddypress/bp-core/bp-core-admin.php index 71a8e5db99651afbc0d2b28630bfa0c2e849b8d3..b2210e503bb7915eba1f7053ce48def0a1e9c34c 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-admin.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-admin.php @@ -30,25 +30,33 @@ function bp_admin() { _n_noop( 'Security Release', 'Security Releases', 'buddypress' ); _n_noop( 'Maintenance and Security Release', 'Maintenance and Security Releases', 'buddypress' ); - /* translators: 1: WordPress version number. */ - _n_noop( '<strong>Version %1$s</strong> addressed a security issue.', - '<strong>Version %1$s</strong> addressed some security issues.', - 'buddypress' ); - - /* translators: 1: WordPress version number, 2: plural number of bugs. */ - _n_noop( '<strong>Version %1$s</strong> addressed %2$s bug.', - '<strong>Version %1$s</strong> addressed %2$s bugs.', - 'buddypress' ); - - /* translators: 1: WordPress version number, 2: plural number of bugs. Singular security issue. */ - _n_noop( '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.', - '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.', - 'buddypress' ); - - /* translators: 1: WordPress version number, 2: plural number of bugs. More than one security issue. */ - _n_noop( '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', - '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', - 'buddypress' ); + /* translators: 1: BuddyPress version number. */ + _n_noop( + '<strong>Version %1$s</strong> addressed a security issue.', + '<strong>Version %1$s</strong> addressed some security issues.', + 'buddypress' + ); + + /* translators: 1: BuddyPress version number, 2: plural number of bugs. */ + _n_noop( + '<strong>Version %1$s</strong> addressed %2$s bug.', + '<strong>Version %1$s</strong> addressed %2$s bugs.', + 'buddypress' + ); + + /* translators: 1: BuddyPress version number, 2: plural number of bugs. Singular security issue. */ + _n_noop( + '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.', + '<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.', + 'buddypress' + ); + + /* translators: 1: BuddyPress version number, 2: plural number of bugs. More than one security issue. */ + _n_noop( + '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.', + '<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.', + 'buddypress' + ); __( 'For more information, see <a href="%s">the release notes</a>.', 'buddypress' ); } diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-attachments.php b/wp-content/plugins/buddypress/bp-core/bp-core-attachments.php index 4f247990be1da866138ac5cde463244dbacc5005..d24bafc18cae1e6c1a1725fd89cfad702cf7e88c 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-attachments.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-attachments.php @@ -52,6 +52,11 @@ function bp_attachments_uploads_dir_get( $data = '' ) { foreach ( $upload_data as $key => $value ) { if ( 'basedir' === $key || 'baseurl' === $key ) { $upload_data[ $key ] = trailingslashit( $value ) . $attachments_dir; + + // Fix for HTTPS. + if ( 'baseurl' === $key && is_ssl() ) { + $upload_data[ $key ] = str_replace( 'http://', 'https://', $upload_data[ $key ] ); + } } else { unset( $upload_data[ $key ] ); } @@ -963,7 +968,7 @@ function bp_attachments_get_cover_image_settings( $component = 'xprofile' ) { * Eg: for the user's profile cover image use: * add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_filter', 10, 1 ); * - * @since 2.4.0 + * @since 2.4.0 * * @param array $settings The cover image settings */ @@ -990,7 +995,7 @@ function bp_attachments_get_cover_image_settings( $component = 'xprofile' ) { } /** - * Get cover image Width and Height + * Get cover image Width and Height. * * @since 2.4.0 * @@ -1242,10 +1247,7 @@ function bp_attachments_cover_image_ajax_upload() { if ( ! bp_get_current_group_id() && ! empty( $bp_params['item_id'] ) ) { $needs_reset = array( 'component' => 'groups', 'key' => 'current_group', 'value' => $bp->groups->current_group ); - $bp->groups->current_group = groups_get_group( array( - 'group_id' => $bp_params['item_id'], - 'populate_extras' => false, - ) ); + $bp->groups->current_group = groups_get_group( $bp_params['item_id'] ); } // Other object's cover image. diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php b/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php index 8022c765f4cd629d0ad6136da22e9cbd798f8ae9..75b76b6d8d052220bd7a330c51c351d312e85e1e 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php @@ -313,7 +313,7 @@ function bp_core_fetch_avatar( $args = '' ) { break; case 'group' : - $item_name = bp_get_group_name( groups_get_group( array( 'group_id' => $params['item_id'] ) ) ); + $item_name = bp_get_group_name( groups_get_group( $params['item_id'] ) ); break; case 'user' : @@ -648,7 +648,7 @@ function bp_core_fetch_avatar( $args = '' ) { * @since 2.6.0 * * @param string $default_grav The avatar default. - * @param array $params The avatar's data. + * @param array $params The avatar's data. */ $default_grav = apply_filters( 'bp_core_avatar_default', $default_grav, $params ); @@ -726,7 +726,7 @@ function bp_core_delete_existing_avatar( $args = '' ) { * * @since 2.5.1 * - * @param bool $value Whether or not to delete the avatar. + * @param bool $value Whether or not to delete the avatar. * @param array $args { * Array of function parameters. * @@ -805,7 +805,7 @@ function bp_core_delete_existing_avatar( $args = '' ) { * * @since 2.3.0 * - * @return string|null A json object containing success data if the avatar was deleted + * @return string|null A JSON object containing success data if the avatar was deleted, * error message otherwise. */ function bp_avatar_ajax_delete() { @@ -948,8 +948,8 @@ function bp_core_avatar_handle_upload( $file, $upload_dir_filter ) { * * @since 2.3.0 * - * @return string|null A json object containing success data if the upload succeeded - * error message otherwise. + * @return string|null A JSON object containing success data if the upload succeeded + * error message otherwise. */ function bp_avatar_ajax_upload() { // Bail if not a POST action. @@ -959,7 +959,7 @@ function bp_avatar_ajax_upload() { /** * Sending the json response will be different if - * the current Plupload runtime is html4 + * the current Plupload runtime is html4. */ $is_html4 = false; if ( ! empty( $_POST['html4' ] ) ) { @@ -1005,10 +1005,7 @@ function bp_avatar_ajax_upload() { if ( ! bp_get_current_group_id() && ! empty( $bp_params['item_id'] ) ) { $needs_reset = array( 'component' => 'groups', 'key' => 'current_group', 'value' => $bp->groups->current_group ); - $bp->groups->current_group = groups_get_group( array( - 'group_id' => $bp_params['item_id'], - 'populate_extras' => false, - ) ); + $bp->groups->current_group = groups_get_group( $bp_params['item_id'] ); } } else { /** @@ -1171,16 +1168,6 @@ function bp_avatar_handle_capture( $data = '', $item_id = 0 ) { /** * Crop an uploaded avatar. * - * $args has the following parameters: - * object - What component the avatar is for, e.g. "user" - * avatar_dir The absolute path to the avatar - * item_id - Item ID - * original_file - The absolute path to the original avatar file - * crop_w - Crop width - * crop_h - Crop height - * crop_x - The horizontal starting point of the crop - * crop_y - The vertical starting point of the crop - * * @since 1.1.0 * * @param array|string $args { @@ -1246,8 +1233,8 @@ function bp_core_avatar_handle_crop( $args = '' ) { * * @since 2.3.0 * - * @return string|null A json object containing success data if the crop/capture succeeded - * error message otherwise. + * @return string|null A JSON object containing success data if the crop/capture succeeded + * error message otherwise. */ function bp_avatar_ajax_set() { // Bail if not a POST action. @@ -1397,9 +1384,10 @@ add_action( 'wp_ajax_bp_avatar_set', 'bp_avatar_ajax_set' ); function bp_core_fetch_avatar_filter( $avatar, $user, $size, $default, $alt = '', $args = array() ) { global $pagenow; - // Do not filter if inside WordPress options page. - if ( 'options-discussion.php' == $pagenow ) + // Don't filter if inside WordPress options page and force_default is true. + if ( 'options-discussion.php' === $pagenow && true === $args['force_default'] ) { return $avatar; + } // If passed an object, assume $user->user_id. if ( is_object( $user ) ) { @@ -1511,6 +1499,8 @@ function bp_core_check_avatar_size( $file ) { * Get allowed avatar types. * * @since 2.3.0 + * + * @return array */ function bp_core_get_allowed_avatar_types() { $allowed_types = bp_attachments_get_allowed_types( 'avatar' ); @@ -1537,6 +1527,8 @@ function bp_core_get_allowed_avatar_types() { * Get allowed avatar mime types. * * @since 2.3.0 + * + * @return array */ function bp_core_get_allowed_avatar_mimes() { $allowed_types = bp_core_get_allowed_avatar_types(); @@ -1943,7 +1935,7 @@ function bp_core_avatar_default_thumb( $type = 'gravatar', $params = array() ) { * parameter of the WordPress main query to this posted var. To avoid * notices, we need to make sure this 'week' query var is reset to 0. * - * @since 2.2.0 + * @since 2.2.0 * * @param WP_Query|null $posts_query The main query object. */ @@ -1977,7 +1969,7 @@ add_action( 'bp_parse_query', 'bp_core_avatar_reset_query', 10, 1 ); /** * Checks whether Avatar UI should be loaded. * - * @since 2.3.0 + * @since 2.3.0 * * @return bool True if Avatar UI should load, false otherwise. */ @@ -2009,7 +2001,7 @@ function bp_avatar_is_front_edit() { * - Load the avatar UI for a component that is !groups or !user (return true regarding your conditions) * - Completely disable the avatar UI introduced in 2.3 (eg: __return_false()) * - * @since 2.3.0 + * @since 2.3.0 * * @param bool $retval Whether or not to load the Avatar UI. */ @@ -2019,7 +2011,7 @@ function bp_avatar_is_front_edit() { /** * Checks whether the Webcam Avatar UI part should be loaded. * - * @since 2.3.0 + * @since 2.3.0 * * @global $is_safari * @global $is_IE @@ -2040,7 +2032,7 @@ function bp_avatar_use_webcam() { /** * Bail when the browser does not support getUserMedia. * - * @see http://caniuse.com/#feat=stream + * @see http://caniuse.com/#feat=stream */ if ( $is_safari || $is_IE || ( $is_chrome && ! is_ssl() ) ) { return false; @@ -2060,7 +2052,7 @@ function bp_avatar_use_webcam() { /** * Template function to load the Avatar UI javascript templates. * - * @since 2.3.0 + * @since 2.3.0 */ function bp_avatar_get_templates() { if ( ! bp_avatar_is_front_edit() ) { @@ -2076,7 +2068,7 @@ function bp_avatar_get_templates() { * If the "avatar templates" are not including the new template tag, this will * help users to get the avatar UI. * - * @since 2.3.0 + * @since 2.3.0 */ function bp_avatar_template_check() { if ( ! bp_avatar_is_front_edit() ) { diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-buddybar.php b/wp-content/plugins/buddypress/bp-core/bp-core-buddybar.php index 6829c039ea05b8fdd11c8f01600a9e1764a4f0e3..e9eee84e9ebdb2305cf891db150141a4a554a6c3 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-buddybar.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-buddybar.php @@ -33,7 +33,7 @@ defined( 'ABSPATH' ) || exit; * @type bool|string $default_subnav_slug Optional. The slug of the default subnav item to select when the nav * item is clicked. * } - * @param string $component The component the navigation is attached to. Defaults to 'members'. + * @param string $component The component the navigation is attached to. Defaults to 'members'. * @return bool|null Returns false on failure. */ function bp_core_new_nav_item( $args, $component = 'members' ) { @@ -107,7 +107,7 @@ function bp_core_new_nav_item( $args, $component = 'members' ) { * @type bool|string $default_subnav_slug Optional. The slug of the default subnav item to select when the nav * item is clicked. * } - * @param string $component Optional. Component that the nav belongs to. + * @param string $component Optional. Component that the nav belongs to. * @return bool|BP_Nav_Item Returns false on failure, new nav item on success. */ function bp_core_create_nav_link( $args = '', $component = 'members' ) { @@ -214,9 +214,9 @@ function bp_core_register_nav_screen_function( $args = '' ) { } /** - * If this is for site admins only and the user is not one, - * don't register this screen function. - */ + * If this is for site admins only and the user is not one, + * don't register this screen function. + */ if ( ! empty( $r['site_admin_only'] ) && ! bp_current_user_can( 'bp_moderate' ) ) { return false; } @@ -321,7 +321,7 @@ function bp_core_new_nav_default( $args = '' ) { } } - // Edit the screen function for the parent nav + // Edit the screen function for the parent nav. $bp->members->nav->edit_nav( array( 'screen_function' => &$r['screen_function'], 'default_subnav_slug' => $r['subnav_slug'], @@ -394,7 +394,7 @@ function bp_core_new_nav_default( $args = '' ) { * @type bool $show_in_admin_bar Optional. Whether the nav item should be added into the group's "Edit" * Admin Bar menu for group admins. Default: false. * } - * @param string $component The component the navigation is attached to. Defaults to 'members'. + * @param string $component The component the navigation is attached to. Defaults to 'members'. * @return bool|null Returns false on failure. */ function bp_core_new_subnav_item( $args, $component = null ) { @@ -405,7 +405,7 @@ function bp_core_new_subnav_item( $args, $component = null ) { * Assume that this item is intended to belong to the current group if: * a) the 'parent_slug' is the same as the slug of the current group, or * b) the 'parent_slug' starts with the slug of the current group, and the members nav doesn't have - * a primary item with that slug + * a primary item with that slug. */ $group_slug = bp_get_current_group_slug(); if ( @@ -474,8 +474,8 @@ function bp_core_new_subnav_item( $args, $component = null ) { * the group's "Edit" Admin Bar menu for group admins. * Default: false. * } - * @param string $component The component the navigation is attached to. Defaults to 'members'. - * @return bool|BP_Nav_Item Returns false on failure, new nav item on success. + * @param string $component The component the navigation is attached to. Defaults to 'members'. + * @return bool|object Returns false on failure, new BP_Nav_Item instance on success. */ function bp_core_create_subnav_link( $args = '', $component = 'members' ) { $bp = buddypress(); @@ -570,7 +570,7 @@ function bp_core_create_subnav_link( $args = '', $component = 'members' ) { * the group's "Edit" Admin Bar menu for group admins. * Default: false. * } - * @param string $component The component the navigation is attached to. Defaults to 'members'. + * @param string $component The component the navigation is attached to. Defaults to 'members'. * @return bool|null Returns false on failure. */ function bp_core_register_subnav_screen_function( $args = '', $component = 'members' ) { diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-cache.php b/wp-content/plugins/buddypress/bp-core/bp-core-cache.php index 2cddf4677082473d64b60cb1a0758f49f045b829..21761b46bd47ecde5d45ee8dcfa85387e1648575 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-cache.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-cache.php @@ -115,7 +115,17 @@ add_action( 'update_option', 'bp_core_clear_directory_pages_cache_settings_edit' * @param string $option Option name. */ function bp_core_clear_root_options_cache( $option ) { + foreach ( array( 'add_option', 'add_site_option', 'update_option', 'update_site_option' ) as $action ) { + remove_action( $action, 'bp_core_clear_root_options_cache' ); + } + + // Surrounding code prevents infinite loops on WP < 4.4. $keys = array_keys( bp_get_default_options() ); + + foreach ( array( 'add_option', 'add_site_option', 'update_option', 'update_site_option' ) as $action ) { + add_action( $action, 'bp_core_clear_root_options_cache' ); + } + $keys = array_merge( $keys, array( 'registration', 'avatar_default', @@ -252,3 +262,100 @@ function bp_update_meta_cache( $args = array() ) { return $cache; } + +/** + * Gets a value that has been cached using an incremented key. + * + * A utility function for use by query methods like BP_Activity_Activity::get(). + * + * @since 2.7.0 + * @see bp_core_set_incremented_cache() + * + * @param string $key Unique key for the query. Usually a SQL string. + * @param string $group Cache group. Eg 'bp_activity'. + * @return array|bool False if no cached values are found, otherwise an array of IDs. + */ +function bp_core_get_incremented_cache( $key, $group ) { + $cache_key = bp_core_get_incremented_cache_key( $key, $group ); + return wp_cache_get( $cache_key, $group ); +} + +/** + * Caches a value using an incremented key. + * + * An "incremented key" is a cache key that is hashed with a unique incrementor, + * allowing for bulk invalidation. + * + * Use this method when caching data that should be invalidated whenever any + * object of a given type is created, updated, or deleted. This usually means + * data related to object queries, which can only reliably cached until the + * underlying set of objects has been modified. See, eg, BP_Activity_Activity::get(). + * + * @since 2.7.0 + * + * @param string $key Unique key for the query. Usually a SQL string. + * @param string $group Cache group. Eg 'bp_activity'. + * @param array $ids Array of IDs. + * @return bool + */ +function bp_core_set_incremented_cache( $key, $group, $ids ) { + $cache_key = bp_core_get_incremented_cache_key( $key, $group ); + return wp_cache_set( $cache_key, $ids, $group ); +} + +/** + * Gets the key to be used when caching a value using an incremented cache key. + * + * The $key is hashed with a component-specific incrementor, which is used to + * invalidate multiple caches at once. + + * @since 2.7.0 + * + * @param string $key Unique key for the query. Usually a SQL string. + * @param string $group Cache group. Eg 'bp_activity'. + * @return string + */ +function bp_core_get_incremented_cache_key( $key, $group ) { + $incrementor = bp_core_get_incrementor( $group ); + $cache_key = md5( $key . $incrementor ); + return $cache_key; +} + +/** + * Gets a group-specific cache incrementor. + * + * The incrementor is paired with query identifiers (like SQL strings) to + * create cache keys that can be invalidated en masse. + * + * If an incrementor does not yet exist for the given `$group`, one will + * be created. + * + * @since 2.7.0 + * + * @param string $group Cache group. Eg 'bp_activity'. + * @return string + */ +function bp_core_get_incrementor( $group ) { + $incrementor = wp_cache_get( 'incrementor', $group ); + if ( ! $incrementor ) { + $incrementor = microtime(); + wp_cache_set( 'incrementor', $incrementor, $group ); + } + + return $incrementor; +} + +/** + * Reset a group-specific cache incrementor. + * + * Call this function when all incrementor-based caches associated with a given + * cache group should be invalidated. + * + * @since 2.7.0 + * + * @param string $group Cache group. Eg 'bp_activity'. + * @return bool True on success, false on failure. + */ +function bp_core_reset_incrementor( $group ) { + return wp_cache_delete( 'incrementor', $group ); +} diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-caps.php b/wp-content/plugins/buddypress/bp-core/bp-core-caps.php index b8ffbce70f94ddc3c2a48e77683910a11c8fbac9..7d1d00482b1c405a179df44e74a9c88eb63907b9 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-caps.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-caps.php @@ -20,7 +20,7 @@ defined( 'ABSPATH' ) || exit; * * @since 2.1.0 * - * @return array + * @return object */ function bp_get_current_blog_roles() { global $wp_roles; @@ -56,7 +56,6 @@ function bp_get_current_blog_roles() { * This is called on plugin activation. * * @since 1.6.0 - * */ function bp_add_caps() { global $wp_roles; @@ -89,7 +88,6 @@ function bp_add_caps() { * This is called on plugin deactivation. * * @since 1.6.0 - * */ function bp_remove_caps() { global $wp_roles; @@ -218,9 +216,6 @@ function bp_get_caps_for_role( $role = '' ) { * already have a role or capability on. * * @since 1.6.0 - * - * @global BuddyPress $bp Global BuddyPress settings object. - * */ function bp_set_current_user_default_role() { @@ -248,55 +243,105 @@ function bp_set_current_user_default_role() { * * @since 1.6.0 * @since 2.4.0 Second argument modified to accept an array, rather than `$blog_id`. + * @since 2.7.0 Deprecated $args['blog_id'] in favor of $args['site_id']. * * @param string $capability Capability or role name. * @param array|int $args { * Array of extra arguments applicable to the capability check. - * @type int $blog_id Optional. Blog ID. Defaults to the BP root blog. + * @type int $site_id Optional. Blog ID. Defaults to the BP root blog. + * @type int $blog_id Deprecated. Use $site_id instead. * @type mixed $a,... Optional. Extra arguments applicable to the capability check. * } * @return bool True if the user has the cap for the given parameters. */ function bp_current_user_can( $capability, $args = array() ) { - $blog_id = 0; - // Backward compatibility for older $blog_id parameter. if ( is_int( $args ) ) { - $blog_id = $args; + $site_id = $args; $args = array(); + $args['site_id'] = $site_id; // New format for second parameter. } elseif ( is_array( $args ) && isset( $args['blog_id'] ) ) { // Get the blog ID if set, but don't pass along to `current_user_can_for_blog()`. - $blog_id = (int) $args['blog_id']; + $args['site_id'] = (int) $args['blog_id']; unset( $args['blog_id'] ); } - // Backward compatibility for older bp_current_user_can() checks - if ( empty( $args ) ) { - $args = null; - } + // Cast $args as an array. + $args = (array) $args; // Use root blog if no ID passed. - if ( empty( $blog_id ) ) { - $blog_id = bp_get_root_blog_id(); + if ( empty( $args['site_id'] ) ) { + $args['site_id'] = bp_get_root_blog_id(); } - $args = array( $blog_id, $capability, $args ); - $retval = call_user_func_array( 'current_user_can_for_blog', $args ); + /** This filter is documented in /bp-core/bp-core-template.php */ + $current_user_id = apply_filters( 'bp_loggedin_user_id', get_current_user_id() ); + + // Call bp_user_can(). + $retval = bp_user_can( $current_user_id, $capability, $args ); /** * Filters whether or not the current user has a given capability. * * @since 1.6.0 * @since 2.4.0 Pass `$args` variable. + * @since 2.7.0 Change format of $args variable array. * * @param bool $retval Whether or not the current user has the capability. * @param string $capability The capability being checked for. * @param int $blog_id Blog ID. Defaults to the BP root blog. + * @param array $args Array of extra arguments as originally passed. + */ + return (bool) apply_filters( 'bp_current_user_can', $retval, $capability, $args['site_id'], $args ); +} + +/** + * Check whether the specified user has a given capability on a given site. + * + * @since 2.7.0 + * + * @param int $user_id + * @param string $capability Capability or role name. + * @param array|int $args { + * Array of extra arguments applicable to the capability check. + * + * @type int $site_id Optional. Site ID. Defaults to the BP root blog. + * @type mixed $a,... Optional. Extra arguments applicable to the capability check. + * } + * @return bool True if the user has the cap for the given parameters. + */ +function bp_user_can( $user_id, $capability, $args = array() ) { + $site_id = bp_get_root_blog_id(); + + // Get the site ID if set, but don't pass along to user_can(). + if ( isset( $args['site_id'] ) ) { + $site_id = (int) $args['site_id']; + unset( $args['site_id'] ); + } + + $switched = is_multisite() ? switch_to_blog( $site_id ) : false; + $retval = call_user_func_array( 'user_can', array( $user_id, $capability, $args ) ); + + /** + * Filters whether or not the specified user has a given capability on a given site. + * + * @since 2.7.0 + * + * @param bool $retval Whether or not the current user has the capability. + * @param int $user_id + * @param string $capability The capability being checked for. + * @param int $site_id Site ID. Defaults to the BP root blog. * @param array $args Array of extra arguments passed. */ - return (bool) apply_filters( 'bp_current_user_can', $retval, $capability, $blog_id, $args ); + $retval = (bool) apply_filters( 'bp_user_can', $retval, $user_id, $capability, $site_id, $args ); + + if ( $switched ) { + restore_current_blog(); + } + + return $retval; } /** diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php b/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php index 79ade513f865345656e80c3a043c6f839744a60d..f1df1f307be5c0dfa9427424ff06f666132a06ae 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php @@ -218,7 +218,7 @@ function bp_core_set_uri_globals() { /** * Filter the portion of the URI that is the displayed user's slug. * - * eg. example.com/ADMIN (when root profiles is enabled) + * Eg. example.com/ADMIN (when root profiles is enabled) * example.com/members/ADMIN (when root profiles isn't enabled) * * ADMIN would be the displayed user's slug. @@ -553,16 +553,18 @@ function bp_core_catch_profile_uri() { * @since 2.6.0 * * @param string $member_slug The current member slug. + * @return string $member_slug The current member slug. */ function bp_core_members_shortlink_redirector( $member_slug ) { + /** * Shortlink slug to redirect to logged-in user. * - * x.com/members/me/* will redirect to x.com/members/{LOGGED_IN_USER_SLUG}/* + * The x.com/members/me/* url will redirect to x.com/members/{LOGGED_IN_USER_SLUG}/* * * @since 2.6.0 * - * @var string $slug Defaults to 'me'. + * @param string $slug Defaults to 'me'. */ $me_slug = apply_filters( 'bp_core_members_shortlink_slug', 'me' ); @@ -635,9 +637,9 @@ function bp_core_no_access( $args = '' ) { $redirect_url .= $_SERVER['REQUEST_URI']; $defaults = array( - 'mode' => 2, // 1 = $root, 2 = wp-login.php - 'redirect' => $redirect_url, // the URL you get redirected to when a user successfully logs in - 'root' => bp_get_root_domain(), // the landing page you get redirected to when a user doesn't have access + 'mode' => 2, // 1 = $root, 2 = wp-login.php. + 'redirect' => $redirect_url, // the URL you get redirected to when a user successfully logs in. + 'root' => bp_get_root_domain(), // the landing page you get redirected to when a user doesn't have access. 'message' => __( 'You must log in to access the page you requested.', 'buddypress' ) ); @@ -654,7 +656,7 @@ function bp_core_no_access( $args = '' ) { extract( $r, EXTR_SKIP ); /* - * @ignore Ignore these filters and use 'bp_core_no_access' above + * @ignore Ignore these filters and use 'bp_core_no_access' above. */ $mode = apply_filters( 'bp_no_access_mode', $mode, $root, $redirect, $message ); $redirect = apply_filters( 'bp_no_access_redirect', $redirect, $root, $message, $mode ); @@ -664,7 +666,7 @@ function bp_core_no_access( $args = '' ) { switch ( $mode ) { - // Option to redirect to wp-login.php + // Option to redirect to wp-login.php. // Error message is displayed with bp_core_no_access_wp_login_error(). case 2 : if ( !empty( $redirect ) ) { @@ -675,7 +677,7 @@ function bp_core_no_access( $args = '' ) { break; - // Redirect to root with "redirect_to" parameter + // Redirect to root with "redirect_to" parameter. // Error message is displayed with bp_core_add_message(). case 1 : default : @@ -696,16 +698,18 @@ function bp_core_no_access( $args = '' ) { } /** - * Add an error message to wp-login.php. - * - * Hooks into the "bpnoaccess" action defined in bp_core_no_access(). + * Add a custom BuddyPress no access error message to wp-login.php. * * @since 1.5.0 + * @since 2.7.0 Hook moved to 'wp_login_errors' made available since WP 3.6.0. * - * @global string $error Error message to pass to wp-login.php. + * @param WP_Error $errors Current error container. + * @return WP_Error */ -function bp_core_no_access_wp_login_error() { - global $error; +function bp_core_no_access_wp_login_error( $errors ) { + if ( empty( $_GET['action'] ) || 'bpnoaccess' !== $_GET['action'] ) { + return $errors; + } /** * Filters the error message for wp-login.php when needing to log in before accessing. @@ -715,12 +719,27 @@ function bp_core_no_access_wp_login_error() { * @param string $value Error message to display. * @param string $value URL to redirect user to after successful login. */ - $error = apply_filters( 'bp_wp_login_error', __( 'You must log in to access the page you requested.', 'buddypress' ), $_REQUEST['redirect_to'] ); + $message = apply_filters( 'bp_wp_login_error', __( 'You must log in to access the page you requested.', 'buddypress' ), $_REQUEST['redirect_to'] ); + + $errors->add( 'bp_no_access', $message ); - // Shake shake shake!. - add_action( 'login_head', 'wp_shake_js', 12 ); + return $errors; } -add_action( 'login_form_bpnoaccess', 'bp_core_no_access_wp_login_error' ); +add_filter( 'wp_login_errors', 'bp_core_no_access_wp_login_error' ); + +/** + * Add our custom error code to WP login's shake error codes. + * + * @since 2.7.0 + * + * @param array $codes Array of WP error codes. + * @return array + */ +function bp_core_login_filter_shake_codes( $codes ) { + $codes[] = 'bp_no_access'; + return $codes; +} +add_filter( 'shake_error_codes', 'bp_core_login_filter_shake_codes' ); /** * Canonicalize BuddyPress URLs. @@ -939,7 +958,6 @@ function bp_get_requested_url() { * notice in future versions of BuddyPress. * * @since 1.6.0 - * */ function _bp_maybe_remove_redirect_canonical() { if ( ! bp_is_blog_page() ) @@ -997,3 +1015,36 @@ function _bp_maybe_remove_rel_canonical() { } } add_action( 'wp_head', '_bp_maybe_remove_rel_canonical', 8 ); + +/** + * Stop WordPress performing a DB query for its main loop. + * + * As of WordPress 4.6, it is possible to bypass the main WP_Query entirely. + * This saves us one unnecessary database query! :) + * + * @since 2.7.0 + * + * @param null $retval Current return value for filter. + * @param WP_Query $query Current WordPress query object. + * @return null|array + */ +function bp_core_filter_wp_query( $retval, $query ) { + if ( ! $query->is_main_query() ) { + return $retval; + } + + /* + * If not on a BP single page, bail. + * Too early to use bp_is_single_item(), so use BP conditionals. + */ + if ( false === ( bp_is_group() || bp_is_user() || bp_is_single_activity() ) ) { + return $retval; + } + + // Set default properties as recommended in the 'posts_pre_query' DocBlock. + $query->found_posts = 0; + $query->max_num_pages = 0; + + // Return something other than a null value to bypass WP_Query. + return array(); +} diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-classes.php b/wp-content/plugins/buddypress/bp-core/bp-core-classes.php index 1efef6192abd4030143cfbde1aa909c5954001ef..202af83487582f3a9295ac0b9b468870e0db39f8 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-classes.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-classes.php @@ -33,6 +33,7 @@ require dirname( __FILE__ ) . '/classes/class-bp-phpmailer.php'; require dirname( __FILE__ ) . '/classes/class-bp-core-nav.php'; require dirname( __FILE__ ) . '/classes/class-bp-core-nav-item.php'; require dirname( __FILE__ ) . '/classes/class-bp-core-oembed-extension.php'; +require dirname( __FILE__ ) . '/classes/class-bp-core-html-element.php'; if ( buddypress()->do_nav_backcompat ) { require dirname( __FILE__ ) . '/classes/class-bp-core-bp-nav-backcompat.php'; diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-cssjs.php b/wp-content/plugins/buddypress/bp-core/bp-core-cssjs.php index 57c8b7b69bb0be9bb3abec74eb5c268f64b6dede..1f1974b3bb0dd2992d0e68f3aee57353788aa4c6 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-cssjs.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-cssjs.php @@ -19,35 +19,79 @@ function bp_core_register_common_scripts() { $min = bp_core_get_minified_asset_suffix(); $url = buddypress()->plugin_url . 'bp-core/js/'; - /** - * Filters the BuddyPress Core javascript files to register. + /* + * Moment.js locale. * - * @since 2.1.0 + * Try to map current WordPress locale to a moment.js locale file for loading. * - * @param array $value Array of javascript file information to register. + * eg. French (France) locale for WP is fr_FR. Here, we try to find fr-fr.js + * (this file doesn't exist). */ - $scripts = apply_filters( 'bp_core_register_common_scripts', array( + $locale = sanitize_file_name( strtolower( get_locale() ) ); + $locale = str_replace( '_', '-', $locale ); + if ( file_exists( buddypress()->core->path . "bp-core/js/vendor/moment-js/locale/{$locale}{$min}.js" ) ) { + $moment_locale_url = $url . "vendor/moment-js/locale/{$locale}{$min}.js"; + + /* + * Try to find the short-form locale. + * + * eg. French (France) locale for WP is fr_FR. Here, we try to find fr.js + * (this exists). + */ + } else { + $locale = substr( $locale, 0, strpos( $locale, '-' ) ); + if ( file_exists( buddypress()->core->path . "bp-core/js/vendor/moment-js/locale/{$locale}{$min}.js" ) ) { + $moment_locale_url = $url . "vendor/moment-js/locale/{$locale}{$min}.js"; + } + } + // Set up default scripts to register. + $scripts = array( // Legacy. - 'bp-confirm' => array( 'file' => "{$url}confirm{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ), + 'bp-confirm' => array( 'file' => "{$url}confirm{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ), 'bp-widget-members' => array( 'file' => "{$url}widget-members{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ), - 'bp-jquery-query' => array( 'file' => "{$url}jquery-query{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ), - 'bp-jquery-cookie' => array( 'file' => "{$url}jquery-cookie{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ), - 'bp-jquery-scroll-to' => array( 'file' => "{$url}jquery-scroll-to{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ), + 'bp-jquery-query' => array( 'file' => "{$url}jquery-query{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ), + 'bp-jquery-cookie' => array( 'file' => "{$url}vendor/jquery-cookie{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ), + 'bp-jquery-scroll-to' => array( 'file' => "{$url}vendor/jquery-scroll-to{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ), - // 2.1 - 'jquery-caret' => array( 'file' => "{$url}jquery.caret{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => true ), - 'jquery-atwho' => array( 'file' => "{$url}jquery.atwho{$min}.js", 'dependencies' => array( 'jquery', 'jquery-caret' ), 'footer' => true ), + // Version 2.1. + 'jquery-caret' => array( 'file' => "{$url}vendor/jquery.caret{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => true ), + 'jquery-atwho' => array( 'file' => "{$url}vendor/jquery.atwho{$min}.js", 'dependencies' => array( 'jquery', 'jquery-caret' ), 'footer' => true ), - // 2.3 + // Version 2.3. 'bp-plupload' => array( 'file' => "{$url}bp-plupload{$min}.js", 'dependencies' => array( 'plupload', 'jquery', 'json2', 'wp-backbone' ), 'footer' => true ), 'bp-avatar' => array( 'file' => "{$url}avatar{$min}.js", 'dependencies' => array( 'jcrop' ), 'footer' => true ), 'bp-webcam' => array( 'file' => "{$url}webcam{$min}.js", 'dependencies' => array( 'bp-avatar' ), 'footer' => true ), - // 2.4 + // Version 2.4. 'bp-cover-image' => array( 'file' => "{$url}cover-image{$min}.js", 'dependencies' => array(), 'footer' => true ), - ) ); + // Version 2.7. + 'bp-moment' => array( 'file' => "{$url}vendor/moment-js/moment{$min}.js", 'dependencies' => array(), 'footer' => true ), + 'bp-livestamp' => array( 'file' => "{$url}vendor/livestamp{$min}.js", 'dependencies' => array( 'jquery', 'bp-moment' ), 'footer' => true ), + ); + + // Version 2.7 - Add Moment.js locale to our $scripts array if we found one. + if ( isset( $moment_locale_url ) ) { + $scripts['bp-moment-locale'] = array( 'file' => esc_url( $moment_locale_url ), 'dependencies' => array( 'bp-moment' ), 'footer' => true ); + } + + /** + * Filters the BuddyPress Core javascript files to register. + * + * Default handles include 'bp-confirm', 'bp-widget-members', + * 'bp-jquery-query', 'bp-jquery-cookie', and 'bp-jquery-scroll-to'. + * + * @since 2.1.0 'jquery-caret', 'jquery-atwho' added. + * @since 2.3.0 'bp-plupload', 'bp-avatar', 'bp-webcam' added. + * @since 2.4.0 'bp-cover-image' added. + * @since 2.7.0 'bp-moment', 'bp-livestamp' added. + * 'bp-moment-locale' is added conditionally if a moment.js locale file is found. + * + * @param array $value Array of javascript file information to register. + */ + $scripts = apply_filters( 'bp_core_register_common_scripts', $scripts ); + $version = bp_get_version(); foreach ( $scripts as $id => $script ) { @@ -106,7 +150,7 @@ add_action( 'bp_enqueue_scripts', 'bp_core_register_common_styles', 1 ); add_action( 'bp_admin_enqueue_scripts', 'bp_core_register_common_styles', 1 ); /** - * Load the JS for "Are you sure?" .confirm links. + * Load the JS for "Are you sure?" confirm links. * * @since 1.1.0 */ @@ -128,7 +172,7 @@ add_action( 'bp_admin_enqueue_scripts', 'bp_core_confirmation_js' ); /** * Enqueues the css and js required by the Avatar UI. * - * @since 2.3.0 + * @since 2.3.0 */ function bp_core_avatar_scripts() { if ( ! bp_avatar_is_front_edit() ) { @@ -148,7 +192,7 @@ add_action( 'bp_enqueue_scripts', 'bp_core_avatar_scripts' ); /** * Enqueues the css and js required by the Cover Image UI. * - * @since 2.4.0 + * @since 2.4.0 */ function bp_core_cover_image_scripts() { if ( ! bp_attachments_cover_image_is_edit() ) { @@ -361,11 +405,11 @@ function bp_core_get_js_dependencies() { } /** - * Add inline css to display the component's single item cover image + * Add inline css to display the component's single item cover image. * * @since 2.4.0 * - * @param bool $return True to get the inline css. + * @param bool $return True to get the inline css. * @return string|array the inline css or an associative array containing * the css rules and the style handle */ @@ -460,3 +504,84 @@ function bp_add_cover_image_inline_css( $return = false ) { } } add_action( 'bp_enqueue_scripts', 'bp_add_cover_image_inline_css', 11 ); + +/** + * Enqueues livestamp.js on BuddyPress pages. + * + * @since 2.7.0 + */ +function bp_core_add_livestamp() { + if ( ! is_buddypress() ) { + return; + } + + bp_core_enqueue_livestamp(); +} +add_action( 'bp_enqueue_scripts', 'bp_core_add_livestamp' ); + +/** + * Enqueue and localize livestamp.js script. + * + * @since 2.7.0 + */ +function bp_core_enqueue_livestamp() { + // If bp-livestamp isn't enqueued, do it now. + if ( wp_script_is( 'bp-livestamp' ) ) { + return; + } + + /* + * Only enqueue Moment.js locale if we registered it in + * bp_core_register_common_scripts(). + */ + if ( wp_script_is( 'bp-moment-locale', 'registered' ) ) { + wp_enqueue_script( 'bp-moment-locale' ); + + if ( function_exists( 'wp_add_inline_script' ) ) { + wp_add_inline_script ( 'bp-livestamp', bp_core_moment_js_config() ); + } else { + add_action( 'wp_footer', '_bp_core_moment_js_config_footer', 20 ); + } + } + + wp_enqueue_script( 'bp-livestamp' ); +} + +/** + * Return moment.js config. + * + * @since 2.7.0 + * + * @return string + */ +function bp_core_moment_js_config() { + // Grab the locale from the enqueued JS. + $moment_locale = wp_scripts()->query( 'bp-moment-locale' ); + $moment_locale = substr( $moment_locale->src, strpos( $moment_locale->src, '/moment-js/locale/' ) + 18 ); + $moment_locale = str_replace( '.js', '', $moment_locale ); + + $inline_js = <<<EOD +jQuery(function() { + moment.locale( '{$moment_locale}' ); +}); +EOD; + + return $inline_js; +} + +/** + * Print moment.js config in page footer. + * + * Will be removed once we set our minimum version of WP 4.5. + * + * @since 2.7.0 + * + * @access private + */ +function _bp_core_moment_js_config_footer() { + if ( ! wp_script_is( 'bp-moment-locale' ) ) { + return; + } + + printf( '<script>%s</script>', bp_core_moment_js_config() ); +} diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-customizer-email.php b/wp-content/plugins/buddypress/bp-core/bp-core-customizer-email.php index b99feea28632ef6b86722c8abc29e4c0710f6fb7..1ae97c22207e5d4a205362c29db6f664ef7262f2 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-customizer-email.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-customizer-email.php @@ -2,10 +2,9 @@ /** * BuddyPress Customizer implementation for email. * - * @since 2.5.0 - * * @package BuddyPress * @subpackage Core + * @since 2.5.0 */ // Exit if accessed directly. @@ -65,7 +64,6 @@ function bp_email_init_customizer( WP_Customize_Manager $wp_customize ) { $wp_customize->add_control( new $args['class']( $wp_customize, $control_id, $args ) ); } - /* * Hook actions/filters for further configuration. */ @@ -90,7 +88,7 @@ function bp_email_init_customizer( WP_Customize_Manager $wp_customize ) { true ); - // Include the preview loading style + // Include the preview loading style. add_action( 'wp_footer', array( $wp_customize, 'customize_preview_loading_style' ) ); } } @@ -112,7 +110,7 @@ function bp_is_email_customizer() { * * @since 2.5.0 * - * @param $active Whether the Customizer section is active. + * @param bool $active Whether the Customizer section is active. * @param WP_Customize_Section $section {@see WP_Customize_Section} instance. * @return bool */ diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php b/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php index 1b8fa814e6bb3b6dabd3280c861adf7ec5b627d2..6120ab0951c6b71ae6aca2710d3e0c7e1c0b4c17 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php @@ -207,28 +207,12 @@ function bp_setup_cache_groups() { /** * Set up the currently logged-in user. * - * We white-list the WordPress Customizer which purposely loads the user early. - * If the current user is being setup before the "init" action has fired, - * strange (and difficult to debug) role/capability issues will occur. - * * @since 1.7.0 * * @link https://buddypress.trac.wordpress.org/ticket/6046 * @link https://core.trac.wordpress.org/ticket/24169 - * */ function bp_setup_current_user() { - $skip_warning = ( - ( isset( $_REQUEST['wp_customize'] ) && 'on' === $_REQUEST['wp_customize'] ) || - ( is_admin() && 'customize.php' === basename( $_SERVER['PHP_SELF'] ) ) - ); - - if ( ! $skip_warning && ! did_action( 'after_setup_theme' ) ) { - $e = new Exception; - $trace = $e->getTraceAsString(); - - _doing_it_wrong( __FUNCTION__, __( 'The current user is being initialized without using $wp->init().', 'buddypress' ) . "\n===\nTrace:\n" . substr( $trace, strpos( $trace, '#6' ) ) . "\n===\n", '1.7' ); - } /** * Fires to set up the current user setup process. @@ -406,7 +390,6 @@ function bp_head() { * who do not have the proper permission to access certain content. * * @since 1.6.0 - * */ function bp_template_redirect() { @@ -426,7 +409,6 @@ function bp_template_redirect() { * The main action used registering theme directories. * * @since 1.5.0 - * */ function bp_register_theme_directory() { @@ -446,7 +428,6 @@ function bp_register_theme_directory() { * The main action used registering theme packages. * * @since 1.7.0 - * */ function bp_register_theme_packages() { @@ -462,7 +443,6 @@ function bp_register_theme_packages() { * Fire the 'bp_enqueue_scripts' action, where BP enqueues its CSS and JS. * * @since 1.6.0 - * */ function bp_enqueue_scripts() { @@ -496,7 +476,6 @@ function bp_enqueue_embed_scripts() { * Fire the 'bp_add_rewrite_tag' action, where BP adds its custom rewrite tags. * * @since 1.8.0 - * */ function bp_add_rewrite_tags() { @@ -512,7 +491,6 @@ function bp_add_rewrite_tags() { * Fire the 'bp_add_rewrite_rules' action, where BP adds its custom rewrite rules. * * @since 1.9.0 - * */ function bp_add_rewrite_rules() { @@ -528,7 +506,6 @@ function bp_add_rewrite_rules() { * Fire the 'bp_add_permastructs' action, where BP adds its BP-specific permalink structure. * * @since 1.9.0 - * */ function bp_add_permastructs() { @@ -547,7 +524,6 @@ function bp_add_permastructs() { * BuddyPress-specific functionality. * * @since 1.6.0 - * */ function bp_setup_theme() { @@ -570,7 +546,6 @@ function bp_setup_theme() { * before our theme compatibility layer kicks in. * * @since 1.6.0 - * */ function bp_after_setup_theme() { @@ -699,7 +674,6 @@ function bp_allowed_themes( $themes ) { * The main action used for handling theme-side POST requests. * * @since 1.9.0 - * */ function bp_post_request() { @@ -742,7 +716,6 @@ function bp_post_request() { * The main action used for handling theme-side GET requests. * * @since 1.9.0 - * */ function bp_get_request() { diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-filters.php b/wp-content/plugins/buddypress/bp-core/bp-core-filters.php index dd9645bd039cde5aac867f3f24ee91de80f0250a..ff6bf80a2e93fdb03af4e84e159b2fe2d4edee78 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-filters.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-filters.php @@ -75,6 +75,9 @@ add_filter( 'bp_get_template_stack', 'bp_add_template_stack_locations' ); // Turn comments off for BuddyPress pages. add_filter( 'comments_open', 'bp_comments_open', 10, 2 ); +// Prevent DB query for WP's main loop. +add_filter( 'posts_pre_query', 'bp_core_filter_wp_query', 10, 2 ); + /** * Prevent specific pages (eg 'Activate') from showing on page listings. * @@ -175,7 +178,7 @@ function bp_core_menu_highlight_parent_page( $retval, $page ) { foreach ( (array) buddypress()->pages as $component => $bp_page ) { // Handles the majority of components. if ( bp_is_current_component( $component ) ) { - $page_id = (int) $bp_page->id; + $page_id = (int) $bp_page->id; } // Stop if not on a user page. @@ -308,7 +311,7 @@ function bp_core_login_redirect( $redirect_to, $redirect_to_raw, $user ) { * * @since 1.6.0 * - * @param bool $value Whether or not to redirect. + * @param bool $value Whether or not to redirect. * @param string $redirect_to Sanitized URL to be redirected to. * @param string $redirect_to_raw Unsanitized URL to be redirected to. * @param WP_User $user The WP_User object corresponding to a @@ -349,6 +352,7 @@ add_filter( 'bp_login_redirect', 'bp_core_login_redirect', 10, 3 ); * @param string $retval Current email content. * @param string $prop Email property to check against. * @param string $transform Either 'raw' or 'replace-tokens'. + * @return string $retval Modified email content. */ function bp_email_plaintext_entity_decode( $retval, $prop, $transform ) { switch ( $prop ) { @@ -545,9 +549,9 @@ add_filter( 'wpmu_signup_user_notification', 'bp_core_activation_signup_user_not * @see wp_title() * @global object $bp BuddyPress global settings. * - * @param string $title Original page title. - * @param string $sep How to separate the various items within the page title. - * @param string $seplocation Direction to display title. + * @param string $title Original page title. + * @param string $sep How to separate the various items within the page title. + * @param string $seplocation Direction to display title. * @return string New page title. */ function bp_modify_page_title( $title = '', $sep = '»', $seplocation = 'right' ) { @@ -570,7 +574,7 @@ function bp_modify_page_title( $title = '', $sep = '»', $seplocation = 'ri * @link https://buddypress.trac.wordpress.org/ticket/6107 * @see wp_title() */ - $title_tag_compatibility = (bool) ( ! empty( $_wp_theme_features['title-tag'] ) || strstr( $title, $blogname ) ); + $title_tag_compatibility = (bool) ( ! empty( $_wp_theme_features['title-tag'] ) || ( $blogname && strstr( $title, $blogname ) ) ); // Append the site title to title parts if theme supports title tag. if ( true === $title_tag_compatibility ) { @@ -595,12 +599,12 @@ function bp_modify_page_title( $title = '', $sep = '»', $seplocation = 'ri /** * Filters the older 'wp_title' page title for BuddyPress pages. * - * @since 1.5.0 + * @since 1.5.0 * - * @param string $new_title The BuddyPress page title. - * @param string $title The original WordPress page title. - * @param string $sep The title parts separator. - * @param string $seplocation Location of the separator (left or right). + * @param string $new_title The BuddyPress page title. + * @param string $title The original WordPress page title. + * @param string $sep The title parts separator. + * @param string $seplocation Location of the separator (left or right). */ return apply_filters( 'bp_modify_page_title', $new_title, $title, $sep, $seplocation ); } @@ -648,10 +652,10 @@ function bp_modify_document_title_parts( $title = array() ) { /** * Filters BuddyPress title parts that will be used into the document title. * - * @since 2.4.3 + * @since 2.4.3 * - * @param array $bp_title The BuddyPress page title parts. - * @param array $title The original WordPress title parts. + * @param array $bp_title The BuddyPress page title parts. + * @param array $title The original WordPress title parts. */ return apply_filters( 'bp_modify_document_title_parts', $bp_title, $title ); } @@ -749,13 +753,13 @@ add_filter( 'wp_setup_nav_menu_item', 'bp_setup_nav_menu_item', 10, 1 ); /** * Populate BuddyPress user nav items for the customizer. * - * @since 2.3.3 + * @since 2.3.3 * - * @param array $items The array of menu items. - * @param string $type The requested type. - * @param string $object The requested object name. - * @param integer $page The page num being requested. - * @return array The paginated BuddyPress user nav items. + * @param array $items The array of menu items. + * @param string $type The requested type. + * @param string $object The requested object name. + * @param integer $page The page num being requested. + * @return array The paginated BuddyPress user nav items. */ function bp_customizer_nav_menus_get_items( $items = array(), $type = '', $object = '', $page = 0 ) { if ( 'bp_loggedin_nav' === $object ) { @@ -786,9 +790,9 @@ add_filter( 'customize_nav_menu_available_items', 'bp_customizer_nav_menus_get_i /** * Set BuddyPress item navs for the customizer. * - * @since 2.3.3 + * @since 2.3.3 * - * @param array $item_types An associative array structured for the customizer. + * @param array $item_types An associative array structured for the customizer. * @return array $item_types An associative array structured for the customizer. */ function bp_customizer_nav_menus_set_item_types( $item_types = array() ) { @@ -852,8 +856,8 @@ function bp_filter_metaid_column_name( $q ) { * * @since 2.1.0 * - * @param string $edit_link The edit link. - * @param int $post_id Post ID. + * @param string $edit_link The edit link. + * @param int $post_id Post ID. * @return bool|string Will be a boolean (false) if $post_id is 0. Will be a string (the unchanged edit link) * otherwise */ @@ -899,7 +903,8 @@ add_filter( 'bp_activity_maybe_load_mentions_scripts', 'bp_maybe_load_mentions_s * @access private * * @global array $wp_registered_widgets Current registered widgets. - * @param array $params Current sidebar params. + * + * @param array $params Current sidebar params. * @return array */ function _bp_core_inject_bp_widget_css_class( $params ) { @@ -951,9 +956,9 @@ add_filter( 'dynamic_sidebar_params', '_bp_core_inject_bp_widget_css_class' ); * * @since 2.5.0 * - * @param string $value Property value. - * @param string $property_name - * @param string $transform How the return value was transformed. + * @param string $value Property value. + * @param string $property_name Email template property name. + * @param string $transform How the return value was transformed. * @return string Updated value. */ function bp_email_add_link_color_to_template( $value, $property_name, $transform ) { @@ -990,10 +995,10 @@ add_filter( 'bp_email_get_property', 'bp_email_add_link_color_to_template', 6, 3 * * @since 2.5.0 * - * @param array $headers - * @param string $property Name of property. Unused. - * @param string $transform Return value transformation. Unused. - * @param BP_Email $email Email object reference. + * @param array $headers Array of email headers. + * @param string $property Name of property. Unused. + * @param string $transform Return value transformation. Unused. + * @param BP_Email $email Email object reference. * @return array */ function bp_email_set_default_headers( $headers, $property, $transform, $email ) { @@ -1009,10 +1014,10 @@ add_filter( 'bp_email_get_headers', 'bp_email_set_default_headers', 6, 4 ); * * @since 2.5.0 * - * @param array $tokens Email tokens. - * @param string $property_name Unused. - * @param string $transform Unused. - * @param BP_Email $email Email being sent. + * @param array $tokens Email tokens. + * @param string $property_name Unused. + * @param string $transform Unused. + * @param BP_Email $email Email being sent. * @return array */ function bp_email_set_default_tokens( $tokens, $property_name, $transform, $email ) { @@ -1028,7 +1033,6 @@ function bp_email_set_default_tokens( $tokens, $property_name, $transform, $emai $tokens['recipient.email'] = ''; $tokens['recipient.name'] = ''; $tokens['recipient.username'] = ''; - $tokens['unsubscribe'] = site_url( 'wp-login.php' ); // Who is the email going to? @@ -1045,16 +1049,22 @@ function bp_email_set_default_tokens( $tokens, $property_name, $transform, $emai } if ( $user_obj ) { - // Unsubscribe link. - $tokens['unsubscribe'] = esc_url( sprintf( - '%s%s/notifications/', - bp_core_get_user_domain( $user_obj->ID ), - function_exists( 'bp_get_settings_slug' ) ? bp_get_settings_slug() : 'settings' - ) ); $tokens['recipient.username'] = $user_obj->user_login; + if ( bp_is_active( 'settings' ) && empty( $tokens['unsubscribe'] ) ) { + $tokens['unsubscribe'] = esc_url( sprintf( + '%s%s/notifications/', + bp_core_get_user_domain( $user_obj->ID ), + bp_get_settings_slug() + ) ); + } } } + // Set default unsubscribe link if not passed. + if ( empty( $tokens['unsubscribe'] ) ) { + $tokens['unsubscribe'] = site_url( 'wp-login.php' ); + } + // Email preheader. $post = $email->get_post_object(); if ( $post ) { diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-functions.php b/wp-content/plugins/buddypress/bp-core/bp-core-functions.php index 7cf28aafc7863f8fc5046876c05bae282e97716e..5a37bf9369cb0fb86a0a8b75117cfc471852d933 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-functions.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-functions.php @@ -108,14 +108,23 @@ function bp_core_get_table_prefix() { * your own awkward callback function for usort(). * * @since 2.2.0 + * @since 2.7.0 Added $preserve_keys parameter. + * + * @param array $items The items to be sorted. Its constituent items + * can be either associative arrays or objects. + * @param string|int $key The array index or property name to sort by. + * @param string $type Sort type. 'alpha' for alphabetical, 'num' + * for numeric. Default: 'alpha'. + * @param bool $preserve_keys Whether to keep the keys or not. * - * @param array $items The items to be sorted. Its constituent items can be either associative arrays or objects. - * @param string|int $key The array index or property name to sort by. - * @param string $type Sort type. 'alpha' for alphabetical, 'num' for numeric. Default: 'alpha'. * @return array $items The sorted array. */ -function bp_sort_by_key( $items, $key, $type = 'alpha' ) { - usort( $items, array( new BP_Core_Sort_By_Key_Callback( $key, $type ), 'sort_callback' ) ); +function bp_sort_by_key( $items, $key, $type = 'alpha', $preserve_keys = false ) { + if ( true === $preserve_keys ) { + uasort( $items, array( new BP_Core_Sort_By_Key_Callback( $key, $type ), 'sort_callback' ) ); + } else { + usort( $items, array( new BP_Core_Sort_By_Key_Callback( $key, $type ), 'sort_callback' ) ); + } return $items; } @@ -630,14 +639,7 @@ function bp_core_add_page_mappings( $components, $existing = 'keep' ) { $pages = array(); } - $page_titles = array( - 'activity' => _x( 'Activity', 'Page title for the Activity directory.', 'buddypress' ), - 'groups' => _x( 'Groups', 'Page title for the Groups directory.', 'buddypress' ), - 'sites' => _x( 'Sites', 'Page title for the Sites directory.', 'buddypress' ), - 'members' => _x( 'Members', 'Page title for the Members directory.', 'buddypress' ), - 'activate' => _x( 'Activate', 'Page title for the user activation screen.', 'buddypress' ), - 'register' => _x( 'Register', 'Page title for the user registration screen.', 'buddypress' ), - ); + $page_titles = bp_core_get_directory_page_default_titles(); $pages_to_create = array(); foreach ( array_keys( $components ) as $component_name ) { @@ -657,8 +659,8 @@ function bp_core_add_page_mappings( $components, $existing = 'keep' ) { } // No need for a Sites directory unless we're on multisite. - if ( ! is_multisite() && isset( $pages_to_create['sites'] ) ) { - unset( $pages_to_create['sites'] ); + if ( ! is_multisite() && isset( $pages_to_create['blogs'] ) ) { + unset( $pages_to_create['blogs'] ); } // Members must always have a page, no matter what. @@ -693,6 +695,33 @@ function bp_core_add_page_mappings( $components, $existing = 'keep' ) { } } +/** + * Get the default page titles for BP directory pages. + * + * @since 2.7.0 + * + * @return array + */ +function bp_core_get_directory_page_default_titles() { + $page_default_titles = array( + 'activity' => _x( 'Activity', 'Page title for the Activity directory.', 'buddypress' ), + 'groups' => _x( 'Groups', 'Page title for the Groups directory.', 'buddypress' ), + 'blogs' => _x( 'Sites', 'Page title for the Sites directory.', 'buddypress' ), + 'members' => _x( 'Members', 'Page title for the Members directory.', 'buddypress' ), + 'activate' => _x( 'Activate', 'Page title for the user activation screen.', 'buddypress' ), + 'register' => _x( 'Register', 'Page title for the user registration screen.', 'buddypress' ), + ); + + /** + * Filters the default page titles array + * + * @since 2.7.0 + * + * @param array $page_default_titles the array of default WP (post_title) titles. + */ + return apply_filters( 'bp_core_get_directory_page_default_titles', $page_default_titles ); +} + /** * Remove the entry from bp_pages when the corresponding WP page is deleted. * @@ -850,11 +879,17 @@ function bp_core_add_illegal_names() { * Get the 'search' query argument for a given component. * * @since 2.4.0 + * @since 2.7.0 The `$component` parameter was made optional, with the current component + * as the fallback value. * - * @param string $component Component name. + * @param string $component Optional. Component name. Defaults to current component. * @return string|bool Query argument on success. False on failure. */ -function bp_core_get_component_search_query_arg( $component ) { +function bp_core_get_component_search_query_arg( $component = null ) { + if ( ! $component ) { + $component = bp_current_component(); + } + $query_arg = false; if ( isset( buddypress()->{$component}->search_query_arg ) ) { $query_arg = sanitize_title( buddypress()->{$component}->search_query_arg ); @@ -1258,6 +1293,41 @@ function bp_core_time_since( $older_date, $newer_date = false ) { return apply_filters( 'bp_core_time_since', $output, $older_date, $newer_date ); } +/** + * Output an ISO-8601 date from a date string. + * + * @since 2.7.0 + * + * @param string String of date to convert. Timezone should be UTC before using this. + * @return string + */ + function bp_core_iso8601_date( $timestamp = '' ) { + echo bp_core_get_iso8601_date( $timestamp ); +} + /** + * Return an ISO-8601 date from a date string. + * + * @since 2.7.0 + * + * @param string String of date to convert. Timezone should be UTC before using this. + * @return string + */ + function bp_core_get_iso8601_date( $timestamp = '' ) { + if ( ! $timestamp ) { + return ''; + } + + try { + $date = new DateTime( $timestamp, new DateTimeZone( 'UTC' ) ); + + // Not a valid date, so return blank string. + } catch( Exception $e ) { + return ''; + } + + return $date->format( DateTime::ISO8601 ); + } + /** Messages ******************************************************************/ /** @@ -1414,7 +1484,7 @@ function bp_core_record_activity() { } // Get current time. - $current_time = bp_core_current_time(); + $current_time = bp_core_current_time( true, 'timestamp' ); // Use this action to detect the very first activity for a given member. if ( empty( $activity ) ) { @@ -1432,8 +1502,8 @@ function bp_core_record_activity() { } // If it's been more than 5 minutes, record a newer last-activity time. - if ( empty( $activity ) || ( strtotime( $current_time ) >= strtotime( '+5 minutes', $activity ) ) ) { - bp_update_user_last_activity( $user_id, $current_time ); + if ( empty( $activity ) || ( $current_time >= strtotime( '+5 minutes', $activity ) ) ) { + bp_update_user_last_activity( $user_id, date( 'Y-m-d H:i:s', $current_time ) ); } } add_action( 'wp_head', 'bp_core_record_activity' ); @@ -1673,8 +1743,8 @@ function bp_use_embed_in_private_messages() { * * @since 2.6.0 * - * @param string $content The content to check. - * @param string|int $type The type to check. Can also use a bitmask. See the class constants in the + * @param string $content The content to check. + * @param string|int $type The type to check. Can also use a bitmask. See the class constants in the * BP_Media_Extractor class for more info. * @return array|bool If media exists, will return array of media metadata. Else, boolean false. */ @@ -2691,7 +2761,7 @@ function bp_core_get_suggestions( $args ) { * * @since 2.3.0 * - * @return string + * @return bool|array */ function bp_upload_dir() { $bp = buddypress(); @@ -3189,8 +3259,8 @@ function bp_email_get_template( WP_Post $object ) { * * @since 2.5.0 * - * @param string $text - * @param array $tokens Token names and replacement values for the $text. + * @param string $text Text to replace tokens in. + * @param array $tokens Token names and replacement values for the $text. * @return string */ function bp_core_replace_tokens_in_text( $text, $tokens ) { @@ -3227,7 +3297,7 @@ function bp_core_replace_tokens_in_text( $text, $tokens ) { /** * Get a list of emails for populating the email post type. - *t + * * @since 2.5.1 * * @return array @@ -3304,7 +3374,7 @@ function bp_email_get_schema() { /* translators: do not remove {} brackets or translate its contents. */ 'post_content' => __( "Group details for the group "<a href=\"{{{group.url}}}\">{{group.name}}</a>" were updated:\n<blockquote>{{changed_text}}</blockquote>", 'buddypress' ), /* translators: do not remove {} brackets or translate its contents. */ - 'post_excerpt' => __( "Group details for the group "{{group.name}}" were updated:\n\n{{changed_text}}\n\nTo view the group, visit: {{{group.url}}}", 'buddypress' ), + 'post_excerpt' => __( "Group details for the group \"{{group.name}}\" were updated:\n\n{{changed_text}}\n\nTo view the group, visit: {{{group.url}}}", 'buddypress' ), ), 'groups-invitation' => array( /* translators: do not remove {} brackets or translate its contents. */ @@ -3312,7 +3382,7 @@ function bp_email_get_schema() { /* translators: do not remove {} brackets or translate its contents. */ 'post_content' => __( "<a href=\"{{{inviter.url}}}\">{{inviter.name}}</a> has invited you to join the group: "{{group.name}}".\n<a href=\"{{{invites.url}}}\">Go here to accept your invitation</a> or <a href=\"{{{group.url}}}\">visit the group</a> to learn more.", 'buddypress' ), /* translators: do not remove {} brackets or translate its contents. */ - 'post_excerpt' => __( "{{inviter.name}} has invited you to join the group: "{{group.name}}".\n\nTo accept your invitation, visit: {{{invites.url}}}\n\nTo learn more about the group, visit {{{group.url}}}.\nTo view {{inviter.name}}'s profile, visit: {{{inviter.url}}}", 'buddypress' ), + 'post_excerpt' => __( "{{inviter.name}} has invited you to join the group: \"{{group.name}}\".\n\nTo accept your invitation, visit: {{{invites.url}}}\n\nTo learn more about the group, visit {{{group.url}}}.\nTo view {{inviter.name}}'s profile, visit: {{{inviter.url}}}", 'buddypress' ), ), 'groups-member-promoted' => array( /* translators: do not remove {} brackets or translate its contents. */ @@ -3320,7 +3390,7 @@ function bp_email_get_schema() { /* translators: do not remove {} brackets or translate its contents. */ 'post_content' => __( "You have been promoted to <b>{{promoted_to}}</b> in the group "<a href=\"{{{group.url}}}\">{{group.name}}</a>".", 'buddypress' ), /* translators: do not remove {} brackets or translate its contents. */ - 'post_excerpt' => __( "You have been promoted to {{promoted_to}} in the group: "{{group.name}}".\n\nTo visit the group, go to: {{{group.url}}}", 'buddypress' ), + 'post_excerpt' => __( "You have been promoted to {{promoted_to}} in the group: \"{{group.name}}\".\n\nTo visit the group, go to: {{{group.url}}}", 'buddypress' ), ), 'groups-membership-request' => array( /* translators: do not remove {} brackets or translate its contents. */ @@ -3328,7 +3398,7 @@ function bp_email_get_schema() { /* translators: do not remove {} brackets or translate its contents. */ 'post_content' => __( "<a href=\"{{{profile.url}}}\">{{requesting-user.name}}</a> wants to join the group "{{group.name}}". As you are an administrator of this group, you must either accept or reject the membership request.\n\n<a href=\"{{{group-requests.url}}}\">Go here to manage this</a> and all other pending requests.", 'buddypress' ), /* translators: do not remove {} brackets or translate its contents. */ - 'post_excerpt' => __( "{{requesting-user.name}} wants to join the group "{{group.name}}". As you are the administrator of this group, you must either accept or reject the membership request.\n\nTo manage this and all other pending requests, visit: {{{group-requests.url}}}\n\nTo view {{requesting-user.name}}'s profile, visit: {{{profile.url}}}", 'buddypress' ), + 'post_excerpt' => __( "{{requesting-user.name}} wants to join the group \"{{group.name}}\". As you are the administrator of this group, you must either accept or reject the membership request.\n\nTo manage this and all other pending requests, visit: {{{group-requests.url}}}\n\nTo view {{requesting-user.name}}'s profile, visit: {{{profile.url}}}", 'buddypress' ), ), 'messages-unread' => array( /* translators: do not remove {} brackets or translate its contents. */ @@ -3336,7 +3406,7 @@ function bp_email_get_schema() { /* translators: do not remove {} brackets or translate its contents. */ 'post_content' => __( "{{sender.name}} sent you a new message: "{{usersubject}}"\n\n<blockquote>"{{usermessage}}"</blockquote>\n\n<a href=\"{{{message.url}}}\">Go to the discussion</a> to reply or catch up on the conversation.", 'buddypress' ), /* translators: do not remove {} brackets or translate its contents. */ - 'post_excerpt' => __( "{{sender.name}} sent you a new message: "{{usersubject}}"\n\n"{{usermessage}}"\n\nGo to the discussion to reply or catch up on the conversation: {{{message.url}}}", 'buddypress' ), + 'post_excerpt' => __( "{{sender.name}} sent you a new message: \"{{usersubject}}\"\n\n\"{{usermessage}}\"\n\nGo to the discussion to reply or catch up on the conversation: {{{message.url}}}", 'buddypress' ), ), 'settings-verify-email-change' => array( /* translators: do not remove {} brackets or translate its contents. */ @@ -3352,7 +3422,7 @@ function bp_email_get_schema() { /* translators: do not remove {} brackets or translate its contents. */ 'post_content' => __( "Your membership request for the group "<a href=\"{{{group.url}}}\">{{group.name}}</a>" has been accepted.", 'buddypress' ), /* translators: do not remove {} brackets or translate its contents. */ - 'post_excerpt' => __( "Your membership request for the group "{{group.name}}" has been accepted.\n\nTo view the group, visit: {{{group.url}}}", 'buddypress' ), + 'post_excerpt' => __( "Your membership request for the group \"{{group.name}}\" has been accepted.\n\nTo view the group, visit: {{{group.url}}}", 'buddypress' ), ), 'groups-membership-request-rejected' => array( /* translators: do not remove {} brackets or translate its contents. */ @@ -3360,7 +3430,7 @@ function bp_email_get_schema() { /* translators: do not remove {} brackets or translate its contents. */ 'post_content' => __( "Your membership request for the group "<a href=\"{{{group.url}}}\">{{group.name}}</a>" has been rejected.", 'buddypress' ), /* translators: do not remove {} brackets or translate its contents. */ - 'post_excerpt' => __( "Your membership request for the group "{{group.name}}" has been rejected.\n\nTo request membership again, visit: {{{group.url}}}", 'buddypress' ), + 'post_excerpt' => __( "Your membership request for the group \"{{group.name}}\" has been rejected.\n\nTo request membership again, visit: {{{group.url}}}", 'buddypress' ), ), ); } @@ -3369,26 +3439,309 @@ function bp_email_get_schema() { * Get a list of emails for populating email type taxonomy terms. * * @since 2.5.1 + * @since 2.7.0 $field argument added. + * + * @param string $field Optional; defaults to "description" for backwards compatibility. Other values: "all". + * @return array { + * The array of email types and their schema. + * + * @type string $description The description of the action which causes this to trigger. + * @type array $unsubscribe { + * Replacing this with false indicates that a user cannot unsubscribe from this type. + * + * @type string $meta_key The meta_key used to toggle the email setting for this notification. + * @type string $message The message shown when the user has successfully unsubscribed. + * } + */ +function bp_email_get_type_schema( $field = 'description' ) { + $activity_comment = array( + 'description' => __( 'A member has replied to an activity update that the recipient posted.', 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_activity_new_reply', + 'message' => __( 'You will no longer receive emails when someone replies to an update or comment you posted.', 'buddypress' ), + ), + ); + + $activity_comment_author = array( + 'description' => __( 'A member has replied to a comment on an activity update that the recipient posted.', 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_activity_new_reply', + 'message' => __( 'You will no longer receive emails when someone replies to an update or comment you posted.', 'buddypress' ), + ), + ); + + $activity_at_message = array( + 'description' => __( 'Recipient was mentioned in an activity update.', 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_activity_new_mention', + 'message' => __( 'You will no longer receive emails when someone mentions you in an update.', 'buddypress' ), + ), + ); + + $groups_at_message = array( + 'description' => __( 'Recipient was mentioned in a group activity update.', 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_activity_new_mention', + 'message' => __( 'You will no longer receive emails when someone mentions you in an update.', 'buddypress' ), + ), + ); + + $core_user_registration = array( + 'description' => __( 'Recipient has registered for an account.', 'buddypress' ), + 'unsubscribe' => false, + ); + + $core_user_registration_with_blog = array( + 'description' => __( 'Recipient has registered for an account and site.', 'buddypress' ), + 'unsubscribe' => false, + ); + + $friends_request = array( + 'description' => __( 'A member has sent a friend request to the recipient.', 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_friends_friendship_request', + 'message' => __( 'You will no longer receive emails when someone sends you a friend request.', 'buddypress' ), + ), + ); + + $friends_request_accepted = array( + 'description' => __( 'Recipient has had a friend request accepted by a member.', 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_friends_friendship_accepted', + 'message' => __( 'You will no longer receive emails when someone accepts your friendship request.', 'buddypress' ), + ), + ); + + $groups_details_updated = array( + 'description' => __( "A group's details were updated.", 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_groups_group_updated', + 'message' => __( 'You will no longer receive emails when one of your groups is updated.', 'buddypress' ), + ), + ); + + $groups_details_updated = array( + 'description' => __( "A group's details were updated.", 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_groups_group_updated', + 'message' => __( 'You will no longer receive emails when one of your groups is updated.', 'buddypress' ), + ), + ); + + $groups_invitation = array( + 'description' => __( 'A member has sent a group invitation to the recipient.', 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_groups_invite', + 'message' => __( 'You will no longer receive emails when you are invited to join a group.', 'buddypress' ), + ), + ); + + $groups_member_promoted = array( + 'description' => __( "Recipient's status within a group has changed.", 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_groups_admin_promotion', + 'message' => __( 'You will no longer receive emails when you have been promoted in a group.', 'buddypress' ), + ), + ); + + $groups_member_promoted = array( + 'description' => __( "Recipient's status within a group has changed.", 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_groups_admin_promotion', + 'message' => __( 'You will no longer receive emails when you have been promoted in a group.', 'buddypress' ), + ), + ); + + $groups_membership_request = array( + 'description' => __( 'A member has requested permission to join a group.', 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_groups_membership_request', + 'message' => __( 'You will no longer receive emails when someone requests to be a member of your group.', 'buddypress' ), + ), + ); + + $messages_unread = array( + 'description' => __( 'Recipient has received a private message.', 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_messages_new_message', + 'message' => __( 'You will no longer receive emails when someone sends you a message.', 'buddypress' ), + ), + ); + + $settings_verify_email_change = array( + 'description' => __( 'Recipient has changed their email address.', 'buddypress' ), + 'unsubscribe' => false, + ); + + $groups_membership_request_accepted = array( + 'description' => __( 'Recipient had requested to join a group, which was accepted.', 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_membership_request_completed', + 'message' => __( 'You will no longer receive emails when your request to join a group has been accepted or denied.', 'buddypress' ), + ), + ); + + $groups_membership_request_rejected = array( + 'description' => __( 'Recipient had requested to join a group, which was rejected.', 'buddypress' ), + 'unsubscribe' => array( + 'meta_key' => 'notification_membership_request_completed', + 'message' => __( 'You will no longer receive emails when your request to join a group has been accepted or denied.', 'buddypress' ), + ), + ); + + $types = array( + 'activity-comment' => $activity_comment, + 'activity-comment-author' => $activity_comment_author, + 'activity-at-message' => $activity_at_message, + 'groups-at-message' => $groups_at_message, + 'core-user-registration' => $core_user_registration, + 'core-user-registration-with-blog' => $core_user_registration_with_blog, + 'friends-request' => $friends_request, + 'friends-request-accepted' => $friends_request_accepted, + 'groups-details-updated' => $groups_details_updated, + 'groups-invitation' => $groups_invitation, + 'groups-member-promoted' => $groups_member_promoted, + 'groups-membership-request' => $groups_membership_request, + 'messages-unread' => $messages_unread, + 'settings-verify-email-change' => $settings_verify_email_change, + 'groups-membership-request-accepted' => $groups_membership_request_accepted, + 'groups-membership-request-rejected' => $groups_membership_request_rejected, + ); + + if ( $field !== 'all' ) { + return wp_list_pluck( $types, $field ); + } else { + return $types; + } +} + +/** + * Handles unsubscribing user from notification emails. * - * @return array + * @since 2.7.0 */ -function bp_email_get_type_schema() { - return array( - 'activity-comment' => __( 'A member has replied to an activity update that the recipient posted.', 'buddypress' ), - 'activity-comment-author' => __( 'A member has replied to a comment on an activity update that the recipient posted.', 'buddypress' ), - 'activity-at-message' => __( 'Recipient was mentioned in an activity update.', 'buddypress' ), - 'groups-at-message' => __( 'Recipient was mentioned in a group activity update.', 'buddypress' ), - 'core-user-registration' => __( 'Recipient has registered for an account.', 'buddypress' ), - 'core-user-registration-with-blog' => __( 'Recipient has registered for an account and site.', 'buddypress' ), - 'friends-request' => __( 'A member has sent a friend request to the recipient.', 'buddypress' ), - 'friends-request-accepted' => __( 'Recipient has had a friend request accepted by a member.', 'buddypress' ), - 'groups-details-updated' => __( "A group's details were updated.", 'buddypress' ), - 'groups-invitation' => __( 'A member has sent a group invitation to the recipient.', 'buddypress' ), - 'groups-member-promoted' => __( "Recipient's status within a group has changed.", 'buddypress' ), - 'groups-membership-request' => __( 'A member has requested permission to join a group.', 'buddypress' ), - 'messages-unread' => __( 'Recipient has received a private message.', 'buddypress' ), - 'settings-verify-email-change' => __( 'Recipient has changed their email address.', 'buddypress' ), - 'groups-membership-request-accepted' => __( 'Recipient had requested to join a group, which was accepted.', 'buddypress' ), - 'groups-membership-request-rejected' => __( 'Recipient had requested to join a group, which was rejected.', 'buddypress' ), +function bp_email_unsubscribe_handler() { + $emails = bp_email_get_type_schema( 'all' ); + $raw_email_type = ! empty( $_GET['nt'] ) ? $_GET['nt'] : ''; + $raw_hash = ! empty( $_GET['nh'] ) ? $_GET['nh'] : ''; + $raw_user_id = ! empty( $_GET['uid'] ) ? absint( $_GET['uid'] ) : 0; + $new_hash = hash_hmac( 'sha1', "{$raw_email_type}:{$raw_user_id}", bp_email_get_salt() ); + + // Check required values. + if ( ! $raw_user_id || ! $raw_email_type || ! $raw_hash || ! array_key_exists( $raw_email_type, $emails ) ) { + $redirect_to = site_url( 'wp-login.php' ); + $result_msg = __( 'Something has gone wrong.', 'buddypress' ); + $unsub_msg = __( 'Please log in and go to your settings to unsubscribe from notification emails.', 'buddypress' ); + + // Check valid hash. + } elseif ( ! hash_equals( $new_hash, $raw_hash ) ) { + $redirect_to = site_url( 'wp-login.php' ); + $result_msg = __( 'Something has gone wrong.', 'buddypress' ); + $unsub_msg = __( 'Please log in and go to your settings to unsubscribe from notification emails.', 'buddypress' ); + + // Don't let authenticated users unsubscribe other users' email notifications. + } elseif ( is_user_logged_in() && get_current_user_id() !== $raw_user_id ) { + $result_msg = __( 'Something has gone wrong.', 'buddypress' ); + $unsub_msg = __( 'Please go to your notifications settings to unsubscribe from emails.', 'buddypress' ); + + if ( bp_is_active( 'settings' ) ) { + $redirect_to = sprintf( + '%s%s/notifications/', + bp_core_get_user_domain( get_current_user_id() ), + bp_get_settings_slug() + ); + } else { + $redirect_to = bp_core_get_user_domain( get_current_user_id() ); + } + + } else { + if ( bp_is_active( 'settings' ) ) { + $redirect_to = sprintf( + '%s%s/notifications/', + bp_core_get_user_domain( $raw_user_id ), + bp_get_settings_slug() + ); + } else { + $redirect_to = bp_core_get_user_domain( $raw_user_id ); + } + + // Unsubscribe. + $meta_key = $emails[ $raw_email_type ]['unsubscribe']['meta_key']; + bp_update_user_meta( $raw_user_id, $meta_key, 'no' ); + + $result_msg = $emails[ $raw_email_type ]['unsubscribe']['message']; + $unsub_msg = __( 'You can change this or any other email notification preferences in your email settings.', 'buddypress' ); + } + + $message = sprintf( + '%1$s <a href="%2$s">%3$s</a>', + $result_msg, + esc_url( $redirect_to ), + esc_html( $unsub_msg ) + ); + + bp_core_add_message( $message ); + bp_core_redirect( bp_core_get_user_domain( $raw_user_id ) ); + + exit; +} + +/** + * Creates unsubscribe link for notification emails. + * + * @since 2.7.0 + * + * @param string $redirect_to The URL to which the unsubscribe query string is appended. + * @param array $args { + * Used to build unsubscribe query string. + * + * @type string $notification_type Which notification type is being sent. + * @type string $user_id The ID of the user to whom the notification is sent. + * @type string $redirect_to Optional. The url to which the user will be redirected. Default is the activity directory. + * } + * @return string The unsubscribe link. + */ +function bp_email_get_unsubscribe_link( $args ) { + $emails = bp_email_get_type_schema( 'all' ); + + if ( empty( $args['notification_type'] ) || ! array_key_exists( $args['notification_type'], $emails ) ) { + return site_url( 'wp-login.php' ); + } + + $email_type = $args['notification_type']; + $redirect_to = ! empty( $args['redirect_to'] ) ? $args['redirect_to'] : site_url(); + $user_id = (int) $args['user_id']; + + // Bail out if the activity type is not un-unsubscribable. + if ( empty( $emails[ $email_type ]['unsubscribe'] ) ) { + return ''; + } + + $link = add_query_arg( + array( + 'action' => 'unsubscribe', + 'nh' => hash_hmac( 'sha1', "{$email_type}:{$user_id}", bp_email_get_salt() ), + 'nt' => $args['notification_type'], + 'uid' => $user_id, + ), + $redirect_to ); + + /** + * Filters the unsubscribe link. + * + * @since 2.7.0 + */ + return apply_filters( 'bp_email_get_link', $link, $redirect_to, $args ); +} + +/** + * Get a persistent salt for email unsubscribe links. + * + * @since 2.7.0 + * + * @return string|null Returns null if value isn't set, otherwise string. + */ +function bp_email_get_salt() { + return bp_get_option( 'bp-emails-unsubscribe-salt', null ); } diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-loader.php b/wp-content/plugins/buddypress/bp-core/bp-core-loader.php index 3ade1e247abc7075459879ae0175e40b53b0bad2..83306ac1a8f5fc9c18b45e8cf5aa1bd54903736a 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-loader.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-loader.php @@ -18,11 +18,9 @@ if ( ! buddypress()->do_autoload ) { } /** - * Set up the BuddyPress Core component. + * Set up the bp-core component. * * @since 1.6.0 - * - * @global BuddyPress $bp BuddyPress global settings object. */ function bp_setup_core() { buddypress()->core = new BP_Core(); diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-options.php b/wp-content/plugins/buddypress/bp-core/bp-core-options.php index 7a9ba4525747f32bec23f2ca7e628ac3bb5d8846..2c7d346eec386c1e2dd377a05be00f3db57c41fd 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-options.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-options.php @@ -13,6 +13,9 @@ defined( 'ABSPATH' ) || exit; /** * Get the default site options and their values. * + * Default values should not be set by calls to `get_option()` or `get_site_option()` due to + * these causing load order problems with `bp_core_clear_root_options_cache()`; see #BP7227. + * * @since 1.6.0 * * @return array Filtered option names and values. @@ -73,6 +76,9 @@ function bp_get_default_options() { // The ID for the current theme package. '_bp_theme_package_id' => 'legacy', + // Email unsubscribe salt. + 'bp-emails-unsubscribe-salt' => '', + /* Groups ************************************************************/ // @todo Move this into the groups component @@ -94,11 +100,14 @@ function bp_get_default_options() { // Force the BuddyBar. '_bp_force_buddybar' => false, - /* Legacy theme *********************************************/ + /* Legacy *********************************************/ // Whether to register the bp-default themes directory. '_bp_retain_bp_default' => false, + // Whether to load deprecated code. + '_bp_ignore_deprecated_code' => true, + /* Widgets **************************************************/ 'widget_bp_core_login_widget' => false, 'widget_bp_core_members_widget' => false, @@ -125,7 +134,6 @@ function bp_get_default_options() { * Non-destructive, so existing settings will not be overridden. * * @since 1.6.0 - * */ function bp_add_options() { @@ -156,7 +164,6 @@ function bp_add_options() { * Currently unused. * * @since 1.6.0 - * */ function bp_delete_options() { @@ -184,7 +191,6 @@ function bp_delete_options() { * Currently unused. * * @since 1.6.0 - * */ function bp_setup_option_filters() { @@ -242,7 +248,7 @@ function bp_pre_get_option( $value = false ) { * * The 'bp_get_option' filter is primarily for backward-compatibility. * - * @since 1.2.0 + * @since 1.5.0 * * @param string $option_name The option to be retrieved. * @param string $default Optional. Default value to be returned if the option @@ -255,7 +261,7 @@ function bp_get_option( $option_name, $default = '' ) { /** * Filters the option value for the requested option. * - * @since 1.2.0 + * @since 1.5.0 * * @param mixed $value The value for the option. */ @@ -411,61 +417,16 @@ function bp_core_get_root_options() { $root_blog_options_meta = array_merge( $root_blog_options_meta, $network_options_meta ); } - // Missing some options, so do some one-time fixing. - if ( empty( $root_blog_options_meta ) || ( count( $root_blog_options_meta ) < count( $root_blog_option_keys ) ) ) { - - // Get a list of the keys that are already populated. - $existing_options = array(); - foreach( $root_blog_options_meta as $already_option ) { - $existing_options[$already_option->name] = $already_option->value; - } - - // Unset the query - We'll be resetting it soon. - unset( $root_blog_options_meta ); - - // Loop through options. - foreach ( $root_blog_options as $old_meta_key => $old_meta_default ) { - - if ( isset( $existing_options[$old_meta_key] ) ) { - continue; - } - - // Get old site option. - if ( is_multisite() ) { - $old_meta_value = get_site_option( $old_meta_key ); - } - - // No site option so look in root blog. - if ( empty( $old_meta_value ) ) { - $old_meta_value = bp_get_option( $old_meta_key, $old_meta_default ); - } - - // Update the root blog option. - bp_update_option( $old_meta_key, $old_meta_value ); - - // Update the global array. - $root_blog_options_meta[$old_meta_key] = $old_meta_value; - - // Clear out the value for the next time around. - unset( $old_meta_value ); - } - - $root_blog_options_meta = array_merge( $root_blog_options_meta, $existing_options ); - unset( $existing_options ); - - // We're all matched up. - } else { - // Loop through our results and make them usable. - foreach ( $root_blog_options_meta as $root_blog_option ) { - $root_blog_options[$root_blog_option->name] = $root_blog_option->value; - } + // Loop through our results and make them usable. + foreach ( $root_blog_options_meta as $root_blog_option ) { + $root_blog_options[$root_blog_option->name] = $root_blog_option->value; + } - // Copy the options no the return val. - $root_blog_options_meta = $root_blog_options; + // Copy the options no the return val. + $root_blog_options_meta = $root_blog_options; - // Clean up our temporary copy. - unset( $root_blog_options ); - } + // Clean up our temporary copy. + unset( $root_blog_options ); wp_cache_set( 'root_blog_options', $root_blog_options_meta, 'bp' ); } @@ -489,7 +450,7 @@ function bp_core_get_root_options() { * * @since 2.3.0 * - * @param string $option Name of the option key. + * @param string $option Name of the option key. * @return mixed Value, if found. */ function bp_core_get_root_option( $option ) { @@ -754,7 +715,6 @@ function bp_group_forums_root_id( $default = '0' ) { * * @since 1.6.0 * - * * @param bool|string $default Optional. Default: '0'. * @return int The ID of the group forums root forum. */ diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-taxonomy.php b/wp-content/plugins/buddypress/bp-core/bp-core-taxonomy.php index fd0139b0e3156412ef7ac87c3a707e979982a19c..14334e00ddd764c0859d3eddd90bc05d3b39f4dd 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-taxonomy.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-taxonomy.php @@ -21,7 +21,7 @@ defined( 'ABSPATH' ) || exit; */ function bp_register_default_taxonomies() { // Member Type. - register_taxonomy( 'bp_member_type', 'user', array( + register_taxonomy( bp_get_member_type_tax_name(), 'user', array( 'public' => false, ) ); @@ -51,6 +51,7 @@ add_action( 'bp_register_taxonomies', 'bp_register_default_taxonomies' ); * * @since 2.6.0 * + * @param string $taxonomy Taxonomy slug to check for. * @return int */ function bp_get_taxonomy_term_site_id( $taxonomy = '' ) { @@ -61,8 +62,8 @@ function bp_get_taxonomy_term_site_id( $taxonomy = '' ) { * * @since 2.6.0 * - * @param int $site_id - * @param string $taxonomy + * @param int $site_id Site ID to cehck for. + * @param string $taxonomy Taxonomy slug to check for. */ return (int) apply_filters( 'bp_get_taxonomy_term_site_id', $site_id, $taxonomy ); } @@ -90,13 +91,25 @@ function bp_set_object_terms( $object_id, $terms, $taxonomy, $append = false ) { $switched = true; } - $retval = wp_set_object_terms( $object_id, $terms, $taxonomy, $append ); + $tt_ids = wp_set_object_terms( $object_id, $terms, $taxonomy, $append ); if ( $switched ) { restore_current_blog(); } - return $retval; + /** + * Fires when taxonomy terms have been set on BuddyPress objects. + * + * @since 2.7.0 + * + * @param int $object_id Object ID. + * @param array $terms Term or terms to remove. + * @param array $tt_ids Array of term taxonomy IDs. + * @param string $taxonomy Taxonomy name. + */ + do_action( 'bp_set_object_terms', $object_id, $terms, $tt_ids, $taxonomy ); + + return $tt_ids; } /** @@ -167,5 +180,100 @@ function bp_remove_object_terms( $object_id, $terms, $taxonomy ) { restore_current_blog(); } + /** + * Fires when taxonomy terms have been removed from BuddyPress objects. + * + * @since 2.7.0 + * + * @param int $object_id Object ID. + * @param array $terms Term or terms to remove. + * @param string $taxonomy Taxonomy name. + */ + do_action( 'bp_remove_object_terms', $object_id, $terms, $taxonomy ); + return $retval; } + +/** + * Retrieve IDs of objects in valid taxonomies and terms for BuddyPress-related taxonomies. + * + * Note that object IDs are from the `bp_get_taxonomy_term_site_id()`, which on some + * multisite configurations may not be the same as the current site. + * + * @since 2.7.0 + * + * @see get_objects_in_term() for a full description of function and parameters. + * + * @param int|array $term_ids Term id or array of term ids of terms that will be used. + * @param string|array $taxonomies String of taxonomy name or Array of string values of taxonomy names. + * @param array|string $args Change the order of the object_ids, either ASC or DESC. + * + * @return WP_Error|array If the taxonomy does not exist, then WP_Error will be returned. On success, + * the array can be empty, meaning that there are no $object_ids found. When + * object IDs are found, an array of those IDs will be returned. + */ +function bp_get_objects_in_term( $term_ids, $taxonomies, $args = array() ) { + // Different taxonomies may be stored on different sites. + $taxonomy_site_map = array(); + foreach ( (array) $taxonomies as $taxonomy ) { + $taxonomy_site_id = bp_get_taxonomy_term_site_id( $taxonomy ); + $taxonomy_site_map[ $taxonomy_site_id ][] = $taxonomy; + } + + $retval = array(); + foreach ( $taxonomy_site_map as $taxonomy_site_id => $site_taxonomies ) { + $switched = false; + if ( $taxonomy_site_id !== get_current_blog_id() ) { + switch_to_blog( $taxonomy_site_id ); + bp_register_taxonomies(); + $switched = true; + } + + $site_objects = get_objects_in_term( $term_ids, $site_taxonomies, $args ); + $retval = array_merge( $retval, $site_objects ); + + if ( $switched ) { + restore_current_blog(); + } + } + + return $retval; +} + +/** + * Get term data for terms in BuddyPress taxonomies. + * + * Note that term data is from the `bp_get_taxonomy_term_site_id()`, which on some + * multisite configurations may not be the same as the current site. + * + * @since 2.7.0 + * + * @see get_term_by() for a full description of function and parameters. + * + * @param string $field Either 'slug', 'name', 'id' (term_id), or 'term_taxonomy_id' + * @param string|int $value Search for this term value + * @param string $taxonomy Taxonomy name. Optional, if `$field` is 'term_taxonomy_id'. + * @param string $output Constant OBJECT, ARRAY_A, or ARRAY_N + * @param string $filter Optional, default is raw or no WordPress defined filter will applied. + * + * @return WP_Term|bool WP_Term instance on success. Will return false if `$taxonomy` does not exist + * or `$term` was not found. + */ +function bp_get_term_by( $field, $value, $taxonomy = '', $output = OBJECT, $filter = 'raw' ) { + $site_id = bp_get_taxonomy_term_site_id( $taxonomy ); + + $switched = false; + if ( $site_id !== get_current_blog_id() ) { + switch_to_blog( $site_id ); + bp_register_taxonomies(); + $switched = true; + } + + $term = get_term_by( $field, $value, $taxonomy, $output, $filter ); + + if ( $switched ) { + restore_current_blog(); + } + + return $term; +} diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php b/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php index c6aba79d57324ce9bb145fa7804d0162f7aeae0f..b8c1a5b1bde9821d5fbf7e98f24e519d39f51734 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php @@ -70,6 +70,10 @@ function bp_get_template_part( $slug, $name = null ) { * @since 2.6.0 * * @see bp_get_template_part() for full documentation. + * + * @param string $slug Template slug. + * @param string|null $name Template name. + * @return string */ function bp_get_asset_template_part( $slug, $name = null ) { return bp_get_template_part( "assets/{$slug}", $name ); @@ -156,7 +160,7 @@ function bp_locate_template( $template_names, $load = false, $require_once = tru * * @since 2.6.0 * - * @param string Relative filename to search for. + * @param string $filename Relative filename to search for. * @return array|bool Array of asset data if one is located (includes absolute filepath and URI). * Boolean false on failure. */ diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-template.php b/wp-content/plugins/buddypress/bp-core/bp-core-template.php index 0755af83eb737848205ed49808727fc7fd91bd1f..b3bad7e68ae7abf61b09014e640ada0b0bde5b55 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-template.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-template.php @@ -584,6 +584,71 @@ function bp_search_form_type_select() { return apply_filters( 'bp_search_form_type_select', $selection_box ); } +/** + * Output the 'name' attribute for search form input element. + * + * @since 2.7.0 + * + * @param string $component See bp_get_search_input_name(). + */ +function bp_search_input_name( $component = '' ) { + echo esc_attr( bp_get_search_input_name( $component ) ); +} + +/** + * Get the 'name' attribute for the search form input element. + * + * @since 2.7.0 + * + * @param string $component Component name. Defaults to current component. + * @return string Text for the 'name' attribute. + */ +function bp_get_search_input_name( $component = '' ) { + if ( ! $component ) { + $component = bp_current_component(); + } + + $bp = buddypress(); + + $name = ''; + if ( isset( $bp->{$component}->id ) ) { + $name = $bp->{$component}->id . '_search'; + } + + return $name; +} + +/** + * Output the placeholder text for the search box for a given component. + * + * @since 2.7.0 + * + * @param string $component See bp_get_search_placeholder(). + */ +function bp_search_placeholder( $component = '' ) { + echo esc_attr( bp_get_search_placeholder( $component ) ); +} + +/** + * Get the placeholder text for the search box for a given component. + * + * @since 2.7.0 + * + * @param string $component Component name. Defaults to current component. + * @return string Placeholder text for the search field. + */ +function bp_get_search_placeholder( $component = '' ) { + $query_arg = bp_core_get_component_search_query_arg( $component ); + + if ( $query_arg && ! empty( $_REQUEST[ $query_arg ] ) ) { + $placeholder = wp_unslash( $_REQUEST[ $query_arg ] ); + } else { + $placeholder = bp_get_search_default_text( $component ); + } + + return $placeholder; +} + /** * Output the default text for the search box for a given component. * @@ -2399,7 +2464,7 @@ function bp_is_user_change_avatar() { * * Eg http://example.com/members/joe/profile/change-cover-image/ (or a subpage thereof). * - * @since 2.4.0 + * @since 2.4.0 * * @return bool True if the current page is a user's profile edit cover image page. */ @@ -2621,7 +2686,7 @@ function bp_is_user_settings_profile() { * @return True if the current page is the groups directory. */ function bp_is_groups_directory() { - if ( bp_is_groups_component() && ! bp_current_action() && ! bp_current_item() ) { + if ( bp_is_groups_component() && ! bp_is_group() && ( ! bp_current_action() || ( bp_action_variable() && bp_is_current_action( bp_get_groups_group_type_base() ) ) ) ) { return true; } @@ -3154,7 +3219,7 @@ function bp_get_title_parts( $seplocation = 'right' ) { * * @since 2.4.3 * - * @param array $bp_title_parts Current BuddyPress title parts + * @param array $bp_title_parts Current BuddyPress title parts. * @return array */ return (array) apply_filters( 'bp_get_title_parts', $bp_title_parts ); @@ -3247,6 +3312,10 @@ function bp_the_body_class() { if ( bp_is_user_activity() ) { $bp_classes[] = 'my-activity'; } + } else { + if ( bp_get_current_member_type() ) { + $bp_classes[] = 'type'; + } } if ( bp_is_my_profile() ) { @@ -3724,9 +3793,9 @@ function bp_nav_menu( $args = array() ) { /** * Prints the Recipient Salutation. * - * @since 2.5.0 + * @since 2.5.0 * - * @param array $settings Email Settings. + * @param array $settings Email Settings. */ function bp_email_the_salutation( $settings = array() ) { echo bp_email_get_salutation( $settings ); @@ -3735,9 +3804,9 @@ function bp_email_the_salutation( $settings = array() ) { /** * Gets the Recipient Salutation. * - * @since 2.5.0 + * @since 2.5.0 * - * @param array $settings Email Settings. + * @param array $settings Email Settings. * @return string The Recipient Salutation. */ function bp_email_get_salutation( $settings = array() ) { @@ -3746,7 +3815,7 @@ function bp_email_the_salutation( $settings = array() ) { /** * Filters The Recipient Salutation inside the Email Template. * - * @since 2.5.0 + * @since 2.5.0 * * @param string $value The Recipient Salutation. * @param array $settings Email Settings. diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-theme-compatibility.php b/wp-content/plugins/buddypress/bp-core/bp-core-theme-compatibility.php index 6a1e36bda58c622ac7f736cc1cb25fabfcde06e3..117d158e46507546b5edb7b60c30ba7f103770d6 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-theme-compatibility.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-theme-compatibility.php @@ -319,8 +319,8 @@ function bp_set_theme_compat_original_template( $template = '' ) { * * @since 2.4.0 * - * @param string $theme_id The theme id (eg: legacy). - * @param array $feature An associative array (eg: array( name => 'feature_name', 'settings' => array() )). + * @param string $theme_id The theme id (eg: legacy). + * @param array $feature An associative array (eg: array( name => 'feature_name', 'settings' => array() )). */ function bp_set_theme_compat_feature( $theme_id, $feature = array() ) { if ( empty( $theme_id ) || empty( $feature['name'] ) ) { @@ -379,8 +379,8 @@ function bp_set_theme_compat_feature( $theme_id, $feature = array() ) { * * @since 2.4.0 * - * @param string $feature The feature (eg: cover_image). - * @return object The feature settings. + * @param string $feature The feature (eg: cover_image). + * @return object The feature settings. */ function bp_get_theme_compat_feature( $feature = '' ) { // Get current theme compat theme. @@ -397,7 +397,7 @@ function bp_get_theme_compat_feature( $feature = '' ) { } /** - * Setup the theme's features + * Setup the theme's features. * * Note: BP Legacy's buddypress-functions.php is not loaded in WP Administration * as it's loaded using bp_locate_template(). That's why this function is here. @@ -646,7 +646,7 @@ function bp_theme_compat_reset_post( $args = array() ) { unset( $dummy ); /** - * Force the header back to 200 status if not a deliberate 404 + * Force the header back to 200 status if not a deliberate 404. * * @see https://bbpress.trac.wordpress.org/ticket/1973 */ @@ -957,10 +957,12 @@ function bp_comments_open( $open, $post_id = 0 ) { function bp_theme_compat_toggle_is_page( $retval = '' ) { global $wp_query; - $wp_query->is_page = false; + if ( $wp_query->is_page ) { + $wp_query->is_page = false; - // Set a switch so we know that we've toggled these WP_Query properties. - buddypress()->theme_compat->is_page_toggled = true; + // Set a switch so we know that we've toggled these WP_Query properties. + buddypress()->theme_compat->is_page_toggled = true; + } return $retval; } diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-update.php b/wp-content/plugins/buddypress/bp-core/bp-core-update.php index 081b1fffb34a72ef21131d9989cf11b372118ec4..b8cace31cf97d552db3e3f9e2f5e05225c5acfe1 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-update.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-update.php @@ -139,7 +139,6 @@ function bp_is_deactivation( $basename = '' ) { * Update the BP version stored in the database to the current version. * * @since 1.6.0 - * */ function bp_version_bump() { bp_update_option( '_bp_db_version', bp_get_db_version() ); @@ -192,10 +191,11 @@ function bp_version_updater() { 'notifications' => 1, ) ); + require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); require_once( buddypress()->plugin_dir . '/bp-core/admin/bp-core-admin-schema.php' ); $switched_to_root_blog = false; - // Make sure the current blog is set to the root blog + // Make sure the current blog is set to the root blog. if ( ! bp_is_root_blog() ) { switch_to_blog( bp_get_root_blog_id() ); bp_register_taxonomies(); @@ -218,51 +218,56 @@ function bp_version_updater() { // Run the schema install to update tables. bp_core_install(); - // 1.5.0 + // Version 1.5.0. if ( $raw_db_version < 1801 ) { bp_update_to_1_5(); bp_core_add_page_mappings( $default_components, 'delete' ); } - // 1.6.0 + // Version 1.6.0. if ( $raw_db_version < 6067 ) { bp_update_to_1_6(); } - // 1.9.0 + // Version 1.9.0. if ( $raw_db_version < 7553 ) { bp_update_to_1_9(); } - // 1.9.2 + // Version 1.9.2. if ( $raw_db_version < 7731 ) { bp_update_to_1_9_2(); } - // 2.0.0 + // Version 2.0.0. if ( $raw_db_version < 7892 ) { bp_update_to_2_0(); } - // 2.0.1 + // Version 2.0.1. if ( $raw_db_version < 8311 ) { bp_update_to_2_0_1(); } - // 2.2.0 + // Version 2.2.0. if ( $raw_db_version < 9181 ) { bp_update_to_2_2(); } - // 2.3.0 + // Version 2.3.0. if ( $raw_db_version < 9615 ) { bp_update_to_2_3(); } - // 2.5.0 + // Version 2.5.0. if ( $raw_db_version < 10440 ) { bp_update_to_2_5(); } + + // Version 2.7.0. + if ( $raw_db_version < 11105 ) { + bp_update_to_2_7(); + } } /* All done! *************************************************************/ @@ -331,7 +336,7 @@ function bp_update_to_1_5() { } /** - * Remove unused metadata from database when upgrading from < 1.6. + * Remove unused metadata from database when upgrading from < 1.6.0. * * Database update methods based on version numbers. * @@ -380,7 +385,7 @@ function bp_update_to_1_9() { } /** - * Perform database updates for BP 1.9.2 + * Perform database updates for BP 1.9.2. * * In 1.9, BuddyPress stopped registering its theme directory when it detected * that bp-default (or a child theme) was not currently being used, in effect @@ -389,6 +394,7 @@ function bp_update_to_1_9() { * bp-default would no longer be available, with no obvious way (outside of * a manual filter) to restore it. In 1.9.2, we add an option that flags * whether bp-default or a child theme is active at the time of upgrade; if so, + * * the theme directory will continue to be registered even if the theme is * deactivated temporarily. Thus, new installations will not see bp-default, * but legacy installations using the theme will continue to see it. @@ -440,8 +446,6 @@ function bp_update_to_2_0() { * 2.0.1 database upgrade routine. * * @since 2.0.1 - * - * @return void */ function bp_update_to_2_0_1() { @@ -501,6 +505,43 @@ function bp_update_to_2_5() { bp_core_install_emails(); } +/** + * 2.7.0 update routine. + * + * - Add email unsubscribe salt. + * - Save legacy directory titles to the corresponding WP pages. + * - Add ignore deprecated code option (false for updates). + * + * @since 2.7.0 + */ +function bp_update_to_2_7() { + bp_add_option( 'bp-emails-unsubscribe-salt', base64_encode( wp_generate_password( 64, true, true ) ) ); + + // Update post_titles + bp_migrate_directory_page_titles(); + + /* + * Add `parent_id` column to groups table. + * Also handled by `bp_core_install()`. + */ + if ( bp_is_active( 'groups' ) ) { + bp_core_install_groups(); + + // Invalidate all cached group objects. + global $wpdb; + $bp = buddypress(); + + $group_ids = $wpdb->get_col( "SELECT id FROM {$bp->groups->table_name}" ); + + foreach ( $group_ids as $group_id ) { + wp_cache_delete( $group_id, 'bp_groups' ); + } + } + + // Load deprecated code for existing installs. + bp_add_option( '_bp_ignore_deprecated_code', false ); +} + /** * Updates the component field for new_members type. * @@ -539,7 +580,6 @@ function bp_migrate_new_member_activity_component() { * Remove all hidden friendship activities. * * @since 2.2.0 - * */ function bp_cleanup_friendship_activities() { bp_activity_delete( array( @@ -549,13 +589,61 @@ function bp_cleanup_friendship_activities() { ) ); } +/** + * Update WP pages so that their post_title matches the legacy component directory title. + * + * As of 2.7.0, component directory titles come from the `post_title` attribute of the corresponding WP post object, + * instead of being hardcoded. To ensure that directory titles don't change for existing installations, we update these + * WP posts with the formerly hardcoded titles. + * + * @since 2.7.0 + */ +function bp_migrate_directory_page_titles() { + $bp_pages = bp_core_get_directory_page_ids( 'all' ); + + $default_titles = bp_core_get_directory_page_default_titles(); + + $legacy_titles = array( + 'activity' => _x( 'Site-Wide Activity', 'component directory title', 'buddypress' ), + 'blogs' => _x( 'Sites', 'component directory title', 'buddypress' ), + 'groups' => _x( 'Groups', 'component directory title', 'buddypress' ), + 'members' => _x( 'Members', 'component directory title', 'buddypress' ), + ); + + foreach ( $bp_pages as $component => $page_id ) { + if ( ! isset( $legacy_titles[ $component ] ) ) { + continue; + } + + $page = get_post( $page_id ); + if ( ! $page ) { + continue; + } + + // If the admin has changed the default title, don't touch it. + if ( isset( $default_titles[ $component ] ) && $default_titles[ $component ] !== $page->post_title ) { + continue; + } + + // If the saved page title is the same as the legacy title, there's nothing to do. + if ( $legacy_titles[ $component ] == $page->post_title ) { + continue; + } + + // Update the page with the legacy title. + wp_update_post( array( + 'ID' => $page_id, + 'post_title' => $legacy_titles[ $component ], + ) ); + } +} + /** * Redirect user to BP's What's New page on first page load after activation. * * @since 1.7.0 * * @internal Used internally to redirect BuddyPress to the about page on activation. - * */ function bp_add_activation_redirect() { @@ -624,7 +712,6 @@ function bp_core_maybe_install_signups() { * Runs on BuddyPress activation. * * @since 1.6.0 - * */ function bp_activation() { @@ -637,13 +724,13 @@ function bp_activation() { /** * Fires during the activation of BuddyPress. * - * Use as of (1.6.0) + * Use as of 1.6.0. * * @since 1.6.0 */ do_action( 'bp_activation' ); - // @deprecated as of (1.6) + // @deprecated as of 1.6.0 do_action( 'bp_loader_activate' ); } @@ -653,7 +740,6 @@ function bp_activation() { * Runs on BuddyPress deactivation. * * @since 1.6.0 - * */ function bp_deactivation() { @@ -671,13 +757,13 @@ function bp_deactivation() { /** * Fires during the deactivation of BuddyPress. * - * Use as of (1.6.0) + * Use as of 1.6.0. * * @since 1.6.0 */ do_action( 'bp_deactivation' ); - // @deprecated as of (1.6) + // @deprecated as of 1.6.0 do_action( 'bp_loader_deactivate' ); } @@ -687,7 +773,6 @@ function bp_deactivation() { * Runs when uninstalling BuddyPress. * * @since 1.6.0 - * */ function bp_uninstall() { diff --git a/wp-content/plugins/buddypress/bp-core/bp-core-wpabstraction.php b/wp-content/plugins/buddypress/bp-core/bp-core-wpabstraction.php index 4ec75c58cc62effed612d12208ec441bf5ebb9c2..41ff1a7dbe58763be266af5dd0da15835673b8b4 100644 --- a/wp-content/plugins/buddypress/bp-core/bp-core-wpabstraction.php +++ b/wp-content/plugins/buddypress/bp-core/bp-core-wpabstraction.php @@ -52,7 +52,6 @@ if ( !is_multisite() ) { * @param int $blog_id Blog ID to fetch for. Not used. * @param string $option_name Option name to fetch. * @param bool $default Whether or not default. - * * @return mixed */ function get_blog_option( $blog_id, $option_name, $default = false ) { @@ -72,7 +71,6 @@ if ( !is_multisite() ) { * @param int $blog_id Blog ID to add for. Not used. * @param string $option_name Option name to add. * @param mixed $option_value Option value to add. - * * @return mixed */ function add_blog_option( $blog_id, $option_name, $option_value ) { @@ -92,7 +90,6 @@ if ( !is_multisite() ) { * @param int $blog_id Blog ID to update for. Not used. * @param string $option_name Option name to update. * @param mixed $value Option value to update. - * * @return mixed */ function update_blog_option( $blog_id, $option_name, $value ) { @@ -111,7 +108,6 @@ if ( !is_multisite() ) { * * @param int $blog_id Blog ID to delete for. Not used. * @param string $option_name Option name to delete. - * * @return mixed */ function delete_blog_option( $blog_id, $option_name ) { @@ -130,7 +126,6 @@ if ( !is_multisite() ) { * * @param mixed $new_blog New blog to switch to. Not used. * @param null $deprecated Whether or not deprecated. Not used. - * * @return int */ function switch_to_blog( $new_blog, $deprecated = null ) { @@ -165,7 +160,6 @@ if ( !is_multisite() ) { * * @param int $user_id ID of the user. Not used. * @param bool $all Whether or not to return all. Not used. - * * @return false */ function get_blogs_of_user( $user_id, $all = false ) { @@ -186,7 +180,6 @@ if ( !is_multisite() ) { * @param mixed $pref Preference. Not used. * @param string $value Value. Not used. * @param null $deprecated Whether or not deprecated. Not used. - * * @return true */ function update_blog_status( $blog_id, $pref, $value, $deprecated = null ) { diff --git a/wp-content/plugins/buddypress/bp-core/classes/class-bp-admin.php b/wp-content/plugins/buddypress/bp-core/classes/class-bp-admin.php index 3971c8c0d62e5547890ea0621c500999df422e14..1768d787bde524104bbc44d2ae233bf15ce8f61b 100644 --- a/wp-content/plugins/buddypress/bp-core/classes/class-bp-admin.php +++ b/wp-content/plugins/buddypress/bp-core/classes/class-bp-admin.php @@ -193,8 +193,6 @@ class BP_Admin { * Contextually hooked to site or network-admin depending on current configuration. * * @since 1.6.0 - * - * section. */ public function admin_menus() { @@ -615,82 +613,123 @@ class BP_Admin { <?php endif; ?> <div class="bp-headline-feature"> - <h3 class="headline-title"><?php esc_html_e( 'Activity Embeds', 'buddypress' ); ?></h3> + <div class="bp-headline"> + <span class="dashicons dashicons-list-view" aria-hidden="true"></span> + <h3 class="headline-title"><?php esc_html_e( 'Groups Query Overhaul', 'buddypress' ); ?></h3> + + <p class="introduction"><?php + /* translators: %s: URL to the development post about this feature */ + printf( __( 'Huge performance improvements on sites using persistent caching. <a href="%s">Learn more about the Groups Query rewrite</a>.', 'buddypress' ), + 'https://bpdevel.wordpress.com/2016/09/19/group-queries-have-been-rewritten-for-bp-2-7/' ); + ?></p> + </div> + </div> - <?php if ( $embedded_activity ) : - wp_enqueue_script( 'wp-embed' ); - ?> - <div class="embed-container"> - <?php echo $embedded_activity ; ?> - </div> + <div class="bp-features-section"> - <?php else : ?> + <h3 class="headline-title"><?php esc_html_e( 'For Developers & Site Builders', 'buddypress' ); ?></h3> - <div class="featured-image"> - <a href="http://wordpress.tv/2016/06/15/buddypress-2-6-introducing-buddypress-activity-embeds/" title="<?php esc_attr_e( 'View the Activity Embeds demo', 'buddypress' ); ?>"> - <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/activity-embeds.png' ); ?>" alt="<?php esc_attr_e( 'Embed activities into your WordPress posts or pages.', 'buddypress' ); ?>"> - </a> - </div> + <div class="bp-feature"> + <span class="dashicons dashicons-calendar" aria-hidden="true"></span> + <h4 class="feature-title"><?php esc_html_e( 'Improved Profile Date Field', 'buddypress' ); ?></h4> + <p><?php _e( 'New Date Field settings, "Date format" and "Range", make it easier for site administrators to decide how date-based data will be collected and displayed.', 'buddypress' ); ?></p> + </div> - <?php endif ; ?> + <div class="bp-feature opposite"> + <span class="dashicons dashicons-groups" aria-hidden="true"></span> + <h4 class="feature-title"><?php esc_html_e( 'Group Types Integration in Templates', 'buddypress' ); ?></h4> + <p><?php + /* translators: %s: URL to the BuddyPress Codex article */ + printf( __( 'Enable developers to show Group Types on the front end as well as control where the group type information is rendered. <a href="%s">Learn how to implement this feature</a>.', 'buddypress' ), + 'https://codex.buddypress.org/developer/group-types/' ); + ?></p> + </div> - <p class="introduction"><?php _e( 'Embed activities into your WordPress posts or pages.', 'buddypress' ); ?> </p> - <p><?php _e( 'Copy the permalink URL of the activity of your choice, paste it into the content editor of your WordPress post or page, and <em>voilà</em>!, you've embedded an activity update.', 'buddypress' ); ?> <a href="http://wordpress.tv/2016/06/15/buddypress-2-6-introducing-buddypress-activity-embeds/"><?php esc_html_e( 'View the Activity Embeds demo', 'buddypress' ); ?></a></p> + <div class="bp-feature"> + <span class="dashicons dashicons-admin-multisite" aria-hidden="true"></span> + <h4 class="feature-title"><?php esc_html_e( 'Use the Site Icon as Your Site’s Profile Photo', 'buddypress' ); ?></h4> + <p><?php + /* translators: %s: URL to the WordPress Codex article */ + printf( __( 'BuddyPress sets the site admin’s profile photo as the default site profile photo on the Sites Directory page. You can now <a href="%s">use the Site Icon introduced in WordPress 4.3</a> instead.', 'buddypress' ), + 'https://codex.wordpress.org/Creating_a_Favicon#WordPress_Version_4.3_or_later' ); + ?></p> + </div> - <div class="clear"></div> - </div> + <div class="bp-feature opposite"> + <span class="dashicons dashicons-filter" aria-hidden="true"></span> + <h4 class="title"><?php esc_html_e( 'Member Type and Group Type Filters in Users and Groups Admin Screens', 'buddypress' ); ?></h4> + <p><?php esc_html_e( 'Easily filter your members and groups by type and set types in bulk on the users and groups list tables in the dashboard.', 'buddypress' ); ?></p> + </div> - <hr /> + <div class="bp-feature"> + <span class="dashicons dashicons-clock" aria-hidden="true"></span> + <h4 class="feature-title"><?php esc_html_e( 'Localized Timestamps', 'buddypress' ); ?></h4> + <p><?php esc_html_e( 'Fix inaccurate timestamps due to time zones or page caching with new client-side timestamp handling.', 'buddypress' ); ?></p> + </div> - <div class="bp-features-section"> - <h3 class="headline-title"><?php esc_html_e( 'Features', 'buddypress' ); ?></h3> + <div class="bp-feature opposite"> + <span class="dashicons dashicons-email" aria-hidden="true"></span> + <h4 class="feature-title"><?php esc_html_e( 'Links to Unsubscribe from Emails', 'buddypress' ); ?></h4> + <p><?php esc_html_e( 'Improve user experience by facilitating the removal of any or all subscriptions via new email tokens and unsubscribe links.', 'buddypress' ); ?></p> + </div> <div class="bp-feature"> - <h4 class="feature-title"><?php esc_html_e( 'Custom Front Page for Member Profile ', 'buddypress' ); ?></h4> - <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/user-frontpage.png' ); ?>" alt="<?php esc_attr_e( 'A member custom front page using widgets.', 'buddypress' ); ?>"> - <p><?php _e( 'Theme developers or site owners can create custom front pages for their community's members by adding a <code>front.php</code> template to their template overrides. A specific template hierarchy is also available to make them even more unique.', 'buddypress' ); ?> <a href="https://bpdevel.wordpress.com/2016/05/24/custom-front-pages-for-your-users-profiles/"><?php esc_html_e( 'Read all about this new feature.', 'buddypress' ); ?></a></p> + <span class="dashicons dashicons-admin-page" aria-hidden="true"></span> + <h4 class="title"><?php esc_html_e( 'Use WP Page Names for Headings of BP Directory Pages', 'buddypress' ); ?></h4> + <p><?php esc_html_e( 'Whatever you choose as the title of your Activity, Sites, Members, or Groups directory pages on the back end, is what you’ll get as the heading on the front end.', 'buddypress' ); ?></p> </div> <div class="bp-feature opposite"> - <h4 class="feature-title"><?php esc_html_e( 'Group Types API', 'buddypress' ); ?></h4> - <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/group-type-pop.png' ); ?>" alt="<?php esc_attr_e( 'Group types metabox in Groups admin page.', 'buddypress' ); ?>"> - <p><?php esc_html_e( 'Registering group types finally enables a strict separation of different and explicit types of groups. This new feature is available to plugin developers starting with BuddyPress 2.6.', 'buddypress' ); ?> <a href="https://codex.buddypress.org/developer/group-types/"><?php esc_html_e( 'Learn how to set up Group Types.', 'buddypress' ); ?></a></p> + <span class="dashicons dashicons-universal-access" aria-hidden="true"></span> + <h4 class="title"><?php esc_html_e( 'Accessibility Updates for the Front End and Back End', 'buddypress' ); ?></h4> + <p><?php esc_html_e( 'Continued improvements for universal access help make BuddyPress back- and front-end screens usable for everyone (and on more devices).', 'buddypress' ); ?></p> </div> <div class="bp-feature"> - <h4 class="feature-title"><?php esc_html_e( 'New Navigation API', 'buddypress' ); ?></h4> - <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/new-nav-api.png' ); ?>" alt="<?php esc_attr_e( 'Sample code for using the new navigation API', 'buddypress' ); ?>"> - <p><?php esc_html_e( 'The member and group navigation system has been totally rewritten, making it easier than ever to customize BuddyPress nav items.', 'buddypress' ); ?> <a href="https://codex.buddypress.org/developer/navigation-api/"><?php esc_html_e( 'Read the informative commit message.', 'buddypress' ); ?></a></p> + <span class="dashicons dashicons-screenoptions" aria-hidden="true"></span> + <h4 class="title"><?php + /* translators: %s: BP_Button */ + printf( __( 'Refactored %s Class to Accept New Arguments', 'buddypress' ), '<code>BP_Button</code>' ); + ?></h4> + <p><?php esc_html_e( 'Provides developers with improved syntax and more control over the rendering of buttons.', 'buddypress' ); ?></p> </div> <div class="bp-feature opposite"> - <h4 class="feature-title"><?php esc_html_e( 'Stylesheets for Twenty Eleven and Twenty Ten', 'buddypress' ); ?></h4> - <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/default-themes.png' ); ?>" alt="<?php esc_attr_e( 'Styled BuddyPress components in Twenty Eleven and Twenty Ten', 'buddypress' ); ?>"> - <p><?php esc_html_e( 'BuddyPress feels right at home now in the classic default themes, Twenty Ten and Twenty Eleven.', 'buddypress' ); ?></p> + <span class="dashicons dashicons-image-filter" aria-hidden="true"></span> + <h4 class="title"><?php esc_html_e( 'Improvements to a Single Group’s Management Screens', 'buddypress' ); ?></h4> + <p><?php esc_html_e( 'Improved markup, new modular group management templates, and a new member search form are just some of the enhancements added to the single group admin screens.', 'buddypress' ); ?></p> </div> - </div> - <div class="bp-changelog-section"> - <h3 class="changelog-title"><?php esc_html_e( 'Under The Hood', 'buddypress' ); ?></h3> - - <div class="bp-changelog col two-col"> - <div> - <h4 class="title"><?php esc_html_e( 'Performance Enhancements', 'buddypress' ); ?></h4> - <p><?php esc_html_e( 'Class autoloading reduces the memory needed to run BuddyPress on your server. Improved caching strategies for group membership statuses mean fewer round trips to your overworked database server.', 'buddypress' ); ?></p> - <h4 class="title"><?php esc_html_e( 'Localization Improvements', 'buddypress' ); ?></h4> - <p><?php esc_html_e( 'Improved localization strings and comments help translators do their much-appreciated work: making BuddyPress available in many languages.', 'buddypress' ); ?></p> - </div> + <div class="bp-feature"> + <span class="dashicons dashicons-groups" aria-hidden="true"></span> + <h4 class="title"><?php + /* translators: %s: parent_id */ + printf( __( 'Support for Querying for Groups by New Column %s', 'buddypress' ), '<code>parent_id</code>' ); + ?></h4> + <p><?php esc_html_e( 'Query support for hierarchical groups makes it much easier for developers to add custom front-end functionality.', 'buddypress' ); ?></p> + </div> - <div class="last-feature"> - <h4 class="title"><?php esc_html_e( 'Notifications Updates', 'buddypress' ); ?></h4> - <p><?php esc_html_e( 'Adjustments to the notifications component allow members to receive timely and relevant updates about activity in your community.', 'buddypress' ); ?></p> - <h4 class="title"><?php esc_html_e( 'Accessibility Upgrades', 'buddypress' ); ?></h4> - <p><?php esc_html_e( 'Continued improvements help make BuddyPress' back- and front-end screens usable for everyone (and on more devices).', 'buddypress' ); ?></p> - <h4 class="title"><?php esc_html_e( 'Developer Reference', 'buddypress' ); ?></h4> - <p><?php esc_html_e( 'Regular updates to inline code documentation make it easier for developers to understand how BuddyPress works.', 'buddypress' ); ?></p> - </div> + <div class="bp-feature opposite"> + <span class="dashicons dashicons-chart-bar" aria-hidden="true"></span> + <h4 class="title"><?php esc_html_e( 'Many, Many Performance Improvements', 'buddypress' ); ?></h4> + <p><?php + /* translators: %s: bp_get_user_groups() */ + printf( __( 'Improved performance by removing extra database queries, adding new cache calls, and removing the number of loops in %s.', 'buddypress' ), '<code>bp_get_user_groups()</code>' ); + ?></p> </div> + + <div class="clear"></div> + </div> + + <div class="bp-changelog-section"> + <h3 class="changelog-title"><?php esc_html_e( 'And so much more!', 'buddypress' ); ?></h3> + <p class="bp-changelog-url"><?php + /* translators: %s: URL to the BuddyPress Codex article */ + printf( __( '<a href="%s">Changelog for BuddyPress 2.7.</a>', 'buddypress' ), + 'https://codex.buddypress.org/releases/version-2-7-0/' ); + ?></p> + </div> <div class="bp-assets"> @@ -726,7 +765,7 @@ class BP_Admin { <h3 class="wp-people-group"><?php _e( 'Project Leaders', 'buddypress' ); ?></h3> <ul class="wp-people-group " id="wp-people-group-project-leaders"> <li class="wp-person" id="wp-person-johnjamesjacoby"> - <a class="web" href="https://profiles.wordpress.org/johnjamesjacoby"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/81ec16063d89b162d55efe72165c105f?s=60"> + <a class="web" href="https://profiles.wordpress.org/johnjamesjacoby"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7a2644fb53ae2f7bfd7143b504af396c?s=60"> John James Jacoby</a> <span class="title"><?php _e( 'Project Lead', 'buddypress' ); ?></span> </li> @@ -742,8 +781,13 @@ class BP_Admin { </li> </ul> - <h3 class="wp-people-group"><?php _e( 'Core Team', 'buddypress' ); ?></h3> + <h3 class="wp-people-group"><?php _e( 'BuddyPress Team', 'buddypress' ); ?></h3> <ul class="wp-people-group " id="wp-people-group-core-team"> + <li class="wp-person" id="wp-person-mercime"> + <a class="web" href="https://profiles.wordpress.org/mercime"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/fae451be6708241627983570a1a1817a?s=60"> + Mercime</a> + <span class="title"><?php _e( '2.7 Release Lead', 'buddypress' ); ?></span> + </li> <li class="wp-person" id="wp-person-r-a-y"> <a class="web" href="https://profiles.wordpress.org/r-a-y"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3bfa556a62b5bfac1012b6ba5f42ebfa?s=60"> Ray</a> @@ -754,11 +798,6 @@ class BP_Admin { Mathieu Viet</a> <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span> </li> - <li class="wp-person" id="wp-person-mercime"> - <a class="web" href="https://profiles.wordpress.org/mercime"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/fae451be6708241627983570a1a1817a?s=60"> - Mercime</a> - <span class="title"><?php _e( 'Navigator', 'buddypress' ); ?></span> - </li> <li class="wp-person" id="wp-person-dcavins"> <a class="web" href="https://profiles.wordpress.org/dcavins"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/a5fa7e83d59cb45ebb616235a176595a?s=60"> David Cavins</a> @@ -774,22 +813,25 @@ class BP_Admin { Hugo</a> <span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span> </li> - </ul> - - <h3 class="wp-people-group"><?php _e( '🌟Recent Rockstars🌟', 'buddypress' ); ?></h3> - <ul class="wp-people-group " id="wp-people-group-rockstars"> <li class="wp-person" id="wp-person-henry-wright"> <a class="web" href="https://profiles.wordpress.org/henry.wright"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0da2f1a9340d6af196b870f6c107a248?s=60"> Henry Wright</a> + <span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span> </li> <li class="wp-person" id="wp-person-danbp"> <a class="web" href="https://profiles.wordpress.org/danbp"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0deae2e7003027fbf153500cd3fa5501?s=60"> danbp</a> + <span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span> </li> <li class="wp-person" id="wp-person-shanebp"> <a class="web" href="https://profiles.wordpress.org/shanebp"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ffd294ab5833ba14aaf175f9acc71cc4?s=60"> shanebp</a> + <span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span> </li> + </ul> + + <h3 class="wp-people-group"><?php _e( '🌟Recent Rockstars🌟', 'buddypress' ); ?></h3> + <ul class="wp-people-group " id="wp-people-group-rockstars"> <li class="wp-person" id="wp-person-netweb"> <a class="web" href="https://profiles.wordpress.org/netweb"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/97e1620b501da675315ba7cfb740e80f?s=60"> Stephen Edgar</a> @@ -814,53 +856,52 @@ class BP_Admin { <a class="web" href="https://profiles.wordpress.org/ramiy"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ce2a269e424156d79cb0c4e1d4d82db1?s=60"> Rami Yushuvaev</a> </li> - + <li class="wp-person" id="wp-person-slaffik"> + <a class="web" href="https://profiles.wordpress.org/slaffik/"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/61fb07ede3247b63f19015f200b3eb2c?s=60"> + Slava Abakumov</a> + </li> </ul> <h3 class="wp-people-group"><?php printf( esc_html__( 'Contributors to BuddyPress %s', 'buddypress' ), self::display_version() ); ?></h3> <p class="wp-credits-list"> - <a href="https://profiles.wordpress.org/abweb/">abweb</a>, + <a href="https://profiles.wordpress.org/jorbin/">Aaron Jorbin (jorbin)</a>, + <a href="https://profiles.wordpress.org/abwebstudio1/">abwebstudio1</a>, <a href="https://profiles.wordpress.org/boonebgorges/">Boone B Gorges (boonebgorges)</a>, - <a href="https://profiles.wordpress.org/thebrandonallen/">Brandon Allen (thebrandonallen)</a>, - <a href="https://profiles.wordpress.org/chherbst/">chherbst</a>, - <a href="https://profiles.wordpress.org/danbrellis/">danbrellis</a>, + <a href="https://profiles.wordpress.org/sbrajesh/">Brajesh Singh (sbrajesh)</a>, + <a href="https://profiles.wordpress.org/needle/">Christian Wach (needle)</a>, + <a href="https://profiles.wordpress.org/danbp/">danbp</a>, + <a href="https://profiles.wordpress.org/danielhuesken/">Daniel Hüsken (danielhuesken)</a>, <a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>, + <a href="https://profiles.wordpress.org/demon_ru/">demon_ru</a>, <a href="https://profiles.wordpress.org/wpdennis/">Dennis (wpdennis)</a>, - <a href="https://profiles.wordpress.org/emrikol/">emrikol</a>, - <a href="https://profiles.wordpress.org/wdfee/">Fee (wdfee)</a>, - <a href="https://profiles.wordpress.org/garrett-eclipse/">Garrett Hyder (garrett-eclipse)</a>, - <a href="https://profiles.wordpress.org/pento/">Gary Pendergast (pento)</a>, - <a href="https://profiles.wordpress.org/Mamaduka/">George Mamadashvili (Mamaduka)</a>, + <a href="https://profiles.wordpress.org/ericlewis/">Eric Andrew Lewis (ericlewis)</a>, <a href="https://profiles.wordpress.org/henrywright/">Henry Wright (henry.wright)</a>, + <a href="https://profiles.wordpress.org/herbovec/">herbovec</a>, <a href="https://profiles.wordpress.org/hnla/">Hugo (hnla)</a>, + <a href="https://profiles.wordpress.org/jdgrimes/">J.D. Grimes (jdgrimes)</a>, <a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>, - <a href="https://profiles.wordpress.org/kmbdeamorg/">Klaus (kmbdeamorg)</a>, - <a href="https://profiles.wordpress.org/sooskriszta/">OC2PS (sooskriszta)</a>, + <a href="https://profiles.wordpress.org/dunhakdis/">Joseph G. (dunhakdis)</a>, + <a href="https://profiles.wordpress.org/kitsunesolar/">kitsunesolar</a>, <a href="https://profiles.wordpress.org/lakrisgubben/">lakrisgubben</a>, <a href="https://profiles.wordpress.org/Offereins">Laurens Offereins (Offereins)</a>, - <a href="https://profiles.wordpress.org/mahadri/">mahadri</a>, <a href="https://profiles.wordpress.org/imath/">Mathieu Viet (imath)</a>, <a href="https://profiles.wordpress.org/mercime/">mercime</a>, <a href="https://profiles.wordpress.org/tw2113/">Michael Beckwith (tw2113)</a>, - <a href="https://profiles.wordpress.org/mmcachran/">mmcachran</a>, - <a href="https://profiles.wordpress.org/modemlooper/">modemlooper</a>, - <a href="https://profiles.wordpress.org/nickmomrik/">Nick Momrik (nickmomrik)</a>, - <a href="https://profiles.wordpress.org/OakCreative/">OakCreative</a>, - <a href="https://profiles.wordpress.org/oksankaa/">oksankaa</a>, + <a href="https://profiles.wordpress.org/michaelbeil/">Michael Beil (michaelbeil)</a>, + <a href="https://profiles.wordpress.org/swissspidy/">Pascal Birchler (swissspidy)</a>, <a href="https://profiles.wordpress.org/DJPaul/">Paul Gibbs (DJPaul)</a>, - <a href="https://profiles.wordpress.org/ramiy/">Rami Yushuvaev (ramiy)</a>, <a href="https://profiles.wordpress.org/r-a-y/">r-a-y</a>, - <a href="https://profiles.wordpress.org/rekmla/">rekmla</a>, - <a href="https://profiles.wordpress.org/r0z/">r0z</a>, - <a href="https://profiles.wordpress.org/SergeyBiryukov/">Sergey Biryukov (SergeyBiryukov)</a>, - <a href="https://profiles.wordpress.org/singhleo/">singhleo</a>, - <a href="https://profiles.wordpress.org/slaffik/">Slava UA (slaffik)</a>, + <a href="https://profiles.wordpress.org/espellcaste/">Renato Alves (espellcaste)</a>, + <a href="https://profiles.wordpress.org/scharc/">scharc</a>, + <a href="https://profiles.wordpress.org/slaffik/">Slava Abakumov (slaffik)</a>, + <a href="https://profiles.wordpress.org/spenser4551/">spenser4551</a>, <a href="https://profiles.wordpress.org/netweb/">Stephen Edgar (netweb)</a>, + <a href="https://profiles.wordpress.org/svenl77/">Sven Lehnert (svenl77)</a>, <a href="https://profiles.wordpress.org/tharsheblows/">tharsheblows</a>, - <a href="https://profiles.wordpress.org/VibeThemes/">VibeThemes</a>, - <a href="https://profiles.wordpress.org/vortfu/">vortfu</a>, - <a href="https://profiles.wordpress.org/WeddyWood/">WeddyWood</a>, - <a href="https://profiles.wordpress.org/w3dzign/">w3dzign</a>. + <a href="https://profiles.wordpress.org/thomaslhotta/">thomaslhotta</a>, + <a href="https://profiles.wordpress.org/tomas711/">tomas711</a>, + <a href="https://profiles.wordpress.org/venturavan2/">venturavan2</a>, + <a href="https://profiles.wordpress.org/wordpressrene/">wordpressrene</a>. </p> <h3 class="wp-people-group"><?php _e( '💖With our thanks to these Open Source projects💖', 'buddypress' ); ?></h3> @@ -868,10 +909,12 @@ class BP_Admin { <a href="https://github.com/ichord/At.js">At.js</a>, <a href="https://bbpress.org">bbPress</a>, <a href="https://github.com/ichord/Caret.js">Caret.js</a>, - <a href="http://tedgoas.github.io/Cerberus/">Cerberus</a>, - <a href="http://ionicons.com/">Ionicons</a>, + <a href="https://tedgoas.github.io/Cerberus/">Cerberus</a>, + <a href="https://ionicons.com/">Ionicons</a>, <a href="https://github.com/carhartl/jquery-cookie">jquery.cookie</a>, + <a href="https://mattbradley.github.io/livestampjs/">Livestamp.js</a>, <a href="https://www.mediawiki.org/wiki/MediaWiki">MediaWiki</a>, + <a href="http://momentjs.com/">Moment.js</a>, <a href="https://wordpress.org">WordPress</a>. </p> @@ -889,7 +932,7 @@ class BP_Admin { // Switch welcome text based on whether this is a new installation or not. $welcome_text = ( self::is_new_install() ) - ? __( 'Thank you for installing BuddyPress! BuddyPress helps you build any type of community website using WordPress, with member profiles, activity streams, user groups, messaging, and more.', 'buddypress' ) + ? __( 'Thank you for installing BuddyPress! BuddyPress helps site builders and WordPress developers add community features to their websites, with user profile fields, activity streams, messaging, and notifications.', 'buddypress' ) : __( 'Thank you for updating! BuddyPress %s has many new features that you will enjoy.', 'buddypress' ); ?> @@ -939,7 +982,7 @@ class BP_Admin { * * @since 2.6.0 * - * @param array $columns Current column data. + * @param array $columns Current column data. * @return array */ public function emails_register_situation_column( $columns = array() ) { diff --git a/wp-content/plugins/buddypress/bp-core/classes/class-bp-attachment-avatar.php b/wp-content/plugins/buddypress/bp-core/classes/class-bp-attachment-avatar.php index edbc40894ff14fad65c6eb5ffc74b97d44bb9acf..a4c9ba6099e2d56260b50c39bd592d82cd6c1a20 100644 --- a/wp-content/plugins/buddypress/bp-core/classes/class-bp-attachment-avatar.php +++ b/wp-content/plugins/buddypress/bp-core/classes/class-bp-attachment-avatar.php @@ -61,7 +61,6 @@ class BP_Attachment_Avatar extends BP_Attachment { * Set Upload Dir data for avatars. * * @since 2.3.0 - * */ public function set_upload_dir() { if ( bp_core_avatar_upload_path() && bp_core_avatar_url() ) { @@ -81,8 +80,7 @@ class BP_Attachment_Avatar extends BP_Attachment { * * @since 2.3.0 * - * - * @param array $file the temporary file attributes (before it has been moved). + * @param array $file the temporary file attributes (before it has been moved). * @return array the file with extra errors if needed. */ public function validate_upload( $file = array() ) { @@ -110,7 +108,6 @@ class BP_Attachment_Avatar extends BP_Attachment { * @since 2.3.0 * @since 2.4.0 Add the $ui_available_width parameter, to inform about the Avatar UI width. * - * * @param string $file The absolute path to the file. * @param int $ui_available_width Available width for the UI. * @return mixed diff --git a/wp-content/plugins/buddypress/bp-core/classes/class-bp-attachment.php b/wp-content/plugins/buddypress/bp-core/classes/class-bp-attachment.php index af36860eb4ebfa9c5c47964ffeb3acc88abc1294..54f822f069ba4d9ef73c72572d5b7fc7c654919c 100644 --- a/wp-content/plugins/buddypress/bp-core/classes/class-bp-attachment.php +++ b/wp-content/plugins/buddypress/bp-core/classes/class-bp-attachment.php @@ -197,17 +197,17 @@ abstract class BP_Attachment { * * @since 2.3.0 * - * - * @param array $file The appropriate entry the from $_FILES superglobal. - * @param string $upload_dir_filter A specific filter to be applied to 'upload_dir' (optional). - * @param string|null $time Optional. Time formatted in 'yyyy/mm'. Default null. + * @param array $file The appropriate entry the from $_FILES superglobal. + * @param string $upload_dir_filter A specific filter to be applied to 'upload_dir' (optional). + * @param string|null $time Optional. Time formatted in 'yyyy/mm'. Default null. * @return array On success, returns an associative array of file attributes. * On failure, returns an array containing the error message * (eg: array( 'error' => $message ) ) */ public function upload( $file, $upload_dir_filter = '', $time = null ) { /** - * Upload action and the file input name are required parameters + * Upload action and the file input name are required parameters. + * * @see BP_Attachment:__construct() */ if ( empty( $this->action ) || empty( $this->file_input ) ) { @@ -320,7 +320,7 @@ abstract class BP_Attachment { * * @since 2.3.0 * - * @param array $file The temporary file attributes (before it has been moved). + * @param array $file The temporary file attributes (before it has been moved). * @return array The file. */ public function validate_upload( $file = array() ) { @@ -345,7 +345,7 @@ abstract class BP_Attachment { * * regarding to context * - * @param array $upload_dir The original Uploads dir. + * @param array $upload_dir The original Uploads dir. * @return array The upload directory data. */ public function upload_dir_filter( $upload_dir = array() ) { @@ -522,9 +522,9 @@ abstract class BP_Attachment { /** * Get full data for an image * - * @since 2.4.0 + * @since 2.4.0 * - * @param string $file Absolute path to the uploaded image. + * @param string $file Absolute path to the uploaded image. * @return bool|array An associate array containing the width, height and metadatas. * False in case an important image attribute is missing. */ @@ -574,9 +574,9 @@ abstract class BP_Attachment { /** * Filter here to add/remove/edit data to the image full data * - * @since 2.4.0 + * @since 2.4.0 * - * @param array $image_data An associate array containing the width, height and metadatas. + * @param array $image_data An associate array containing the width, height and metadatas. */ return apply_filters( 'bp_attachments_get_image_data', $image_data ); } @@ -584,7 +584,7 @@ abstract class BP_Attachment { /** * Edit an image file to resize it or rotate it * - * @since 2.4.0 + * @since 2.4.0 * * @param string $attachment_type The attachment type (eg: avatar or cover_image). Required. * @param array $args { diff --git a/wp-content/plugins/buddypress/bp-core/classes/class-bp-button.php b/wp-content/plugins/buddypress/bp-core/classes/class-bp-button.php index 81378995498f12dd6cf9ccd445ba62527eeb0cc5..d91fca57e29aef05ef4d05a62279c267e1553881 100644 --- a/wp-content/plugins/buddypress/bp-core/classes/class-bp-button.php +++ b/wp-content/plugins/buddypress/bp-core/classes/class-bp-button.php @@ -14,35 +14,35 @@ defined( 'ABSPATH' ) || exit; * API to create BuddyPress buttons. * * @since 1.2.6 + * @since 2.7.0 Introduced $parent_element, $parent_attr, $button_element, $button_attr as + * $args parameters. + * Deprecated $wrapper, $wrapper_id, $wrapper_class, $link_href, $link_class, + * $link_id, $link_rel, $link_title as $args params. * * @param array $args { * Array of arguments. * * @type string $id String describing the button type. - * @type string $component The name of the component the button belongs to. - * Default: 'core'. - * @type bool $must_be_logged_in Optional. Does the user need to be logged - * in to see this button? Default: true. - * @type bool $block_self Optional. True if the button should be hidden - * when a user is viewing his own profile. - * Default: true. - * @type string|bool $wrapper Optional. HTML element type that should wrap - * the button: 'div', 'span', 'p', or 'li'. - * False for no wrapper at all. Default: 'div'. - * @type string $wrapper_id Optional. DOM ID of the button wrapper element. - * Default: ''. - * @type string $wrapper_class Optional. DOM class of the button wrapper - * element. Default: ''. - * @type string $link_href Optional. Destination link of the button. - * Default: ''. - * @type string $link_class Optional. DOM class of the button. Default: ''. - * @type string $link_id Optional. DOM ID of the button. Default: ''. - * @type string $link_rel Optional. DOM 'rel' attribute of the button. - * Default: ''. - * @type string $link_title Optional. Title attribute of the button. - * Default: ''. - * @type string $link_text Optional. Text to appear on the button. - * Default: ''. + * @type string $component The name of the component the button belongs to. Default: 'core'. + * @type bool $must_be_logged_in Optional. Does the user need to be logged in to see this button? Default: + * true. + * @type bool $block_self Optional. True if the button should be hidden when a user is viewing his + * own profile. Default: true. + * @type string $parent_element Optional. Parent element to wrap button around. Default: 'div'. + * @type array $parent_attr Optional. Element attributes for parent element. Set whatever attributes + * like 'id', 'class' as array keys. + * @type string $button_element Optional. Button element. Default: 'a'. + * @type array $button_attr Optional. Button attributes. Set whatever attributes like 'id', 'class' as + * array keys. + * @type string $link_text Optional. Text to appear on the button. Default: ''. + * @type string|bool $wrapper Deprecated. Use $parent_element instead. + * @type string $wrapper_id Deprecated. Use $parent_attr and set 'id' as array key. + * @type string $wrapper_class Deprecated. Use $parent_attr and set 'class' as array key. + * @type string $link_href Deprecated. Use $button_attr and set 'href' as array key. + * @type string $link_class Deprecated. Use $button_attr and set 'class' as array key. + * @type string $link_id Deprecated. Use $button_attr and set 'id' as array key. + * @type string $link_rel Deprecated. Use $button_attr and set 'rel' as array key. + * @type string $link_title Deprecated. Use $button_attr and set 'title' as array key. * } */ class BP_Button { @@ -52,6 +52,8 @@ class BP_Button { /** * The button ID. * + * @since 1.2.6 + * * @var string */ public $id = ''; @@ -59,6 +61,8 @@ class BP_Button { /** * The name of the component that the button belongs to. * + * @since 1.2.6 + * * @var string */ public $component = 'core'; @@ -66,6 +70,8 @@ class BP_Button { /** * Does the user need to be logged in to see this button? * + * @since 1.2.6 + * * @var bool */ public $must_be_logged_in = true; @@ -73,22 +79,88 @@ class BP_Button { /** * Whether the button should be hidden when viewing your own profile. * + * @since 1.2.6 + * * @var bool */ public $block_self = true; /** Wrapper ***************************************************************/ + /** + * Parent element to wrap button around. + * + * @since 2.7.0 + * + * @var string Default: 'div'. + */ + public $parent_element = ''; + + /** + * Element attributes for parent element. + * + * @since 2.7.0 + * + * @var array Set whatever attributes like 'id', 'class' as array key. + */ + public $parent_attr = array(); + + /** Button ****************************************************************/ + + /** + * Button element. + * + * @since 2.7.0 + * + * @var string Default: 'a'. + */ + public $button_element = 'a'; + + /** + * Button attributes. + * + * @since 2.7.0 + * + * @var array Set whatever attributes like 'id', 'href' as array key. + */ + public $button_attr = array(); + + /** + * The contents of the button link. + * + * @since 1.2.6 + * + * @var string + */ + public $link_text = ''; + + /** + * HTML result. + * + * @since 1.2.6 + * + * @var string + */ + public $contents = ''; + + /** Deprecated ***********************************************************/ + /** * The type of DOM element to use for a wrapper. * - * @var string|bool 'div', 'span', 'p', 'li', or false for no wrapper. + * @since 1.2.6 + * @deprecated 2.7.0 Use $parent_element instead. + * + * @var string|bool */ public $wrapper = 'div'; /** * The DOM class of the button wrapper. * + * @since 1.2.6 + * @deprecated 2.7.0 Set 'class' key in $parent_attr instead. + * * @var string */ public $wrapper_class = ''; @@ -96,15 +168,19 @@ class BP_Button { /** * The DOM ID of the button wrapper. * + * @since 1.2.6 + * @deprecated 2.7.0 Set 'id' key in $parent_attr instead. + * * @var string */ public $wrapper_id = ''; - /** Button ****************************************************************/ - /** * The destination link of the button. * + * @since 1.2.6 + * @deprecated 2.7.0 Set 'href' key in $button_attr instead. + * * @var string */ public $link_href = ''; @@ -112,6 +188,9 @@ class BP_Button { /** * The DOM class of the button link. * + * @since 1.2.6 + * @deprecated 2.7.0 Set 'class' key in $button_attr instead. + * * @var string */ public $link_class = ''; @@ -119,6 +198,9 @@ class BP_Button { /** * The DOM ID of the button link. * + * @since 1.2.6 + * @deprecated 2.7.0 Set 'id' key in $button_attr instead. + * * @var string */ public $link_id = ''; @@ -126,6 +208,9 @@ class BP_Button { /** * The DOM rel value of the button link. * + * @since 1.2.6 + * @deprecated 2.7.0 Set 'rel' key in $button_attr instead. + * * @var string */ public $link_rel = ''; @@ -133,22 +218,12 @@ class BP_Button { /** * Title of the button link. * - * @var string - */ - public $link_title = ''; - - /** - * The contents of the button link. + * @since 1.2.6 + * @deprecated 2.7.0 Set 'title' key in $button_attr instead. * * @var string */ - public $link_text = ''; - - /** HTML result - * - * @var string - */ - public $contents = ''; + public $link_title = ''; /** Methods ***************************************************************/ @@ -163,76 +238,95 @@ class BP_Button { $r = wp_parse_args( $args, get_class_vars( __CLASS__ ) ); + // Backward compatibility with deprecated parameters. + $r = $this->backward_compatibility_args( $r ); + + // Deprecated. Subject to removal in a future release. + $this->wrapper = $r['wrapper']; + if ( !empty( $r['link_id'] ) ) $this->link_id = ' id="' . $r['link_id'] . '"'; + if ( !empty( $r['link_href'] ) ) $this->link_href = ' href="' . $r['link_href'] . '"'; + if ( !empty( $r['link_title'] ) ) $this->link_title = ' title="' . $r['link_title'] . '"'; + if ( !empty( $r['link_rel'] ) ) $this->link_rel = ' rel="' . $r['link_rel'] . '"'; + if ( !empty( $r['link_class'] ) ) $this->link_class = ' class="' . $r['link_class'] . '"'; + if ( !empty( $r['link_text'] ) ) $this->link_text = $r['link_text']; + // Required button properties. $this->id = $r['id']; $this->component = $r['component']; $this->must_be_logged_in = (bool) $r['must_be_logged_in']; $this->block_self = (bool) $r['block_self']; - $this->wrapper = $r['wrapper']; - // $id and $component are required - if ( empty( $r['id'] ) || empty( $r['component'] ) ) - return false; - - // No button if component is not active. - if ( ! bp_is_active( $this->component ) ) + // $id and $component are required and component must be active. + if ( empty( $r['id'] ) || empty( $r['component'] ) || ! bp_is_active( $this->component ) ) { return false; + } // No button for guests if must be logged in. - if ( true == $this->must_be_logged_in && ! is_user_logged_in() ) + if ( true == $this->must_be_logged_in && ! is_user_logged_in() ) { return false; + } // The block_self property. if ( true == $this->block_self ) { - // No button if you are the current user in a members loop - // This condition takes precedence, because members loops - // can be found on user profiles. + /* + * No button if you are the current user in a members loop. + * + * This condition takes precedence, because members loops can be found on user + * profiles. + */ if ( bp_get_member_user_id() ) { if ( is_user_logged_in() && bp_loggedin_user_id() == bp_get_member_user_id() ) { return false; } - // No button if viewing your own profile (and not in - // a members loop). + // No button if viewing your own profile (and not in a members loop). } elseif ( bp_is_my_profile() ) { return false; } } - // Wrapper properties. - if ( false !== $this->wrapper ) { - - // Wrapper ID. - if ( !empty( $r['wrapper_id'] ) ) { - $this->wrapper_id = ' id="' . $r['wrapper_id'] . '"'; + // Should we use a parent element? + if ( ! empty( $r['parent_element'] ) ) { + if ( ! isset( $r['parent_attr']['class'] ) ) { + $r['parent_attr']['class'] = ''; } - // Wrapper class. - if ( !empty( $r['wrapper_class'] ) ) { - $this->wrapper_class = ' class="generic-button ' . $r['wrapper_class'] . '"'; - } else { - $this->wrapper_class = ' class="generic-button"'; + // Always add 'generic-button' class. + if ( false === strpos( $r['parent_attr']['class'], 'generic-button' ) ) { + if ( ! empty( $r['parent_attr']['class'] ) ) { + $r['parent_attr']['class'] .= ' '; + } + $r['parent_attr']['class'] .= 'generic-button'; } + // Render parent element attributes. + $parent_elem = new BP_Core_HTML_Element( array( + 'element' => $r['parent_element'], + 'attr' => $r['parent_attr'] + ) ); + // Set before and after. - $before = '<' . $r['wrapper'] . $this->wrapper_class . $this->wrapper_id . '>'; - $after = '</' . $r['wrapper'] . '>'; + $before = $parent_elem->get( 'open_tag' ); + $after = $parent_elem->get( 'close_tag' ); - // No wrapper. + // No parent element. } else { $before = $after = ''; } - // Link properties. - if ( !empty( $r['link_id'] ) ) $this->link_id = ' id="' . $r['link_id'] . '"'; - if ( !empty( $r['link_href'] ) ) $this->link_href = ' href="' . $r['link_href'] . '"'; - if ( !empty( $r['link_title'] ) ) $this->link_title = ' title="' . $r['link_title'] . '"'; - if ( !empty( $r['link_rel'] ) ) $this->link_rel = ' rel="' . $r['link_rel'] . '"'; - if ( !empty( $r['link_class'] ) ) $this->link_class = ' class="' . $r['link_class'] . '"'; - if ( !empty( $r['link_text'] ) ) $this->link_text = $r['link_text']; + // Button properties. + $button = ''; + if ( ! empty( $r['button_element'] ) ) { + $button = new BP_Core_HTML_Element( array( + 'element' => $r['button_element'], + 'attr' => $r['button_attr'], + 'inner_html' => ! empty( $r['link_text'] ) ? $r['link_text'] : '' + ) ); + $button = $button->contents(); + } // Build the button. - $this->contents = $before . '<a'. $this->link_href . $this->link_title . $this->link_id . $this->link_rel . $this->link_class . '>' . $this->link_text . '</a>' . $after; + $this->contents = $before . $button . $after; /** * Filters the button based on class parameters. @@ -241,15 +335,76 @@ class BP_Button { * allows button to be manipulated externally. * * @since 1.2.6 + * @since 2.7.0 Added $r as a parameter. * * @param string $contents HTML being used for the button. * @param BP_Button $this Current BP_Button instance. * @param string $before HTML appended before the actual button. * @param string $after HTML appended after the actual button. + * @param array $r Parsed button arguments. */ - $this->contents = apply_filters( 'bp_button_' . $this->component . '_' . $this->id, $this->contents, $this, $before, $after ); + $this->contents = apply_filters( 'bp_button_' . $this->component . '_' . $this->id, $this->contents, $this, $before, $after, $r ); } + + /** + * Provide backward compatibility for deprecated button arguments. + * + * @since 2.7.0. + * + * @param array $r See {@link BP_Button} class for full documentation. + * @return array + */ + protected function backward_compatibility_args( $r = array() ) { + // Array of deprecated arguments. + $backpat_args = array( + 'wrapper', 'wrapper_class', 'wrapper_id', + 'link_href', 'link_class', 'link_id', 'link_rel', 'link_title' + ); + + foreach ( $backpat_args as $prop ) { + if ( empty( $r[ $prop ] ) ) { + continue; + } + + $parent = $child = false; + $sep = strpos( $prop, '_' ); + + // Check if this is an attribute. + if ( false !== $sep ) { + $child = true; + $parent = substr( $prop, 0, $sep ); + } else { + $parent = $prop; + } + + if ( 'wrapper' === $parent ) { + $parent = 'parent'; + } else { + $parent = 'button'; + } + + // Set element. + if ( false === $child && empty( $r[ "{$parent}_element" ] ) ) { + $r[ "{$parent}_element" ] = $r[ $prop ]; + + // Set attributes. + } elseif ( true === $child ) { + $new_prop = substr( $prop, strpos( $prop, '_' ) +1 ); + if ( empty( $r[ "{$parent}_attr" ] ) ) { + $r[ "{$parent}_attr" ] = array(); + } + + if ( empty( $r[ "{$parent}_attr" ][ $new_prop ] ) ) { + $r[ "{$parent}_attr" ][ $new_prop ] = $r[ $prop ]; + } + } + } + + return $r; + } + + /** * Return the markup for the generated button. * diff --git a/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-html-element.php b/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-html-element.php new file mode 100644 index 0000000000000000000000000000000000000000..8ff0b5e7da09fa1a7bed8eff46d005a34f26ed25 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-html-element.php @@ -0,0 +1,127 @@ +<?php +/** + * Core component classes. + * + * @package BuddyPress + * @subpackage Core + * @since 2.7.0 + */ + +/** + * Generate markup for an HTML element. + * + * @since 2.7.0 + */ +class BP_Core_HTML_Element { + /** + * Open tag for an element. + * + * This would include attributes if applicable. eg. '<a href="" class="">' + * + * @since 2.7.0 + * + * @var string + */ + public $open_tag = ''; + + /** + * Inner HTML for an element. + * + * For example, this could be anchor text within an <a> element. + * + * @since 2.7.0 + * + * @var string + */ + public $inner_html = ''; + + /** + * Closing tag for an element. + * + * For example, "</a>". + * + * @since 2.7.0 + * + * @var string + */ + public $close_tag = ''; + + /** + * Constructor. + * + * @since 2.7.0 + * + * @param array $r { + * An array of arguments. + * @type string $element The element to render. eg. 'a' for the anchor element. + * @type array $attr Optional. The element's attributes set as key/value pairs. eg. + * array( 'href' => 'http://example.com', 'class' => 'my-class' ) + * @type string $inner_html Optional. The inner HTML for the element if applicable. Please note that + * this isn't sanitized, so you should use your own sanitization routine + * before using this parameter. + * } + */ + public function __construct( $r = array() ) { + $elem = sanitize_html_class( $r['element'] ); + if ( empty( $elem ) ) { + return; + } + + // Render attributes. + $attributes = ''; + foreach( (array) $r['attr'] as $attr => $val ) { + // If attribute is empty, skip. + if ( empty( $val ) ) { + continue; + } + + if ( 'href' === $attr || 'formaction' === $attr || 'src' === $attr ) { + $val = esc_url( $val ); + } elseif ( 'id' === $attr ) { + $val = sanitize_html_class( $val ); + } else { + $val = esc_attr( $val ); + } + + $attributes .= sprintf( '%s="%s" ', sanitize_html_class( $attr ), $val ); + } + + // <input> / <img> is self-closing. + if ( 'input' === $elem || 'img' === $elem ) { + $this->open_tag = sprintf( '<%1$s %2$s />', $elem, $attributes ); + + // All other elements. + } else { + $this->open_tag = sprintf( '<%1$s %2$s>', $elem, $attributes ); + $this->inner_html = ! empty( $r['inner_html'] ) ? $r['inner_html'] : ''; + $this->close_tag = sprintf( '</%1$s>', $elem ); + } + } + + /** + * Returns a property from this class. + * + * @since 2.7.0 + * + * @param string $prop Property name. Either 'open_tag', 'inner_html', 'close_tag'. + * @return string + */ + public function get( $prop = '' ) { + if ( ! isset( $this->{$prop} ) ) { + return ''; + } + + return $this->{$prop}; + } + + /** + * Returns full contents of HTML element. + * + * @since 2.7.0 + * + * @return string + */ + public function contents() { + return $this->open_tag . $this->inner_html . $this->close_tag; + } +} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-nav.php b/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-nav.php index 411840cda42d59814a3cce2da07aaab2ec37902c..caf8f43fd951b88fda626cad9128f1097e39dac9 100644 --- a/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-nav.php +++ b/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-nav.php @@ -4,7 +4,7 @@ * * @package BuddyPress * @subpackage Core - * @since 2.6.0 + * @since 2.6.0 */ // Exit if accessed directly. @@ -56,7 +56,7 @@ class BP_Core_Nav { * * @since 2.6.0 * - * @param string $key The requested nav slug. + * @param string $key The requested nav slug. * @return bool True if the nav item is set, false otherwise. */ public function __isset( $key ) { @@ -68,7 +68,7 @@ class BP_Core_Nav { * * @since 2.6.0 * - * @param string $key The requested nav slug. + * @param string $key The requested nav slug. * @return mixed The value corresponding to the requested nav item. */ public function __get( $key ) { @@ -84,8 +84,8 @@ class BP_Core_Nav { * * @since 2.6.0 * - * @param string $key The requested nav slug. - * @param mixed $value The value of the nav item. + * @param string $key The requested nav slug. + * @param mixed $value The value of the nav item. */ public function __set( $key, $value ) { if ( is_array( $value ) ) { @@ -100,7 +100,7 @@ class BP_Core_Nav { * * @since 2.6.0 * - * @param string $key The nav item slug to get. Optional. + * @param string $key The nav item slug to get. Optional. * @return mixed An array of nav item, a single nav item, or null if none found. */ public function get( $key = '' ) { @@ -276,7 +276,7 @@ class BP_Core_Nav { unset( $this->nav[ $this->object_id ][ $nav_item->slug ] ); // Return the deleted item's screen functions. - return array_unique( $screen_functions ); + return $screen_functions; } } @@ -320,14 +320,14 @@ class BP_Core_Nav { * * @since 2.6.0 * - * @param array $args Filters to select the specific primary items. See wp_list_filter(). - * @param bool $sort True to sort the nav items. False otherwise. + * @param array $args Filters to select the specific primary items. See wp_list_filter(). + * @param bool $sort True to sort the nav items. False otherwise. * @return array The list of primary objects nav */ public function get_primary( $args = array(), $sort = true ) { $params = wp_parse_args( $args, array( 'primary' => true ) ); - // This parameter is not overridable + // This parameter is not overridable. if ( empty( $params['primary'] ) ) { return false; } @@ -350,14 +350,14 @@ class BP_Core_Nav { * * @since 2.6.0 * - * @param array $args Filters to select the specific secondary items. See wp_list_filter(). - * @param bool $sort True to sort the nav items. False otherwise. + * @param array $args Filters to select the specific secondary items. See wp_list_filter(). + * @param bool $sort True to sort the nav items. False otherwise. * @return array The list of secondary objects nav */ public function get_secondary( $args = array(), $sort = true ) { $params = wp_parse_args( $args, array( 'parent_slug' => '' ) ); - // No need to search children if the parent is not set + // No need to search children if the parent is not set. if ( empty( $params['parent_slug'] ) && empty( $params['secondary'] ) ) { return false; } @@ -387,11 +387,11 @@ class BP_Core_Nav { if ( $primary_nav_items ) { foreach( $primary_nav_items as $key_nav => $primary_nav ) { - // Try to get the children + // Try to get the children. $children = $this->get_secondary( array( 'parent_slug' => $primary_nav->slug, 'user_has_access' => true ) ); if ( $children ) { - $primary_nav_items[ $key_nav ] = clone( $primary_nav ); + $primary_nav_items[ $key_nav ] = clone $primary_nav; $primary_nav_items[ $key_nav ]->children = $children; } } diff --git a/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-oembed-extension.php b/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-oembed-extension.php index 5a2ec3896b071c37675a42fbc7b43a24a3012125..ee4bcfee0ddcc3a3a252e0d5f6b929b1faa3c7ae 100644 --- a/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-oembed-extension.php +++ b/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-oembed-extension.php @@ -4,6 +4,7 @@ * * @package BuddyPress * @subpackage Core + * @since 2.6.0 */ // Exit if accessed directly. @@ -71,6 +72,7 @@ abstract class BP_Core_oEmbed_Extension { * * @since 2.6.0 * + * @param string $url URL to validate. * @return int Your item ID */ abstract protected function validate_url_to_item_id( $url ); @@ -80,7 +82,7 @@ abstract class BP_Core_oEmbed_Extension { * * @since 2.6.0 * - * @param int $item_id Your item ID to do checks against. + * @param int $item_id Your item ID to do checks against. * @return array Should contain 'content', 'title', 'author_url', 'author_name' as array * keys. 'author_url' and 'author_name' is optional; the rest are required. */ @@ -94,7 +96,7 @@ abstract class BP_Core_oEmbed_Extension { * * @since 2.6.0 * - * @param int $item_id Your item ID to do checks against. + * @param int $item_id Your item ID to do checks against. * @return string Fallback HTML you want to output. */ abstract protected function set_fallback_html( $item_id ); @@ -122,7 +124,6 @@ abstract class BP_Core_oEmbed_Extension { * @since 2.6.0 * * @param int $item_id The item ID to do checks for. - * @return string */ protected function set_iframe_title( $item_id ) {} @@ -145,7 +146,7 @@ abstract class BP_Core_oEmbed_Extension { protected function set_permalink() { $url = bp_get_requested_url(); - // Remove querystring from bp_get_requested_url() + // Remove querystring from bp_get_requested_url(). if ( false !== strpos( bp_get_requested_url(), '?' ) ) { $url = substr( bp_get_requested_url(), 0, strpos( bp_get_requested_url(), '?' ) ); } @@ -239,7 +240,7 @@ abstract class BP_Core_oEmbed_Extension { * * @since 2.6.0 * - * @param string $template File path to current embed template. + * @param string $template File path to current embed template. * @return string */ public function setup_template_parts( $template ) { @@ -263,6 +264,9 @@ abstract class BP_Core_oEmbed_Extension { * and inject our own template for BuddyPress use. * * @since 2.6.0 + * + * @param string $slug Template slug. + * @param string $name Template name. */ public function content_buffer_start( $slug, $name ) { if ( 'embed' !== $slug || 'content' !== $name ) { @@ -280,6 +284,8 @@ abstract class BP_Core_oEmbed_Extension { * and inject our own template for BuddyPress use. * * @since 2.6.0 + * + * @param string $name Template name. */ public function content_buffer_end( $name ) { if ( 'embed' !== $name || is_404() ) { @@ -318,7 +324,7 @@ abstract class BP_Core_oEmbed_Extension { * * @since 2.6.0 * - * @param string $retval Current discovery links. + * @param string $retval Current discovery links. * @return string */ public function add_oembed_discovery_links( $retval ) { @@ -353,8 +359,8 @@ abstract class BP_Core_oEmbed_Extension { * * @link http://oembed.com/ View the 'Response parameters' section for more details. * - * @param array $item Custom oEmbed response data. - * @param int $width The requested width. + * @param array $item Custom oEmbed response data. + * @param int $width The requested width. * @return array */ protected function get_oembed_response_data( $item, $width ) { @@ -403,7 +409,7 @@ abstract class BP_Core_oEmbed_Extension { * * @since 2.6.0 * - * @param WP_REST_Request $request Full data about the request. + * @param WP_REST_Request $request Full data about the request. * @return WP_Error|array oEmbed response data or WP_Error on failure. */ public function get_item( $request ) { @@ -508,7 +514,7 @@ abstract class BP_Core_oEmbed_Extension { * * @see bp_activity_embed_rest_route_callback() * - * @param string $retval Current embed URL + * @param string $retval Current embed URL. * @return string */ public function filter_embed_url( $retval ) { @@ -520,7 +526,7 @@ abstract class BP_Core_oEmbed_Extension { $url = trailingslashit( $url ); // This is for the 'WordPress Embed' block - // @see bp_activity_embed_comments_button() + // @see bp_activity_embed_comments_button(). if ( 'the_permalink' !== current_filter() ) { $url = add_query_arg( 'embed', 'true', trailingslashit( $url ) ); @@ -540,7 +546,7 @@ abstract class BP_Core_oEmbed_Extension { * * @since 2.6.0 * - * @param string $retval Current embed HTML + * @param string $retval Current embed HTML. * @return string */ public function filter_embed_html( $retval ) { @@ -567,7 +573,7 @@ abstract class BP_Core_oEmbed_Extension { $retval = str_replace( '<iframe', '<iframe style="max-width:100%"', $retval ); } - // Remove default <blockquote> + // Remove default <blockquote>. $retval = substr( $retval, strpos( $retval, '</blockquote>' ) + 13 ); // Set up new fallback HTML @@ -594,7 +600,7 @@ abstract class BP_Core_oEmbed_Extension { * * @see add_oembed_discovery_links() * - * @param string $retval Current oEmbed endpoint URL + * @param string $retval Current oEmbed endpoint URL. * @return string */ public function filter_rest_url( $retval = '' ) { @@ -613,4 +619,4 @@ abstract class BP_Core_oEmbed_Extension { $this->content(); } -} \ No newline at end of file +} diff --git a/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-user.php b/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-user.php index 7a92428afbd8bddeae0758b3d594a970c9fbd119..f102892d16d09ab761635ce746eb2f8c2b17d748 100644 --- a/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-user.php +++ b/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-user.php @@ -811,6 +811,13 @@ class BP_Core_User { $retval = array(); foreach ( $user_ids as $user_id ) { $retval[ $user_id ] = wp_cache_get( $user_id, 'bp_last_activity' ); + + if ( isset( $retval['user_id'] ) ) { + $retval[ $user_id ]['user_id'] = (int) $retval[ $user_id ]['user_id']; + } + if ( isset( $retval['activity_id'] ) ) { + $retval[ $user_id ]['activity_id'] = (int) $retval[ $user_id ]['activity_id']; + } } return $retval; @@ -905,6 +912,16 @@ class BP_Core_User { // Set cache. wp_cache_set( $user_id, $activity[ $user_id ], 'bp_last_activity' ); + /** + * Fires when a user's last_activity value has been updated. + * + * @since 2.7.0 + * + * @param int $user_id ID of the user. + * @param string $time Last activity timestamp, in 'Y-m-d H:i:s' format. + */ + do_action( 'bp_core_user_updated_last_activity', $user_id, $time ); + return $updated; } diff --git a/wp-content/plugins/buddypress/bp-core/classes/class-bp-theme-compat.php b/wp-content/plugins/buddypress/bp-core/classes/class-bp-theme-compat.php index 4c12621ff793a9632f411de2e22ae0ee95c5f3db..215ee7204fa17c9870f601647674425e0eb7c11c 100644 --- a/wp-content/plugins/buddypress/bp-core/classes/class-bp-theme-compat.php +++ b/wp-content/plugins/buddypress/bp-core/classes/class-bp-theme-compat.php @@ -50,7 +50,7 @@ class BP_Theme_Compat { * * @param array $properties Array of properties for BP_Theme_Compat. */ - public function __construct( Array $properties = array() ) { + public function __construct( Array $properties = array() ) { $this->_data = $properties; } diff --git a/wp-content/plugins/buddypress/bp-core/classes/class-bp-user-query.php b/wp-content/plugins/buddypress/bp-core/classes/class-bp-user-query.php index 95aab0c083e12c02b060e5b4128f25251ef7c913..0d1be8e86d6d77f47ee61d912b84a9715309cb1d 100644 --- a/wp-content/plugins/buddypress/bp-core/classes/class-bp-user-query.php +++ b/wp-content/plugins/buddypress/bp-core/classes/class-bp-user-query.php @@ -364,7 +364,11 @@ class BP_User_Query { // 'include' - User ids to include in the results. $include = false !== $include ? wp_parse_id_list( $include ) : array(); $include_ids = $this->get_include_ids( $include ); - if ( ! empty( $include_ids ) ) { + + // An array containing nothing but 0 should always fail. + if ( 1 === count( $include_ids ) && 0 == reset( $include_ids ) ) { + $sql['where'][] = $this->no_results['where']; + } elseif ( ! empty( $include_ids ) ) { $include_ids = implode( ',', wp_parse_id_list( $include_ids ) ); $sql['where'][] = "u.{$this->uid_name} IN ({$include_ids})"; } @@ -591,11 +595,14 @@ class BP_User_Query { // Match up to the user ids from the main query. foreach ( $this->user_ids as $key => $uid ) { if ( isset( $r[ $uid ] ) ) { + $r[ $uid ]->ID = (int) $uid; + $r[ $uid ]->user_status = (int) $r[ $uid ]->user_status; + $this->results[ $uid ] = $r[ $uid ]; // The BP template functions expect an 'id' // (as opposed to 'ID') property. - $this->results[ $uid ]->id = $uid; + $this->results[ $uid ]->id = (int) $uid; // Remove user ID from original user_ids property. } else { @@ -780,7 +787,7 @@ class BP_User_Query { $tax_query = new WP_Tax_Query( array( array( - 'taxonomy' => 'bp_member_type', + 'taxonomy' => bp_get_member_type_tax_name(), 'field' => 'name', 'operator' => $operator, 'terms' => $types, @@ -788,7 +795,7 @@ class BP_User_Query { ) ); // Switch to the root blog, where member type taxonomies live. - $site_id = bp_get_taxonomy_term_site_id( 'bp_member_type' ); + $site_id = bp_get_taxonomy_term_site_id( bp_get_member_type_tax_name() ); $switched = false; if ( $site_id !== get_current_blog_id() ) { switch_to_blog( $site_id ); diff --git a/wp-content/plugins/buddypress/bp-core/css/admin-bar-rtl.css b/wp-content/plugins/buddypress/bp-core/css/admin-bar-rtl.css index 2e4f0f9556cc2302ecf3737a8d1dde039c24a102..5e37f32ef3c2011cb46a4483aafb43aa8be843e1 100644 --- a/wp-content/plugins/buddypress/bp-core/css/admin-bar-rtl.css +++ b/wp-content/plugins/buddypress/bp-core/css/admin-bar-rtl.css @@ -56,3 +56,16 @@ height: 64px; width: 64px; } + +/* Remove additional arrows from appearing on the BuddyPress' `my_account_menu` + * on large screens. Add back arrows for screen widths 600px and lower. + */ +#wpadminbar .wp-admin-bar-arrow-right { + display: none; +} + +@media screen and (max-width: 600px) { + #wpadminbar .wp-admin-bar-arrow-right { + display: block; + } +} diff --git a/wp-content/plugins/buddypress/bp-core/css/admin-bar-rtl.min.css b/wp-content/plugins/buddypress/bp-core/css/admin-bar-rtl.min.css index 9122430e717e92371269b6984c7afa300a497972..ae9202dc66faf4bc19fb6636557d201ff4dac162 100644 --- a/wp-content/plugins/buddypress/bp-core/css/admin-bar-rtl.min.css +++ b/wp-content/plugins/buddypress/bp-core/css/admin-bar-rtl.min.css @@ -1 +1 @@ -#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar>a img,#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar>a img{width:16px;height:16px;display:inline;border:1px solid #999;vertical-align:middle;margin:-2px -5px 0 10px;padding:0;background:#eee;float:none}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul,#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul{right:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications,#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count{background:#21759B;color:#fff;text-shadow:none;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications{background:#ddd;color:#333;margin:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert{background-color:#1fb3dd;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a{padding:0 .5em}#wp-admin-bar-user-info img.avatar{height:64px;width:64px} \ No newline at end of file +#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar>a img,#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar>a img{width:16px;height:16px;display:inline;border:1px solid #999;vertical-align:middle;margin:-2px -5px 0 10px;padding:0;background:#eee;float:none}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul,#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul{right:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications,#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count{background:#21759B;color:#fff;text-shadow:none;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications{background:#ddd;color:#333;margin:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert{background-color:#1fb3dd;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a{padding:0 .5em}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}#wpadminbar .wp-admin-bar-arrow-right{display:none}@media screen and (max-width:600px){#wpadminbar .wp-admin-bar-arrow-right{display:block}} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/css/admin-bar.css b/wp-content/plugins/buddypress/bp-core/css/admin-bar.css index 9c2af6a56ae2472ffe8ca12b19f479d46971603f..2f99e8f14118a79574a12e2424c387b458d4119d 100644 --- a/wp-content/plugins/buddypress/bp-core/css/admin-bar.css +++ b/wp-content/plugins/buddypress/bp-core/css/admin-bar.css @@ -56,3 +56,16 @@ height: 64px; width: 64px; } + +/* Remove additional arrows from appearing on the BuddyPress' `my_account_menu` + * on large screens. Add back arrows for screen widths 600px and lower. + */ +#wpadminbar .wp-admin-bar-arrow-right { + display: none; +} + +@media screen and (max-width: 600px) { + #wpadminbar .wp-admin-bar-arrow-right { + display: block; + } +} diff --git a/wp-content/plugins/buddypress/bp-core/css/admin-bar.min.css b/wp-content/plugins/buddypress/bp-core/css/admin-bar.min.css index a27c0e84536dc4f304e7556c508463d25f19e915..a47e232b2b2ac26b9416bad753050661af887d6e 100644 --- a/wp-content/plugins/buddypress/bp-core/css/admin-bar.min.css +++ b/wp-content/plugins/buddypress/bp-core/css/admin-bar.min.css @@ -1 +1 @@ -#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar>a img,#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar>a img{width:16px;height:16px;display:inline;border:1px solid #999;vertical-align:middle;margin:-2px 10px 0 -5px;padding:0;background:#eee;float:none}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul,#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul{left:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications,#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count{background:#21759B;color:#fff;text-shadow:none;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications{background:#ddd;color:#333;margin:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert{background-color:#1fb3dd;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a{padding:0 .5em}#wp-admin-bar-user-info img.avatar{height:64px;width:64px} \ No newline at end of file +#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar>a img,#wpadminbar .quicklinks li#wp-admin-bar-user-admin-with-avatar>a img{width:16px;height:16px;display:inline;border:1px solid #999;vertical-align:middle;margin:-2px 10px 0 -5px;padding:0;background:#eee;float:none}#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul,#wpadminbar .quicklinks li#wp-admin-bar-group-admin-with-avatar ul ul{left:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications,#wpadminbar .quicklinks li#wp-admin-bar-my-account a span.count,#wpadminbar .quicklinks li#wp-admin-bar-my-account-with-avatar a span.count{background:#21759B;color:#fff;text-shadow:none;display:inline;padding:2px 5px;font-size:10px;font-weight:700;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications{background:#ddd;color:#333;margin:0}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications.alert{background-color:#1fb3dd;color:#fff}#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications>a{padding:0 .5em}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}#wpadminbar .wp-admin-bar-arrow-right{display:none}@media screen and (max-width:600px){#wpadminbar .wp-admin-bar-arrow-right{display:block}} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/css/avatar-rtl.css b/wp-content/plugins/buddypress/bp-core/css/avatar-rtl.css index 1a76a49795d02e83ccee8d688c16f3703d3bbeec..6af4621a91eaf350a36bb5917008674d1a3b5a62 100644 --- a/wp-content/plugins/buddypress/bp-core/css/avatar-rtl.css +++ b/wp-content/plugins/buddypress/bp-core/css/avatar-rtl.css @@ -145,6 +145,16 @@ div.bp-avatar-nav { text-align: inherit; } +.moxie-shim.moxie-shim-html5 { + top: 108px !important; + right: 40.1% !important; + width: 12em; +} + +.moxie-shim.moxie-shim-html5 input { + cursor: pointer; +} + .drag-drop #drag-drop-area { box-sizing: border-box; display: table; @@ -164,8 +174,12 @@ div.bp-avatar-nav { display: block; } +p.drag-drop-buttons input#bp-browse-button { + width: 12em; +} + .drag-drop .drag-drop-inside p { - color: #aaa; + color: #767676; font-size: 110%; margin: 5px 0; text-align: center; diff --git a/wp-content/plugins/buddypress/bp-core/css/avatar-rtl.min.css b/wp-content/plugins/buddypress/bp-core/css/avatar-rtl.min.css index d705eb1d098c93116af2f88676da26026aba258c..80668c26923c5731d072e3c9af9754f985d2cbe5 100644 --- a/wp-content/plugins/buddypress/bp-core/css/avatar-rtl.min.css +++ b/wp-content/plugins/buddypress/bp-core/css/avatar-rtl.min.css @@ -1 +1 @@ -div.bp-avatar-status,div.bp-cover-image-status{clear:both;margin:1em 0}div.bp-avatar-status p.updated,div.bp-cover-image-status p.updated{display:block;padding:10px 15px}div.bp-avatar-status p.success,div.bp-cover-image-status p.success{background-color:#efc;border:1px solid #591;color:#250}div.bp-avatar-status p.error,div.bp-cover-image-status p.error{background-color:#fdc;border:1px solid #a00;color:#800}div.bp-avatar-status .bp-progress,div.bp-cover-image-status .bp-progress{background:0 0;border:1px solid #d1d1d1;float:left;height:22px;line-height:2em;margin:6px 0 2px 10px;padding:0;overflow:hidden;width:200px}div.bp-avatar-status .bp-bar,div.bp-cover-image-status .bp-bar{background-color:#c3ff88;width:0;height:100%;z-index:9}.bp-uploader-progress div.error{background-color:#fdc;border:1px solid #a00;color:#800;display:block;font-size:90%;padding:10px 15px}#buddypress p.warning,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{background-color:#ffd;border:1px solid #cb2;color:#440;display:block;font-size:90%;margin:1em 0;padding:10px 15px}div.bp-avatar-nav{background:0 0;clear:both;margin:10px 0;overflow:hidden}.avatar-nav-items{margin:0;padding:0}.bp-avatar-nav .avatar-nav-items li.avatar-nav-item{float:right!important;margin:0;list-style:none}.avatar-nav-items li a{display:block;padding:5px 10px;text-decoration:none}.bp-avatar-nav ul:after,.bp-avatar-nav ul:before{content:" ";display:table}.bp-avatar-nav ul:after{clear:both}.bp-avatar-nav ul{border-bottom:1px solid #ccc;margin-bottom:10px}.bp-avatar-nav ul.avatar-nav-items li.current{border:1px solid #ccc;border-bottom-color:#fff;border-top-right-radius:4px;border-top-left-radius:4px;margin-bottom:-1px}.bp-avatar-nav li.current a{background:0 0;color:inherit;font-weight:700;opacity:.8;outline:0}#drag-drop-area{border:4px dashed #bbb;height:200px}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}.drag-drop-inside p{display:none}.drag-drop-inside p.drag-drop-buttons{margin-top:80px;text-align:center}.drag-drop .drag-drop-inside p.drag-drop-buttons{margin:auto;text-align:inherit}.drag-drop #drag-drop-area{box-sizing:border-box;display:table;height:100%;width:100%}.drag-drop .drag-drop-inside{display:table-cell;padding:40px 0;text-align:center;vertical-align:middle}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop .drag-drop-inside p{color:#aaa;font-size:110%;margin:5px 0;text-align:center}.drag-drop-inside p.drag-drop-info{margin-top:0}@supports (-ms-accelerator:true){.drag-drop-inside p.drag-drop-info{display:block}}#avatar-to-crop{margin:0 auto 20px;text-align:right}#bp-webcam-avatar #avatar-to-crop{float:right;margin:0 0 20px}#avatar-to-crop .jcrop-holder{margin:0 auto}.avatar-crop-management{clear:right;overflow:hidden;padding-top:20px;text-align:center}#bp-webcam-avatar .avatar-crop-management{clear:none;float:none;overflow:visible;padding-top:0;width:auto}#avatar-crop-pane{margin:0 auto;overflow:hidden}#bp-webcam-avatar #avatar-to-crop{border:1px solid #eee;max-width:100%;width:100%}@media screen and (min-width:801px){#bp-webcam-avatar #avatar-to-crop{max-width:64%;width:64%}}#avatar-crop-actions a{display:block}#bp-webcam-avatar #avatar-crop-actions{float:right;margin:0 0 20px;width:50%}#avatar-crop-actions a.button{margin-top:10px}#bp-webcam-avatar #avatar-crop-actions a.button{display:block;margin:0 0 5px;padding:4px 0;width:100%}#avatar-crop-pane canvas,#avatar-crop-pane img,#avatar-to-crop img,#avatar-upload-form img,#create-group-form img,#group-settings-form img{border:none!important;max-width:none!important}#bp-webcam-avatar video{float:right;margin-bottom:0;max-width:100%;width:100%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}#bp-webcam-avatar #avatar-crop-pane{border:2px dashed #bbb;clear:right;float:left;margin:0 0 10px 40px;overflow:hidden}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{max-width:150px;max-height:150px}#avatar-crop-pane canvas{height:auto;width:100%;max-width:100%}.group-avatar .bp-avatar .avatar-crop-management{margin-right:0;padding-top:0;width:auto}.bp-avatar .item{overflow:hidden}.bp-avatar .avatar-crop-management.adjust{float:right;clear:none;padding-top:0}.bp-avatar #avatar-to-crop.adjust{float:right;margin-left:20px}@media screen and (max-width:480px){#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions,#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{width:auto}}@media screen and (min-width:801px){#bp-webcam-avatar .avatar-crop-management{clear:none;float:left}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none;margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{float:right;width:100%}}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent{height:95%!important;width:95%!important}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{display:block;padding:10px 15px}.wp-admin #TB_window .bp-avatar #avatar-to-crop{float:right;margin:0}.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{margin-bottom:20px}@media screen and (min-width:783px){.wp-admin #TB_window .bp-avatar .avatar-crop-management{clear:none;float:right;margin-right:20px;padding-top:0;text-align:center}}.wp-admin #TB_window .bp-avatar #avatar-to-crop video{width:100%}.wp-admin #TB_window .bp-avatar .avatar-crop-management a.button{height:auto;line-height:inherit}@media screen and (min-width:810px){.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{max-width:none;width:76%}.wp-admin #TB_window #bp-webcam-avatar .avatar-crop-management{max-width:none;width:auto}} \ No newline at end of file +div.bp-avatar-status,div.bp-cover-image-status{clear:both;margin:1em 0}div.bp-avatar-status p.updated,div.bp-cover-image-status p.updated{display:block;padding:10px 15px}div.bp-avatar-status p.success,div.bp-cover-image-status p.success{background-color:#efc;border:1px solid #591;color:#250}div.bp-avatar-status p.error,div.bp-cover-image-status p.error{background-color:#fdc;border:1px solid #a00;color:#800}div.bp-avatar-status .bp-progress,div.bp-cover-image-status .bp-progress{background:0 0;border:1px solid #d1d1d1;float:left;height:22px;line-height:2em;margin:6px 0 2px 10px;padding:0;overflow:hidden;width:200px}div.bp-avatar-status .bp-bar,div.bp-cover-image-status .bp-bar{background-color:#c3ff88;width:0;height:100%;z-index:9}.bp-uploader-progress div.error{background-color:#fdc;border:1px solid #a00;color:#800;display:block;font-size:90%;padding:10px 15px}#buddypress p.warning,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{background-color:#ffd;border:1px solid #cb2;color:#440;display:block;font-size:90%;margin:1em 0;padding:10px 15px}div.bp-avatar-nav{background:0 0;clear:both;margin:10px 0;overflow:hidden}.avatar-nav-items{margin:0;padding:0}.bp-avatar-nav .avatar-nav-items li.avatar-nav-item{float:right!important;margin:0;list-style:none}.avatar-nav-items li a{display:block;padding:5px 10px;text-decoration:none}.bp-avatar-nav ul:after,.bp-avatar-nav ul:before{content:" ";display:table}.bp-avatar-nav ul:after{clear:both}.bp-avatar-nav ul{border-bottom:1px solid #ccc;margin-bottom:10px}.bp-avatar-nav ul.avatar-nav-items li.current{border:1px solid #ccc;border-bottom-color:#fff;border-top-right-radius:4px;border-top-left-radius:4px;margin-bottom:-1px}.bp-avatar-nav li.current a{background:0 0;color:inherit;font-weight:700;opacity:.8;outline:0}#drag-drop-area{border:4px dashed #bbb;height:200px}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}.drag-drop-inside p{display:none}.drag-drop-inside p.drag-drop-buttons{margin-top:80px;text-align:center}.drag-drop .drag-drop-inside p.drag-drop-buttons{margin:auto;text-align:inherit}.moxie-shim.moxie-shim-html5{top:108px!important;right:40.1%!important;width:12em}.moxie-shim.moxie-shim-html5 input{cursor:pointer}.drag-drop #drag-drop-area{box-sizing:border-box;display:table;height:100%;width:100%}.drag-drop .drag-drop-inside{display:table-cell;padding:40px 0;text-align:center;vertical-align:middle}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}p.drag-drop-buttons input#bp-browse-button{width:12em}.drag-drop .drag-drop-inside p{color:#767676;font-size:110%;margin:5px 0;text-align:center}.drag-drop-inside p.drag-drop-info{margin-top:0}@supports (-ms-accelerator:true){.drag-drop-inside p.drag-drop-info{display:block}}#avatar-to-crop{margin:0 auto 20px;text-align:right}#bp-webcam-avatar #avatar-to-crop{float:right;margin:0 0 20px}#avatar-to-crop .jcrop-holder{margin:0 auto}.avatar-crop-management{clear:right;overflow:hidden;padding-top:20px;text-align:center}#bp-webcam-avatar .avatar-crop-management{clear:none;float:none;overflow:visible;padding-top:0;width:auto}#avatar-crop-pane{margin:0 auto;overflow:hidden}#bp-webcam-avatar #avatar-to-crop{border:1px solid #eee;max-width:100%;width:100%}@media screen and (min-width:801px){#bp-webcam-avatar #avatar-to-crop{max-width:64%;width:64%}}#avatar-crop-actions a{display:block}#bp-webcam-avatar #avatar-crop-actions{float:right;margin:0 0 20px;width:50%}#avatar-crop-actions a.button{margin-top:10px}#bp-webcam-avatar #avatar-crop-actions a.button{display:block;margin:0 0 5px;padding:4px 0;width:100%}#avatar-crop-pane canvas,#avatar-crop-pane img,#avatar-to-crop img,#avatar-upload-form img,#create-group-form img,#group-settings-form img{border:none!important;max-width:none!important}#bp-webcam-avatar video{float:right;margin-bottom:0;max-width:100%;width:100%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}#bp-webcam-avatar #avatar-crop-pane{border:2px dashed #bbb;clear:right;float:left;margin:0 0 10px 40px;overflow:hidden}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{max-width:150px;max-height:150px}#avatar-crop-pane canvas{height:auto;width:100%;max-width:100%}.group-avatar .bp-avatar .avatar-crop-management{margin-right:0;padding-top:0;width:auto}.bp-avatar .item{overflow:hidden}.bp-avatar .avatar-crop-management.adjust{float:right;clear:none;padding-top:0}.bp-avatar #avatar-to-crop.adjust{float:right;margin-left:20px}@media screen and (max-width:480px){#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions,#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{width:auto}}@media screen and (min-width:801px){#bp-webcam-avatar .avatar-crop-management{clear:none;float:left}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none;margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{float:right;width:100%}}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent{height:95%!important;width:95%!important}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{display:block;padding:10px 15px}.wp-admin #TB_window .bp-avatar #avatar-to-crop{float:right;margin:0}.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{margin-bottom:20px}@media screen and (min-width:783px){.wp-admin #TB_window .bp-avatar .avatar-crop-management{clear:none;float:right;margin-right:20px;padding-top:0;text-align:center}}.wp-admin #TB_window .bp-avatar #avatar-to-crop video{width:100%}.wp-admin #TB_window .bp-avatar .avatar-crop-management a.button{height:auto;line-height:inherit}@media screen and (min-width:810px){.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{max-width:none;width:76%}.wp-admin #TB_window #bp-webcam-avatar .avatar-crop-management{max-width:none;width:auto}} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/css/avatar.css b/wp-content/plugins/buddypress/bp-core/css/avatar.css index 279d9542baca013c9ae2d2360b9335ed62f125af..036de4ed3e7a7dfcd82dc2615ce0591ef65bdb44 100644 --- a/wp-content/plugins/buddypress/bp-core/css/avatar.css +++ b/wp-content/plugins/buddypress/bp-core/css/avatar.css @@ -145,6 +145,16 @@ div.bp-avatar-nav { text-align: inherit; } +.moxie-shim.moxie-shim-html5 { + top: 108px !important; + left: 40.1% !important; + width: 12em; +} + +.moxie-shim.moxie-shim-html5 input { + cursor: pointer; +} + .drag-drop #drag-drop-area { box-sizing: border-box; display: table; @@ -164,8 +174,12 @@ div.bp-avatar-nav { display: block; } +p.drag-drop-buttons input#bp-browse-button { + width: 12em; +} + .drag-drop .drag-drop-inside p { - color: #aaa; + color: #767676; font-size: 110%; margin: 5px 0; text-align: center; diff --git a/wp-content/plugins/buddypress/bp-core/css/avatar.min.css b/wp-content/plugins/buddypress/bp-core/css/avatar.min.css index 80f0414ec9056362336695e0ad774480f80b8f1a..aefe02421f8f8b05abffae08509ac075522bd100 100644 --- a/wp-content/plugins/buddypress/bp-core/css/avatar.min.css +++ b/wp-content/plugins/buddypress/bp-core/css/avatar.min.css @@ -1 +1 @@ -div.bp-avatar-status,div.bp-cover-image-status{clear:both;margin:1em 0}div.bp-avatar-status p.updated,div.bp-cover-image-status p.updated{display:block;padding:10px 15px}div.bp-avatar-status p.success,div.bp-cover-image-status p.success{background-color:#efc;border:1px solid #591;color:#250}div.bp-avatar-status p.error,div.bp-cover-image-status p.error{background-color:#fdc;border:1px solid #a00;color:#800}div.bp-avatar-status .bp-progress,div.bp-cover-image-status .bp-progress{background:0 0;border:1px solid #d1d1d1;float:right;height:22px;line-height:2em;margin:6px 10px 2px 0;padding:0;overflow:hidden;width:200px}div.bp-avatar-status .bp-bar,div.bp-cover-image-status .bp-bar{background-color:#c3ff88;width:0;height:100%;z-index:9}.bp-uploader-progress div.error{background-color:#fdc;border:1px solid #a00;color:#800;display:block;font-size:90%;padding:10px 15px}#buddypress p.warning,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{background-color:#ffd;border:1px solid #cb2;color:#440;display:block;font-size:90%;margin:1em 0;padding:10px 15px}div.bp-avatar-nav{background:0 0;clear:both;margin:10px 0;overflow:hidden}.avatar-nav-items{margin:0;padding:0}.bp-avatar-nav .avatar-nav-items li.avatar-nav-item{float:left!important;margin:0;list-style:none}.avatar-nav-items li a{display:block;padding:5px 10px;text-decoration:none}.bp-avatar-nav ul:after,.bp-avatar-nav ul:before{content:" ";display:table}.bp-avatar-nav ul:after{clear:both}.bp-avatar-nav ul{border-bottom:1px solid #ccc;margin-bottom:10px}.bp-avatar-nav ul.avatar-nav-items li.current{border:1px solid #ccc;border-bottom-color:#fff;border-top-left-radius:4px;border-top-right-radius:4px;margin-bottom:-1px}.bp-avatar-nav li.current a{background:0 0;color:inherit;font-weight:700;opacity:.8;outline:0}#drag-drop-area{border:4px dashed #bbb;height:200px}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}.drag-drop-inside p{display:none}.drag-drop-inside p.drag-drop-buttons{margin-top:80px;text-align:center}.drag-drop .drag-drop-inside p.drag-drop-buttons{margin:auto;text-align:inherit}.drag-drop #drag-drop-area{box-sizing:border-box;display:table;height:100%;width:100%}.drag-drop .drag-drop-inside{display:table-cell;padding:40px 0;text-align:center;vertical-align:middle}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop .drag-drop-inside p{color:#aaa;font-size:110%;margin:5px 0;text-align:center}.drag-drop-inside p.drag-drop-info{margin-top:0}@supports (-ms-accelerator:true){.drag-drop-inside p.drag-drop-info{display:block}}#avatar-to-crop{margin:0 auto 20px;text-align:left}#bp-webcam-avatar #avatar-to-crop{float:left;margin:0 0 20px}#avatar-to-crop .jcrop-holder{margin:0 auto}.avatar-crop-management{clear:left;overflow:hidden;padding-top:20px;text-align:center}#bp-webcam-avatar .avatar-crop-management{clear:none;float:none;overflow:visible;padding-top:0;width:auto}#avatar-crop-pane{margin:0 auto;overflow:hidden}#bp-webcam-avatar #avatar-to-crop{border:1px solid #eee;max-width:100%;width:100%}@media screen and (min-width:801px){#bp-webcam-avatar #avatar-to-crop{max-width:64%;width:64%}}#avatar-crop-actions a{display:block}#bp-webcam-avatar #avatar-crop-actions{float:left;margin:0 0 20px;width:50%}#avatar-crop-actions a.button{margin-top:10px}#bp-webcam-avatar #avatar-crop-actions a.button{display:block;margin:0 0 5px;padding:4px 0;width:100%}#avatar-crop-pane canvas,#avatar-crop-pane img,#avatar-to-crop img,#avatar-upload-form img,#create-group-form img,#group-settings-form img{border:none!important;max-width:none!important}#bp-webcam-avatar video{float:left;margin-bottom:0;max-width:100%;width:100%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}#bp-webcam-avatar #avatar-crop-pane{border:2px dashed #bbb;clear:left;float:right;margin:0 40px 10px 0;overflow:hidden}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{max-width:150px;max-height:150px}#avatar-crop-pane canvas{height:auto;width:100%;max-width:100%}.group-avatar .bp-avatar .avatar-crop-management{margin-left:0;padding-top:0;width:auto}.bp-avatar .item{overflow:hidden}.bp-avatar .avatar-crop-management.adjust{float:left;clear:none;padding-top:0}.bp-avatar #avatar-to-crop.adjust{float:left;margin-right:20px}@media screen and (max-width:480px){#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions,#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{width:auto}}@media screen and (min-width:801px){#bp-webcam-avatar .avatar-crop-management{clear:none;float:right}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none;margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{float:left;width:100%}}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent{height:95%!important;width:95%!important}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{display:block;padding:10px 15px}.wp-admin #TB_window .bp-avatar #avatar-to-crop{float:left;margin:0}.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{margin-bottom:20px}@media screen and (min-width:783px){.wp-admin #TB_window .bp-avatar .avatar-crop-management{clear:none;float:left;margin-left:20px;padding-top:0;text-align:center}}.wp-admin #TB_window .bp-avatar #avatar-to-crop video{width:100%}.wp-admin #TB_window .bp-avatar .avatar-crop-management a.button{height:auto;line-height:inherit}@media screen and (min-width:810px){.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{max-width:none;width:76%}.wp-admin #TB_window #bp-webcam-avatar .avatar-crop-management{max-width:none;width:auto}} \ No newline at end of file +div.bp-avatar-status,div.bp-cover-image-status{clear:both;margin:1em 0}div.bp-avatar-status p.updated,div.bp-cover-image-status p.updated{display:block;padding:10px 15px}div.bp-avatar-status p.success,div.bp-cover-image-status p.success{background-color:#efc;border:1px solid #591;color:#250}div.bp-avatar-status p.error,div.bp-cover-image-status p.error{background-color:#fdc;border:1px solid #a00;color:#800}div.bp-avatar-status .bp-progress,div.bp-cover-image-status .bp-progress{background:0 0;border:1px solid #d1d1d1;float:right;height:22px;line-height:2em;margin:6px 10px 2px 0;padding:0;overflow:hidden;width:200px}div.bp-avatar-status .bp-bar,div.bp-cover-image-status .bp-bar{background-color:#c3ff88;width:0;height:100%;z-index:9}.bp-uploader-progress div.error{background-color:#fdc;border:1px solid #a00;color:#800;display:block;font-size:90%;padding:10px 15px}#buddypress p.warning,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{background-color:#ffd;border:1px solid #cb2;color:#440;display:block;font-size:90%;margin:1em 0;padding:10px 15px}div.bp-avatar-nav{background:0 0;clear:both;margin:10px 0;overflow:hidden}.avatar-nav-items{margin:0;padding:0}.bp-avatar-nav .avatar-nav-items li.avatar-nav-item{float:left!important;margin:0;list-style:none}.avatar-nav-items li a{display:block;padding:5px 10px;text-decoration:none}.bp-avatar-nav ul:after,.bp-avatar-nav ul:before{content:" ";display:table}.bp-avatar-nav ul:after{clear:both}.bp-avatar-nav ul{border-bottom:1px solid #ccc;margin-bottom:10px}.bp-avatar-nav ul.avatar-nav-items li.current{border:1px solid #ccc;border-bottom-color:#fff;border-top-left-radius:4px;border-top-right-radius:4px;margin-bottom:-1px}.bp-avatar-nav li.current a{background:0 0;color:inherit;font-weight:700;opacity:.8;outline:0}#drag-drop-area{border:4px dashed #bbb;height:200px}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}.drag-drop-inside p{display:none}.drag-drop-inside p.drag-drop-buttons{margin-top:80px;text-align:center}.drag-drop .drag-drop-inside p.drag-drop-buttons{margin:auto;text-align:inherit}.moxie-shim.moxie-shim-html5{top:108px!important;left:40.1%!important;width:12em}.moxie-shim.moxie-shim-html5 input{cursor:pointer}.drag-drop #drag-drop-area{box-sizing:border-box;display:table;height:100%;width:100%}.drag-drop .drag-drop-inside{display:table-cell;padding:40px 0;text-align:center;vertical-align:middle}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}p.drag-drop-buttons input#bp-browse-button{width:12em}.drag-drop .drag-drop-inside p{color:#767676;font-size:110%;margin:5px 0;text-align:center}.drag-drop-inside p.drag-drop-info{margin-top:0}@supports (-ms-accelerator:true){.drag-drop-inside p.drag-drop-info{display:block}}#avatar-to-crop{margin:0 auto 20px;text-align:left}#bp-webcam-avatar #avatar-to-crop{float:left;margin:0 0 20px}#avatar-to-crop .jcrop-holder{margin:0 auto}.avatar-crop-management{clear:left;overflow:hidden;padding-top:20px;text-align:center}#bp-webcam-avatar .avatar-crop-management{clear:none;float:none;overflow:visible;padding-top:0;width:auto}#avatar-crop-pane{margin:0 auto;overflow:hidden}#bp-webcam-avatar #avatar-to-crop{border:1px solid #eee;max-width:100%;width:100%}@media screen and (min-width:801px){#bp-webcam-avatar #avatar-to-crop{max-width:64%;width:64%}}#avatar-crop-actions a{display:block}#bp-webcam-avatar #avatar-crop-actions{float:left;margin:0 0 20px;width:50%}#avatar-crop-actions a.button{margin-top:10px}#bp-webcam-avatar #avatar-crop-actions a.button{display:block;margin:0 0 5px;padding:4px 0;width:100%}#avatar-crop-pane canvas,#avatar-crop-pane img,#avatar-to-crop img,#avatar-upload-form img,#create-group-form img,#group-settings-form img{border:none!important;max-width:none!important}#bp-webcam-avatar video{float:left;margin-bottom:0;max-width:100%;width:100%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}#bp-webcam-avatar #avatar-crop-pane{border:2px dashed #bbb;clear:left;float:right;margin:0 40px 10px 0;overflow:hidden}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{max-width:150px;max-height:150px}#avatar-crop-pane canvas{height:auto;width:100%;max-width:100%}.group-avatar .bp-avatar .avatar-crop-management{margin-left:0;padding-top:0;width:auto}.bp-avatar .item{overflow:hidden}.bp-avatar .avatar-crop-management.adjust{float:left;clear:none;padding-top:0}.bp-avatar #avatar-to-crop.adjust{float:left;margin-right:20px}@media screen and (max-width:480px){#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions,#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{width:auto}}@media screen and (min-width:801px){#bp-webcam-avatar .avatar-crop-management{clear:none;float:right}#bp-webcam-avatar .avatar-crop-management #avatar-crop-pane{float:none;margin:0 auto 10px}#bp-webcam-avatar .avatar-crop-management #avatar-crop-actions{float:left;width:100%}}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent{height:95%!important;width:95%!important}body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.profile_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.updated,body.users_page_bp-profile-edit.modal-open #TB_ajaxContent p.warning{display:block;padding:10px 15px}.wp-admin #TB_window .bp-avatar #avatar-to-crop{float:left;margin:0}.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{margin-bottom:20px}@media screen and (min-width:783px){.wp-admin #TB_window .bp-avatar .avatar-crop-management{clear:none;float:left;margin-left:20px;padding-top:0;text-align:center}}.wp-admin #TB_window .bp-avatar #avatar-to-crop video{width:100%}.wp-admin #TB_window .bp-avatar .avatar-crop-management a.button{height:auto;line-height:inherit}@media screen and (min-width:810px){.wp-admin #TB_window .bp-avatar #bp-webcam-avatar #avatar-to-crop{max-width:none;width:76%}.wp-admin #TB_window #bp-webcam-avatar .avatar-crop-management{max-width:none;width:auto}} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/deprecated/2.7.php b/wp-content/plugins/buddypress/bp-core/deprecated/2.7.php new file mode 100644 index 0000000000000000000000000000000000000000..bf5e13677f602e6969863bc65dc7f65ebad54ad7 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/deprecated/2.7.php @@ -0,0 +1,26 @@ +<?php +/** + * Deprecated functions. + * + * @deprecated 2.7.0 + */ + +// Exit if accessed directly. +defined( 'ABSPATH' ) || exit; + +/** + * Get the DB schema to use for BuddyPress components. + * + * @since 1.1.0 + * @deprecated 2.7.0 + * + * @return string The default database character-set, if set. + */ +function bp_core_set_charset() { + global $wpdb; + + _deprecated_function( __FUNCTION__, '2.7', 'wpdb::get_charset_collate()' ); + + require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); + return !empty( $wpdb->charset ) ? "DEFAULT CHARACTER SET {$wpdb->charset}" : ''; +} diff --git a/wp-content/plugins/buddypress/bp-core/js/bp-plupload.min.js b/wp-content/plugins/buddypress/bp-core/js/bp-plupload.min.js index 13aa779a987fb6d9db8289f4633eb5981f7e19a7..d7675fcdc726627cb84127797a3b224604ccd9df 100644 --- a/wp-content/plugins/buddypress/bp-core/js/bp-plupload.min.js +++ b/wp-content/plugins/buddypress/bp-core/js/bp-plupload.min.js @@ -1 +1 @@ -window.wp=window.wp||{},window.bp=window.bp||{},function(a,b){"undefined"!=typeof BP_Uploader&&(_.extend(bp,_.pick(wp,"Backbone","ajax","template")),bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Uploader={},bp.Uploader.uploader=function(){var a=this,c=-1!==navigator.userAgent.indexOf("Trident/")||-1!==navigator.userAgent.indexOf("MSIE ");return this.params=BP_Uploader.settings,this.strings=BP_Uploader.strings,this.supports={upload:this.params.browser.supported},this.supported=this.supports.upload,this.supported?(c||"flash"!==plupload.predictRuntime(this.params.defaults)||this.params.defaults.required_features&&this.params.defaults.required_features.hasOwnProperty("send_binary_string")||(this.params.defaults.required_features=this.params.defaults.required_features||{},this.params.defaults.required_features.send_binary_string=!0),this.uploader=new plupload.Uploader(this.params.defaults),this.uploader.bind("Init",function(c){var d=b("#"+a.params.defaults.container),e=b("#"+a.params.defaults.drop_element);"html4"===c.runtime&&(c.settings.multipart_params.html4=!0),"bp_avatar_upload"===c.settings.multipart_params.action&&(c.settings.multipart_params.bp_params.ui_available_width=d.width()),c.features.dragdrop&&!a.params.browser.mobile?(d.addClass("drag-drop"),e.bind("dragover.wp-uploader",function(){d.addClass("drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){d.removeClass("drag-over")})):(d.removeClass("drag-drop"),e.unbind(".wp-uploader"))}),this.uploader.init(),this.feedback=function(a,b,c){!_.isNull(c)&&c.item&&c.item.clear(),bp.Uploader.filesError.unshift({message:a,data:b,file:c})},this.uploader.bind("FilesAdded",function(c,d){var e=104857600,f=parseInt(c.settings.max_file_size,10),g=this;if(!c.settings.multi_selection&&d.length>1){for(var h in d)c.removeFile(d[h]);return void b(a).trigger("bp-uploader-warning",a.strings.unique_file_warning)}_.each(d,function(a){var b;plupload.FAILED!==a.status&&(f>e&&a.size>e&&"html5"!==c.runtime?g.uploadSizeError(c,a,!0):(b=_.extend({id:a.id,file:a,uploading:!0,date:new Date,filename:a.name},_.pick(a,"loaded","size","percent")),a.item=new bp.Models.File(b),bp.Uploader.filesQueue.add(a.item)))}),c.refresh(),c.start()}),this.uploader.bind("UploadProgress",function(a,b){b.item.set(_.pick(b,"loaded","percent"))}),this.uploader.bind("FileUploaded",function(b,c,d){var e=a.strings.default_error;try{d=JSON.parse(d.response)}catch(f){return a.feedback(e,f,c)}return!_.isObject(d)||_.isUndefined(d.success)?a.feedback(e,null,c):d.success?(_.each(["file","loaded","size","percent"],function(a){c.item.unset(a)}),c.item.set(_.extend(d.data,{uploading:!1})),void bp.Uploader.filesUploaded.add(c.item)):(d.data&&d.data.message&&(e=d.data.message),a.feedback(e,d.data,c))}),this.uploader.bind("BeforeUpload",function(c,d){b(a).trigger("bp-uploader-new-upload",c,d)}),this.uploader.bind("UploadComplete",function(c,d){b(a).trigger("bp-uploader-upload-complete",c,d),bp.Uploader.filesQueue.reset()}),void this.uploader.bind("Error",function(c,d){var e,f=a.strings.default_error,g={FAILED:a.strings.upload_failed,FILE_EXTENSION_ERROR:a.strings.invalid_filetype,IMAGE_FORMAT_ERROR:a.strings.not_an_image,IMAGE_MEMORY_ERROR:a.strings.image_memory_exceeded,IMAGE_DIMENSIONS_ERROR:a.strings.image_dimensions_exceeded,GENERIC_ERROR:a.strings.upload_failed,IO_ERROR:a.strings.io_error,HTTP_ERROR:a.strings.http_error,SECURITY_ERROR:a.strings.security_error,FILE_SIZE_ERROR:a.strings.file_exceeds_size_limit.replace("%s",d.file.name)};for(e in g)if(d.code===plupload[e]){f=g[e];break}b(a).trigger("bp-uploader-warning",f),c.refresh()})):void(BP_Uploader=void 0)},bp.Models.File=Backbone.Model.extend({file:{}}),b.extend(bp.Uploader,{filesQueue:new Backbone.Collection,filesUploaded:new Backbone.Collection,filesError:new Backbone.Collection}),bp.View=bp.Backbone.View.extend({inject:function(a){this.render(),b(a).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}}),bp.Views.Uploader=bp.View.extend({className:"bp-uploader-window",template:bp.template("upload-window"),defaults:_.pick(BP_Uploader.settings.defaults,"container","drop_element","browse_button"),initialize:function(){this.warnings=[],this.model=new Backbone.Model(this.defaults),this.on("ready",this.initUploader)},initUploader:function(){this.uploader=new bp.Uploader.uploader,b(this.uploader).on("bp-uploader-warning",_.bind(this.setWarning,this)),b(this.uploader).on("bp-uploader-new-upload",_.bind(this.resetWarning,this))},setWarning:function(a,b){if(!_.isUndefined(b)){var c=new bp.Views.uploaderWarning({value:b}).render();this.warnings.push(c),this.$el.after(c.el)}},resetWarning:function(){0!==this.warnings.length&&(_.each(this.warnings,function(a){a.remove()}),this.warnings=[])}}),bp.Views.uploaderWarning=bp.View.extend({tagName:"p",className:"warning",initialize:function(){this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.uploaderStatus=bp.View.extend({className:"files",initialize:function(){_.each(this.collection.models,this.addFile,this),this.collection.on("change:percent",this.progress,this),bp.Uploader.filesError.on("add",this.feedback,this)},addFile:function(a){this.views.add(new bp.Views.uploaderProgress({model:a}))},progress:function(a){_.isUndefined(a.get("percent"))||b("#"+a.get("id")+" .bp-progress .bp-bar").css("width",a.get("percent")+"%")},feedback:function(a){_.isUndefined(a.get("message"))||_.isUndefined(a.get("file"))||b("#"+a.get("file").id).html(a.get("message")).addClass("error")}}),bp.Views.uploaderProgress=bp.View.extend({className:"bp-uploader-progress",template:bp.template("progress-window")}))}(bp,jQuery); \ No newline at end of file +window.wp=window.wp||{},window.bp=window.bp||{},function(a,b){"undefined"!=typeof BP_Uploader&&(_.extend(bp,_.pick(wp,"Backbone","ajax","template")),bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Uploader={},bp.Uploader.uploader=function(){var a=this,c=navigator.userAgent.indexOf("Trident/")!==-1||navigator.userAgent.indexOf("MSIE ")!==-1;return this.params=BP_Uploader.settings,this.strings=BP_Uploader.strings,this.supports={upload:this.params.browser.supported},this.supported=this.supports.upload,this.supported?(c||"flash"!==plupload.predictRuntime(this.params.defaults)||this.params.defaults.required_features&&this.params.defaults.required_features.hasOwnProperty("send_binary_string")||(this.params.defaults.required_features=this.params.defaults.required_features||{},this.params.defaults.required_features.send_binary_string=!0),this.uploader=new plupload.Uploader(this.params.defaults),this.uploader.bind("Init",function(c){var d=b("#"+a.params.defaults.container),e=b("#"+a.params.defaults.drop_element);"html4"===c.runtime&&(c.settings.multipart_params.html4=!0),"bp_avatar_upload"===c.settings.multipart_params.action&&(c.settings.multipart_params.bp_params.ui_available_width=d.width()),c.features.dragdrop&&!a.params.browser.mobile?(d.addClass("drag-drop"),e.bind("dragover.wp-uploader",function(){d.addClass("drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){d.removeClass("drag-over")})):(d.removeClass("drag-drop"),e.unbind(".wp-uploader"))}),this.uploader.init(),this.feedback=function(a,b,c){!_.isNull(c)&&c.item&&c.item.clear(),bp.Uploader.filesError.unshift({message:a,data:b,file:c})},this.uploader.bind("FilesAdded",function(c,d){var e=104857600,f=parseInt(c.settings.max_file_size,10),g=this;if(!c.settings.multi_selection&&d.length>1){for(var h in d)c.removeFile(d[h]);return void b(a).trigger("bp-uploader-warning",a.strings.unique_file_warning)}_.each(d,function(a){var b;plupload.FAILED!==a.status&&(f>e&&a.size>e&&"html5"!==c.runtime?g.uploadSizeError(c,a,!0):(b=_.extend({id:a.id,file:a,uploading:!0,date:new Date,filename:a.name},_.pick(a,"loaded","size","percent")),a.item=new bp.Models.File(b),bp.Uploader.filesQueue.add(a.item)))}),c.refresh(),c.start()}),this.uploader.bind("UploadProgress",function(a,b){b.item.set(_.pick(b,"loaded","percent"))}),this.uploader.bind("FileUploaded",function(b,c,d){var e=a.strings.default_error;try{d=JSON.parse(d.response)}catch(b){return a.feedback(e,b,c)}return!_.isObject(d)||_.isUndefined(d.success)?a.feedback(e,null,c):d.success?(_.each(["file","loaded","size","percent"],function(a){c.item.unset(a)}),c.item.set(_.extend(d.data,{uploading:!1})),void bp.Uploader.filesUploaded.add(c.item)):(d.data&&d.data.message&&(e=d.data.message),a.feedback(e,d.data,c))}),this.uploader.bind("BeforeUpload",function(c,d){b(a).trigger("bp-uploader-new-upload",c,d)}),this.uploader.bind("UploadComplete",function(c,d){b(a).trigger("bp-uploader-upload-complete",c,d),bp.Uploader.filesQueue.reset()}),void this.uploader.bind("Error",function(c,d){var e,f=a.strings.default_error,g={FAILED:a.strings.upload_failed,FILE_EXTENSION_ERROR:a.strings.invalid_filetype,IMAGE_FORMAT_ERROR:a.strings.not_an_image,IMAGE_MEMORY_ERROR:a.strings.image_memory_exceeded,IMAGE_DIMENSIONS_ERROR:a.strings.image_dimensions_exceeded,GENERIC_ERROR:a.strings.upload_failed,IO_ERROR:a.strings.io_error,HTTP_ERROR:a.strings.http_error,SECURITY_ERROR:a.strings.security_error,FILE_SIZE_ERROR:a.strings.file_exceeds_size_limit.replace("%s",d.file.name)};for(e in g)if(d.code===plupload[e]){f=g[e];break}b(a).trigger("bp-uploader-warning",f),c.refresh()})):void(BP_Uploader=void 0)},bp.Models.File=Backbone.Model.extend({file:{}}),b.extend(bp.Uploader,{filesQueue:new Backbone.Collection,filesUploaded:new Backbone.Collection,filesError:new Backbone.Collection}),bp.View=bp.Backbone.View.extend({inject:function(a){this.render(),b(a).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}}),bp.Views.Uploader=bp.View.extend({className:"bp-uploader-window",template:bp.template("upload-window"),defaults:_.pick(BP_Uploader.settings.defaults,"container","drop_element","browse_button"),initialize:function(){this.warnings=[],this.model=new Backbone.Model(this.defaults),this.on("ready",this.initUploader)},initUploader:function(){this.uploader=new bp.Uploader.uploader,b(this.uploader).on("bp-uploader-warning",_.bind(this.setWarning,this)),b(this.uploader).on("bp-uploader-new-upload",_.bind(this.resetWarning,this))},setWarning:function(a,b){if(!_.isUndefined(b)){var c=new bp.Views.uploaderWarning({value:b}).render();this.warnings.push(c),this.$el.after(c.el)}},resetWarning:function(){0!==this.warnings.length&&(_.each(this.warnings,function(a){a.remove()}),this.warnings=[])}}),bp.Views.uploaderWarning=bp.View.extend({tagName:"p",className:"warning",initialize:function(){this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.uploaderStatus=bp.View.extend({className:"files",initialize:function(){_.each(this.collection.models,this.addFile,this),this.collection.on("change:percent",this.progress,this),bp.Uploader.filesError.on("add",this.feedback,this)},addFile:function(a){this.views.add(new bp.Views.uploaderProgress({model:a}))},progress:function(a){_.isUndefined(a.get("percent"))||b("#"+a.get("id")+" .bp-progress .bp-bar").css("width",a.get("percent")+"%")},feedback:function(a){_.isUndefined(a.get("message"))||_.isUndefined(a.get("file"))||b("#"+a.get("file").id).html(a.get("message")).addClass("error")}}),bp.Views.uploaderProgress=bp.View.extend({className:"bp-uploader-progress",template:bp.template("progress-window")}))}(bp,jQuery); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/confirm.min.js b/wp-content/plugins/buddypress/bp-core/js/confirm.min.js index 3cb055b5f63986bdad8adcf0c8a73bbc07474e39..3f0860ae0ae1b7843115c55612d9f39bbbbaee96 100644 --- a/wp-content/plugins/buddypress/bp-core/js/confirm.min.js +++ b/wp-content/plugins/buddypress/bp-core/js/confirm.min.js @@ -1 +1 @@ -jQuery(document).ready(function(){jQuery("a.confirm").click(function(){return confirm(BP_Confirm.are_you_sure)?!0:!1})}); \ No newline at end of file +jQuery(document).ready(function(){jQuery("a.confirm").click(function(){return!!confirm(BP_Confirm.are_you_sure)})}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-cookie.js b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-cookie.js new file mode 100644 index 0000000000000000000000000000000000000000..3bb4150a268f7a7462f2fa1df4b4531b7ec990ab --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-cookie.js @@ -0,0 +1,120 @@ +/* jshint undef: false */ + +/*! + * jQuery Cookie Plugin v1.4.1 + * https://github.com/carhartl/jquery-cookie + * + * Copyright 2013 Klaus Hartl + * Released under the MIT license + */ +(function(factory) { + // AMD + if (typeof define === 'function' && define.amd) { + define(['jquery'], factory); + // CommonJS + } else if (typeof exports === 'object') { + factory(require('jquery')); + // Browser globals + } else { + factory(jQuery); + } +}(function($) { + + var pluses = /\+/g; + + function encode(s) { + return config.raw ? s : encodeURIComponent(s); + } + + function decode(s) { + return config.raw ? s : decodeURIComponent(s); + } + + function stringifyCookieValue(value) { + return encode(config.json ? JSON.stringify(value) : String(value)); + } + + function parseCookieValue(s) { + if (s.indexOf('"') === 0) { + // This is a quoted cookie as according to RFC2068, unescape... + s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); + } + + try { + // Replace server-side written pluses with spaces. + // If we can't decode the cookie, ignore it, it's unusable. + // If we can't parse the cookie, ignore it, it's unusable. + s = decodeURIComponent(s.replace(pluses, ' ')); + return config.json ? JSON.parse(s) : s; + } catch (e) { + } + } + + function read(s, converter) { + var value = config.raw ? s : parseCookieValue(s); + return $.isFunction(converter) ? converter(value) : value; + } + + var config = $.cookie = function(key, value, options) { + + // Write + + if (value !== undefined && !$.isFunction(value)) { + options = $.extend({}, config.defaults, options); + + if (typeof options.expires === 'number') { + var days = options.expires, t = options.expires = new Date(); + t.setTime(+t + days * 864e+5); + } + + return (document.cookie = [ + encode(key), '=', stringifyCookieValue(value), + options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE + options.path ? '; path=' + options.path : '', + options.domain ? '; domain=' + options.domain : '', + options.secure ? '; secure' : '' + ].join('')); + } + + // Read + + var result = key ? undefined : {}; + + // To prevent the for loop in the first place assign an empty array + // in case there are no cookies at all. Also prevents odd result when + // calling $.cookie(). + var cookies = document.cookie ? document.cookie.split('; ') : []; + + for (var i = 0, l = cookies.length; i < l; i++) { + var parts = cookies[i].split('='); + var name = decode(parts.shift()); + var cookie = parts.join('='); + + if (key && key === name) { + // If second argument (value) is a function it's a converter... + result = read(cookie, value); + break; + } + + // Prevent storing a cookie that we couldn't decode. + if (!key && (cookie = read(cookie)) !== undefined) { + result[name] = cookie; + } + } + + return result; + }; + + config.defaults = {}; + + $.removeCookie = function(key, options) { + if ($.cookie(key) === undefined) { + return false; + } + + // Must not alter options, thus extending a fresh object... + $.cookie(key, '', $.extend({}, options, {expires: -1})); + return !$.cookie(key); + }; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-cookie.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-cookie.min.js new file mode 100644 index 0000000000000000000000000000000000000000..783e454b3653ef890d69d79ebc4aafd6001be14b --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-cookie.min.js @@ -0,0 +1 @@ +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(a){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;n<o;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0!==a.cookie(b)&&(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-scroll-to.js b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-scroll-to.js new file mode 100644 index 0000000000000000000000000000000000000000..ebcff575536c2f62b99201eaefedd5cf40a0429d --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-scroll-to.js @@ -0,0 +1,208 @@ +/* jshint undef: false */ +/* jshint -W065 */ + +/*! + * jQuery.ScrollTo + * Copyright (c) 2007-2014 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com + * Licensed under MIT + * http://flesler.blogspot.com/2007/10/jqueryscrollto.html + * @projectDescription Easy element scrolling using jQuery. + * @author Ariel Flesler + * @version 1.4.12 + */ + +(function(factory) { + // AMD + if (typeof define === 'function' && define.amd) { + define(['jquery'], factory); + // CommonJS + } else if (typeof exports === 'object') { + factory(require('jquery')); + // Browser globals + } else { + factory(jQuery); + } +}(function($) { + + var $scrollTo = $.scrollTo = function(target, duration, settings) { + return $(window).scrollTo(target, duration, settings); + }; + + $scrollTo.defaults = { + axis: 'xy', + duration: parseFloat($.fn.jquery) >= 1.3 ? 0 : 1, + limit: true + }; + + // Returns the element that needs to be animated to scroll the window. + // Kept for backwards compatibility (specially for localScroll & serialScroll) + $scrollTo.window = function() { + return $(window)._scrollable(); + }; + + // Hack, hack, hack :) + // Returns the real elements to scroll (supports window/iframes, documents and regular nodes) + $.fn._scrollable = function() { + return this.map(function() { + var elem = this, + isWin = !elem.nodeName || $.inArray(elem.nodeName.toLowerCase(), ['iframe', '#document', 'html', 'body']) !== -1; + + if (!isWin) { + return elem; + } + + var doc = (elem.contentWindow || elem).document || elem.ownerDocument || elem; + + return /webkit/i.test(navigator.userAgent) || doc.compatMode === 'BackCompat' ? + doc.body : + doc.documentElement; + }); + }; + + $.fn.scrollTo = function(target, duration, settings) { + if (typeof duration === 'object') { + settings = duration; + duration = 0; + } + if (typeof settings === 'function') { + settings = {onAfter: settings}; + } + + if (target === 'max') { + target = 9e9; + } + + settings = $.extend({}, $scrollTo.defaults, settings); + // Speed is still recognized for backwards compatibility + duration = duration || settings.duration; + // Make sure the settings are given right + settings.queue = settings.queue && settings.axis.length > 1; + + // Let's keep the overall duration + if (settings.queue) { + duration /= 2; + } + + settings.offset = both(settings.offset); + settings.over = both(settings.over); + + return this._scrollable().each(function() { + + // Null target yields nothing, just like jQuery does + if (target === null) { + return; + } + + var elem = this, + $elem = $(elem), + targ = target, toff, attr = {}, + win = $elem.is('html,body'); + + switch (typeof targ) { + // A number will pass the regex + case 'number': + case 'string': + if (/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(targ)) { + targ = both(targ); + // We are done + break; + } + // Relative/Absolute selector, no break! + targ = win ? $(targ) : $(targ, this); + if (!targ.length) { + return; + } + /* falls through */ + case 'object': + // DOMElement / jQuery + if (targ.is || targ.style) { + // Get the real position of the target + toff = (targ = $(targ)).offset(); + } + } + + var offset = $.isFunction(settings.offset) && settings.offset(elem, targ) || settings.offset; + + $.each(settings.axis.split(''), function(i, axis) { + var Pos = axis === 'x' ? 'Left' : 'Top', + pos = Pos.toLowerCase(), + key = 'scroll' + Pos, + old = elem[key], + max = $scrollTo.max(elem, axis); + + if (toff) {// jQuery / DOMElement + attr[key] = toff[pos] + (win ? 0 : old - $elem.offset()[pos]); + + // If it's a dom element, reduce the margin + if (settings.margin) { + attr[key] -= parseInt(targ.css('margin' + Pos)) || 0; + attr[key] -= parseInt(targ.css('border' + Pos + 'Width')) || 0; + } + + attr[key] += offset[pos] || 0; + + // Scroll to a fraction of its width/height + if (settings.over[pos]) { + attr[key] += targ[axis === 'x' ? 'width' : 'height']() * settings.over[pos]; + } + } else { + var val = targ[pos]; + // Handle percentage values + attr[key] = val.slice && val.slice(-1) === '%' ? + parseFloat(val) / 100 * max + : val; + } + + // Number or 'number' + if (settings.limit && /^\d+$/.test(attr[key])) { + // Check the limits + attr[key] = attr[key] <= 0 ? 0 : Math.min(attr[key], max); + } + + // Queueing axes + if (!i && settings.queue) { + // Don't waste time animating, if there's no need. + if (old !== attr[key]) { + // Intermediate animation + animate(settings.onAfterFirst); + } + // Don't animate this axis again in the next iteration. + delete attr[key]; + } + }); + + animate(settings.onAfter); + + function animate(callback) { + $elem.animate(attr, duration, settings.easing, callback && function() { + callback.call(this, targ, settings); + }); + } + + }).end(); + }; + + // Max scrolling position, works on quirks mode + // It only fails (not too badly) on IE, quirks mode. + $scrollTo.max = function(elem, axis) { + var Dim = axis === 'x' ? 'Width' : 'Height', + scroll = 'scroll' + Dim; + + if (!$(elem).is('html,body')) { + return elem[scroll] - $(elem)[Dim.toLowerCase()](); + } + + var size = 'client' + Dim, + html = elem.ownerDocument.documentElement, + body = elem.ownerDocument.body; + + return Math.max(html[scroll], body[scroll]) - Math.min(html[size], body[size]); + }; + + function both(val) { + return $.isFunction(val) || typeof val === 'object' ? val : {top: val, left: val}; + } + + // AMD requirement + return $scrollTo; +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-scroll-to.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-scroll-to.min.js new file mode 100644 index 0000000000000000000000000000000000000000..066a23b8b9acac7514667cdbbcd929892bb0f757 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery-scroll-to.min.js @@ -0,0 +1 @@ +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(b){return a.isFunction(b)||"object"==typeof b?b:{top:b,left:b}}var c=a.scrollTo=function(b,c,d){return a(window).scrollTo(b,c,d)};return c.defaults={axis:"xy",duration:parseFloat(a.fn.jquery)>=1.3?0:1,limit:!0},c.window=function(){return a(window)._scrollable()},a.fn._scrollable=function(){return this.map(function(){var b=this,c=!b.nodeName||a.inArray(b.nodeName.toLowerCase(),["iframe","#document","html","body"])!==-1;if(!c)return b;var d=(b.contentWindow||b).document||b.ownerDocument||b;return/webkit/i.test(navigator.userAgent)||"BackCompat"===d.compatMode?d.body:d.documentElement})},a.fn.scrollTo=function(d,e,f){return"object"==typeof e&&(f=e,e=0),"function"==typeof f&&(f={onAfter:f}),"max"===d&&(d=9e9),f=a.extend({},c.defaults,f),e=e||f.duration,f.queue=f.queue&&f.axis.length>1,f.queue&&(e/=2),f.offset=b(f.offset),f.over=b(f.over),this._scrollable().each(function(){function g(a){j.animate(l,e,f.easing,a&&function(){a.call(this,k,f)})}if(null!==d){var h,i=this,j=a(i),k=d,l={},m=j.is("html,body");switch(typeof k){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(k)){k=b(k);break}if(k=m?a(k):a(k,this),!k.length)return;case"object":(k.is||k.style)&&(h=(k=a(k)).offset())}var n=a.isFunction(f.offset)&&f.offset(i,k)||f.offset;a.each(f.axis.split(""),function(a,b){var d="x"===b?"Left":"Top",e=d.toLowerCase(),o="scroll"+d,p=i[o],q=c.max(i,b);if(h)l[o]=h[e]+(m?0:p-j.offset()[e]),f.margin&&(l[o]-=parseInt(k.css("margin"+d))||0,l[o]-=parseInt(k.css("border"+d+"Width"))||0),l[o]+=n[e]||0,f.over[e]&&(l[o]+=k["x"===b?"width":"height"]()*f.over[e]);else{var r=k[e];l[o]=r.slice&&"%"===r.slice(-1)?parseFloat(r)/100*q:r}f.limit&&/^\d+$/.test(l[o])&&(l[o]=l[o]<=0?0:Math.min(l[o],q)),!a&&f.queue&&(p!==l[o]&&g(f.onAfterFirst),delete l[o])}),g(f.onAfter)}}).end()},c.max=function(b,c){var d="x"===c?"Width":"Height",e="scroll"+d;if(!a(b).is("html,body"))return b[e]-a(b)[d.toLowerCase()]();var f="client"+d,g=b.ownerDocument.documentElement,h=b.ownerDocument.body;return Math.max(g[e],h[e])-Math.min(g[f],h[f])},c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.atwho.js b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.atwho.js new file mode 100644 index 0000000000000000000000000000000000000000..717d9935dd6889a56f2c6c548fa04b38dd205ca2 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.atwho.js @@ -0,0 +1,875 @@ +/*! jquery.atwho - v0.5.2 %> +* Copyright (c) 2014 chord.luo <chord.luo@gmail.com>; +* homepage: http://ichord.github.com/At.js +* Licensed MIT +*/ +(function (root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(["jquery"], function ($) { + return (root.returnExportsGlobal = factory($)); + }); + } else if (typeof exports === 'object') { + // Node. Does not work with strict CommonJS, but + // only CommonJS-like enviroments that support module.exports, + // like Node. + module.exports = factory(require("jquery")); + } else { + factory(jQuery); + } +}(this, function ($) { + +var Api, App, Controller, DEFAULT_CALLBACKS, KEY_CODE, Model, View, + __slice = [].slice; + +App = (function() { + function App(inputor) { + this.current_flag = null; + this.controllers = {}; + this.alias_maps = {}; + this.$inputor = $(inputor); + this.setIframe(); + this.listen(); + } + + App.prototype.createContainer = function(doc) { + if ((this.$el = $("#atwho-container", doc)).length === 0) { + return $(doc.body).append(this.$el = $("<div id='atwho-container'></div>")); + } + }; + + App.prototype.setIframe = function(iframe, standalone) { + var _ref; + if (standalone == null) { + standalone = false; + } + if (iframe) { + this.window = iframe.contentWindow; + this.document = iframe.contentDocument || this.window.document; + this.iframe = iframe; + } else { + this.document = document; + this.window = window; + this.iframe = null; + } + if (this.iframeStandalone = standalone) { + if ((_ref = this.$el) != null) { + _ref.remove(); + } + return this.createContainer(this.document); + } else { + return this.createContainer(document); + } + }; + + App.prototype.controller = function(at) { + var c, current, current_flag, _ref; + if (this.alias_maps[at]) { + current = this.controllers[this.alias_maps[at]]; + } else { + _ref = this.controllers; + for (current_flag in _ref) { + c = _ref[current_flag]; + if (current_flag === at) { + current = c; + break; + } + } + } + if (current) { + return current; + } else { + return this.controllers[this.current_flag]; + } + }; + + App.prototype.set_context_for = function(at) { + this.current_flag = at; + return this; + }; + + App.prototype.reg = function(flag, setting) { + var controller, _base; + controller = (_base = this.controllers)[flag] || (_base[flag] = new Controller(this, flag)); + if (setting.alias) { + this.alias_maps[setting.alias] = flag; + } + controller.init(setting); + return this; + }; + + App.prototype.listen = function() { + return this.$inputor.on('keyup.atwhoInner', (function(_this) { + return function(e) { + return _this.on_keyup(e); + }; + })(this)).on('keydown.atwhoInner', (function(_this) { + return function(e) { + return _this.on_keydown(e); + }; + })(this)).on('scroll.atwhoInner', (function(_this) { + return function(e) { + var _ref; + return (_ref = _this.controller()) != null ? _ref.view.hide(e) : void 0; + }; + })(this)).on('blur.atwhoInner', (function(_this) { + return function(e) { + var c; + if (c = _this.controller()) { + return c.view.hide(e, c.get_opt("display_timeout")); + } + }; + })(this)).on('click.atwhoInner', (function(_this) { + return function(e) { + return _this.dispatch(); + }; + })(this)); + }; + + App.prototype.shutdown = function() { + var c, _, _ref; + _ref = this.controllers; + for (_ in _ref) { + c = _ref[_]; + c.destroy(); + delete this.controllers[_]; + } + this.$inputor.off('.atwhoInner'); + return this.$el.remove(); + }; + + App.prototype.dispatch = function() { + return $.map(this.controllers, (function(_this) { + return function(c) { + var delay; + if (delay = c.get_opt('delay')) { + clearTimeout(_this.delayedCallback); + return _this.delayedCallback = setTimeout(function() { + if (c.look_up()) { + return _this.set_context_for(c.at); + } + }, delay); + } else { + if (c.look_up()) { + return _this.set_context_for(c.at); + } + } + }; + })(this)); + }; + + App.prototype.on_keyup = function(e) { + var _ref; + switch (e.keyCode) { + case KEY_CODE.ESC: + e.preventDefault(); + if ((_ref = this.controller()) != null) { + _ref.view.hide(); + } + break; + case KEY_CODE.DOWN: + case KEY_CODE.UP: + case KEY_CODE.CTRL: + $.noop(); + break; + case KEY_CODE.P: + case KEY_CODE.N: + if (!e.ctrlKey) { + this.dispatch(); + } + break; + default: + this.dispatch(); + } + }; + + App.prototype.on_keydown = function(e) { + var view, _ref; + view = (_ref = this.controller()) != null ? _ref.view : void 0; + if (!(view && view.visible())) { + return; + } + switch (e.keyCode) { + case KEY_CODE.ESC: + e.preventDefault(); + view.hide(e); + break; + case KEY_CODE.UP: + e.preventDefault(); + view.prev(); + break; + case KEY_CODE.DOWN: + e.preventDefault(); + view.next(); + break; + case KEY_CODE.P: + if (!e.ctrlKey) { + return; + } + e.preventDefault(); + view.prev(); + break; + case KEY_CODE.N: + if (!e.ctrlKey) { + return; + } + e.preventDefault(); + view.next(); + break; + case KEY_CODE.TAB: + case KEY_CODE.ENTER: + if (!view.visible()) { + return; + } + e.preventDefault(); + view.choose(e); + break; + default: + $.noop(); + } + }; + + return App; + +})(); + +Controller = (function() { + Controller.prototype.uid = function() { + return (Math.random().toString(16) + "000000000").substr(2, 8) + (new Date().getTime()); + }; + + function Controller(app, at) { + this.app = app; + this.at = at; + this.$inputor = this.app.$inputor; + this.id = this.$inputor[0].id || this.uid(); + this.setting = null; + this.query = null; + this.pos = 0; + this.cur_rect = null; + this.range = null; + if ((this.$el = $("#atwho-ground-" + this.id, this.app.$el)).length === 0) { + this.app.$el.append(this.$el = $("<div id='atwho-ground-" + this.id + "'></div>")); + } + this.model = new Model(this); + this.view = new View(this); + } + + Controller.prototype.init = function(setting) { + this.setting = $.extend({}, this.setting || $.fn.atwho["default"], setting); + this.view.init(); + return this.model.reload(this.setting.data); + }; + + Controller.prototype.destroy = function() { + this.trigger('beforeDestroy'); + this.model.destroy(); + this.view.destroy(); + return this.$el.remove(); + }; + + Controller.prototype.call_default = function() { + var args, error, func_name; + func_name = arguments[0], args = 2 <= arguments.length ? __slice.call(arguments, 1) : []; + try { + return DEFAULT_CALLBACKS[func_name].apply(this, args); + } catch (_error) { + error = _error; + return $.error("" + error + " Or maybe At.js doesn't have function " + func_name); + } + }; + + Controller.prototype.trigger = function(name, data) { + var alias, event_name; + if (data == null) { + data = []; + } + data.push(this); + alias = this.get_opt('alias'); + event_name = alias ? "" + name + "-" + alias + ".atwho" : "" + name + ".atwho"; + return this.$inputor.trigger(event_name, data); + }; + + Controller.prototype.callbacks = function(func_name) { + return this.get_opt("callbacks")[func_name] || DEFAULT_CALLBACKS[func_name]; + }; + + Controller.prototype.get_opt = function(at, default_value) { + var e; + try { + return this.setting[at]; + } catch (_error) { + e = _error; + return null; + } + }; + + Controller.prototype.content = function() { + var range; + if (this.$inputor.is('textarea, input')) { + return this.$inputor.val(); + } else { + if (!(range = this.mark_range())) { + return; + } + return (range.startContainer.textContent || "").slice(0, range.startOffset); + } + }; + + Controller.prototype.catch_query = function() { + var caret_pos, content, end, query, start, subtext; + content = this.content(); + caret_pos = this.$inputor.caret('pos', { + iframe: this.app.iframe + }); + subtext = content.slice(0, caret_pos); + query = this.callbacks("matcher").call(this, this.at, subtext, this.get_opt('start_with_space')); + if (typeof query === "string" && query.length <= this.get_opt('max_len', 20)) { + start = caret_pos - query.length; + end = start + query.length; + this.pos = start; + query = { + 'text': query, + 'head_pos': start, + 'end_pos': end + }; + this.trigger("matched", [this.at, query.text]); + } else { + query = null; + this.view.hide(); + } + return this.query = query; + }; + + Controller.prototype.rect = function() { + var c, iframe_offset, scale_bottom; + if (!(c = this.$inputor.caret('offset', this.pos - 1, { + iframe: this.app.iframe + }))) { + return; + } + if (this.app.iframe && !this.app.iframeStandalone) { + iframe_offset = $(this.app.iframe).offset(); + c.left += iframe_offset.left; + c.top += iframe_offset.top; + } + if (this.$inputor.is('[contentEditable]')) { + c = this.cur_rect || (this.cur_rect = c); + } + scale_bottom = this.app.document.selection ? 0 : 2; + return { + left: c.left, + top: c.top, + bottom: c.top + c.height + scale_bottom + }; + }; + + Controller.prototype.reset_rect = function() { + if (this.$inputor.is('[contentEditable]')) { + return this.cur_rect = null; + } + }; + + Controller.prototype.mark_range = function() { + var sel; + if (!this.$inputor.is('[contentEditable]')) { + return; + } + if (this.app.window.getSelection && (sel = this.app.window.getSelection()).rangeCount > 0) { + return this.range = sel.getRangeAt(0); + } else if (this.app.document.selection) { + return this.ie8_range = this.app.document.selection.createRange(); + } + }; + + Controller.prototype.insert_content_for = function($li) { + var data, data_value, tpl; + data_value = $li.data('value'); + tpl = this.get_opt('insert_tpl'); + if (this.$inputor.is('textarea, input') || !tpl) { + return data_value; + } + data = $.extend({}, $li.data('item-data'), { + 'atwho-data-value': data_value, + 'atwho-at': this.at + }); + return this.callbacks("tpl_eval").call(this, tpl, data); + }; + + Controller.prototype.insert = function(content, $li) { + var $inputor, node, pos, range, sel, source, start_str, text, wrapped_contents, _i, _len, _ref; + $inputor = this.$inputor; + wrapped_contents = this.callbacks('inserting_wrapper').call(this, $inputor, content, this.get_opt("suffix")); + if ($inputor.is('textarea, input')) { + source = $inputor.val(); + start_str = source.slice(0, Math.max(this.query.head_pos - this.at.length, 0)); + text = "" + start_str + wrapped_contents + (source.slice(this.query['end_pos'] || 0)); + $inputor.val(text); + $inputor.caret('pos', start_str.length + wrapped_contents.length, { + iframe: this.app.iframe + }); + } else if (range = this.range) { + pos = range.startOffset - (this.query.end_pos - this.query.head_pos) - this.at.length; + range.setStart(range.endContainer, Math.max(pos, 0)); + range.setEnd(range.endContainer, range.endOffset); + range.deleteContents(); + _ref = $(wrapped_contents, this.app.document); + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + node = _ref[_i]; + range.insertNode(node); + range.setEndAfter(node); + range.collapse(false); + } + sel = this.app.window.getSelection(); + sel.removeAllRanges(); + sel.addRange(range); + } else if (range = this.ie8_range) { + range.moveStart('character', this.query.end_pos - this.query.head_pos - this.at.length); + range.pasteHTML(wrapped_contents); + range.collapse(false); + range.select(); + } + if (!$inputor.is(':focus')) { + $inputor.focus(); + } + return $inputor.change(); + }; + + Controller.prototype.render_view = function(data) { + var search_key; + search_key = this.get_opt("search_key"); + data = this.callbacks("sorter").call(this, this.query.text, data.slice(0, 1001), search_key); + return this.view.render(data.slice(0, this.get_opt('limit'))); + }; + + Controller.prototype.look_up = function() { + var query, _callback; + if (!(query = this.catch_query())) { + return; + } + _callback = function(data) { + if (data && data.length > 0) { + return this.render_view(data); + } else { + return this.view.hide(); + } + }; + this.model.query(query.text, $.proxy(_callback, this)); + return query; + }; + + return Controller; + +})(); + +Model = (function() { + function Model(context) { + this.context = context; + this.at = this.context.at; + this.storage = this.context.$inputor; + } + + Model.prototype.destroy = function() { + return this.storage.data(this.at, null); + }; + + Model.prototype.saved = function() { + return this.fetch() > 0; + }; + + Model.prototype.query = function(query, callback) { + var data, search_key, _remote_filter; + data = this.fetch(); + search_key = this.context.get_opt("search_key"); + data = this.context.callbacks('filter').call(this.context, query, data, search_key) || []; + _remote_filter = this.context.callbacks('remote_filter'); + if (data.length > 0 || (!_remote_filter && data.length === 0)) { + return callback(data); + } else { + return _remote_filter.call(this.context, query, callback); + } + }; + + Model.prototype.fetch = function() { + return this.storage.data(this.at) || []; + }; + + Model.prototype.save = function(data) { + return this.storage.data(this.at, this.context.callbacks("before_save").call(this.context, data || [])); + }; + + Model.prototype.load = function(data) { + if (!(this.saved() || !data)) { + return this._load(data); + } + }; + + Model.prototype.reload = function(data) { + return this._load(data); + }; + + Model.prototype._load = function(data) { + if (typeof data === "string") { + return $.ajax(data, { + dataType: "json" + }).done((function(_this) { + return function(data) { + return _this.save(data); + }; + })(this)); + } else { + return this.save(data); + } + }; + + return Model; + +})(); + +View = (function() { + function View(context) { + this.context = context; + this.$el = $("<div class='atwho-view'><ul class='atwho-view-ul'></ul></div>"); + this.timeout_id = null; + this.context.$el.append(this.$el); + this.bind_event(); + } + + View.prototype.init = function() { + var id; + id = this.context.get_opt("alias") || this.context.at.charCodeAt(0); + return this.$el.attr({ + 'id': "at-view-" + id + }); + }; + + View.prototype.destroy = function() { + return this.$el.remove(); + }; + + View.prototype.bind_event = function() { + var $menu; + $menu = this.$el.find('ul'); + return $menu.on('mouseenter.atwho-view', 'li', function(e) { + $menu.find('.cur').removeClass('cur'); + return $(e.currentTarget).addClass('cur'); + }).on('click.atwho-view', 'li', (function(_this) { + return function(e) { + $menu.find('.cur').removeClass('cur'); + $(e.currentTarget).addClass('cur'); + _this.choose(e); + return e.preventDefault(); + }; + })(this)); + }; + + View.prototype.visible = function() { + return this.$el.is(":visible"); + }; + + View.prototype.choose = function(e) { + var $li, content; + if (($li = this.$el.find(".cur")).length) { + content = this.context.insert_content_for($li); + this.context.insert(this.context.callbacks("before_insert").call(this.context, content, $li), $li); + this.context.trigger("inserted", [$li, e]); + this.hide(e); + } + if (this.context.get_opt("hide_without_suffix")) { + return this.stop_showing = true; + } + }; + + View.prototype.reposition = function(rect) { + var offset, overflowOffset, _ref, _window; + _window = this.context.app.iframeStandalone ? this.context.app.window : window; + if (rect.bottom + this.$el.height() - $(_window).scrollTop() > $(_window).height()) { + rect.bottom = rect.top - this.$el.height(); + } + if (rect.left > (overflowOffset = $(_window).width() - this.$el.width() - 5)) { + rect.left = overflowOffset; + } + offset = { + left: rect.left, + top: rect.bottom + }; + if ((_ref = this.context.callbacks("before_reposition")) != null) { + _ref.call(this.context, offset); + } + this.$el.offset(offset); + return this.context.trigger("reposition", [offset]); + }; + + View.prototype.next = function() { + var cur, next; + cur = this.$el.find('.cur').removeClass('cur'); + next = cur.next(); + if (!next.length) { + next = this.$el.find('li:first'); + } + next.addClass('cur'); + return this.$el.animate({ + scrollTop: Math.max(0, cur.innerHeight() * (next.index() + 2) - this.$el.height()) + }, 150); + }; + + View.prototype.prev = function() { + var cur, prev; + cur = this.$el.find('.cur').removeClass('cur'); + prev = cur.prev(); + if (!prev.length) { + prev = this.$el.find('li:last'); + } + prev.addClass('cur'); + return this.$el.animate({ + scrollTop: Math.max(0, cur.innerHeight() * (prev.index() + 2) - this.$el.height()) + }, 150); + }; + + View.prototype.show = function() { + var rect; + if (this.stop_showing) { + this.stop_showing = false; + return; + } + this.context.mark_range(); + if (!this.visible()) { + this.$el.show(); + this.$el.scrollTop(0); + this.context.trigger('shown'); + } + if (rect = this.context.rect()) { + return this.reposition(rect); + } + }; + + View.prototype.hide = function(e, time) { + var callback; + if (!this.visible()) { + return; + } + if (isNaN(time)) { + this.context.reset_rect(); + this.$el.hide(); + return this.context.trigger('hidden', [e]); + } else { + callback = (function(_this) { + return function() { + return _this.hide(); + }; + })(this); + clearTimeout(this.timeout_id); + return this.timeout_id = setTimeout(callback, time); + } + }; + + View.prototype.render = function(list) { + var $li, $ul, item, li, tpl, _i, _len; + if (!($.isArray(list) && list.length > 0)) { + this.hide(); + return; + } + this.$el.find('ul').empty(); + $ul = this.$el.find('ul'); + tpl = this.context.get_opt('tpl'); + for (_i = 0, _len = list.length; _i < _len; _i++) { + item = list[_i]; + item = $.extend({}, item, { + 'atwho-at': this.context.at + }); + li = this.context.callbacks("tpl_eval").call(this.context, tpl, item); + $li = $(this.context.callbacks("highlighter").call(this.context, li, this.context.query.text)); + $li.data("item-data", item); + $ul.append($li); + } + this.show(); + if (this.context.get_opt('highlight_first')) { + return $ul.find("li:first").addClass("cur"); + } + }; + + return View; + +})(); + +KEY_CODE = { + DOWN: 40, + UP: 38, + ESC: 27, + TAB: 9, + ENTER: 13, + CTRL: 17, + P: 80, + N: 78 +}; + +DEFAULT_CALLBACKS = { + before_save: function(data) { + var item, _i, _len, _results; + if (!$.isArray(data)) { + return data; + } + _results = []; + for (_i = 0, _len = data.length; _i < _len; _i++) { + item = data[_i]; + if ($.isPlainObject(item)) { + _results.push(item); + } else { + _results.push({ + name: item + }); + } + } + return _results; + }, + matcher: function(flag, subtext, should_start_with_space) { + var match, regexp, _a, _y; + flag = flag.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); + if (should_start_with_space) { + flag = '(?:^|\\s)' + flag; + } + _a = decodeURI("%C3%80"); + _y = decodeURI("%C3%BF"); + regexp = new RegExp("" + flag + "([A-Za-z" + _a + "-" + _y + "0-9_\+\-]*)$|" + flag + "([^\\x00-\\xff]*)$", 'gi'); + match = regexp.exec(subtext); + if (match) { + return match[2] || match[1]; + } else { + return null; + } + }, + filter: function(query, data, search_key) { + var item, _i, _len, _results; + _results = []; + for (_i = 0, _len = data.length; _i < _len; _i++) { + item = data[_i]; + if (~new String(item[search_key]).toLowerCase().indexOf(query.toLowerCase())) { + _results.push(item); + } + } + return _results; + }, + remote_filter: null, + sorter: function(query, items, search_key) { + var item, _i, _len, _results; + if (!query) { + return items; + } + _results = []; + for (_i = 0, _len = items.length; _i < _len; _i++) { + item = items[_i]; + item.atwho_order = new String(item[search_key]).toLowerCase().indexOf(query.toLowerCase()); + if (item.atwho_order > -1) { + _results.push(item); + } + } + return _results.sort(function(a, b) { + return a.atwho_order - b.atwho_order; + }); + }, + tpl_eval: function(tpl, map) { + var error; + try { + return tpl.replace(/\$\{([^\}]*)\}/g, function(tag, key, pos) { + return map[key]; + }); + } catch (_error) { + error = _error; + return ""; + } + }, + highlighter: function(li, query) { + var regexp; + if (!query) { + return li; + } + regexp = new RegExp(">\\s*(\\w*?)(" + query.replace("+", "\\+") + ")(\\w*)\\s*<", 'ig'); + return li.replace(regexp, function(str, $1, $2, $3) { + return '> ' + $1 + '<strong>' + $2 + '</strong>' + $3 + ' <'; + }); + }, + before_insert: function(value, $li) { + return value; + }, + inserting_wrapper: function($inputor, content, suffix) { + var wrapped_content; + suffix = suffix === "" ? suffix : suffix || " "; + if ($inputor.is('textarea, input')) { + return '' + content + suffix; + } else if ($inputor.attr('contentEditable') === 'true') { + suffix = suffix === " " ? " " : suffix; + if (/firefox/i.test(navigator.userAgent)) { + wrapped_content = "<span>" + content + suffix + "</span>"; + } else { + suffix = "<span contenteditable='false'>" + suffix + "</span>"; + wrapped_content = "<span contenteditable='false'>" + content + suffix + "</span>"; + } + if (this.app.document.selection) { + wrapped_content = "<span contenteditable='true'>" + content + "</span>"; + } + return wrapped_content + "<span></span>"; + } + } +}; + +Api = { + load: function(at, data) { + var c; + if (c = this.controller(at)) { + return c.model.load(data); + } + }, + setIframe: function(iframe, standalone) { + this.setIframe(iframe, standalone); + return null; + }, + run: function() { + return this.dispatch(); + }, + destroy: function() { + this.shutdown(); + return this.$inputor.data('atwho', null); + } +}; + +$.fn.atwho = function(method) { + var result, _args; + _args = arguments; + result = null; + this.filter('textarea, input, [contenteditable=""], [contenteditable=true]').each(function() { + var $this, app; + if (!(app = ($this = $(this)).data("atwho"))) { + $this.data('atwho', (app = new App(this))); + } + if (typeof method === 'object' || !method) { + return app.reg(method.at, method); + } else if (Api[method] && app) { + return result = Api[method].apply(app, Array.prototype.slice.call(_args, 1)); + } else { + return $.error("Method " + method + " does not exist on jQuery.caret"); + } + }); + return result || this; +}; + +$.fn.atwho["default"] = { + at: void 0, + alias: void 0, + data: null, + tpl: "<li data-value='${atwho-at}${name}'>${name}</li>", + insert_tpl: "<span id='${id}'>${atwho-data-value}</span>", + callbacks: DEFAULT_CALLBACKS, + search_key: "name", + suffix: void 0, + hide_without_suffix: false, + start_with_space: true, + highlight_first: true, + limit: 5, + max_len: 20, + display_timeout: 300, + delay: null +}; + + + +})); diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.atwho.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.atwho.min.js new file mode 100644 index 0000000000000000000000000000000000000000..51bdda0b204af1a2b6f63afbcb99101a0e83d9fc --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.atwho.min.js @@ -0,0 +1 @@ +!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(c){return a.returnExportsGlobal=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){var b,c,d,e,f,g,h,i=[].slice;c=function(){function b(b){this.current_flag=null,this.controllers={},this.alias_maps={},this.$inputor=a(b),this.setIframe(),this.listen()}return b.prototype.createContainer=function(b){if(0===(this.$el=a("#atwho-container",b)).length)return a(b.body).append(this.$el=a("<div id='atwho-container'></div>"))},b.prototype.setIframe=function(a,b){var c;return null==b&&(b=!1),a?(this.window=a.contentWindow,this.document=a.contentDocument||this.window.document,this.iframe=a):(this.document=document,this.window=window,this.iframe=null),(this.iframeStandalone=b)?(null!=(c=this.$el)&&c.remove(),this.createContainer(this.document)):this.createContainer(document)},b.prototype.controller=function(a){var b,c,d,e;if(this.alias_maps[a])c=this.controllers[this.alias_maps[a]];else{e=this.controllers;for(d in e)if(b=e[d],d===a){c=b;break}}return c?c:this.controllers[this.current_flag]},b.prototype.set_context_for=function(a){return this.current_flag=a,this},b.prototype.reg=function(a,b){var c,e;return c=(e=this.controllers)[a]||(e[a]=new d(this,a)),b.alias&&(this.alias_maps[b.alias]=a),c.init(b),this},b.prototype.listen=function(){return this.$inputor.on("keyup.atwhoInner",function(a){return function(b){return a.on_keyup(b)}}(this)).on("keydown.atwhoInner",function(a){return function(b){return a.on_keydown(b)}}(this)).on("scroll.atwhoInner",function(a){return function(b){var c;return null!=(c=a.controller())?c.view.hide(b):void 0}}(this)).on("blur.atwhoInner",function(a){return function(b){var c;if(c=a.controller())return c.view.hide(b,c.get_opt("display_timeout"))}}(this)).on("click.atwhoInner",function(a){return function(b){return a.dispatch()}}(this))},b.prototype.shutdown=function(){var a,b,c;c=this.controllers;for(b in c)a=c[b],a.destroy(),delete this.controllers[b];return this.$inputor.off(".atwhoInner"),this.$el.remove()},b.prototype.dispatch=function(){return a.map(this.controllers,function(a){return function(b){var c;return(c=b.get_opt("delay"))?(clearTimeout(a.delayedCallback),a.delayedCallback=setTimeout(function(){if(b.look_up())return a.set_context_for(b.at)},c)):b.look_up()?a.set_context_for(b.at):void 0}}(this))},b.prototype.on_keyup=function(b){var c;switch(b.keyCode){case f.ESC:b.preventDefault(),null!=(c=this.controller())&&c.view.hide();break;case f.DOWN:case f.UP:case f.CTRL:a.noop();break;case f.P:case f.N:b.ctrlKey||this.dispatch();break;default:this.dispatch()}},b.prototype.on_keydown=function(b){var c,d;if(c=null!=(d=this.controller())?d.view:void 0,c&&c.visible())switch(b.keyCode){case f.ESC:b.preventDefault(),c.hide(b);break;case f.UP:b.preventDefault(),c.prev();break;case f.DOWN:b.preventDefault(),c.next();break;case f.P:if(!b.ctrlKey)return;b.preventDefault(),c.prev();break;case f.N:if(!b.ctrlKey)return;b.preventDefault(),c.next();break;case f.TAB:case f.ENTER:if(!c.visible())return;b.preventDefault(),c.choose(b);break;default:a.noop()}},b}(),d=function(){function b(b,c){this.app=b,this.at=c,this.$inputor=this.app.$inputor,this.id=this.$inputor[0].id||this.uid(),this.setting=null,this.query=null,this.pos=0,this.cur_rect=null,this.range=null,0===(this.$el=a("#atwho-ground-"+this.id,this.app.$el)).length&&this.app.$el.append(this.$el=a("<div id='atwho-ground-"+this.id+"'></div>")),this.model=new g(this),this.view=new h(this)}return b.prototype.uid=function(){return(Math.random().toString(16)+"000000000").substr(2,8)+(new Date).getTime()},b.prototype.init=function(b){return this.setting=a.extend({},this.setting||a.fn.atwho.default,b),this.view.init(),this.model.reload(this.setting.data)},b.prototype.destroy=function(){return this.trigger("beforeDestroy"),this.model.destroy(),this.view.destroy(),this.$el.remove()},b.prototype.call_default=function(){var b,c,d;d=arguments[0],b=2<=arguments.length?i.call(arguments,1):[];try{return e[d].apply(this,b)}catch(b){return c=b,a.error(""+c+" Or maybe At.js doesn't have function "+d)}},b.prototype.trigger=function(a,b){var c,d;return null==b&&(b=[]),b.push(this),c=this.get_opt("alias"),d=c?""+a+"-"+c+".atwho":""+a+".atwho",this.$inputor.trigger(d,b)},b.prototype.callbacks=function(a){return this.get_opt("callbacks")[a]||e[a]},b.prototype.get_opt=function(a,b){var c;try{return this.setting[a]}catch(a){return c=a,null}},b.prototype.content=function(){var a;if(this.$inputor.is("textarea, input"))return this.$inputor.val();if(a=this.mark_range())return(a.startContainer.textContent||"").slice(0,a.startOffset)},b.prototype.catch_query=function(){var a,b,c,d,e,f;return b=this.content(),a=this.$inputor.caret("pos",{iframe:this.app.iframe}),f=b.slice(0,a),d=this.callbacks("matcher").call(this,this.at,f,this.get_opt("start_with_space")),"string"==typeof d&&d.length<=this.get_opt("max_len",20)?(e=a-d.length,c=e+d.length,this.pos=e,d={text:d,head_pos:e,end_pos:c},this.trigger("matched",[this.at,d.text])):(d=null,this.view.hide()),this.query=d},b.prototype.rect=function(){var b,c,d;if(b=this.$inputor.caret("offset",this.pos-1,{iframe:this.app.iframe}))return this.app.iframe&&!this.app.iframeStandalone&&(c=a(this.app.iframe).offset(),b.left+=c.left,b.top+=c.top),this.$inputor.is("[contentEditable]")&&(b=this.cur_rect||(this.cur_rect=b)),d=this.app.document.selection?0:2,{left:b.left,top:b.top,bottom:b.top+b.height+d}},b.prototype.reset_rect=function(){if(this.$inputor.is("[contentEditable]"))return this.cur_rect=null},b.prototype.mark_range=function(){var a;if(this.$inputor.is("[contentEditable]"))return this.app.window.getSelection&&(a=this.app.window.getSelection()).rangeCount>0?this.range=a.getRangeAt(0):this.app.document.selection?this.ie8_range=this.app.document.selection.createRange():void 0},b.prototype.insert_content_for=function(b){var c,d,e;return d=b.data("value"),e=this.get_opt("insert_tpl"),this.$inputor.is("textarea, input")||!e?d:(c=a.extend({},b.data("item-data"),{"atwho-data-value":d,"atwho-at":this.at}),this.callbacks("tpl_eval").call(this,e,c))},b.prototype.insert=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o;if(d=this.$inputor,l=this.callbacks("inserting_wrapper").call(this,d,b,this.get_opt("suffix")),d.is("textarea, input"))i=d.val(),j=i.slice(0,Math.max(this.query.head_pos-this.at.length,0)),k=""+j+l+i.slice(this.query.end_pos||0),d.val(k),d.caret("pos",j.length+l.length,{iframe:this.app.iframe});else if(g=this.range){for(f=g.startOffset-(this.query.end_pos-this.query.head_pos)-this.at.length,g.setStart(g.endContainer,Math.max(f,0)),g.setEnd(g.endContainer,g.endOffset),g.deleteContents(),o=a(l,this.app.document),m=0,n=o.length;m<n;m++)e=o[m],g.insertNode(e),g.setEndAfter(e),g.collapse(!1);h=this.app.window.getSelection(),h.removeAllRanges(),h.addRange(g)}else(g=this.ie8_range)&&(g.moveStart("character",this.query.end_pos-this.query.head_pos-this.at.length),g.pasteHTML(l),g.collapse(!1),g.select());return d.is(":focus")||d.focus(),d.change()},b.prototype.render_view=function(a){var b;return b=this.get_opt("search_key"),a=this.callbacks("sorter").call(this,this.query.text,a.slice(0,1001),b),this.view.render(a.slice(0,this.get_opt("limit")))},b.prototype.look_up=function(){var b,c;if(b=this.catch_query())return c=function(a){return a&&a.length>0?this.render_view(a):this.view.hide()},this.model.query(b.text,a.proxy(c,this)),b},b}(),g=function(){function b(a){this.context=a,this.at=this.context.at,this.storage=this.context.$inputor}return b.prototype.destroy=function(){return this.storage.data(this.at,null)},b.prototype.saved=function(){return this.fetch()>0},b.prototype.query=function(a,b){var c,d,e;return c=this.fetch(),d=this.context.get_opt("search_key"),c=this.context.callbacks("filter").call(this.context,a,c,d)||[],e=this.context.callbacks("remote_filter"),c.length>0||!e&&0===c.length?b(c):e.call(this.context,a,b)},b.prototype.fetch=function(){return this.storage.data(this.at)||[]},b.prototype.save=function(a){return this.storage.data(this.at,this.context.callbacks("before_save").call(this.context,a||[]))},b.prototype.load=function(a){if(!this.saved()&&a)return this._load(a)},b.prototype.reload=function(a){return this._load(a)},b.prototype._load=function(b){return"string"==typeof b?a.ajax(b,{dataType:"json"}).done(function(a){return function(b){return a.save(b)}}(this)):this.save(b)},b}(),h=function(){function b(b){this.context=b,this.$el=a("<div class='atwho-view'><ul class='atwho-view-ul'></ul></div>"),this.timeout_id=null,this.context.$el.append(this.$el),this.bind_event()}return b.prototype.init=function(){var a;return a=this.context.get_opt("alias")||this.context.at.charCodeAt(0),this.$el.attr({id:"at-view-"+a})},b.prototype.destroy=function(){return this.$el.remove()},b.prototype.bind_event=function(){var b;return b=this.$el.find("ul"),b.on("mouseenter.atwho-view","li",function(c){return b.find(".cur").removeClass("cur"),a(c.currentTarget).addClass("cur")}).on("click.atwho-view","li",function(c){return function(d){return b.find(".cur").removeClass("cur"),a(d.currentTarget).addClass("cur"),c.choose(d),d.preventDefault()}}(this))},b.prototype.visible=function(){return this.$el.is(":visible")},b.prototype.choose=function(a){var b,c;if((b=this.$el.find(".cur")).length&&(c=this.context.insert_content_for(b),this.context.insert(this.context.callbacks("before_insert").call(this.context,c,b),b),this.context.trigger("inserted",[b,a]),this.hide(a)),this.context.get_opt("hide_without_suffix"))return this.stop_showing=!0},b.prototype.reposition=function(b){var c,d,e,f;return f=this.context.app.iframeStandalone?this.context.app.window:window,b.bottom+this.$el.height()-a(f).scrollTop()>a(f).height()&&(b.bottom=b.top-this.$el.height()),b.left>(d=a(f).width()-this.$el.width()-5)&&(b.left=d),c={left:b.left,top:b.bottom},null!=(e=this.context.callbacks("before_reposition"))&&e.call(this.context,c),this.$el.offset(c),this.context.trigger("reposition",[c])},b.prototype.next=function(){var a,b;return a=this.$el.find(".cur").removeClass("cur"),b=a.next(),b.length||(b=this.$el.find("li:first")),b.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,a.innerHeight()*(b.index()+2)-this.$el.height())},150)},b.prototype.prev=function(){var a,b;return a=this.$el.find(".cur").removeClass("cur"),b=a.prev(),b.length||(b=this.$el.find("li:last")),b.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,a.innerHeight()*(b.index()+2)-this.$el.height())},150)},b.prototype.show=function(){var a;return this.stop_showing?void(this.stop_showing=!1):(this.context.mark_range(),this.visible()||(this.$el.show(),this.$el.scrollTop(0),this.context.trigger("shown")),(a=this.context.rect())?this.reposition(a):void 0)},b.prototype.hide=function(a,b){var c;if(this.visible())return isNaN(b)?(this.context.reset_rect(),this.$el.hide(),this.context.trigger("hidden",[a])):(c=function(a){return function(){return a.hide()}}(this),clearTimeout(this.timeout_id),this.timeout_id=setTimeout(c,b))},b.prototype.render=function(b){var c,d,e,f,g,h,i;if(!(a.isArray(b)&&b.length>0))return void this.hide();for(this.$el.find("ul").empty(),d=this.$el.find("ul"),g=this.context.get_opt("tpl"),h=0,i=b.length;h<i;h++)e=b[h],e=a.extend({},e,{"atwho-at":this.context.at}),f=this.context.callbacks("tpl_eval").call(this.context,g,e),c=a(this.context.callbacks("highlighter").call(this.context,f,this.context.query.text)),c.data("item-data",e),d.append(c);return this.show(),this.context.get_opt("highlight_first")?d.find("li:first").addClass("cur"):void 0},b}(),f={DOWN:40,UP:38,ESC:27,TAB:9,ENTER:13,CTRL:17,P:80,N:78},e={before_save:function(b){var c,d,e,f;if(!a.isArray(b))return b;for(f=[],d=0,e=b.length;d<e;d++)c=b[d],a.isPlainObject(c)?f.push(c):f.push({name:c});return f},matcher:function(a,b,c){var d,e,f,g;return a=a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),c&&(a="(?:^|\\s)"+a),f=decodeURI("%C3%80"),g=decodeURI("%C3%BF"),e=new RegExp(""+a+"([A-Za-z"+f+"-"+g+"0-9_+-]*)$|"+a+"([^\\x00-\\xff]*)$","gi"),d=e.exec(b),d?d[2]||d[1]:null},filter:function(a,b,c){var d,e,f,g;for(g=[],e=0,f=b.length;e<f;e++)d=b[e],~new String(d[c]).toLowerCase().indexOf(a.toLowerCase())&&g.push(d);return g},remote_filter:null,sorter:function(a,b,c){var d,e,f,g;if(!a)return b;for(g=[],e=0,f=b.length;e<f;e++)d=b[e],d.atwho_order=new String(d[c]).toLowerCase().indexOf(a.toLowerCase()),d.atwho_order>-1&&g.push(d);return g.sort(function(a,b){return a.atwho_order-b.atwho_order})},tpl_eval:function(a,b){var c;try{return a.replace(/\$\{([^\}]*)\}/g,function(a,c,d){return b[c]})}catch(a){return c=a,""}},highlighter:function(a,b){var c;return b?(c=new RegExp(">\\s*(\\w*?)("+b.replace("+","\\+")+")(\\w*)\\s*<","ig"),a.replace(c,function(a,b,c,d){return"> "+b+"<strong>"+c+"</strong>"+d+" <"})):a},before_insert:function(a,b){return a},inserting_wrapper:function(a,b,c){var d;return c=""===c?c:c||" ",a.is("textarea, input")?""+b+c:"true"===a.attr("contentEditable")?(c=" "===c?" ":c,/firefox/i.test(navigator.userAgent)?d="<span>"+b+c+"</span>":(c="<span contenteditable='false'>"+c+"</span>",d="<span contenteditable='false'>"+b+c+"</span>"),this.app.document.selection&&(d="<span contenteditable='true'>"+b+"</span>"),d+"<span></span>"):void 0}},b={load:function(a,b){var c;if(c=this.controller(a))return c.model.load(b)},setIframe:function(a,b){return this.setIframe(a,b),null},run:function(){return this.dispatch()},destroy:function(){return this.shutdown(),this.$inputor.data("atwho",null)}},a.fn.atwho=function(d){var e,f;return f=arguments,e=null,this.filter('textarea, input, [contenteditable=""], [contenteditable=true]').each(function(){var g,h;return(h=(g=a(this)).data("atwho"))||g.data("atwho",h=new c(this)),"object"!=typeof d&&d?b[d]&&h?e=b[d].apply(h,Array.prototype.slice.call(f,1)):a.error("Method "+d+" does not exist on jQuery.caret"):h.reg(d.at,d)}),e||this},a.fn.atwho.default={at:void 0,alias:void 0,data:null,tpl:"<li data-value='${atwho-at}${name}'>${name}</li>",insert_tpl:"<span id='${id}'>${atwho-data-value}</span>",callbacks:e,search_key:"name",suffix:void 0,hide_without_suffix:!1,start_with_space:!0,highlight_first:!0,limit:5,max_len:20,display_timeout:300,delay:null}}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.atwho.txt b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.atwho.txt new file mode 100644 index 0000000000000000000000000000000000000000..36cd1c12272493d82a5c69abac9c6520dae4d126 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.atwho.txt @@ -0,0 +1,22 @@ +Copyright (c) 2013 chord.luo@gmail.com + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.caret.js b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.caret.js new file mode 100644 index 0000000000000000000000000000000000000000..e0de4bc82450d6e115c16330d520c1929e6bde87 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.caret.js @@ -0,0 +1,405 @@ +(function (root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Register as an anonymous module. + define(["jquery"], function ($) { + return (root.returnExportsGlobal = factory($)); + }); + } else if (typeof exports === 'object') { + // Node. Does not work with strict CommonJS, but + // only CommonJS-like enviroments that support module.exports, + // like Node. + module.exports = factory(require("jquery")); + } else { + factory(jQuery); + } +}(this, function ($) { + +/* + Implement Github like autocomplete mentions + http://ichord.github.com/At.js + + Copyright (c) 2013 chord.luo@gmail.com + Licensed under the MIT license. +*/ + +/* +本插件操作 textarea 或者 input 内的插入符 +只实现了获得插入符在文本框中的位置,我设置 +插入符的位置. +*/ + +"use strict"; +var EditableCaret, InputCaret, Mirror, Utils, discoveryIframeOf, methods, oDocument, oFrame, oWindow, pluginName, setContextBy; + +pluginName = 'caret'; + +EditableCaret = (function() { + function EditableCaret($inputor) { + this.$inputor = $inputor; + this.domInputor = this.$inputor[0]; + } + + EditableCaret.prototype.setPos = function(pos) { + return this.domInputor; + }; + + EditableCaret.prototype.getIEPosition = function() { + return this.getPosition(); + }; + + EditableCaret.prototype.getPosition = function() { + var inputor_offset, offset; + offset = this.getOffset(); + inputor_offset = this.$inputor.offset(); + offset.left -= inputor_offset.left; + offset.top -= inputor_offset.top; + return offset; + }; + + EditableCaret.prototype.getOldIEPos = function() { + var preCaretTextRange, textRange; + textRange = oDocument.selection.createRange(); + preCaretTextRange = oDocument.body.createTextRange(); + preCaretTextRange.moveToElementText(this.domInputor); + preCaretTextRange.setEndPoint("EndToEnd", textRange); + return preCaretTextRange.text.length; + }; + + EditableCaret.prototype.getPos = function() { + var clonedRange, pos, range; + if (range = this.range()) { + clonedRange = range.cloneRange(); + clonedRange.selectNodeContents(this.domInputor); + clonedRange.setEnd(range.endContainer, range.endOffset); + pos = clonedRange.toString().length; + clonedRange.detach(); + return pos; + } else if (oDocument.selection) { + return this.getOldIEPos(); + } + }; + + EditableCaret.prototype.getOldIEOffset = function() { + var range, rect; + range = oDocument.selection.createRange().duplicate(); + range.moveStart("character", -1); + rect = range.getBoundingClientRect(); + return { + height: rect.bottom - rect.top, + left: rect.left, + top: rect.top + }; + }; + + EditableCaret.prototype.getOffset = function(pos) { + var clonedRange, offset, range, rect, shadowCaret; + if (oWindow.getSelection && (range = this.range())) { + if (range.endOffset - 1 > 0 && range.endContainer === !this.domInputor) { + clonedRange = range.cloneRange(); + clonedRange.setStart(range.endContainer, range.endOffset - 1); + clonedRange.setEnd(range.endContainer, range.endOffset); + rect = clonedRange.getBoundingClientRect(); + offset = { + height: rect.height, + left: rect.left + rect.width, + top: rect.top + }; + clonedRange.detach(); + } + if (!offset || (offset != null ? offset.height : void 0) === 0) { + clonedRange = range.cloneRange(); + shadowCaret = $(oDocument.createTextNode("|")); + clonedRange.insertNode(shadowCaret[0]); + clonedRange.selectNode(shadowCaret[0]); + rect = clonedRange.getBoundingClientRect(); + offset = { + height: rect.height, + left: rect.left, + top: rect.top + }; + shadowCaret.remove(); + clonedRange.detach(); + } + } else if (oDocument.selection) { + offset = this.getOldIEOffset(); + } + if (offset) { + offset.top += $(oWindow).scrollTop(); + offset.left += $(oWindow).scrollLeft(); + } + return offset; + }; + + EditableCaret.prototype.range = function() { + var sel; + if (!oWindow.getSelection) { + return; + } + sel = oWindow.getSelection(); + if (sel.rangeCount > 0) { + return sel.getRangeAt(0); + } else { + return null; + } + }; + + return EditableCaret; + +})(); + +InputCaret = (function() { + function InputCaret($inputor) { + this.$inputor = $inputor; + this.domInputor = this.$inputor[0]; + } + + InputCaret.prototype.getIEPos = function() { + var endRange, inputor, len, normalizedValue, pos, range, textInputRange; + inputor = this.domInputor; + range = oDocument.selection.createRange(); + pos = 0; + if (range && range.parentElement() === inputor) { + normalizedValue = inputor.value.replace(/\r\n/g, "\n"); + len = normalizedValue.length; + textInputRange = inputor.createTextRange(); + textInputRange.moveToBookmark(range.getBookmark()); + endRange = inputor.createTextRange(); + endRange.collapse(false); + if (textInputRange.compareEndPoints("StartToEnd", endRange) > -1) { + pos = len; + } else { + pos = -textInputRange.moveStart("character", -len); + } + } + return pos; + }; + + InputCaret.prototype.getPos = function() { + if (oDocument.selection) { + return this.getIEPos(); + } else { + return this.domInputor.selectionStart; + } + }; + + InputCaret.prototype.setPos = function(pos) { + var inputor, range; + inputor = this.domInputor; + if (oDocument.selection) { + range = inputor.createTextRange(); + range.move("character", pos); + range.select(); + } else if (inputor.setSelectionRange) { + inputor.setSelectionRange(pos, pos); + } + return inputor; + }; + + InputCaret.prototype.getIEOffset = function(pos) { + var h, textRange, x, y; + textRange = this.domInputor.createTextRange(); + pos || (pos = this.getPos()); + textRange.move('character', pos); + x = textRange.boundingLeft; + y = textRange.boundingTop; + h = textRange.boundingHeight; + return { + left: x, + top: y, + height: h + }; + }; + + InputCaret.prototype.getOffset = function(pos) { + var $inputor, offset, position; + $inputor = this.$inputor; + if (oDocument.selection) { + offset = this.getIEOffset(pos); + offset.top += $(oWindow).scrollTop() + $inputor.scrollTop(); + offset.left += $(oWindow).scrollLeft() + $inputor.scrollLeft(); + return offset; + } else { + offset = $inputor.offset(); + position = this.getPosition(pos); + return offset = { + left: offset.left + position.left - $inputor.scrollLeft(), + top: offset.top + position.top - $inputor.scrollTop(), + height: position.height + }; + } + }; + + InputCaret.prototype.getPosition = function(pos) { + var $inputor, at_rect, end_range, format, html, mirror, start_range; + $inputor = this.$inputor; + format = function(value) { + value = value.replace(/<|>|`|"|&/g, '?').replace(/\r\n|\r|\n/g, "<br/>"); + if (/firefox/i.test(navigator.userAgent)) { + value = value.replace(/\s/g, ' '); + } + return value; + }; + if (pos === void 0) { + pos = this.getPos(); + } + start_range = $inputor.val().slice(0, pos); + end_range = $inputor.val().slice(pos); + html = "<span style='position: relative; display: inline;'>" + format(start_range) + "</span>"; + html += "<span id='caret' style='position: relative; display: inline;'>|</span>"; + html += "<span style='position: relative; display: inline;'>" + format(end_range) + "</span>"; + mirror = new Mirror($inputor); + return at_rect = mirror.create(html).rect(); + }; + + InputCaret.prototype.getIEPosition = function(pos) { + var h, inputorOffset, offset, x, y; + offset = this.getIEOffset(pos); + inputorOffset = this.$inputor.offset(); + x = offset.left - inputorOffset.left; + y = offset.top - inputorOffset.top; + h = offset.height; + return { + left: x, + top: y, + height: h + }; + }; + + return InputCaret; + +})(); + +Mirror = (function() { + Mirror.prototype.css_attr = ["borderBottomWidth", "borderLeftWidth", "borderRightWidth", "borderTopStyle", "borderRightStyle", "borderBottomStyle", "borderLeftStyle", "borderTopWidth", "boxSizing", "fontFamily", "fontSize", "fontWeight", "height", "letterSpacing", "lineHeight", "marginBottom", "marginLeft", "marginRight", "marginTop", "outlineWidth", "overflow", "overflowX", "overflowY", "paddingBottom", "paddingLeft", "paddingRight", "paddingTop", "textAlign", "textOverflow", "textTransform", "whiteSpace", "wordBreak", "wordWrap"]; + + function Mirror($inputor) { + this.$inputor = $inputor; + } + + Mirror.prototype.mirrorCss = function() { + var css, + _this = this; + css = { + position: 'absolute', + left: -9999, + top: 0, + zIndex: -20000 + }; + if (this.$inputor.prop('tagName') === 'TEXTAREA') { + this.css_attr.push('width'); + } + $.each(this.css_attr, function(i, p) { + return css[p] = _this.$inputor.css(p); + }); + return css; + }; + + Mirror.prototype.create = function(html) { + this.$mirror = $('<div></div>'); + this.$mirror.css(this.mirrorCss()); + this.$mirror.html(html); + this.$inputor.after(this.$mirror); + return this; + }; + + Mirror.prototype.rect = function() { + var $flag, pos, rect; + $flag = this.$mirror.find("#caret"); + pos = $flag.position(); + rect = { + left: pos.left, + top: pos.top, + height: $flag.height() + }; + this.$mirror.remove(); + return rect; + }; + + return Mirror; + +})(); + +Utils = { + contentEditable: function($inputor) { + return !!($inputor[0].contentEditable && $inputor[0].contentEditable === 'true'); + } +}; + +methods = { + pos: function(pos) { + if (pos || pos === 0) { + return this.setPos(pos); + } else { + return this.getPos(); + } + }, + position: function(pos) { + if (oDocument.selection) { + return this.getIEPosition(pos); + } else { + return this.getPosition(pos); + } + }, + offset: function(pos) { + var offset; + offset = this.getOffset(pos); + return offset; + } +}; + +oDocument = null; + +oWindow = null; + +oFrame = null; + +setContextBy = function(settings) { + var iframe; + if (iframe = settings != null ? settings.iframe : void 0) { + oFrame = iframe; + oWindow = iframe.contentWindow; + return oDocument = iframe.contentDocument || oWindow.document; + } else { + oFrame = void 0; + oWindow = window; + return oDocument = document; + } +}; + +discoveryIframeOf = function($dom) { + var error; + oDocument = $dom[0].ownerDocument; + oWindow = oDocument.defaultView || oDocument.parentWindow; + try { + return oFrame = oWindow.frameElement; + } catch (_error) { + error = _error; + } +}; + +$.fn.caret = function(method, value, settings) { + var caret; + if (methods[method]) { + if ($.isPlainObject(value)) { + setContextBy(value); + value = void 0; + } else { + setContextBy(settings); + } + caret = Utils.contentEditable(this) ? new EditableCaret(this) : new InputCaret(this); + return methods[method].apply(caret, [value]); + } else { + return $.error("Method " + method + " does not exist on jQuery.caret"); + } +}; + +$.fn.caret.EditableCaret = EditableCaret; + +$.fn.caret.InputCaret = InputCaret; + +$.fn.caret.Utils = Utils; + +$.fn.caret.apis = methods; + + +})); diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.caret.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.caret.min.js new file mode 100644 index 0000000000000000000000000000000000000000..a33c6948070df06736830b4625994cc24e5c1b72 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.caret.min.js @@ -0,0 +1 @@ +!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(c){return a.returnExportsGlobal=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){"use strict";var b,c,d,e,f,g,h,i,j,k,l;k="caret",b=function(){function b(a){this.$inputor=a,this.domInputor=this.$inputor[0]}return b.prototype.setPos=function(a){return this.domInputor},b.prototype.getIEPosition=function(){return this.getPosition()},b.prototype.getPosition=function(){var a,b;return b=this.getOffset(),a=this.$inputor.offset(),b.left-=a.left,b.top-=a.top,b},b.prototype.getOldIEPos=function(){var a,b;return b=h.selection.createRange(),a=h.body.createTextRange(),a.moveToElementText(this.domInputor),a.setEndPoint("EndToEnd",b),a.text.length},b.prototype.getPos=function(){var a,b,c;return(c=this.range())?(a=c.cloneRange(),a.selectNodeContents(this.domInputor),a.setEnd(c.endContainer,c.endOffset),b=a.toString().length,a.detach(),b):h.selection?this.getOldIEPos():void 0},b.prototype.getOldIEOffset=function(){var a,b;return a=h.selection.createRange().duplicate(),a.moveStart("character",-1),b=a.getBoundingClientRect(),{height:b.bottom-b.top,left:b.left,top:b.top}},b.prototype.getOffset=function(b){var c,d,e,f,g;return j.getSelection&&(e=this.range())?(e.endOffset-1>0&&e.endContainer===!this.domInputor&&(c=e.cloneRange(),c.setStart(e.endContainer,e.endOffset-1),c.setEnd(e.endContainer,e.endOffset),f=c.getBoundingClientRect(),d={height:f.height,left:f.left+f.width,top:f.top},c.detach()),d&&0!==(null!=d?d.height:void 0)||(c=e.cloneRange(),g=a(h.createTextNode("|")),c.insertNode(g[0]),c.selectNode(g[0]),f=c.getBoundingClientRect(),d={height:f.height,left:f.left,top:f.top},g.remove(),c.detach())):h.selection&&(d=this.getOldIEOffset()),d&&(d.top+=a(j).scrollTop(),d.left+=a(j).scrollLeft()),d},b.prototype.range=function(){var a;if(j.getSelection)return a=j.getSelection(),a.rangeCount>0?a.getRangeAt(0):null},b}(),c=function(){function b(a){this.$inputor=a,this.domInputor=this.$inputor[0]}return b.prototype.getIEPos=function(){var a,b,c,d,e,f,g;return b=this.domInputor,f=h.selection.createRange(),e=0,f&&f.parentElement()===b&&(d=b.value.replace(/\r\n/g,"\n"),c=d.length,g=b.createTextRange(),g.moveToBookmark(f.getBookmark()),a=b.createTextRange(),a.collapse(!1),e=g.compareEndPoints("StartToEnd",a)>-1?c:-g.moveStart("character",-c)),e},b.prototype.getPos=function(){return h.selection?this.getIEPos():this.domInputor.selectionStart},b.prototype.setPos=function(a){var b,c;return b=this.domInputor,h.selection?(c=b.createTextRange(),c.move("character",a),c.select()):b.setSelectionRange&&b.setSelectionRange(a,a),b},b.prototype.getIEOffset=function(a){var b,c,d,e;return c=this.domInputor.createTextRange(),a||(a=this.getPos()),c.move("character",a),d=c.boundingLeft,e=c.boundingTop,b=c.boundingHeight,{left:d,top:e,height:b}},b.prototype.getOffset=function(b){var c,d,e;return c=this.$inputor,h.selection?(d=this.getIEOffset(b),d.top+=a(j).scrollTop()+c.scrollTop(),d.left+=a(j).scrollLeft()+c.scrollLeft(),d):(d=c.offset(),e=this.getPosition(b),d={left:d.left+e.left-c.scrollLeft(),top:d.top+e.top-c.scrollTop(),height:e.height})},b.prototype.getPosition=function(a){var b,c,e,f,g,h,i;return b=this.$inputor,f=function(a){return a=a.replace(/<|>|`|"|&/g,"?").replace(/\r\n|\r|\n/g,"<br/>"),/firefox/i.test(navigator.userAgent)&&(a=a.replace(/\s/g," ")),a},void 0===a&&(a=this.getPos()),i=b.val().slice(0,a),e=b.val().slice(a),g="<span style='position: relative; display: inline;'>"+f(i)+"</span>",g+="<span id='caret' style='position: relative; display: inline;'>|</span>",g+="<span style='position: relative; display: inline;'>"+f(e)+"</span>",h=new d(b),c=h.create(g).rect()},b.prototype.getIEPosition=function(a){var b,c,d,e,f;return d=this.getIEOffset(a),c=this.$inputor.offset(),e=d.left-c.left,f=d.top-c.top,b=d.height,{left:e,top:f,height:b}},b}(),d=function(){function b(a){this.$inputor=a}return b.prototype.css_attr=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","boxSizing","fontFamily","fontSize","fontWeight","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","outlineWidth","overflow","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textOverflow","textTransform","whiteSpace","wordBreak","wordWrap"],b.prototype.mirrorCss=function(){var b,c=this;return b={position:"absolute",left:-9999,top:0,zIndex:-2e4},"TEXTAREA"===this.$inputor.prop("tagName")&&this.css_attr.push("width"),a.each(this.css_attr,function(a,d){return b[d]=c.$inputor.css(d)}),b},b.prototype.create=function(b){return this.$mirror=a("<div></div>"),this.$mirror.css(this.mirrorCss()),this.$mirror.html(b),this.$inputor.after(this.$mirror),this},b.prototype.rect=function(){var a,b,c;return a=this.$mirror.find("#caret"),b=a.position(),c={left:b.left,top:b.top,height:a.height()},this.$mirror.remove(),c},b}(),e={contentEditable:function(a){return!(!a[0].contentEditable||"true"!==a[0].contentEditable)}},g={pos:function(a){return a||0===a?this.setPos(a):this.getPos()},position:function(a){return h.selection?this.getIEPosition(a):this.getPosition(a)},offset:function(a){var b;return b=this.getOffset(a)}},h=null,j=null,i=null,l=function(a){var b;return(b=null!=a?a.iframe:void 0)?(i=b,j=b.contentWindow,h=b.contentDocument||j.document):(i=void 0,j=window,h=document)},f=function(a){var b;h=a[0].ownerDocument,j=h.defaultView||h.parentWindow;try{return i=j.frameElement}catch(a){b=a}},a.fn.caret=function(d,f,h){var i;return g[d]?(a.isPlainObject(f)?(l(f),f=void 0):l(h),i=e.contentEditable(this)?new b(this):new c(this),g[d].apply(i,[f])):a.error("Method "+d+" does not exist on jQuery.caret")},a.fn.caret.EditableCaret=b,a.fn.caret.InputCaret=c,a.fn.caret.Utils=e,a.fn.caret.apis=g}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.caret.txt b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.caret.txt new file mode 100644 index 0000000000000000000000000000000000000000..36cd1c12272493d82a5c69abac9c6520dae4d126 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/jquery.caret.txt @@ -0,0 +1,22 @@ +Copyright (c) 2013 chord.luo@gmail.com + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/livestamp.js b/wp-content/plugins/buddypress/bp-core/js/vendor/livestamp.js new file mode 100644 index 0000000000000000000000000000000000000000..a10ab72e0ea0234dbe8e0231a3a0cfc1d8765b53 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/livestamp.js @@ -0,0 +1,129 @@ +// Livestamp.js / v1.1.2 / (c) 2012 Matt Bradley / MIT License +(function($, moment) { + var updateInterval = 1e3, + paused = false, + $livestamps = $([]), + + init = function() { + livestampGlobal.resume(); + }, + + prep = function($el, timestamp) { + var oldData = $el.data('livestampdata'); + if (typeof timestamp == 'number') + timestamp *= 1e3; + + $el.removeAttr('data-livestamp') + .removeData('livestamp'); + + timestamp = moment(timestamp); + if (moment.isMoment(timestamp) && !isNaN(+timestamp)) { + var newData = $.extend({ }, { 'original': $el.contents() }, oldData); + newData.moment = moment(timestamp); + + $el.data('livestampdata', newData).empty(); + $livestamps.push($el[0]); + } + }, + + run = function() { + if (paused) return; + livestampGlobal.update(); + setTimeout(run, updateInterval); + }, + + livestampGlobal = { + update: function() { + $('[data-livestamp]').each(function() { + var $this = $(this); + prep($this, $this.data('livestamp')); + }); + + var toRemove = []; + $livestamps.each(function() { + var $this = $(this), + data = $this.data('livestampdata'); + + if (data === undefined) + toRemove.push(this); + else if (moment.isMoment(data.moment)) { + var from = $this.html(), + to = data.moment.fromNow(); + + if (from != to) { + var e = $.Event('change.livestamp'); + $this.trigger(e, [from, to]); + if (!e.isDefaultPrevented()) + $this.html(to); + } + } + }); + + $livestamps = $livestamps.not(toRemove); + }, + + pause: function() { + paused = true; + }, + + resume: function() { + paused = false; + run(); + }, + + interval: function(interval) { + if (interval === undefined) + return updateInterval; + updateInterval = interval; + } + }, + + livestampLocal = { + add: function($el, timestamp) { + if (typeof timestamp == 'number') + timestamp *= 1e3; + timestamp = moment(timestamp); + + if (moment.isMoment(timestamp) && !isNaN(+timestamp)) { + $el.each(function() { + prep($(this), timestamp); + }); + livestampGlobal.update(); + } + + return $el; + }, + + destroy: function($el) { + $livestamps = $livestamps.not($el); + $el.each(function() { + var $this = $(this), + data = $this.data('livestampdata'); + + if (data === undefined) + return $el; + + $this + .html(data.original ? data.original : '') + .removeData('livestampdata'); + }); + + return $el; + }, + + isLivestamp: function($el) { + return $el.data('livestampdata') !== undefined; + } + }; + + $.livestamp = livestampGlobal; + $(init); + $.fn.livestamp = function(method, options) { + if (!livestampLocal[method]) { + options = method; + method = 'add'; + } + + return livestampLocal[method](this, options); + }; +})(jQuery, moment); diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/livestamp.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/livestamp.min.js new file mode 100644 index 0000000000000000000000000000000000000000..7535b0cc8ba2cfeb9a21c22c3d06ac10ca99195f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/livestamp.min.js @@ -0,0 +1 @@ +!function(a,b){var c=1e3,d=!1,e=a([]),f=function(){i.resume()},g=function(c,d){var f=c.data("livestampdata");if("number"==typeof d&&(d*=1e3),c.removeAttr("data-livestamp").removeData("livestamp"),d=b(d),b.isMoment(d)&&!isNaN(+d)){var g=a.extend({},{original:c.contents()},f);g.moment=b(d),c.data("livestampdata",g).empty(),e.push(c[0])}},h=function(){d||(i.update(),setTimeout(h,c))},i={update:function(){a("[data-livestamp]").each(function(){var b=a(this);g(b,b.data("livestamp"))});var c=[];e.each(function(){var d=a(this),e=d.data("livestampdata");if(void 0===e)c.push(this);else if(b.isMoment(e.moment)){var f=d.html(),g=e.moment.fromNow();if(f!=g){var h=a.Event("change.livestamp");d.trigger(h,[f,g]),h.isDefaultPrevented()||d.html(g)}}}),e=e.not(c)},pause:function(){d=!0},resume:function(){d=!1,h()},interval:function(a){return void 0===a?c:void(c=a)}},j={add:function(c,d){return"number"==typeof d&&(d*=1e3),d=b(d),b.isMoment(d)&&!isNaN(+d)&&(c.each(function(){g(a(this),d)}),i.update()),c},destroy:function(b){return e=e.not(b),b.each(function(){var c=a(this),d=c.data("livestampdata");return void 0===d?b:void c.html(d.original?d.original:"").removeData("livestampdata")}),b},isLivestamp:function(a){return void 0!==a.data("livestampdata")}};a.livestamp=i,a(f),a.fn.livestamp=function(a,b){return j[a]||(b=a,a="add"),j[a](this,b)}}(jQuery,moment); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/af.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/af.js new file mode 100644 index 0000000000000000000000000000000000000000..d1a0ddae913155a089d7519fa71dd069ff2ecf43 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/af.js @@ -0,0 +1,73 @@ +//! moment.js locale configuration +//! locale : Afrikaans [af] +//! author : Werner Mollentze : https://github.com/wernerm + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var af = moment.defineLocale('af', { + months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'), + monthsShort : 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), + weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'), + weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), + weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), + meridiemParse: /vm|nm/i, + isPM : function (input) { + return /^nm$/i.test(input); + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'vm' : 'VM'; + } else { + return isLower ? 'nm' : 'NM'; + } + }, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Vandag om] LT', + nextDay : '[Môre om] LT', + nextWeek : 'dddd [om] LT', + lastDay : '[Gister om] LT', + lastWeek : '[Laas] dddd [om] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'oor %s', + past : '%s gelede', + s : '\'n paar sekondes', + m : '\'n minuut', + mm : '%d minute', + h : '\'n uur', + hh : '%d ure', + d : '\'n dag', + dd : '%d dae', + M : '\'n maand', + MM : '%d maande', + y : '\'n jaar', + yy : '%d jaar' + }, + ordinalParse: /\d{1,2}(ste|de)/, + ordinal : function (number) { + return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter + }, + week : { + dow : 1, // Maandag is die eerste dag van die week. + doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar. + } + }); + + return af; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/af.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/af.min.js new file mode 100644 index 0000000000000000000000000000000000000000..b7a66fe2cf24983a89d59150046a7c5aad0a976e --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/af.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(a){return/^nm$/i.test(a)},meridiem:function(a,b,c){return a<12?c?"vm":"VM":c?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-ly.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-ly.js new file mode 100644 index 0000000000000000000000000000000000000000..ca07986a9e8a507f0a3fd575b4f240b4d6ed9a2f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-ly.js @@ -0,0 +1,122 @@ +//! moment.js locale configuration +//! locale : Arabic (Lybia) [ar-ly] +//! author : Ali Hmer: https://github.com/kikoanis + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var symbolMap = { + '1': '1', + '2': '2', + '3': '3', + '4': '4', + '5': '5', + '6': '6', + '7': '7', + '8': '8', + '9': '9', + '0': '0' + }, pluralForm = function (n) { + return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5; + }, plurals = { + s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'], + m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'], + h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'], + d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'], + M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'], + y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام'] + }, pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, months = [ + 'يناير', + 'فبراير', + 'مارس', + 'أبريل', + 'مايو', + 'يونيو', + 'يوليو', + 'أغسطس', + 'سبتمبر', + 'أكتوبر', + 'نوفمبر', + 'ديسمبر' + ]; + + var ar_ly = moment.defineLocale('ar-ly', { + months : months, + monthsShort : months, + weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'D/\u200FM/\u200FYYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + meridiemParse: /ص|م/, + isPM : function (input) { + return 'م' === input; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar : { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'بعد %s', + past : 'منذ %s', + s : pluralize('s'), + m : pluralize('m'), + mm : pluralize('m'), + h : pluralize('h'), + hh : pluralize('h'), + d : pluralize('d'), + dd : pluralize('d'), + M : pluralize('M'), + MM : pluralize('M'), + y : pluralize('y'), + yy : pluralize('y') + }, + preparse: function (string) { + return string.replace(/\u200f/g, '').replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }).replace(/,/g, '،'); + }, + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); + + return ar_ly; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-ly.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-ly.min.js new file mode 100644 index 0000000000000000000000000000000000000000..085d9cdf4b4f78bff8975e0a84f58a1315e7ca56 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-ly.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},c=function(a){return 0===a?0:1===a?1:2===a?2:a%100>=3&&a%100<=10?3:a%100>=11?4:5},d={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},e=function(a){return function(b,e,f,g){var h=c(b),i=d[a][c(b)];return 2===h&&(i=i[e?0:1]),i.replace(/%d/i,b)}},f=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],g=a.defineLocale("ar-ly",{months:f,monthsShort:f,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:e("s"),m:e("m"),mm:e("m"),h:e("h"),hh:e("h"),d:e("d"),dd:e("d"),M:e("M"),MM:e("M"),y:e("y"),yy:e("y")},preparse:function(a){return a.replace(/\u200f/g,"").replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return g}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-ma.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-ma.js new file mode 100644 index 0000000000000000000000000000000000000000..b12a7b1679e98203a7ee0391f265445f628cc5e7 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-ma.js @@ -0,0 +1,60 @@ +//! moment.js locale configuration +//! locale : Arabic (Morocco) [ar-ma] +//! author : ElFadili Yassine : https://github.com/ElFadiliY +//! author : Abdel Said : https://github.com/abdelsaid + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var ar_ma = moment.defineLocale('ar-ma', { + months : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + monthsShort : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), + weekdays : 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort : 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'في %s', + past : 'منذ %s', + s : 'ثوان', + m : 'دقيقة', + mm : '%d دقائق', + h : 'ساعة', + hh : '%d ساعات', + d : 'يوم', + dd : '%d أيام', + M : 'شهر', + MM : '%d أشهر', + y : 'سنة', + yy : '%d سنوات' + }, + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); + + return ar_ma; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-ma.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-ma.min.js new file mode 100644 index 0000000000000000000000000000000000000000..c2713483672c69fae31f9399e69080bfb5ef4e71 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-ma.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:6,doy:12}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-sa.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-sa.js new file mode 100644 index 0000000000000000000000000000000000000000..430a184c18fe0f3541fd0f36b5f34256aefd9265 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-sa.js @@ -0,0 +1,104 @@ +//! moment.js locale configuration +//! locale : Arabic (Saudi Arabia) [ar-sa] +//! author : Suhail Alkowaileet : https://github.com/xsoh + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var symbolMap = { + '1': '١', + '2': '٢', + '3': '٣', + '4': '٤', + '5': '٥', + '6': '٦', + '7': '٧', + '8': '٨', + '9': '٩', + '0': '٠' + }, numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0' + }; + + var ar_sa = moment.defineLocale('ar-sa', { + months : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + monthsShort : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + meridiemParse: /ص|م/, + isPM : function (input) { + return 'م' === input; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar : { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'في %s', + past : 'منذ %s', + s : 'ثوان', + m : 'دقيقة', + mm : '%d دقائق', + h : 'ساعة', + hh : '%d ساعات', + d : 'يوم', + dd : '%d أيام', + M : 'شهر', + MM : '%d أشهر', + y : 'سنة', + yy : '%d سنوات' + }, + preparse: function (string) { + return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }).replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }).replace(/,/g, '،'); + }, + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); + + return ar_sa; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-sa.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-sa.min.js new file mode 100644 index 0000000000000000000000000000000000000000..5f3784c8183627dcd35aabea1db5e3b2d3cbd39c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-sa.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},c={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},d=a.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(a){return a.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(a){return c[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-tn.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-tn.js new file mode 100644 index 0000000000000000000000000000000000000000..dfabae3efb1b5781c14965432ec96db4cc6f35ea --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-tn.js @@ -0,0 +1,59 @@ +//! moment.js locale configuration +//! locale : Arabic (Tunisia) [ar-tn] +//! author : Nader Toukabri : https://github.com/naderio + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var ar_tn = moment.defineLocale('ar-tn', { + months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), + weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact : true, + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + calendar: { + sameDay: '[اليوم على الساعة] LT', + nextDay: '[غدا على الساعة] LT', + nextWeek: 'dddd [على الساعة] LT', + lastDay: '[أمس على الساعة] LT', + lastWeek: 'dddd [على الساعة] LT', + sameElse: 'L' + }, + relativeTime: { + future: 'في %s', + past: 'منذ %s', + s: 'ثوان', + m: 'دقيقة', + mm: '%d دقائق', + h: 'ساعة', + hh: '%d ساعات', + d: 'يوم', + dd: '%d أيام', + M: 'شهر', + MM: '%d أشهر', + y: 'سنة', + yy: '%d سنوات' + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return ar_tn; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-tn.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-tn.min.js new file mode 100644 index 0000000000000000000000000000000000000000..bbec2ac4ae9301d2b3a959dceb7b916b59e318c6 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar-tn.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar.js new file mode 100644 index 0000000000000000000000000000000000000000..8bd2b1bef4833228d056f57ec23bd06acd513d9d --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar.js @@ -0,0 +1,137 @@ +//! moment.js locale configuration +//! locale : Arabic [ar] +//! author : Abdel Said: https://github.com/abdelsaid +//! author : Ahmed Elkhatib +//! author : forabi https://github.com/forabi + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var symbolMap = { + '1': '١', + '2': '٢', + '3': '٣', + '4': '٤', + '5': '٥', + '6': '٦', + '7': '٧', + '8': '٨', + '9': '٩', + '0': '٠' + }, numberMap = { + '١': '1', + '٢': '2', + '٣': '3', + '٤': '4', + '٥': '5', + '٦': '6', + '٧': '7', + '٨': '8', + '٩': '9', + '٠': '0' + }, pluralForm = function (n) { + return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5; + }, plurals = { + s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'], + m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'], + h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'], + d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'], + M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'], + y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام'] + }, pluralize = function (u) { + return function (number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }, months = [ + 'كانون الثاني يناير', + 'شباط فبراير', + 'آذار مارس', + 'نيسان أبريل', + 'أيار مايو', + 'حزيران يونيو', + 'تموز يوليو', + 'آب أغسطس', + 'أيلول سبتمبر', + 'تشرين الأول أكتوبر', + 'تشرين الثاني نوفمبر', + 'كانون الأول ديسمبر' + ]; + + var ar = moment.defineLocale('ar', { + months : months, + monthsShort : months, + weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), + weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), + weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'D/\u200FM/\u200FYYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + meridiemParse: /ص|م/, + isPM : function (input) { + return 'م' === input; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'ص'; + } else { + return 'م'; + } + }, + calendar : { + sameDay: '[اليوم عند الساعة] LT', + nextDay: '[غدًا عند الساعة] LT', + nextWeek: 'dddd [عند الساعة] LT', + lastDay: '[أمس عند الساعة] LT', + lastWeek: 'dddd [عند الساعة] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'بعد %s', + past : 'منذ %s', + s : pluralize('s'), + m : pluralize('m'), + mm : pluralize('m'), + h : pluralize('h'), + hh : pluralize('h'), + d : pluralize('d'), + dd : pluralize('d'), + M : pluralize('M'), + MM : pluralize('M'), + y : pluralize('y'), + yy : pluralize('y') + }, + preparse: function (string) { + return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { + return numberMap[match]; + }).replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }).replace(/,/g, '،'); + }, + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); + + return ar; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar.min.js new file mode 100644 index 0000000000000000000000000000000000000000..7d41c3bd7b9ee00cf5a6cf3df4a1252975c7d672 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ar.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},c={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},d=function(a){return 0===a?0:1===a?1:2===a?2:a%100>=3&&a%100<=10?3:a%100>=11?4:5},e={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},f=function(a){return function(b,c,f,g){var h=d(b),i=e[a][d(b)];return 2===h&&(i=i[c?0:1]),i.replace(/%d/i,b)}},g=["كانون الثاني يناير","شباط فبراير","آذار مارس","نيسان أبريل","أيار مايو","حزيران يونيو","تموز يوليو","آب أغسطس","أيلول سبتمبر","تشرين الأول أكتوبر","تشرين الثاني نوفمبر","كانون الأول ديسمبر"],h=a.defineLocale("ar",{months:g,monthsShort:g,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(a){return"م"===a},meridiem:function(a,b,c){return a<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:f("s"),m:f("m"),mm:f("m"),h:f("h"),hh:f("h"),d:f("d"),dd:f("d"),M:f("M"),MM:f("M"),y:f("y"),yy:f("y")},preparse:function(a){return a.replace(/\u200f/g,"").replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(a){return c[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]}).replace(/,/g,"،")},week:{dow:6,doy:12}});return h}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/az.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/az.js new file mode 100644 index 0000000000000000000000000000000000000000..5400ed47f2e3427b144c8b27fe0cac394ab44b5c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/az.js @@ -0,0 +1,105 @@ +//! moment.js locale configuration +//! locale : Azerbaijani [az] +//! author : topchiyev : https://github.com/topchiyev + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var suffixes = { + 1: '-inci', + 5: '-inci', + 8: '-inci', + 70: '-inci', + 80: '-inci', + 2: '-nci', + 7: '-nci', + 20: '-nci', + 50: '-nci', + 3: '-üncü', + 4: '-üncü', + 100: '-üncü', + 6: '-ncı', + 9: '-uncu', + 10: '-uncu', + 30: '-uncu', + 60: '-ıncı', + 90: '-ıncı' + }; + + var az = moment.defineLocale('az', { + months : 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'), + monthsShort : 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), + weekdays : 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'), + weekdaysShort : 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'), + weekdaysMin : 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[bugün saat] LT', + nextDay : '[sabah saat] LT', + nextWeek : '[gələn həftə] dddd [saat] LT', + lastDay : '[dünən] LT', + lastWeek : '[keçən həftə] dddd [saat] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s sonra', + past : '%s əvvəl', + s : 'birneçə saniyyə', + m : 'bir dəqiqə', + mm : '%d dəqiqə', + h : 'bir saat', + hh : '%d saat', + d : 'bir gün', + dd : '%d gün', + M : 'bir ay', + MM : '%d ay', + y : 'bir il', + yy : '%d il' + }, + meridiemParse: /gecə|səhər|gündüz|axşam/, + isPM : function (input) { + return /^(gündüz|axşam)$/.test(input); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'gecə'; + } else if (hour < 12) { + return 'səhər'; + } else if (hour < 17) { + return 'gündüz'; + } else { + return 'axşam'; + } + }, + ordinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, + ordinal : function (number) { + if (number === 0) { // special case for zero + return number + '-ıncı'; + } + var a = number % 10, + b = number % 100 - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return az; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/az.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/az.min.js new file mode 100644 index 0000000000000000000000000000000000000000..bfa29b6c85931a59e32f1acb19f1fff2b6aa3b45 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/az.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},c=a.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"birneçə saniyyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(a){return/^(gündüz|axşam)$/.test(a)},meridiem:function(a,b,c){return a<4?"gecə":a<12?"səhər":a<17?"gündüz":"axşam"},ordinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(a){if(0===a)return a+"-ıncı";var c=a%10,d=a%100-c,e=a>=100?100:null;return a+(b[c]||b[d]||b[e])},week:{dow:1,doy:7}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/be.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/be.js new file mode 100644 index 0000000000000000000000000000000000000000..a76157ccdf9d2066604d5ac05e23b589d978082c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/be.js @@ -0,0 +1,134 @@ +//! moment.js locale configuration +//! locale : Belarusian [be] +//! author : Dmitry Demidov : https://github.com/demidov91 +//! author: Praleska: http://praleska.pro/ +//! Author : Menelion Elensúle : https://github.com/Oire + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + 'mm': withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін', + 'hh': withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін', + 'dd': 'дзень_дні_дзён', + 'MM': 'месяц_месяцы_месяцаў', + 'yy': 'год_гады_гадоў' + }; + if (key === 'm') { + return withoutSuffix ? 'хвіліна' : 'хвіліну'; + } + else if (key === 'h') { + return withoutSuffix ? 'гадзіна' : 'гадзіну'; + } + else { + return number + ' ' + plural(format[key], +number); + } + } + + var be = moment.defineLocale('be', { + months : { + format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'), + standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_') + }, + monthsShort : 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), + weekdays : { + format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'), + standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'), + isFormat: /\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/ + }, + weekdaysShort : 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + weekdaysMin : 'нд_пн_ат_ср_чц_пт_сб'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY г.', + LLL : 'D MMMM YYYY г., HH:mm', + LLLL : 'dddd, D MMMM YYYY г., HH:mm' + }, + calendar : { + sameDay: '[Сёння ў] LT', + nextDay: '[Заўтра ў] LT', + lastDay: '[Учора ў] LT', + nextWeek: function () { + return '[У] dddd [ў] LT'; + }, + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return '[У мінулую] dddd [ў] LT'; + case 1: + case 2: + case 4: + return '[У мінулы] dddd [ў] LT'; + } + }, + sameElse: 'L' + }, + relativeTime : { + future : 'праз %s', + past : '%s таму', + s : 'некалькі секунд', + m : relativeTimeWithPlural, + mm : relativeTimeWithPlural, + h : relativeTimeWithPlural, + hh : relativeTimeWithPlural, + d : 'дзень', + dd : relativeTimeWithPlural, + M : 'месяц', + MM : relativeTimeWithPlural, + y : 'год', + yy : relativeTimeWithPlural + }, + meridiemParse: /ночы|раніцы|дня|вечара/, + isPM : function (input) { + return /^(дня|вечара)$/.test(input); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'ночы'; + } else if (hour < 12) { + return 'раніцы'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечара'; + } + }, + ordinalParse: /\d{1,2}-(і|ы|га)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return (number % 10 === 2 || number % 10 === 3) && (number % 100 !== 12 && number % 100 !== 13) ? number + '-і' : number + '-ы'; + case 'D': + return number + '-га'; + default: + return number; + } + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return be; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/be.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/be.min.js new file mode 100644 index 0000000000000000000000000000000000000000..6ba79ed71cac1ec0b26633ac9421851739a899d1 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/be.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}function c(a,c,d){var e={mm:c?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:c?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"};return"m"===d?c?"хвіліна":"хвіліну":"h"===d?c?"гадзіна":"гадзіну":a+" "+b(e[d],+a)}var d=a.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:c,mm:c,h:c,hh:c,d:"дзень",dd:c,M:"месяц",MM:c,y:"год",yy:c},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(a){return/^(дня|вечара)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночы":a<12?"раніцы":a<17?"дня":"вечара"},ordinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":case"w":case"W":return a%10!==2&&a%10!==3||a%100===12||a%100===13?a+"-ы":a+"-і";case"D":return a+"-га";default:return a}},week:{dow:1,doy:7}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bg.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bg.js new file mode 100644 index 0000000000000000000000000000000000000000..deedab8cdaa05e208fc5fb1361c8bb6fe3dc24e5 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bg.js @@ -0,0 +1,90 @@ +//! moment.js locale configuration +//! locale : Bulgarian [bg] +//! author : Krasen Borisov : https://github.com/kraz + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var bg = moment.defineLocale('bg', { + months : 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'), + monthsShort : 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'), + weekdays : 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'), + weekdaysShort : 'нед_пон_вто_сря_чет_пет_съб'.split('_'), + weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'D.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY H:mm', + LLLL : 'dddd, D MMMM YYYY H:mm' + }, + calendar : { + sameDay : '[Днес в] LT', + nextDay : '[Утре в] LT', + nextWeek : 'dddd [в] LT', + lastDay : '[Вчера в] LT', + lastWeek : function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[В изминалата] dddd [в] LT'; + case 1: + case 2: + case 4: + case 5: + return '[В изминалия] dddd [в] LT'; + } + }, + sameElse : 'L' + }, + relativeTime : { + future : 'след %s', + past : 'преди %s', + s : 'няколко секунди', + m : 'минута', + mm : '%d минути', + h : 'час', + hh : '%d часа', + d : 'ден', + dd : '%d дни', + M : 'месец', + MM : '%d месеца', + y : 'година', + yy : '%d години' + }, + ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal : function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; + } + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return bg; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bg.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bg.min.js new file mode 100644 index 0000000000000000000000000000000000000000..a14954a1f65327450ef41d86a5e8af2aaf120542 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bg.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[В изминалата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[В изминалия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дни",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(a){var b=a%10,c=a%100;return 0===a?a+"-ев":0===c?a+"-ен":c>10&&c<20?a+"-ти":1===b?a+"-ви":2===b?a+"-ри":7===b||8===b?a+"-ми":a+"-ти"},week:{dow:1,doy:7}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bn.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bn.js new file mode 100644 index 0000000000000000000000000000000000000000..1d49751132ed3dea93526263dd1f3038f9dfca1b --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bn.js @@ -0,0 +1,119 @@ +//! moment.js locale configuration +//! locale : Bengali [bn] +//! author : Kaushik Gandhi : https://github.com/kaushikgandhi + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var symbolMap = { + '1': '১', + '2': '২', + '3': '৩', + '4': '৪', + '5': '৫', + '6': '৬', + '7': '৭', + '8': '৮', + '9': '৯', + '0': '০' + }, + numberMap = { + '১': '1', + '২': '2', + '৩': '3', + '৪': '4', + '৫': '5', + '৬': '6', + '৭': '7', + '৮': '8', + '৯': '9', + '০': '0' + }; + + var bn = moment.defineLocale('bn', { + months : 'জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'), + monthsShort : 'জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'), + weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'), + weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), + weekdaysMin : 'রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি'.split('_'), + longDateFormat : { + LT : 'A h:mm সময়', + LTS : 'A h:mm:ss সময়', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm সময়', + LLLL : 'dddd, D MMMM YYYY, A h:mm সময়' + }, + calendar : { + sameDay : '[আজ] LT', + nextDay : '[আগামীকাল] LT', + nextWeek : 'dddd, LT', + lastDay : '[গতকাল] LT', + lastWeek : '[গত] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s পরে', + past : '%s আগে', + s : 'কয়েক সেকেন্ড', + m : 'এক মিনিট', + mm : '%d মিনিট', + h : 'এক ঘন্টা', + hh : '%d ঘন্টা', + d : 'এক দিন', + dd : '%d দিন', + M : 'এক মাস', + MM : '%d মাস', + y : 'এক বছর', + yy : '%d বছর' + }, + preparse: function (string) { + return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ((meridiem === 'রাত' && hour >= 4) || + (meridiem === 'দুপুর' && hour < 5) || + meridiem === 'বিকাল') { + return hour + 12; + } else { + return hour; + } + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'রাত'; + } else if (hour < 10) { + return 'সকাল'; + } else if (hour < 17) { + return 'দুপুর'; + } else if (hour < 20) { + return 'বিকাল'; + } else { + return 'রাত'; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); + + return bn; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bn.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bn.min.js new file mode 100644 index 0000000000000000000000000000000000000000..89ffdc054b772d9b3aa97604a4c8faf67c513f91 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bn.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},c={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},d=a.defineLocale("bn",{months:"জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(a){return a.replace(/[১২৩৪৫৬৭৮৯০]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(a,b){return 12===a&&(a=0),"রাত"===b&&a>=4||"দুপুর"===b&&a<5||"বিকাল"===b?a+12:a},meridiem:function(a,b,c){return a<4?"রাত":a<10?"সকাল":a<17?"দুপুর":a<20?"বিকাল":"রাত"},week:{dow:0,doy:6}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bo.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bo.js new file mode 100644 index 0000000000000000000000000000000000000000..3f6fe193637344c413e3e4816e9266ea54017246 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bo.js @@ -0,0 +1,119 @@ +//! moment.js locale configuration +//! locale : Tibetan [bo] +//! author : Thupten N. Chakrishar : https://github.com/vajradog + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var symbolMap = { + '1': '༡', + '2': '༢', + '3': '༣', + '4': '༤', + '5': '༥', + '6': '༦', + '7': '༧', + '8': '༨', + '9': '༩', + '0': '༠' + }, + numberMap = { + '༡': '1', + '༢': '2', + '༣': '3', + '༤': '4', + '༥': '5', + '༦': '6', + '༧': '7', + '༨': '8', + '༩': '9', + '༠': '0' + }; + + var bo = moment.defineLocale('bo', { + months : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'), + monthsShort : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'), + weekdays : 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'), + weekdaysShort : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), + weekdaysMin : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), + longDateFormat : { + LT : 'A h:mm', + LTS : 'A h:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm', + LLLL : 'dddd, D MMMM YYYY, A h:mm' + }, + calendar : { + sameDay : '[དི་རིང] LT', + nextDay : '[སང་ཉིན] LT', + nextWeek : '[བདུན་ཕྲག་རྗེས་མ], LT', + lastDay : '[ཁ་སང] LT', + lastWeek : '[བདུན་ཕྲག་མཐའ་མ] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s ལ་', + past : '%s སྔན་ལ', + s : 'ལམ་སང', + m : 'སྐར་མ་གཅིག', + mm : '%d སྐར་མ', + h : 'ཆུ་ཚོད་གཅིག', + hh : '%d ཆུ་ཚོད', + d : 'ཉིན་གཅིག', + dd : '%d ཉིན་', + M : 'ཟླ་བ་གཅིག', + MM : '%d ཟླ་བ', + y : 'ལོ་གཅིག', + yy : '%d ལོ' + }, + preparse: function (string) { + return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ((meridiem === 'མཚན་མོ' && hour >= 4) || + (meridiem === 'ཉིན་གུང' && hour < 5) || + meridiem === 'དགོང་དག') { + return hour + 12; + } else { + return hour; + } + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'མཚན་མོ'; + } else if (hour < 10) { + return 'ཞོགས་ཀས'; + } else if (hour < 17) { + return 'ཉིན་གུང'; + } else if (hour < 20) { + return 'དགོང་དག'; + } else { + return 'མཚན་མོ'; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); + + return bo; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bo.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bo.min.js new file mode 100644 index 0000000000000000000000000000000000000000..9c10803b232b5df934aff791dcbdb51d16db51f6 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bo.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},c={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},d=a.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(a){return a.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(a,b){return 12===a&&(a=0),"མཚན་མོ"===b&&a>=4||"ཉིན་གུང"===b&&a<5||"དགོང་དག"===b?a+12:a},meridiem:function(a,b,c){return a<4?"མཚན་མོ":a<10?"ཞོགས་ཀས":a<17?"ཉིན་གུང":a<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/br.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/br.js new file mode 100644 index 0000000000000000000000000000000000000000..ca290f3c87f94009f4a1b56a546d0dd2bef60737 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/br.js @@ -0,0 +1,108 @@ +//! moment.js locale configuration +//! locale : Breton [br] +//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + function relativeTimeWithMutation(number, withoutSuffix, key) { + var format = { + 'mm': 'munutenn', + 'MM': 'miz', + 'dd': 'devezh' + }; + return number + ' ' + mutation(format[key], number); + } + function specialMutationForYears(number) { + switch (lastNumber(number)) { + case 1: + case 3: + case 4: + case 5: + case 9: + return number + ' bloaz'; + default: + return number + ' vloaz'; + } + } + function lastNumber(number) { + if (number > 9) { + return lastNumber(number % 10); + } + return number; + } + function mutation(text, number) { + if (number === 2) { + return softMutation(text); + } + return text; + } + function softMutation(text) { + var mutationTable = { + 'm': 'v', + 'b': 'v', + 'd': 'z' + }; + if (mutationTable[text.charAt(0)] === undefined) { + return text; + } + return mutationTable[text.charAt(0)] + text.substring(1); + } + + var br = moment.defineLocale('br', { + months : 'Genver_C\'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'), + monthsShort : 'Gen_C\'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), + weekdays : 'Sul_Lun_Meurzh_Merc\'her_Yaou_Gwener_Sadorn'.split('_'), + weekdaysShort : 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), + weekdaysMin : 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'h[e]mm A', + LTS : 'h[e]mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D [a viz] MMMM YYYY', + LLL : 'D [a viz] MMMM YYYY h[e]mm A', + LLLL : 'dddd, D [a viz] MMMM YYYY h[e]mm A' + }, + calendar : { + sameDay : '[Hiziv da] LT', + nextDay : '[Warc\'hoazh da] LT', + nextWeek : 'dddd [da] LT', + lastDay : '[Dec\'h da] LT', + lastWeek : 'dddd [paset da] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'a-benn %s', + past : '%s \'zo', + s : 'un nebeud segondennoù', + m : 'ur vunutenn', + mm : relativeTimeWithMutation, + h : 'un eur', + hh : '%d eur', + d : 'un devezh', + dd : relativeTimeWithMutation, + M : 'ur miz', + MM : relativeTimeWithMutation, + y : 'ur bloaz', + yy : specialMutationForYears + }, + ordinalParse: /\d{1,2}(añ|vet)/, + ordinal : function (number) { + var output = (number === 1) ? 'añ' : 'vet'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return br; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/br.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/br.min.js new file mode 100644 index 0000000000000000000000000000000000000000..e77c2c6319913cd451f70d744eb1625d43dbea3f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/br.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c){var d={mm:"munutenn",MM:"miz",dd:"devezh"};return a+" "+e(d[c],a)}function c(a){switch(d(a)){case 1:case 3:case 4:case 5:case 9:return a+" bloaz";default:return a+" vloaz"}}function d(a){return a>9?d(a%10):a}function e(a,b){return 2===b?f(a):a}function f(a){var b={m:"v",b:"v",d:"z"};return void 0===b[a.charAt(0)]?a:b[a.charAt(0)]+a.substring(1)}var g=a.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondennoù",m:"ur vunutenn",mm:b,h:"un eur",hh:"%d eur",d:"un devezh",dd:b,M:"ur miz",MM:b,y:"ur bloaz",yy:c},ordinalParse:/\d{1,2}(añ|vet)/,ordinal:function(a){var b=1===a?"añ":"vet";return a+b},week:{dow:1,doy:4}});return g}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bs.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bs.js new file mode 100644 index 0000000000000000000000000000000000000000..ddd346cfe4b52a13ceeddedfdba8445be9ff1279 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bs.js @@ -0,0 +1,143 @@ +//! moment.js locale configuration +//! locale : Bosnian [bs] +//! author : Nedim Cholich : https://github.com/frontyard +//! based on (hr) translation by Bojan Marković + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'm': + return withoutSuffix ? 'jedna minuta' : 'jedne minute'; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jednog sata'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; + } + } + + var bs = moment.defineLocale('bs', { + months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'), + monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY H:mm', + LLLL : 'dddd, D. MMMM YYYY H:mm' + }, + calendar : { + sameDay : '[danas u] LT', + nextDay : '[sutra u] LT', + nextWeek : function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay : '[jučer u] LT', + lastWeek : function () { + switch (this.day()) { + case 0: + case 3: + return '[prošlu] dddd [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } + }, + sameElse : 'L' + }, + relativeTime : { + future : 'za %s', + past : 'prije %s', + s : 'par sekundi', + m : translate, + mm : translate, + h : translate, + hh : translate, + d : 'dan', + dd : translate, + M : 'mjesec', + MM : translate, + y : 'godinu', + yy : translate + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return bs; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bs.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bs.min.js new file mode 100644 index 0000000000000000000000000000000000000000..9153b2e59d3405a560ba27f5323b73cf096ef390 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/bs.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c){var d=a+" ";switch(c){case"m":return b?"jedna minuta":"jedne minute";case"mm":return d+=1===a?"minuta":2===a||3===a||4===a?"minute":"minuta";case"h":return b?"jedan sat":"jednog sata";case"hh":return d+=1===a?"sat":2===a||3===a||4===a?"sata":"sati";case"dd":return d+=1===a?"dan":"dana";case"MM":return d+=1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci";case"yy":return d+=1===a?"godina":2===a||3===a||4===a?"godine":"godina"}}var c=a.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:b,mm:b,h:b,hh:b,d:"dan",dd:b,M:"mjesec",MM:b,y:"godinu",yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ca.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ca.js new file mode 100644 index 0000000000000000000000000000000000000000..7882800a24e342a7d4d9da35ad425618ace06d6c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ca.js @@ -0,0 +1,81 @@ +//! moment.js locale configuration +//! locale : Catalan [ca] +//! author : Juan G. Hurtado : https://github.com/juanghurtado + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var ca = moment.defineLocale('ca', { + months : 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'), + monthsShort : 'gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.'.split('_'), + monthsParseExact : true, + weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'), + weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), + weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY H:mm', + LLLL : 'dddd D MMMM YYYY H:mm' + }, + calendar : { + sameDay : function () { + return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; + }, + nextDay : function () { + return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; + }, + nextWeek : function () { + return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; + }, + lastDay : function () { + return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; + }, + lastWeek : function () { + return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; + }, + sameElse : 'L' + }, + relativeTime : { + future : 'en %s', + past : 'fa %s', + s : 'uns segons', + m : 'un minut', + mm : '%d minuts', + h : 'una hora', + hh : '%d hores', + d : 'un dia', + dd : '%d dies', + M : 'un mes', + MM : '%d mesos', + y : 'un any', + yy : '%d anys' + }, + ordinalParse: /\d{1,2}(r|n|t|è|a)/, + ordinal : function (number, period) { + var output = (number === 1) ? 'r' : + (number === 2) ? 'n' : + (number === 3) ? 'r' : + (number === 4) ? 't' : 'è'; + if (period === 'w' || period === 'W') { + output = 'a'; + } + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return ca; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ca.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ca.min.js new file mode 100644 index 0000000000000000000000000000000000000000..c57f961ba649f6727b2a7f49c9eee173878cfd4f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ca.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ca",{months:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),monthsShort:"gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd D MMMM YYYY H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(a,b){var c=1===a?"r":2===a?"n":3===a?"r":4===a?"t":"è";return"w"!==b&&"W"!==b||(c="a"),a+c},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cs.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cs.js new file mode 100644 index 0000000000000000000000000000000000000000..129e936b14b2c48aa05c756a92021d2cbd5fe94d --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cs.js @@ -0,0 +1,172 @@ +//! moment.js locale configuration +//! locale : Czech [cs] +//! author : petrbela : https://github.com/petrbela + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'), + monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'); + function plural(n) { + return (n > 1) && (n < 5) && (~~(n / 10) !== 1); + } + function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami'; + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou'); + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minuty' : 'minut'); + } else { + return result + 'minutami'; + } + break; + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou'); + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodin'); + } else { + return result + 'hodinami'; + } + break; + case 'd': // a day / in a day / a day ago + return (withoutSuffix || isFuture) ? 'den' : 'dnem'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dny' : 'dní'); + } else { + return result + 'dny'; + } + break; + case 'M': // a month / in a month / a month ago + return (withoutSuffix || isFuture) ? 'měsíc' : 'měsícem'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'měsíce' : 'měsíců'); + } else { + return result + 'měsíci'; + } + break; + case 'y': // a year / in a year / a year ago + return (withoutSuffix || isFuture) ? 'rok' : 'rokem'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'let'); + } else { + return result + 'lety'; + } + break; + } + } + + var cs = moment.defineLocale('cs', { + months : months, + monthsShort : monthsShort, + monthsParse : (function (months, monthsShort) { + var i, _monthsParse = []; + for (i = 0; i < 12; i++) { + // use custom parser to solve problem with July (červenec) + _monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i'); + } + return _monthsParse; + }(months, monthsShort)), + shortMonthsParse : (function (monthsShort) { + var i, _shortMonthsParse = []; + for (i = 0; i < 12; i++) { + _shortMonthsParse[i] = new RegExp('^' + monthsShort[i] + '$', 'i'); + } + return _shortMonthsParse; + }(monthsShort)), + longMonthsParse : (function (months) { + var i, _longMonthsParse = []; + for (i = 0; i < 12; i++) { + _longMonthsParse[i] = new RegExp('^' + months[i] + '$', 'i'); + } + return _longMonthsParse; + }(months)), + weekdays : 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), + weekdaysShort : 'ne_po_út_st_čt_pá_so'.split('_'), + weekdaysMin : 'ne_po_út_st_čt_pá_so'.split('_'), + longDateFormat : { + LT: 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY H:mm', + LLLL : 'dddd D. MMMM YYYY H:mm', + l : 'D. M. YYYY' + }, + calendar : { + sameDay: '[dnes v] LT', + nextDay: '[zítra v] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v neděli v] LT'; + case 1: + case 2: + return '[v] dddd [v] LT'; + case 3: + return '[ve středu v] LT'; + case 4: + return '[ve čtvrtek v] LT'; + case 5: + return '[v pátek v] LT'; + case 6: + return '[v sobotu v] LT'; + } + }, + lastDay: '[včera v] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulou neděli v] LT'; + case 1: + case 2: + return '[minulé] dddd [v] LT'; + case 3: + return '[minulou středu v] LT'; + case 4: + case 5: + return '[minulý] dddd [v] LT'; + case 6: + return '[minulou sobotu v] LT'; + } + }, + sameElse: 'L' + }, + relativeTime : { + future : 'za %s', + past : 'před %s', + s : translate, + m : translate, + mm : translate, + h : translate, + hh : translate, + d : translate, + dd : translate, + M : translate, + MM : translate, + y : translate, + yy : translate + }, + ordinalParse : /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return cs; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cs.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cs.min.js new file mode 100644 index 0000000000000000000000000000000000000000..a405a8455d07cf03967d4d38b1edecf0dd2ac101 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cs.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a){return a>1&&a<5&&1!==~~(a/10)}function c(a,c,d,e){var f=a+" ";switch(d){case"s":return c||e?"pár sekund":"pár sekundami";case"m":return c?"minuta":e?"minutu":"minutou";case"mm":return c||e?f+(b(a)?"minuty":"minut"):f+"minutami";case"h":return c?"hodina":e?"hodinu":"hodinou";case"hh":return c||e?f+(b(a)?"hodiny":"hodin"):f+"hodinami";case"d":return c||e?"den":"dnem";case"dd":return c||e?f+(b(a)?"dny":"dní"):f+"dny";case"M":return c||e?"měsíc":"měsícem";case"MM":return c||e?f+(b(a)?"měsíce":"měsíců"):f+"měsíci";case"y":return c||e?"rok":"rokem";case"yy":return c||e?f+(b(a)?"roky":"let"):f+"lety"}}var d="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),e="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),f=a.defineLocale("cs",{months:d,monthsShort:e,monthsParse:function(a,b){var c,d=[];for(c=0;c<12;c++)d[c]=new RegExp("^"+a[c]+"$|^"+b[c]+"$","i");return d}(d,e),shortMonthsParse:function(a){var b,c=[];for(b=0;b<12;b++)c[b]=new RegExp("^"+a[b]+"$","i");return c}(e),longMonthsParse:function(a){var b,c=[];for(b=0;b<12;b++)c[b]=new RegExp("^"+a[b]+"$","i");return c}(d),weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return f}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cv.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cv.js new file mode 100644 index 0000000000000000000000000000000000000000..60bf213896365b73e8063368c6c78369df71e448 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cv.js @@ -0,0 +1,63 @@ +//! moment.js locale configuration +//! locale : Chuvash [cv] +//! author : Anatoly Mironov : https://github.com/mirontoli + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var cv = moment.defineLocale('cv', { + months : 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'), + monthsShort : 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'), + weekdays : 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'), + weekdaysShort : 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), + weekdaysMin : 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD-MM-YYYY', + LL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]', + LLL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + LLLL : 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm' + }, + calendar : { + sameDay: '[Паян] LT [сехетре]', + nextDay: '[Ыран] LT [сехетре]', + lastDay: '[Ӗнер] LT [сехетре]', + nextWeek: '[Ҫитес] dddd LT [сехетре]', + lastWeek: '[Иртнӗ] dddd LT [сехетре]', + sameElse: 'L' + }, + relativeTime : { + future : function (output) { + var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран'; + return output + affix; + }, + past : '%s каялла', + s : 'пӗр-ик ҫеккунт', + m : 'пӗр минут', + mm : '%d минут', + h : 'пӗр сехет', + hh : '%d сехет', + d : 'пӗр кун', + dd : '%d кун', + M : 'пӗр уйӑх', + MM : '%d уйӑх', + y : 'пӗр ҫул', + yy : '%d ҫул' + }, + ordinalParse: /\d{1,2}-мӗш/, + ordinal : '%d-мӗш', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return cv; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cv.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cv.min.js new file mode 100644 index 0000000000000000000000000000000000000000..e5b66af919fe8c8f3a51c2f5ba102f06ea3291a2 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cv.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(a){var b=/сехет$/i.exec(a)?"рен":/ҫул$/i.exec(a)?"тан":"ран";return a+b},past:"%s каялла",s:"пӗр-ик ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},ordinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cy.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cy.js new file mode 100644 index 0000000000000000000000000000000000000000..93525676cc94ec0a3c87fd058d2a0ad6eb4d6eab --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cy.js @@ -0,0 +1,81 @@ +//! moment.js locale configuration +//! locale : Welsh [cy] +//! author : Robert Allen : https://github.com/robgallen +//! author : https://github.com/ryangreaves + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var cy = moment.defineLocale('cy', { + months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'), + monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'), + weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'), + weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), + weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), + weekdaysParseExact : true, + // time formats are the same as en-gb + longDateFormat: { + LT: 'HH:mm', + LTS : 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + calendar: { + sameDay: '[Heddiw am] LT', + nextDay: '[Yfory am] LT', + nextWeek: 'dddd [am] LT', + lastDay: '[Ddoe am] LT', + lastWeek: 'dddd [diwethaf am] LT', + sameElse: 'L' + }, + relativeTime: { + future: 'mewn %s', + past: '%s yn ôl', + s: 'ychydig eiliadau', + m: 'munud', + mm: '%d munud', + h: 'awr', + hh: '%d awr', + d: 'diwrnod', + dd: '%d diwrnod', + M: 'mis', + MM: '%d mis', + y: 'blwyddyn', + yy: '%d flynedd' + }, + ordinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/, + // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh + ordinal: function (number) { + var b = number, + output = '', + lookup = [ + '', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed + 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed + ]; + if (b > 20) { + if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) { + output = 'fed'; // not 30ain, 70ain or 90ain + } else { + output = 'ain'; + } + } else if (b > 0) { + output = lookup[b]; + } + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return cy; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cy.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cy.min.js new file mode 100644 index 0000000000000000000000000000000000000000..d61610b9e1d8f69d48230f0382f687f5f966dd18 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/cy.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},ordinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(a){var b=a,c="",d=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return b>20?c=40===b||50===b||60===b||80===b||100===b?"fed":"ain":b>0&&(c=d[b]),a+c},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/da.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/da.js new file mode 100644 index 0000000000000000000000000000000000000000..d5cbbdb345d587d6349fb2ecc92c6b43553536ff --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/da.js @@ -0,0 +1,60 @@ +//! moment.js locale configuration +//! locale : Danish [da] +//! author : Ulrik Nielsen : https://github.com/mrbase + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var da = moment.defineLocale('da', { + months : 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'), + monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort : 'søn_man_tir_ons_tor_fre_lør'.split('_'), + weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY HH:mm', + LLLL : 'dddd [d.] D. MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[I dag kl.] LT', + nextDay : '[I morgen kl.] LT', + nextWeek : 'dddd [kl.] LT', + lastDay : '[I går kl.] LT', + lastWeek : '[sidste] dddd [kl] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'om %s', + past : '%s siden', + s : 'få sekunder', + m : 'et minut', + mm : '%d minutter', + h : 'en time', + hh : '%d timer', + d : 'en dag', + dd : '%d dage', + M : 'en måned', + MM : '%d måneder', + y : 'et år', + yy : '%d år' + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return da; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/da.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/da.min.js new file mode 100644 index 0000000000000000000000000000000000000000..d7ae01d87d5c03307213dcfd5fbe7264fd57df6c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/da.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY HH:mm"},calendar:{sameDay:"[I dag kl.] LT",nextDay:"[I morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[I går kl.] LT",lastWeek:"[sidste] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/de-at.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/de-at.js new file mode 100644 index 0000000000000000000000000000000000000000..d1fd398598c2a027b777dab4cdd1d52187c9961f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/de-at.js @@ -0,0 +1,79 @@ +//! moment.js locale configuration +//! locale : German (Austria) [de-at] +//! author : lluchs : https://github.com/lluchs +//! author: Menelion Elensúle: https://github.com/Oire +//! author : Martin Groller : https://github.com/MadMG +//! author : Mikolaj Dadela : https://github.com/mik01aj + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + 'm': ['eine Minute', 'einer Minute'], + 'h': ['eine Stunde', 'einer Stunde'], + 'd': ['ein Tag', 'einem Tag'], + 'dd': [number + ' Tage', number + ' Tagen'], + 'M': ['ein Monat', 'einem Monat'], + 'MM': [number + ' Monate', number + ' Monaten'], + 'y': ['ein Jahr', 'einem Jahr'], + 'yy': [number + ' Jahre', number + ' Jahren'] + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + var de_at = moment.defineLocale('de-at', { + months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), + monthsParseExact : true, + weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY HH:mm', + LLLL : 'dddd, D. MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]' + }, + relativeTime : { + future : 'in %s', + past : 'vor %s', + s : 'ein paar Sekunden', + m : processRelativeTime, + mm : '%d Minuten', + h : processRelativeTime, + hh : '%d Stunden', + d : processRelativeTime, + dd : processRelativeTime, + M : processRelativeTime, + MM : processRelativeTime, + y : processRelativeTime, + yy : processRelativeTime + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return de_at; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/de-at.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/de-at.min.js new file mode 100644 index 0000000000000000000000000000000000000000..1fce93f01e968996eb72599a95d129e8d2913b35 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/de-at.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]}var c=a.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:b,mm:"%d Minuten",h:b,hh:"%d Stunden",d:b,dd:b,M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/de.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/de.js new file mode 100644 index 0000000000000000000000000000000000000000..203dac91018318ad6269bca0157b1c1357f7ef16 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/de.js @@ -0,0 +1,78 @@ +//! moment.js locale configuration +//! locale : German [de] +//! author : lluchs : https://github.com/lluchs +//! author: Menelion Elensúle: https://github.com/Oire +//! author : Mikolaj Dadela : https://github.com/mik01aj + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + 'm': ['eine Minute', 'einer Minute'], + 'h': ['eine Stunde', 'einer Stunde'], + 'd': ['ein Tag', 'einem Tag'], + 'dd': [number + ' Tage', number + ' Tagen'], + 'M': ['ein Monat', 'einem Monat'], + 'MM': [number + ' Monate', number + ' Monaten'], + 'y': ['ein Jahr', 'einem Jahr'], + 'yy': [number + ' Jahre', number + ' Jahren'] + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + + var de = moment.defineLocale('de', { + months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), + monthsParseExact : true, + weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), + weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), + weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY HH:mm', + LLLL : 'dddd, D. MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[heute um] LT [Uhr]', + sameElse: 'L', + nextDay: '[morgen um] LT [Uhr]', + nextWeek: 'dddd [um] LT [Uhr]', + lastDay: '[gestern um] LT [Uhr]', + lastWeek: '[letzten] dddd [um] LT [Uhr]' + }, + relativeTime : { + future : 'in %s', + past : 'vor %s', + s : 'ein paar Sekunden', + m : processRelativeTime, + mm : '%d Minuten', + h : processRelativeTime, + hh : '%d Stunden', + d : processRelativeTime, + dd : processRelativeTime, + M : processRelativeTime, + MM : processRelativeTime, + y : processRelativeTime, + yy : processRelativeTime + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return de; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/de.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/de.min.js new file mode 100644 index 0000000000000000000000000000000000000000..04aa11db4411c3478af48c5f76623bdb8bfa547b --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/de.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return b?e[c][0]:e[c][1]}var c=a.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",m:b,mm:"%d Minuten",h:b,hh:"%d Stunden",d:b,dd:b,M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/dv.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/dv.js new file mode 100644 index 0000000000000000000000000000000000000000..911b89d5dc35add713ffd2c3719f61ab53a6f4f5 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/dv.js @@ -0,0 +1,99 @@ +//! moment.js locale configuration +//! locale : Maldivian [dv] +//! author : Jawish Hameed : https://github.com/jawish + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var months = [ + 'ޖެނުއަރީ', + 'ފެބްރުއަރީ', + 'މާރިޗު', + 'އޭޕްރީލު', + 'މޭ', + 'ޖޫން', + 'ޖުލައި', + 'އޯގަސްޓު', + 'ސެޕްޓެމްބަރު', + 'އޮކްޓޯބަރު', + 'ނޮވެމްބަރު', + 'ޑިސެމްބަރު' + ], weekdays = [ + 'އާދިއްތަ', + 'ހޯމަ', + 'އަންގާރަ', + 'ބުދަ', + 'ބުރާސްފަތި', + 'ހުކުރު', + 'ހޮނިހިރު' + ]; + + var dv = moment.defineLocale('dv', { + months : months, + monthsShort : months, + weekdays : weekdays, + weekdaysShort : weekdays, + weekdaysMin : 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'), + longDateFormat : { + + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'D/M/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + meridiemParse: /މކ|މފ/, + isPM : function (input) { + return 'މފ' === input; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'މކ'; + } else { + return 'މފ'; + } + }, + calendar : { + sameDay : '[މިއަދު] LT', + nextDay : '[މާދަމާ] LT', + nextWeek : 'dddd LT', + lastDay : '[އިއްޔެ] LT', + lastWeek : '[ފާއިތުވި] dddd LT', + sameElse : 'L' + }, + relativeTime : { + future : 'ތެރޭގައި %s', + past : 'ކުރިން %s', + s : 'ސިކުންތުކޮޅެއް', + m : 'މިނިޓެއް', + mm : 'މިނިޓު %d', + h : 'ގަޑިއިރެއް', + hh : 'ގަޑިއިރު %d', + d : 'ދުވަހެއް', + dd : 'ދުވަސް %d', + M : 'މަހެއް', + MM : 'މަސް %d', + y : 'އަހަރެއް', + yy : 'އަހަރު %d' + }, + preparse: function (string) { + return string.replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/,/g, '،'); + }, + week : { + dow : 7, // Sunday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); + + return dv; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/dv.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/dv.min.js new file mode 100644 index 0000000000000000000000000000000000000000..934c485f987e60ce13e75f45a8659b35570fed7c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/dv.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],c=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],d=a.defineLocale("dv",{months:b,monthsShort:b,weekdays:c,weekdaysShort:c,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(a){return"މފ"===a},meridiem:function(a,b,c){return a<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(a){return a.replace(/،/g,",")},postformat:function(a){return a.replace(/,/g,"،")},week:{dow:7,doy:12}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/el.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/el.js new file mode 100644 index 0000000000000000000000000000000000000000..588cb235c89cdca115bbb7b32dbb8b305e157251 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/el.js @@ -0,0 +1,98 @@ +//! moment.js locale configuration +//! locale : Greek [el] +//! author : Aggelos Karalias : https://github.com/mehiel + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + function isFunction(input) { + return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; + } + + + var el = moment.defineLocale('el', { + monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'), + monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'), + months : function (momentToFormat, format) { + if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM' + return this._monthsGenitiveEl[momentToFormat.month()]; + } else { + return this._monthsNominativeEl[momentToFormat.month()]; + } + }, + monthsShort : 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'), + weekdays : 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'), + weekdaysShort : 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), + weekdaysMin : 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'), + meridiem : function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'μμ' : 'ΜΜ'; + } else { + return isLower ? 'πμ' : 'ΠΜ'; + } + }, + isPM : function (input) { + return ((input + '').toLowerCase()[0] === 'μ'); + }, + meridiemParse : /[ΠΜ]\.?Μ?\.?/i, + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY h:mm A', + LLLL : 'dddd, D MMMM YYYY h:mm A' + }, + calendarEl : { + sameDay : '[Σήμερα {}] LT', + nextDay : '[Αύριο {}] LT', + nextWeek : 'dddd [{}] LT', + lastDay : '[Χθες {}] LT', + lastWeek : function () { + switch (this.day()) { + case 6: + return '[το προηγούμενο] dddd [{}] LT'; + default: + return '[την προηγούμενη] dddd [{}] LT'; + } + }, + sameElse : 'L' + }, + calendar : function (key, mom) { + var output = this._calendarEl[key], + hours = mom && mom.hours(); + if (isFunction(output)) { + output = output.apply(mom); + } + return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις')); + }, + relativeTime : { + future : 'σε %s', + past : '%s πριν', + s : 'λίγα δευτερόλεπτα', + m : 'ένα λεπτό', + mm : '%d λεπτά', + h : 'μία ώρα', + hh : '%d ώρες', + d : 'μία μέρα', + dd : '%d μέρες', + M : 'ένας μήνας', + MM : '%d μήνες', + y : 'ένας χρόνος', + yy : '%d χρόνια' + }, + ordinalParse: /\d{1,2}η/, + ordinal: '%dη', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4st is the first week of the year. + } + }); + + return el; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/el.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/el.min.js new file mode 100644 index 0000000000000000000000000000000000000000..5a73bd93fd35e71eea648c47b531a6ae49698943 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/el.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}var c=a.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(a,b){return/D/.test(b.substring(0,b.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.month()]},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(a,b,c){return a>11?c?"μμ":"ΜΜ":c?"πμ":"ΠΜ"},isPM:function(a){return"μ"===(a+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(a,c){var d=this._calendarEl[a],e=c&&c.hours();return b(d)&&(d=d.apply(c)),d.replace("{}",e%12===1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},ordinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-au.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-au.js new file mode 100644 index 0000000000000000000000000000000000000000..4a3d95cb6522bd7fd8563b8a34532c38037c9ad2 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-au.js @@ -0,0 +1,67 @@ +//! moment.js locale configuration +//! locale : English (Australia) [en-au] +//! author : Jared Morse : https://github.com/jarcoal + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var en_au = moment.defineLocale('en-au', { + months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY h:mm A', + LLLL : 'dddd, D MMMM YYYY h:mm A' + }, + calendar : { + sameDay : '[Today at] LT', + nextDay : '[Tomorrow at] LT', + nextWeek : 'dddd [at] LT', + lastDay : '[Yesterday at] LT', + lastWeek : '[Last] dddd [at] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'in %s', + past : '%s ago', + s : 'a few seconds', + m : 'a minute', + mm : '%d minutes', + h : 'an hour', + hh : '%d hours', + d : 'a day', + dd : '%d days', + M : 'a month', + MM : '%d months', + y : 'a year', + yy : '%d years' + }, + ordinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return en_au; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-au.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-au.min.js new file mode 100644 index 0000000000000000000000000000000000000000..9929dcf9739cfe0ee4b3b5f569b585ffefab2833 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-au.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-ca.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-ca.js new file mode 100644 index 0000000000000000000000000000000000000000..9ac521f9e93c9eef461c95150b38cecfb456df3d --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-ca.js @@ -0,0 +1,63 @@ +//! moment.js locale configuration +//! locale : English (Canada) [en-ca] +//! author : Jonathan Abourbih : https://github.com/jonbca + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var en_ca = moment.defineLocale('en-ca', { + months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'YYYY-MM-DD', + LL : 'MMMM D, YYYY', + LLL : 'MMMM D, YYYY h:mm A', + LLLL : 'dddd, MMMM D, YYYY h:mm A' + }, + calendar : { + sameDay : '[Today at] LT', + nextDay : '[Tomorrow at] LT', + nextWeek : 'dddd [at] LT', + lastDay : '[Yesterday at] LT', + lastWeek : '[Last] dddd [at] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'in %s', + past : '%s ago', + s : 'a few seconds', + m : 'a minute', + mm : '%d minutes', + h : 'an hour', + hh : '%d hours', + d : 'a day', + dd : '%d days', + M : 'a month', + MM : '%d months', + y : 'a year', + yy : '%d years' + }, + ordinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + } + }); + + return en_ca; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-ca.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-ca.min.js new file mode 100644 index 0000000000000000000000000000000000000000..cd1d9370e9ebde02f8c9fccde740db52acdeb5ad --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-ca.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-gb.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-gb.js new file mode 100644 index 0000000000000000000000000000000000000000..843d2e585fdb7225ee1bf868c488f6fa1bd1fd6c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-gb.js @@ -0,0 +1,67 @@ +//! moment.js locale configuration +//! locale : English (United Kingdom) [en-gb] +//! author : Chris Gedrim : https://github.com/chrisgedrim + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var en_gb = moment.defineLocale('en-gb', { + months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Today at] LT', + nextDay : '[Tomorrow at] LT', + nextWeek : 'dddd [at] LT', + lastDay : '[Yesterday at] LT', + lastWeek : '[Last] dddd [at] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'in %s', + past : '%s ago', + s : 'a few seconds', + m : 'a minute', + mm : '%d minutes', + h : 'an hour', + hh : '%d hours', + d : 'a day', + dd : '%d days', + M : 'a month', + MM : '%d months', + y : 'a year', + yy : '%d years' + }, + ordinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return en_gb; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-gb.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-gb.min.js new file mode 100644 index 0000000000000000000000000000000000000000..c85abb67d9fab9866bbf7399e2875a88268f7da7 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-gb.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-ie.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-ie.js new file mode 100644 index 0000000000000000000000000000000000000000..e2da7b087e7756d94fa34035e975c26f6ddc78b4 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-ie.js @@ -0,0 +1,67 @@ +//! moment.js locale configuration +//! locale : English (Ireland) [en-ie] +//! author : Chris Cartlidge : https://github.com/chriscartlidge + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var en_ie = moment.defineLocale('en-ie', { + months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD-MM-YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Today at] LT', + nextDay : '[Tomorrow at] LT', + nextWeek : 'dddd [at] LT', + lastDay : '[Yesterday at] LT', + lastWeek : '[Last] dddd [at] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'in %s', + past : '%s ago', + s : 'a few seconds', + m : 'a minute', + mm : '%d minutes', + h : 'an hour', + hh : '%d hours', + d : 'a day', + dd : '%d days', + M : 'a month', + MM : '%d months', + y : 'a year', + yy : '%d years' + }, + ordinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return en_ie; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-ie.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-ie.min.js new file mode 100644 index 0000000000000000000000000000000000000000..32d1e150fd647efd5e0a64a4bb5c7d5c2bb06f2a --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-ie.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-nz.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-nz.js new file mode 100644 index 0000000000000000000000000000000000000000..812881203782847116831ac6f2d7ad9bc39649da --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-nz.js @@ -0,0 +1,67 @@ +//! moment.js locale configuration +//! locale : English (New Zealand) [en-nz] +//! author : Luke McGregor : https://github.com/lukemcgregor + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var en_nz = moment.defineLocale('en-nz', { + months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY h:mm A', + LLLL : 'dddd, D MMMM YYYY h:mm A' + }, + calendar : { + sameDay : '[Today at] LT', + nextDay : '[Tomorrow at] LT', + nextWeek : 'dddd [at] LT', + lastDay : '[Yesterday at] LT', + lastWeek : '[Last] dddd [at] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'in %s', + past : '%s ago', + s : 'a few seconds', + m : 'a minute', + mm : '%d minutes', + h : 'an hour', + hh : '%d hours', + d : 'a day', + dd : '%d days', + M : 'a month', + MM : '%d months', + y : 'a year', + yy : '%d years' + }, + ordinalParse: /\d{1,2}(st|nd|rd|th)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return en_nz; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-nz.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-nz.min.js new file mode 100644 index 0000000000000000000000000000000000000000..2b410ce7e7228db1b151847b6f4282c23316441e --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/en-nz.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/eo.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/eo.js new file mode 100644 index 0000000000000000000000000000000000000000..5b21f8242018f2aab98630a9a5d60826868710cc --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/eo.js @@ -0,0 +1,73 @@ +//! moment.js locale configuration +//! locale : Esperanto [eo] +//! author : Colin Dean : https://github.com/colindean +//! komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko. +//! Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni! + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var eo = moment.defineLocale('eo', { + months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'), + monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'), + weekdays : 'Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato'.split('_'), + weekdaysShort : 'Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab'.split('_'), + weekdaysMin : 'Di_Lu_Ma_Me_Ĵa_Ve_Sa'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY-MM-DD', + LL : 'D[-an de] MMMM, YYYY', + LLL : 'D[-an de] MMMM, YYYY HH:mm', + LLLL : 'dddd, [la] D[-an de] MMMM, YYYY HH:mm' + }, + meridiemParse: /[ap]\.t\.m/i, + isPM: function (input) { + return input.charAt(0).toLowerCase() === 'p'; + }, + meridiem : function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'p.t.m.' : 'P.T.M.'; + } else { + return isLower ? 'a.t.m.' : 'A.T.M.'; + } + }, + calendar : { + sameDay : '[Hodiaŭ je] LT', + nextDay : '[Morgaŭ je] LT', + nextWeek : 'dddd [je] LT', + lastDay : '[Hieraŭ je] LT', + lastWeek : '[pasinta] dddd [je] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'je %s', + past : 'antaŭ %s', + s : 'sekundoj', + m : 'minuto', + mm : '%d minutoj', + h : 'horo', + hh : '%d horoj', + d : 'tago',//ne 'diurno', ĉar estas uzita por proksimumo + dd : '%d tagoj', + M : 'monato', + MM : '%d monatoj', + y : 'jaro', + yy : '%d jaroj' + }, + ordinalParse: /\d{1,2}a/, + ordinal : '%da', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return eo; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/eo.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/eo.min.js new file mode 100644 index 0000000000000000000000000000000000000000..9a243215ef24885285d9f76bcd975a59b5625005 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/eo.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),weekdays:"Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),weekdaysShort:"Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-an de] MMMM, YYYY",LLL:"D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-an de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(a){return"p"===a.charAt(0).toLowerCase()},meridiem:function(a,b,c){return a>11?c?"p.t.m.":"P.T.M.":c?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"je %s",past:"antaŭ %s",s:"sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},ordinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/es-do.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/es-do.js new file mode 100644 index 0000000000000000000000000000000000000000..2c460534b450517b43101eb1d6414f707a62253d --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/es-do.js @@ -0,0 +1,80 @@ +//! moment.js locale configuration +//! locale : Spanish (Dominican Republic) [es-do] + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); + + var es_do = moment.defineLocale('es-do', { + months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + monthsShort : function (m, format) { + if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsParseExact : true, + weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D [de] MMMM [de] YYYY', + LLL : 'D [de] MMMM [de] YYYY h:mm A', + LLLL : 'dddd, D [de] MMMM [de] YYYY h:mm A' + }, + calendar : { + sameDay : function () { + return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; + }, + nextDay : function () { + return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; + }, + nextWeek : function () { + return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; + }, + lastDay : function () { + return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; + }, + lastWeek : function () { + return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; + }, + sameElse : 'L' + }, + relativeTime : { + future : 'en %s', + past : 'hace %s', + s : 'unos segundos', + m : 'un minuto', + mm : '%d minutos', + h : 'una hora', + hh : '%d horas', + d : 'un día', + dd : '%d días', + M : 'un mes', + MM : '%d meses', + y : 'un año', + yy : '%d años' + }, + ordinalParse : /\d{1,2}º/, + ordinal : '%dº', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return es_do; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/es-do.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/es-do.min.js new file mode 100644 index 0000000000000000000000000000000000000000..7fb4713f03acdea5165ab8e2931465fbf05626b2 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/es-do.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),c="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),d=a.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,d){return/-MMM-/.test(d)?c[a.month()]:b[a.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/es.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/es.js new file mode 100644 index 0000000000000000000000000000000000000000..cd819056e588caa681f54e58689af547a2352976 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/es.js @@ -0,0 +1,81 @@ +//! moment.js locale configuration +//! locale : Spanish [es] +//! author : Julio Napurí : https://github.com/julionc + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); + + var es = moment.defineLocale('es', { + months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), + monthsShort : function (m, format) { + if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsParseExact : true, + weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D [de] MMMM [de] YYYY', + LLL : 'D [de] MMMM [de] YYYY H:mm', + LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm' + }, + calendar : { + sameDay : function () { + return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; + }, + nextDay : function () { + return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; + }, + nextWeek : function () { + return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; + }, + lastDay : function () { + return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; + }, + lastWeek : function () { + return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; + }, + sameElse : 'L' + }, + relativeTime : { + future : 'en %s', + past : 'hace %s', + s : 'unos segundos', + m : 'un minuto', + mm : '%d minutos', + h : 'una hora', + hh : '%d horas', + d : 'un día', + dd : '%d días', + M : 'un mes', + MM : '%d meses', + y : 'un año', + yy : '%d años' + }, + ordinalParse : /\d{1,2}º/, + ordinal : '%dº', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return es; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/es.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/es.min.js new file mode 100644 index 0000000000000000000000000000000000000000..55bc9d0195368360b16ddc9f33eceaca322b58b3 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/es.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),c="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),d=a.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,d){return/-MMM-/.test(d)?c[a.month()]:b[a.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/et.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/et.js new file mode 100644 index 0000000000000000000000000000000000000000..97fd945add4dba7729cc8846f20da0163f4f86c5 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/et.js @@ -0,0 +1,80 @@ +//! moment.js locale configuration +//! locale : Estonian [et] +//! author : Henry Kehlmann : https://github.com/madhenry +//! improvements : Illimar Tambek : https://github.com/ragulka + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + 's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'], + 'm' : ['ühe minuti', 'üks minut'], + 'mm': [number + ' minuti', number + ' minutit'], + 'h' : ['ühe tunni', 'tund aega', 'üks tund'], + 'hh': [number + ' tunni', number + ' tundi'], + 'd' : ['ühe päeva', 'üks päev'], + 'M' : ['kuu aja', 'kuu aega', 'üks kuu'], + 'MM': [number + ' kuu', number + ' kuud'], + 'y' : ['ühe aasta', 'aasta', 'üks aasta'], + 'yy': [number + ' aasta', number + ' aastat'] + }; + if (withoutSuffix) { + return format[key][2] ? format[key][2] : format[key][1]; + } + return isFuture ? format[key][0] : format[key][1]; + } + + var et = moment.defineLocale('et', { + months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'), + monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), + weekdays : 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'), + weekdaysShort : 'P_E_T_K_N_R_L'.split('_'), + weekdaysMin : 'P_E_T_K_N_R_L'.split('_'), + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY H:mm', + LLLL : 'dddd, D. MMMM YYYY H:mm' + }, + calendar : { + sameDay : '[Täna,] LT', + nextDay : '[Homme,] LT', + nextWeek : '[Järgmine] dddd LT', + lastDay : '[Eile,] LT', + lastWeek : '[Eelmine] dddd LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s pärast', + past : '%s tagasi', + s : processRelativeTime, + m : processRelativeTime, + mm : processRelativeTime, + h : processRelativeTime, + hh : processRelativeTime, + d : processRelativeTime, + dd : '%d päeva', + M : processRelativeTime, + MM : processRelativeTime, + y : processRelativeTime, + yy : processRelativeTime + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return et; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/et.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/et.min.js new file mode 100644 index 0000000000000000000000000000000000000000..f607d6441147347522327cd2dce41541a7103dd7 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/et.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e={s:["mõne sekundi","mõni sekund","paar sekundit"],m:["ühe minuti","üks minut"],mm:[a+" minuti",a+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[a+" tunni",a+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[a+" kuu",a+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[a+" aasta",a+" aastat"]};return b?e[c][2]?e[c][2]:e[c][1]:d?e[c][0]:e[c][1]}var c=a.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:b,m:b,mm:b,h:b,hh:b,d:b,dd:"%d päeva",M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/eu.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/eu.js new file mode 100644 index 0000000000000000000000000000000000000000..15d7dd3e68592847ee060ba4de1d8cf0d79fcbbd --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/eu.js @@ -0,0 +1,66 @@ +//! moment.js locale configuration +//! locale : Basque [eu] +//! author : Eneko Illarramendi : https://github.com/eillarra + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var eu = moment.defineLocale('eu', { + months : 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'), + monthsShort : 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'), + monthsParseExact : true, + weekdays : 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'), + weekdaysShort : 'ig._al._ar._az._og._ol._lr.'.split('_'), + weekdaysMin : 'ig_al_ar_az_og_ol_lr'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY-MM-DD', + LL : 'YYYY[ko] MMMM[ren] D[a]', + LLL : 'YYYY[ko] MMMM[ren] D[a] HH:mm', + LLLL : 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', + l : 'YYYY-M-D', + ll : 'YYYY[ko] MMM D[a]', + lll : 'YYYY[ko] MMM D[a] HH:mm', + llll : 'ddd, YYYY[ko] MMM D[a] HH:mm' + }, + calendar : { + sameDay : '[gaur] LT[etan]', + nextDay : '[bihar] LT[etan]', + nextWeek : 'dddd LT[etan]', + lastDay : '[atzo] LT[etan]', + lastWeek : '[aurreko] dddd LT[etan]', + sameElse : 'L' + }, + relativeTime : { + future : '%s barru', + past : 'duela %s', + s : 'segundo batzuk', + m : 'minutu bat', + mm : '%d minutu', + h : 'ordu bat', + hh : '%d ordu', + d : 'egun bat', + dd : '%d egun', + M : 'hilabete bat', + MM : '%d hilabete', + y : 'urte bat', + yy : '%d urte' + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return eu; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/eu.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/eu.min.js new file mode 100644 index 0000000000000000000000000000000000000000..303fc06217b3d4c99956ff3fb939fc064ec4ac66 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/eu.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fa.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fa.js new file mode 100644 index 0000000000000000000000000000000000000000..535174bebbd1c1bd23c07f2be6cb596f412c7dee --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fa.js @@ -0,0 +1,106 @@ +//! moment.js locale configuration +//! locale : Persian [fa] +//! author : Ebrahim Byagowi : https://github.com/ebraminio + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var symbolMap = { + '1': '۱', + '2': '۲', + '3': '۳', + '4': '۴', + '5': '۵', + '6': '۶', + '7': '۷', + '8': '۸', + '9': '۹', + '0': '۰' + }, numberMap = { + '۱': '1', + '۲': '2', + '۳': '3', + '۴': '4', + '۵': '5', + '۶': '6', + '۷': '7', + '۸': '8', + '۹': '9', + '۰': '0' + }; + + var fa = moment.defineLocale('fa', { + months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), + monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), + weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'), + weekdaysShort : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'), + weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + meridiemParse: /قبل از ظهر|بعد از ظهر/, + isPM: function (input) { + return /بعد از ظهر/.test(input); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'قبل از ظهر'; + } else { + return 'بعد از ظهر'; + } + }, + calendar : { + sameDay : '[امروز ساعت] LT', + nextDay : '[فردا ساعت] LT', + nextWeek : 'dddd [ساعت] LT', + lastDay : '[دیروز ساعت] LT', + lastWeek : 'dddd [پیش] [ساعت] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'در %s', + past : '%s پیش', + s : 'چندین ثانیه', + m : 'یک دقیقه', + mm : '%d دقیقه', + h : 'یک ساعت', + hh : '%d ساعت', + d : 'یک روز', + dd : '%d روز', + M : 'یک ماه', + MM : '%d ماه', + y : 'یک سال', + yy : '%d سال' + }, + preparse: function (string) { + return string.replace(/[۰-۹]/g, function (match) { + return numberMap[match]; + }).replace(/،/g, ','); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }).replace(/,/g, '،'); + }, + ordinalParse: /\d{1,2}م/, + ordinal : '%dم', + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); + + return fa; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fa.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fa.min.js new file mode 100644 index 0000000000000000000000000000000000000000..abc124993fa5b91ad584cb5350510460fd13faec --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fa.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},c={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},d=a.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysShort:"یکشنبه_دوشنبه_سهشنبه_چهارشنبه_پنجشنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(a){return/بعد از ظهر/.test(a)},meridiem:function(a,b,c){return a<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چندین ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(a){return a.replace(/[۰-۹]/g,function(a){return c[a]}).replace(/،/g,",")},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]}).replace(/,/g,"،")},ordinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fi.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fi.js new file mode 100644 index 0000000000000000000000000000000000000000..ee93848c7d458991fed61dcc1344f3b73d821a78 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fi.js @@ -0,0 +1,107 @@ +//! moment.js locale configuration +//! locale : Finnish [fi] +//! author : Tarmo Aidantausta : https://github.com/bleadof + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '), + numbersFuture = [ + 'nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden', + numbersPast[7], numbersPast[8], numbersPast[9] + ]; + function translate(number, withoutSuffix, key, isFuture) { + var result = ''; + switch (key) { + case 's': + return isFuture ? 'muutaman sekunnin' : 'muutama sekunti'; + case 'm': + return isFuture ? 'minuutin' : 'minuutti'; + case 'mm': + result = isFuture ? 'minuutin' : 'minuuttia'; + break; + case 'h': + return isFuture ? 'tunnin' : 'tunti'; + case 'hh': + result = isFuture ? 'tunnin' : 'tuntia'; + break; + case 'd': + return isFuture ? 'päivän' : 'päivä'; + case 'dd': + result = isFuture ? 'päivän' : 'päivää'; + break; + case 'M': + return isFuture ? 'kuukauden' : 'kuukausi'; + case 'MM': + result = isFuture ? 'kuukauden' : 'kuukautta'; + break; + case 'y': + return isFuture ? 'vuoden' : 'vuosi'; + case 'yy': + result = isFuture ? 'vuoden' : 'vuotta'; + break; + } + result = verbalNumber(number, isFuture) + ' ' + result; + return result; + } + function verbalNumber(number, isFuture) { + return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number; + } + + var fi = moment.defineLocale('fi', { + months : 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'), + monthsShort : 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'), + weekdays : 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'), + weekdaysShort : 'su_ma_ti_ke_to_pe_la'.split('_'), + weekdaysMin : 'su_ma_ti_ke_to_pe_la'.split('_'), + longDateFormat : { + LT : 'HH.mm', + LTS : 'HH.mm.ss', + L : 'DD.MM.YYYY', + LL : 'Do MMMM[ta] YYYY', + LLL : 'Do MMMM[ta] YYYY, [klo] HH.mm', + LLLL : 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm', + l : 'D.M.YYYY', + ll : 'Do MMM YYYY', + lll : 'Do MMM YYYY, [klo] HH.mm', + llll : 'ddd, Do MMM YYYY, [klo] HH.mm' + }, + calendar : { + sameDay : '[tänään] [klo] LT', + nextDay : '[huomenna] [klo] LT', + nextWeek : 'dddd [klo] LT', + lastDay : '[eilen] [klo] LT', + lastWeek : '[viime] dddd[na] [klo] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s päästä', + past : '%s sitten', + s : translate, + m : translate, + mm : translate, + h : translate, + hh : translate, + d : translate, + dd : translate, + M : translate, + MM : translate, + y : translate, + yy : translate + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return fi; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fi.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fi.min.js new file mode 100644 index 0000000000000000000000000000000000000000..98b6d91f150d7d4e2e6267996fcbad9ef33542cc --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fi.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,d,e){var f="";switch(d){case"s":return e?"muutaman sekunnin":"muutama sekunti";case"m":return e?"minuutin":"minuutti";case"mm":f=e?"minuutin":"minuuttia";break;case"h":return e?"tunnin":"tunti";case"hh":f=e?"tunnin":"tuntia";break;case"d":return e?"päivän":"päivä";case"dd":f=e?"päivän":"päivää";break;case"M":return e?"kuukauden":"kuukausi";case"MM":f=e?"kuukauden":"kuukautta";break;case"y":return e?"vuoden":"vuosi";case"yy":f=e?"vuoden":"vuotta"}return f=c(a,e)+" "+f}function c(a,b){return a<10?b?e[a]:d[a]:a}var d="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),e=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",d[7],d[8],d[9]],f=a.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return f}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fo.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fo.js new file mode 100644 index 0000000000000000000000000000000000000000..93567e447091d5b8fdf901ec8c459fc846580334 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fo.js @@ -0,0 +1,60 @@ +//! moment.js locale configuration +//! locale : Faroese [fo] +//! author : Ragnar Johannesen : https://github.com/ragnar123 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var fo = moment.defineLocale('fo', { + months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'), + monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), + weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'), + weekdaysShort : 'sun_mán_týs_mik_hós_frí_ley'.split('_'), + weekdaysMin : 'su_má_tý_mi_hó_fr_le'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D. MMMM, YYYY HH:mm' + }, + calendar : { + sameDay : '[Í dag kl.] LT', + nextDay : '[Í morgin kl.] LT', + nextWeek : 'dddd [kl.] LT', + lastDay : '[Í gjár kl.] LT', + lastWeek : '[síðstu] dddd [kl] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'um %s', + past : '%s síðani', + s : 'fá sekund', + m : 'ein minutt', + mm : '%d minuttir', + h : 'ein tími', + hh : '%d tímar', + d : 'ein dagur', + dd : '%d dagar', + M : 'ein mánaði', + MM : '%d mánaðir', + y : 'eitt ár', + yy : '%d ár' + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return fo; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fo.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fo.min.js new file mode 100644 index 0000000000000000000000000000000000000000..782a642c0c461fdd5def130d11859459e1d54306 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fo.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",m:"ein minutt",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaði",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr-ca.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr-ca.js new file mode 100644 index 0000000000000000000000000000000000000000..6ec487bd4a7cbeb5c8525f3dda91599a4ffcc5db --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr-ca.js @@ -0,0 +1,60 @@ +//! moment.js locale configuration +//! locale : French (Canada) [fr-ca] +//! author : Jonathan Abourbih : https://github.com/jonbca + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var fr_ca = moment.defineLocale('fr-ca', { + months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), + monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + monthsParseExact : true, + weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY-MM-DD', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[Aujourd\'hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'dans %s', + past : 'il y a %s', + s : 'quelques secondes', + m : 'une minute', + mm : '%d minutes', + h : 'une heure', + hh : '%d heures', + d : 'un jour', + dd : '%d jours', + M : 'un mois', + MM : '%d mois', + y : 'un an', + yy : '%d ans' + }, + ordinalParse: /\d{1,2}(er|e)/, + ordinal : function (number) { + return number + (number === 1 ? 'er' : 'e'); + } + }); + + return fr_ca; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr-ca.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr-ca.min.js new file mode 100644 index 0000000000000000000000000000000000000000..30ab61780a5f4cb24459819f0e3c19738e471bdc --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr-ca.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(a){return a+(1===a?"er":"e")}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr-ch.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr-ch.js new file mode 100644 index 0000000000000000000000000000000000000000..5a31996a9ad368a1be9abf208af1f3a26c097376 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr-ch.js @@ -0,0 +1,64 @@ +//! moment.js locale configuration +//! locale : French (Switzerland) [fr-ch] +//! author : Gaspard Bucher : https://github.com/gaspard + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var fr_ch = moment.defineLocale('fr-ch', { + months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), + monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + monthsParseExact : true, + weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[Aujourd\'hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'dans %s', + past : 'il y a %s', + s : 'quelques secondes', + m : 'une minute', + mm : '%d minutes', + h : 'une heure', + hh : '%d heures', + d : 'un jour', + dd : '%d jours', + M : 'un mois', + MM : '%d mois', + y : 'un an', + yy : '%d ans' + }, + ordinalParse: /\d{1,2}(er|e)/, + ordinal : function (number) { + return number + (number === 1 ? 'er' : 'e'); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return fr_ch; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr-ch.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr-ch.min.js new file mode 100644 index 0000000000000000000000000000000000000000..a6eedf19e795b8012dd6b64a1d8c989feee4f6a6 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr-ch.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|e)/,ordinal:function(a){return a+(1===a?"er":"e")},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr.js new file mode 100644 index 0000000000000000000000000000000000000000..90662e2cc8d1caedf5fcf60df4edc4e79183b31b --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr.js @@ -0,0 +1,64 @@ +//! moment.js locale configuration +//! locale : French [fr] +//! author : John Fischer : https://github.com/jfroffice + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var fr = moment.defineLocale('fr', { + months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), + monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), + monthsParseExact : true, + weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), + weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), + weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[Aujourd\'hui à] LT', + nextDay: '[Demain à] LT', + nextWeek: 'dddd [à] LT', + lastDay: '[Hier à] LT', + lastWeek: 'dddd [dernier à] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'dans %s', + past : 'il y a %s', + s : 'quelques secondes', + m : 'une minute', + mm : '%d minutes', + h : 'une heure', + hh : '%d heures', + d : 'un jour', + dd : '%d jours', + M : 'un mois', + MM : '%d mois', + y : 'un an', + yy : '%d ans' + }, + ordinalParse: /\d{1,2}(er|)/, + ordinal : function (number) { + return number + (number === 1 ? 'er' : ''); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return fr; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr.min.js new file mode 100644 index 0000000000000000000000000000000000000000..2a0053c34faf8ff65312a3c721d42eb9d5c4b92d --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fr.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(a){return a+(1===a?"er":"")},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fy.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fy.js new file mode 100644 index 0000000000000000000000000000000000000000..dc04ade7e45852842d3d07db984d667e6e378ed1 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fy.js @@ -0,0 +1,73 @@ +//! moment.js locale configuration +//! locale : Frisian [fy] +//! author : Robin van der Vliet : https://github.com/robin0van0der0v + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'), + monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'); + + var fy = moment.defineLocale('fy', { + months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'), + monthsShort : function (m, format) { + if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + monthsParseExact : true, + weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'), + weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'), + weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD-MM-YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[hjoed om] LT', + nextDay: '[moarn om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[juster om] LT', + lastWeek: '[ôfrûne] dddd [om] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'oer %s', + past : '%s lyn', + s : 'in pear sekonden', + m : 'ien minút', + mm : '%d minuten', + h : 'ien oere', + hh : '%d oeren', + d : 'ien dei', + dd : '%d dagen', + M : 'ien moanne', + MM : '%d moannen', + y : 'ien jier', + yy : '%d jierren' + }, + ordinalParse: /\d{1,2}(ste|de)/, + ordinal : function (number) { + return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return fy; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fy.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fy.min.js new file mode 100644 index 0000000000000000000000000000000000000000..f5864323ed0caba6142f497c6298e81aa776034c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/fy.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),c="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),d=a.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(a,d){return/-MMM-/.test(d)?c[a.month()]:b[a.month()]},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/gd.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/gd.js new file mode 100644 index 0000000000000000000000000000000000000000..901cd596d65a87de0dccbff751d0de11bdfb49f4 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/gd.js @@ -0,0 +1,76 @@ +//! moment.js locale configuration +//! locale : Scottish Gaelic [gd] +//! author : Jon Ashdown : https://github.com/jonashdown + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var months = [ + 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd' + ]; + + var monthsShort = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh']; + + var weekdays = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne']; + + var weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis']; + + var weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa']; + + var gd = moment.defineLocale('gd', { + months : months, + monthsShort : monthsShort, + monthsParseExact : true, + weekdays : weekdays, + weekdaysShort : weekdaysShort, + weekdaysMin : weekdaysMin, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[An-diugh aig] LT', + nextDay : '[A-màireach aig] LT', + nextWeek : 'dddd [aig] LT', + lastDay : '[An-dè aig] LT', + lastWeek : 'dddd [seo chaidh] [aig] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'ann an %s', + past : 'bho chionn %s', + s : 'beagan diogan', + m : 'mionaid', + mm : '%d mionaidean', + h : 'uair', + hh : '%d uairean', + d : 'latha', + dd : '%d latha', + M : 'mìos', + MM : '%d mìosan', + y : 'bliadhna', + yy : '%d bliadhna' + }, + ordinalParse : /\d{1,2}(d|na|mh)/, + ordinal : function (number) { + var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return gd; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/gd.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/gd.min.js new file mode 100644 index 0000000000000000000000000000000000000000..beec282c9d7de3895a3a2295969332558591cca1 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/gd.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],c=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],d=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],e=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],f=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],g=a.defineLocale("gd",{months:b,monthsShort:c,monthsParseExact:!0,weekdays:d,weekdaysShort:e,weekdaysMin:f,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},ordinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(a){var b=1===a?"d":a%10===2?"na":"mh";return a+b},week:{dow:1,doy:4}});return g}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/gl.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/gl.js new file mode 100644 index 0000000000000000000000000000000000000000..83291b633a04ba115f93a2587e0a87d7a182ca3f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/gl.js @@ -0,0 +1,77 @@ +//! moment.js locale configuration +//! locale : Galician [gl] +//! author : Juan G. Hurtado : https://github.com/juanghurtado + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var gl = moment.defineLocale('gl', { + months : 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'), + monthsShort : 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays : 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), + weekdaysShort : 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), + weekdaysMin : 'do_lu_ma_mé_xo_ve_sá'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D [de] MMMM [de] YYYY', + LLL : 'D [de] MMMM [de] YYYY H:mm', + LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm' + }, + calendar : { + sameDay : function () { + return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT'; + }, + nextDay : function () { + return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT'; + }, + nextWeek : function () { + return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT'; + }, + lastDay : function () { + return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT'; + }, + lastWeek : function () { + return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT'; + }, + sameElse : 'L' + }, + relativeTime : { + future : function (str) { + if (str.indexOf('un') === 0) { + return 'n' + str; + } + return 'en ' + str; + }, + past : 'hai %s', + s : 'uns segundos', + m : 'un minuto', + mm : '%d minutos', + h : 'unha hora', + hh : '%d horas', + d : 'un día', + dd : '%d días', + M : 'un mes', + MM : '%d meses', + y : 'un ano', + yy : '%d anos' + }, + ordinalParse : /\d{1,2}º/, + ordinal : '%dº', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return gl; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/gl.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/gl.min.js new file mode 100644 index 0000000000000000000000000000000000000000..1b3b0a69ddbb4fe7eb1df799773abaf1919242cc --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/gl.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(a){return 0===a.indexOf("un")?"n"+a:"en "+a},past:"hai %s",s:"uns segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/he.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/he.js new file mode 100644 index 0000000000000000000000000000000000000000..6e55a7a243971932dedf80175c9968fb15515775 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/he.js @@ -0,0 +1,99 @@ +//! moment.js locale configuration +//! locale : Hebrew [he] +//! author : Tomer Cohen : https://github.com/tomer +//! author : Moshe Simantov : https://github.com/DevelopmentIL +//! author : Tal Ater : https://github.com/TalAter + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var he = moment.defineLocale('he', { + months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'), + monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'), + weekdays : 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), + weekdaysShort : 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), + weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D [ב]MMMM YYYY', + LLL : 'D [ב]MMMM YYYY HH:mm', + LLLL : 'dddd, D [ב]MMMM YYYY HH:mm', + l : 'D/M/YYYY', + ll : 'D MMM YYYY', + lll : 'D MMM YYYY HH:mm', + llll : 'ddd, D MMM YYYY HH:mm' + }, + calendar : { + sameDay : '[היום ב־]LT', + nextDay : '[מחר ב־]LT', + nextWeek : 'dddd [בשעה] LT', + lastDay : '[אתמול ב־]LT', + lastWeek : '[ביום] dddd [האחרון בשעה] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'בעוד %s', + past : 'לפני %s', + s : 'מספר שניות', + m : 'דקה', + mm : '%d דקות', + h : 'שעה', + hh : function (number) { + if (number === 2) { + return 'שעתיים'; + } + return number + ' שעות'; + }, + d : 'יום', + dd : function (number) { + if (number === 2) { + return 'יומיים'; + } + return number + ' ימים'; + }, + M : 'חודש', + MM : function (number) { + if (number === 2) { + return 'חודשיים'; + } + return number + ' חודשים'; + }, + y : 'שנה', + yy : function (number) { + if (number === 2) { + return 'שנתיים'; + } else if (number % 10 === 0 && number !== 10) { + return number + ' שנה'; + } + return number + ' שנים'; + } + }, + meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i, + isPM : function (input) { + return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 5) { + return 'לפנות בוקר'; + } else if (hour < 10) { + return 'בבוקר'; + } else if (hour < 12) { + return isLower ? 'לפנה"צ' : 'לפני הצהריים'; + } else if (hour < 18) { + return isLower ? 'אחה"צ' : 'אחרי הצהריים'; + } else { + return 'בערב'; + } + } + }); + + return he; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/he.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/he.min.js new file mode 100644 index 0000000000000000000000000000000000000000..cc33b8010394e90831ad8bbf6e220180e037d521 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/he.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(a){return 2===a?"שעתיים":a+" שעות"},d:"יום",dd:function(a){return 2===a?"יומיים":a+" ימים"},M:"חודש",MM:function(a){return 2===a?"חודשיים":a+" חודשים"},y:"שנה",yy:function(a){return 2===a?"שנתיים":a%10===0&&10!==a?a+" שנה":a+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(a){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(a)},meridiem:function(a,b,c){return a<5?"לפנות בוקר":a<10?"בבוקר":a<12?c?'לפנה"צ':"לפני הצהריים":a<18?c?'אחה"צ':"אחרי הצהריים":"בערב"}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hi.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hi.js new file mode 100644 index 0000000000000000000000000000000000000000..fc597712e267dc976d954bdd24e25bc7f632b4c5 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hi.js @@ -0,0 +1,124 @@ +//! moment.js locale configuration +//! locale : Hindi [hi] +//! author : Mayank Singhal : https://github.com/mayanksinghal + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var symbolMap = { + '1': '१', + '2': '२', + '3': '३', + '4': '४', + '5': '५', + '6': '६', + '7': '७', + '8': '८', + '9': '९', + '0': '०' + }, + numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0' + }; + + var hi = moment.defineLocale('hi', { + months : 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'), + monthsShort : 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'), + monthsParseExact: true, + weekdays : 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort : 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat : { + LT : 'A h:mm बजे', + LTS : 'A h:mm:ss बजे', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm बजे', + LLLL : 'dddd, D MMMM YYYY, A h:mm बजे' + }, + calendar : { + sameDay : '[आज] LT', + nextDay : '[कल] LT', + nextWeek : 'dddd, LT', + lastDay : '[कल] LT', + lastWeek : '[पिछले] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s में', + past : '%s पहले', + s : 'कुछ ही क्षण', + m : 'एक मिनट', + mm : '%d मिनट', + h : 'एक घंटा', + hh : '%d घंटे', + d : 'एक दिन', + dd : '%d दिन', + M : 'एक महीने', + MM : '%d महीने', + y : 'एक वर्ष', + yy : '%d वर्ष' + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Hindi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi. + meridiemParse: /रात|सुबह|दोपहर|शाम/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'रात') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सुबह') { + return hour; + } else if (meridiem === 'दोपहर') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'शाम') { + return hour + 12; + } + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'रात'; + } else if (hour < 10) { + return 'सुबह'; + } else if (hour < 17) { + return 'दोपहर'; + } else if (hour < 20) { + return 'शाम'; + } else { + return 'रात'; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); + + return hi; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hi.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hi.min.js new file mode 100644 index 0000000000000000000000000000000000000000..1517480a57a56d5d3ab1089d583e433b14cba911 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hi.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},c={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},d=a.defineLocale("hi",{months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(a,b){return 12===a&&(a=0),"रात"===b?a<4?a:a+12:"सुबह"===b?a:"दोपहर"===b?a>=10?a:a+12:"शाम"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"रात":a<10?"सुबह":a<17?"दोपहर":a<20?"शाम":"रात"},week:{dow:0,doy:6}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hr.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hr.js new file mode 100644 index 0000000000000000000000000000000000000000..a3a9be04a217ba046cbef110e33d91c06705f4a8 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hr.js @@ -0,0 +1,145 @@ +//! moment.js locale configuration +//! locale : Croatian [hr] +//! author : Bojan Marković : https://github.com/bmarkovic + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'm': + return withoutSuffix ? 'jedna minuta' : 'jedne minute'; + case 'mm': + if (number === 1) { + result += 'minuta'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'minute'; + } else { + result += 'minuta'; + } + return result; + case 'h': + return withoutSuffix ? 'jedan sat' : 'jednog sata'; + case 'hh': + if (number === 1) { + result += 'sat'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'sata'; + } else { + result += 'sati'; + } + return result; + case 'dd': + if (number === 1) { + result += 'dan'; + } else { + result += 'dana'; + } + return result; + case 'MM': + if (number === 1) { + result += 'mjesec'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'mjeseca'; + } else { + result += 'mjeseci'; + } + return result; + case 'yy': + if (number === 1) { + result += 'godina'; + } else if (number === 2 || number === 3 || number === 4) { + result += 'godine'; + } else { + result += 'godina'; + } + return result; + } + } + + var hr = moment.defineLocale('hr', { + months : { + format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'), + standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_') + }, + monthsShort : 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'), + monthsParseExact: true, + weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY H:mm', + LLLL : 'dddd, D. MMMM YYYY H:mm' + }, + calendar : { + sameDay : '[danas u] LT', + nextDay : '[sutra u] LT', + nextWeek : function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay : '[jučer u] LT', + lastWeek : function () { + switch (this.day()) { + case 0: + case 3: + return '[prošlu] dddd [u] LT'; + case 6: + return '[prošle] [subote] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prošli] dddd [u] LT'; + } + }, + sameElse : 'L' + }, + relativeTime : { + future : 'za %s', + past : 'prije %s', + s : 'par sekundi', + m : translate, + mm : translate, + h : translate, + hh : translate, + d : 'dan', + dd : translate, + M : 'mjesec', + MM : translate, + y : 'godinu', + yy : translate + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return hr; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hr.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hr.min.js new file mode 100644 index 0000000000000000000000000000000000000000..d0401da0ac9aa38dda23ecb516fb3c118d21c0c7 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hr.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c){var d=a+" ";switch(c){case"m":return b?"jedna minuta":"jedne minute";case"mm":return d+=1===a?"minuta":2===a||3===a||4===a?"minute":"minuta";case"h":return b?"jedan sat":"jednog sata";case"hh":return d+=1===a?"sat":2===a||3===a||4===a?"sata":"sati";case"dd":return d+=1===a?"dan":"dana";case"MM":return d+=1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci";case"yy":return d+=1===a?"godina":2===a||3===a||4===a?"godine":"godina"}}var c=a.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",m:b,mm:b,h:b,hh:b,d:"dan",dd:b,M:"mjesec",MM:b,y:"godinu",yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hu.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hu.js new file mode 100644 index 0000000000000000000000000000000000000000..af5c73155a9ab2dbf3e4ab40fcff773907fcbca9 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hu.js @@ -0,0 +1,109 @@ +//! moment.js locale configuration +//! locale : Hungarian [hu] +//! author : Adam Brunner : https://github.com/adambrunner + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' '); + function translate(number, withoutSuffix, key, isFuture) { + var num = number, + suffix; + switch (key) { + case 's': + return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce'; + case 'm': + return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'mm': + return num + (isFuture || withoutSuffix ? ' perc' : ' perce'); + case 'h': + return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'hh': + return num + (isFuture || withoutSuffix ? ' óra' : ' órája'); + case 'd': + return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'dd': + return num + (isFuture || withoutSuffix ? ' nap' : ' napja'); + case 'M': + return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'MM': + return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); + case 'y': + return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve'); + case 'yy': + return num + (isFuture || withoutSuffix ? ' év' : ' éve'); + } + return ''; + } + function week(isFuture) { + return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]'; + } + + var hu = moment.defineLocale('hu', { + months : 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'), + monthsShort : 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'), + weekdays : 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'), + weekdaysShort : 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), + weekdaysMin : 'v_h_k_sze_cs_p_szo'.split('_'), + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'YYYY.MM.DD.', + LL : 'YYYY. MMMM D.', + LLL : 'YYYY. MMMM D. H:mm', + LLLL : 'YYYY. MMMM D., dddd H:mm' + }, + meridiemParse: /de|du/i, + isPM: function (input) { + return input.charAt(1).toLowerCase() === 'u'; + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 12) { + return isLower === true ? 'de' : 'DE'; + } else { + return isLower === true ? 'du' : 'DU'; + } + }, + calendar : { + sameDay : '[ma] LT[-kor]', + nextDay : '[holnap] LT[-kor]', + nextWeek : function () { + return week.call(this, true); + }, + lastDay : '[tegnap] LT[-kor]', + lastWeek : function () { + return week.call(this, false); + }, + sameElse : 'L' + }, + relativeTime : { + future : '%s múlva', + past : '%s', + s : translate, + m : translate, + mm : translate, + h : translate, + hh : translate, + d : translate, + dd : translate, + M : translate, + MM : translate, + y : translate, + yy : translate + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return hu; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hu.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hu.min.js new file mode 100644 index 0000000000000000000000000000000000000000..6f7c758b9e2b8ad39136b533daf244fbf1c1afac --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hu.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e=a;switch(c){case"s":return d||b?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(d||b?" perc":" perce");case"mm":return e+(d||b?" perc":" perce");case"h":return"egy"+(d||b?" óra":" órája");case"hh":return e+(d||b?" óra":" órája");case"d":return"egy"+(d||b?" nap":" napja");case"dd":return e+(d||b?" nap":" napja");case"M":return"egy"+(d||b?" hónap":" hónapja");case"MM":return e+(d||b?" hónap":" hónapja");case"y":return"egy"+(d||b?" év":" éve");case"yy":return e+(d||b?" év":" éve")}return""}function c(a){return(a?"":"[múlt] ")+"["+d[this.day()]+"] LT[-kor]"}var d="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" "),e=a.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(a){return"u"===a.charAt(1).toLowerCase()},meridiem:function(a,b,c){return a<12?c===!0?"de":"DE":c===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return c.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return c.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return e}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hy-am.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hy-am.js new file mode 100644 index 0000000000000000000000000000000000000000..8b262005f03c3039f25f4e18e90c3f93a1044e98 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hy-am.js @@ -0,0 +1,95 @@ +//! moment.js locale configuration +//! locale : Armenian [hy-am] +//! author : Armendarabyan : https://github.com/armendarabyan + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var hy_am = moment.defineLocale('hy-am', { + months : { + format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'), + standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_') + }, + monthsShort : 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'), + weekdays : 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'), + weekdaysShort : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + weekdaysMin : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY թ.', + LLL : 'D MMMM YYYY թ., HH:mm', + LLLL : 'dddd, D MMMM YYYY թ., HH:mm' + }, + calendar : { + sameDay: '[այսօր] LT', + nextDay: '[վաղը] LT', + lastDay: '[երեկ] LT', + nextWeek: function () { + return 'dddd [օրը ժամը] LT'; + }, + lastWeek: function () { + return '[անցած] dddd [օրը ժամը] LT'; + }, + sameElse: 'L' + }, + relativeTime : { + future : '%s հետո', + past : '%s առաջ', + s : 'մի քանի վայրկյան', + m : 'րոպե', + mm : '%d րոպե', + h : 'ժամ', + hh : '%d ժամ', + d : 'օր', + dd : '%d օր', + M : 'ամիս', + MM : '%d ամիս', + y : 'տարի', + yy : '%d տարի' + }, + meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/, + isPM: function (input) { + return /^(ցերեկվա|երեկոյան)$/.test(input); + }, + meridiem : function (hour) { + if (hour < 4) { + return 'գիշերվա'; + } else if (hour < 12) { + return 'առավոտվա'; + } else if (hour < 17) { + return 'ցերեկվա'; + } else { + return 'երեկոյան'; + } + }, + ordinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/, + ordinal: function (number, period) { + switch (period) { + case 'DDD': + case 'w': + case 'W': + case 'DDDo': + if (number === 1) { + return number + '-ին'; + } + return number + '-րդ'; + default: + return number; + } + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return hy_am; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hy-am.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hy-am.min.js new file mode 100644 index 0000000000000000000000000000000000000000..1fbca9cf312705c477b47402bd9613184d817087 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/hy-am.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(a){return/^(ցերեկվա|երեկոյան)$/.test(a)},meridiem:function(a){return a<4?"գիշերվա":a<12?"առավոտվա":a<17?"ցերեկվա":"երեկոյան"},ordinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(a,b){switch(b){case"DDD":case"w":case"W":case"DDDo":return 1===a?a+"-ին":a+"-րդ";default:return a}},week:{dow:1,doy:7}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/id.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/id.js new file mode 100644 index 0000000000000000000000000000000000000000..16dff2f1b5c0683c26bc7dc94cccd085e44f2d8f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/id.js @@ -0,0 +1,83 @@ +//! moment.js locale configuration +//! locale : Indonesian [id] +//! author : Mohammad Satrio Utomo : https://github.com/tyok +//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var id = moment.defineLocale('id', { + months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des'.split('_'), + weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), + weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), + weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat : { + LT : 'HH.mm', + LTS : 'HH.mm.ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY [pukul] HH.mm', + LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + meridiemParse: /pagi|siang|sore|malam/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'siang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sore' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'siang'; + } else if (hours < 19) { + return 'sore'; + } else { + return 'malam'; + } + }, + calendar : { + sameDay : '[Hari ini pukul] LT', + nextDay : '[Besok pukul] LT', + nextWeek : 'dddd [pukul] LT', + lastDay : '[Kemarin pukul] LT', + lastWeek : 'dddd [lalu pukul] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'dalam %s', + past : '%s yang lalu', + s : 'beberapa detik', + m : 'semenit', + mm : '%d menit', + h : 'sejam', + hh : '%d jam', + d : 'sehari', + dd : '%d hari', + M : 'sebulan', + MM : '%d bulan', + y : 'setahun', + yy : '%d tahun' + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return id; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/id.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/id.min.js new file mode 100644 index 0000000000000000000000000000000000000000..6d5a2469f64c8d5cfe06163a65eb32249aa0b794 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/id.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"siang"===b?a>=11?a:a+12:"sore"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"siang":a<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/is.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/is.js new file mode 100644 index 0000000000000000000000000000000000000000..810fee617390ef7e538918875c9e7d9643c99853 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/is.js @@ -0,0 +1,127 @@ +//! moment.js locale configuration +//! locale : Icelandic [is] +//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + function plural(n) { + if (n % 100 === 11) { + return true; + } else if (n % 10 === 1) { + return false; + } + return true; + } + function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum'; + case 'm': + return withoutSuffix ? 'mínúta' : 'mínútu'; + case 'mm': + if (plural(number)) { + return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum'); + } else if (withoutSuffix) { + return result + 'mínúta'; + } + return result + 'mínútu'; + case 'hh': + if (plural(number)) { + return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum'); + } + return result + 'klukkustund'; + case 'd': + if (withoutSuffix) { + return 'dagur'; + } + return isFuture ? 'dag' : 'degi'; + case 'dd': + if (plural(number)) { + if (withoutSuffix) { + return result + 'dagar'; + } + return result + (isFuture ? 'daga' : 'dögum'); + } else if (withoutSuffix) { + return result + 'dagur'; + } + return result + (isFuture ? 'dag' : 'degi'); + case 'M': + if (withoutSuffix) { + return 'mánuður'; + } + return isFuture ? 'mánuð' : 'mánuði'; + case 'MM': + if (plural(number)) { + if (withoutSuffix) { + return result + 'mánuðir'; + } + return result + (isFuture ? 'mánuði' : 'mánuðum'); + } else if (withoutSuffix) { + return result + 'mánuður'; + } + return result + (isFuture ? 'mánuð' : 'mánuði'); + case 'y': + return withoutSuffix || isFuture ? 'ár' : 'ári'; + case 'yy': + if (plural(number)) { + return result + (withoutSuffix || isFuture ? 'ár' : 'árum'); + } + return result + (withoutSuffix || isFuture ? 'ár' : 'ári'); + } + } + + var is = moment.defineLocale('is', { + months : 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'), + monthsShort : 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), + weekdays : 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'), + weekdaysShort : 'sun_mán_þri_mið_fim_fös_lau'.split('_'), + weekdaysMin : 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY [kl.] H:mm', + LLLL : 'dddd, D. MMMM YYYY [kl.] H:mm' + }, + calendar : { + sameDay : '[í dag kl.] LT', + nextDay : '[á morgun kl.] LT', + nextWeek : 'dddd [kl.] LT', + lastDay : '[í gær kl.] LT', + lastWeek : '[síðasta] dddd [kl.] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'eftir %s', + past : 'fyrir %s síðan', + s : translate, + m : translate, + mm : translate, + h : 'klukkustund', + hh : translate, + d : translate, + dd : translate, + M : translate, + MM : translate, + y : translate, + yy : translate + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return is; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/is.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/is.min.js new file mode 100644 index 0000000000000000000000000000000000000000..feac2ed8baaa4025700ca1a6ef363a20ded2fc18 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/is.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a){return a%100===11||a%10!==1}function c(a,c,d,e){var f=a+" ";switch(d){case"s":return c||e?"nokkrar sekúndur":"nokkrum sekúndum";case"m":return c?"mínúta":"mínútu";case"mm":return b(a)?f+(c||e?"mínútur":"mínútum"):c?f+"mínúta":f+"mínútu";case"hh":return b(a)?f+(c||e?"klukkustundir":"klukkustundum"):f+"klukkustund";case"d":return c?"dagur":e?"dag":"degi";case"dd":return b(a)?c?f+"dagar":f+(e?"daga":"dögum"):c?f+"dagur":f+(e?"dag":"degi");case"M":return c?"mánuður":e?"mánuð":"mánuði";case"MM":return b(a)?c?f+"mánuðir":f+(e?"mánuði":"mánuðum"):c?f+"mánuður":f+(e?"mánuð":"mánuði");case"y":return c||e?"ár":"ári";case"yy":return b(a)?f+(c||e?"ár":"árum"):f+(c||e?"ár":"ári")}}var d=a.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:c,m:c,mm:c,h:"klukkustund",hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/it.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/it.js new file mode 100644 index 0000000000000000000000000000000000000000..35d44ccacd8c81f24ab3028c8c6e66f04924f1ce --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/it.js @@ -0,0 +1,70 @@ +//! moment.js locale configuration +//! locale : Italian [it] +//! author : Lorenzo : https://github.com/aliem +//! author: Mattia Larentis: https://github.com/nostalgiaz + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var it = moment.defineLocale('it', { + months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), + monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), + weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'), + weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'), + weekdaysMin : 'Do_Lu_Ma_Me_Gi_Ve_Sa'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[Oggi alle] LT', + nextDay: '[Domani alle] LT', + nextWeek: 'dddd [alle] LT', + lastDay: '[Ieri alle] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[la scorsa] dddd [alle] LT'; + default: + return '[lo scorso] dddd [alle] LT'; + } + }, + sameElse: 'L' + }, + relativeTime : { + future : function (s) { + return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s; + }, + past : '%s fa', + s : 'alcuni secondi', + m : 'un minuto', + mm : '%d minuti', + h : 'un\'ora', + hh : '%d ore', + d : 'un giorno', + dd : '%d giorni', + M : 'un mese', + MM : '%d mesi', + y : 'un anno', + yy : '%d anni' + }, + ordinalParse : /\d{1,2}º/, + ordinal: '%dº', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return it; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/it.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/it.min.js new file mode 100644 index 0000000000000000000000000000000000000000..6f5a5bc476f86fec6cd2b02558ce465f1b999fe0 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/it.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),weekdaysShort:"Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),weekdaysMin:"Do_Lu_Ma_Me_Gi_Ve_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(a){return(/^[0-9].+$/.test(a)?"tra":"in")+" "+a},past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ja.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ja.js new file mode 100644 index 0000000000000000000000000000000000000000..adea3597c2a29367a53520c423bf8e3c10ed56a9 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ja.js @@ -0,0 +1,76 @@ +//! moment.js locale configuration +//! locale : Japanese [ja] +//! author : LI Long : https://github.com/baryon + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var ja = moment.defineLocale('ja', { + months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), + weekdaysShort : '日_月_火_水_木_金_土'.split('_'), + weekdaysMin : '日_月_火_水_木_金_土'.split('_'), + longDateFormat : { + LT : 'Ah時m分', + LTS : 'Ah時m分s秒', + L : 'YYYY/MM/DD', + LL : 'YYYY年M月D日', + LLL : 'YYYY年M月D日Ah時m分', + LLLL : 'YYYY年M月D日Ah時m分 dddd' + }, + meridiemParse: /午前|午後/i, + isPM : function (input) { + return input === '午後'; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return '午前'; + } else { + return '午後'; + } + }, + calendar : { + sameDay : '[今日] LT', + nextDay : '[明日] LT', + nextWeek : '[来週]dddd LT', + lastDay : '[昨日] LT', + lastWeek : '[前週]dddd LT', + sameElse : 'L' + }, + ordinalParse : /\d{1,2}日/, + ordinal : function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + default: + return number; + } + }, + relativeTime : { + future : '%s後', + past : '%s前', + s : '数秒', + m : '1分', + mm : '%d分', + h : '1時間', + hh : '%d時間', + d : '1日', + dd : '%d日', + M : '1ヶ月', + MM : '%dヶ月', + y : '1年', + yy : '%d年' + } + }); + + return ja; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ja.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ja.min.js new file mode 100644 index 0000000000000000000000000000000000000000..ffd8fa0cb8c0e47bf1112583dae5daf257a6f88a --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ja.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ja",{months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"Ah時m分",LTS:"Ah時m分s秒",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時m分",LLLL:"YYYY年M月D日Ah時m分 dddd"},meridiemParse:/午前|午後/i,isPM:function(a){return"午後"===a},meridiem:function(a,b,c){return a<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:"[来週]dddd LT",lastDay:"[昨日] LT",lastWeek:"[前週]dddd LT",sameElse:"L"},ordinalParse:/\d{1,2}日/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";default:return a}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/jv.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/jv.js new file mode 100644 index 0000000000000000000000000000000000000000..c58e0768abc55e806183c462dcdea77b604452dc --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/jv.js @@ -0,0 +1,83 @@ +//! moment.js locale configuration +//! locale : Japanese [jv] +//! author : Rony Lantip : https://github.com/lantip +//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var jv = moment.defineLocale('jv', { + months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'), + monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), + weekdays : 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), + weekdaysShort : 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), + weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), + longDateFormat : { + LT : 'HH.mm', + LTS : 'HH.mm.ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY [pukul] HH.mm', + LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + meridiemParse: /enjing|siyang|sonten|ndalu/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'enjing') { + return hour; + } else if (meridiem === 'siyang') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'sonten' || meridiem === 'ndalu') { + return hour + 12; + } + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 11) { + return 'enjing'; + } else if (hours < 15) { + return 'siyang'; + } else if (hours < 19) { + return 'sonten'; + } else { + return 'ndalu'; + } + }, + calendar : { + sameDay : '[Dinten puniko pukul] LT', + nextDay : '[Mbenjang pukul] LT', + nextWeek : 'dddd [pukul] LT', + lastDay : '[Kala wingi pukul] LT', + lastWeek : 'dddd [kepengker pukul] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'wonten ing %s', + past : '%s ingkang kepengker', + s : 'sawetawis detik', + m : 'setunggal menit', + mm : '%d menit', + h : 'setunggal jam', + hh : '%d jam', + d : 'sedinten', + dd : '%d dinten', + M : 'sewulan', + MM : '%d wulan', + y : 'setaun', + yy : '%d taun' + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return jv; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/jv.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/jv.min.js new file mode 100644 index 0000000000000000000000000000000000000000..6e4f62e238ff0814b2ed07aff56ae61cebdf192f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/jv.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(a,b){return 12===a&&(a=0),"enjing"===b?a:"siyang"===b?a>=11?a:a+12:"sonten"===b||"ndalu"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"enjing":a<15?"siyang":a<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ka.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ka.js new file mode 100644 index 0000000000000000000000000000000000000000..b9faf683440d4f9728219fa8a0c900617f46566d --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ka.js @@ -0,0 +1,89 @@ +//! moment.js locale configuration +//! locale : Georgian [ka] +//! author : Irakli Janiashvili : https://github.com/irakli-janiashvili + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var ka = moment.defineLocale('ka', { + months : { + standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'), + format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_') + }, + monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'), + weekdays : { + standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'), + format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'), + isFormat: /(წინა|შემდეგ)/ + }, + weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), + weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'), + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY h:mm A', + LLLL : 'dddd, D MMMM YYYY h:mm A' + }, + calendar : { + sameDay : '[დღეს] LT[-ზე]', + nextDay : '[ხვალ] LT[-ზე]', + lastDay : '[გუშინ] LT[-ზე]', + nextWeek : '[შემდეგ] dddd LT[-ზე]', + lastWeek : '[წინა] dddd LT-ზე', + sameElse : 'L' + }, + relativeTime : { + future : function (s) { + return (/(წამი|წუთი|საათი|წელი)/).test(s) ? + s.replace(/ი$/, 'ში') : + s + 'ში'; + }, + past : function (s) { + if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) { + return s.replace(/(ი|ე)$/, 'ის წინ'); + } + if ((/წელი/).test(s)) { + return s.replace(/წელი$/, 'წლის წინ'); + } + }, + s : 'რამდენიმე წამი', + m : 'წუთი', + mm : '%d წუთი', + h : 'საათი', + hh : '%d საათი', + d : 'დღე', + dd : '%d დღე', + M : 'თვე', + MM : '%d თვე', + y : 'წელი', + yy : '%d წელი' + }, + ordinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/, + ordinal : function (number) { + if (number === 0) { + return number; + } + if (number === 1) { + return number + '-ლი'; + } + if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) { + return 'მე-' + number; + } + return number + '-ე'; + }, + week : { + dow : 1, + doy : 7 + } + }); + + return ka; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ka.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ka.min.js new file mode 100644 index 0000000000000000000000000000000000000000..19e6e0af6c46a4e7c6efbcc733d04393a31c98c8 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ka.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ka",{months:{standalone:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),format:"იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს".split("_")},monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(a){return/(წამი|წუთი|საათი|წელი)/.test(a)?a.replace(/ი$/,"ში"):a+"ში"},past:function(a){return/(წამი|წუთი|საათი|დღე|თვე)/.test(a)?a.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(a)?a.replace(/წელი$/,"წლის წინ"):void 0},s:"რამდენიმე წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},ordinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(a){return 0===a?a:1===a?a+"-ლი":a<20||a<=100&&a%20===0||a%100===0?"მე-"+a:a+"-ე"},week:{dow:1,doy:7}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/kk.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/kk.js new file mode 100644 index 0000000000000000000000000000000000000000..270106f156b6ccf1a1dc6bb026395a38f0fcb10f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/kk.js @@ -0,0 +1,87 @@ +//! moment.js locale configuration +//! locale : Kazakh [kk] +//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var suffixes = { + 0: '-ші', + 1: '-ші', + 2: '-ші', + 3: '-ші', + 4: '-ші', + 5: '-ші', + 6: '-шы', + 7: '-ші', + 8: '-ші', + 9: '-шы', + 10: '-шы', + 20: '-шы', + 30: '-шы', + 40: '-шы', + 50: '-ші', + 60: '-шы', + 70: '-ші', + 80: '-ші', + 90: '-шы', + 100: '-ші' + }; + + var kk = moment.defineLocale('kk', { + months : 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'), + monthsShort : 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'), + weekdays : 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'), + weekdaysShort : 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'), + weekdaysMin : 'жк_дй_сй_ср_бй_жм_сн'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Бүгін сағат] LT', + nextDay : '[Ертең сағат] LT', + nextWeek : 'dddd [сағат] LT', + lastDay : '[Кеше сағат] LT', + lastWeek : '[Өткен аптаның] dddd [сағат] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s ішінде', + past : '%s бұрын', + s : 'бірнеше секунд', + m : 'бір минут', + mm : '%d минут', + h : 'бір сағат', + hh : '%d сағат', + d : 'бір күн', + dd : '%d күн', + M : 'бір ай', + MM : '%d ай', + y : 'бір жыл', + yy : '%d жыл' + }, + ordinalParse: /\d{1,2}-(ші|шы)/, + ordinal : function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes[number] || suffixes[a] || suffixes[b]); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return kk; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/kk.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/kk.min.js new file mode 100644 index 0000000000000000000000000000000000000000..da0df3a321b3d3b80fb08f7e78471487f7424521 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/kk.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},c=a.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(a){var c=a%10,d=a>=100?100:null;return a+(b[a]||b[c]||b[d])},week:{dow:1,doy:7}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/km.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/km.js new file mode 100644 index 0000000000000000000000000000000000000000..cbfe31df795d6561e27a593d3b9e7c7e465b438b --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/km.js @@ -0,0 +1,58 @@ +//! moment.js locale configuration +//! locale : Cambodian [km] +//! author : Kruy Vanna : https://github.com/kruyvanna + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var km = moment.defineLocale('km', { + months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), + monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), + weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + weekdaysShort: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + weekdaysMin: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS : 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd, D MMMM YYYY HH:mm' + }, + calendar: { + sameDay: '[ថ្ងៃនេះ ម៉ោង] LT', + nextDay: '[ស្អែក ម៉ោង] LT', + nextWeek: 'dddd [ម៉ោង] LT', + lastDay: '[ម្សិលមិញ ម៉ោង] LT', + lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT', + sameElse: 'L' + }, + relativeTime: { + future: '%sទៀត', + past: '%sមុន', + s: 'ប៉ុន្មានវិនាទី', + m: 'មួយនាទី', + mm: '%d នាទី', + h: 'មួយម៉ោង', + hh: '%d ម៉ោង', + d: 'មួយថ្ងៃ', + dd: '%d ថ្ងៃ', + M: 'មួយខែ', + MM: '%d ខែ', + y: 'មួយឆ្នាំ', + yy: '%d ឆ្នាំ' + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return km; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/km.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/km.min.js new file mode 100644 index 0000000000000000000000000000000000000000..ddfae46ac6d512614a1747f4f896593d31b52a50 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/km.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysMin:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ko.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ko.js new file mode 100644 index 0000000000000000000000000000000000000000..4f067e841b4cb4780ecd2c9aceb989bb2a9e1d98 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ko.js @@ -0,0 +1,65 @@ +//! moment.js locale configuration +//! locale : Korean [ko] +//! author : Kyungwook, Park : https://github.com/kyungw00k +//! author : Jeeeyul Lee <jeeeyul@gmail.com> + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var ko = moment.defineLocale('ko', { + months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), + monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), + weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'), + weekdaysShort : '일_월_화_수_목_금_토'.split('_'), + weekdaysMin : '일_월_화_수_목_금_토'.split('_'), + longDateFormat : { + LT : 'A h시 m분', + LTS : 'A h시 m분 s초', + L : 'YYYY.MM.DD', + LL : 'YYYY년 MMMM D일', + LLL : 'YYYY년 MMMM D일 A h시 m분', + LLLL : 'YYYY년 MMMM D일 dddd A h시 m분' + }, + calendar : { + sameDay : '오늘 LT', + nextDay : '내일 LT', + nextWeek : 'dddd LT', + lastDay : '어제 LT', + lastWeek : '지난주 dddd LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s 후', + past : '%s 전', + s : '몇 초', + ss : '%d초', + m : '일분', + mm : '%d분', + h : '한 시간', + hh : '%d시간', + d : '하루', + dd : '%d일', + M : '한 달', + MM : '%d달', + y : '일 년', + yy : '%d년' + }, + ordinalParse : /\d{1,2}일/, + ordinal : '%d일', + meridiemParse : /오전|오후/, + isPM : function (token) { + return token === '오후'; + }, + meridiem : function (hour, minute, isUpper) { + return hour < 12 ? '오전' : '오후'; + } + }); + + return ko; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ko.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ko.min.js new file mode 100644 index 0000000000000000000000000000000000000000..d3a2fa7be3e971432240d942886bc7cb08099a7e --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ko.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h시 m분",LTS:"A h시 m분 s초",L:"YYYY.MM.DD",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h시 m분",LLLL:"YYYY년 MMMM D일 dddd A h시 m분"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"일분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},ordinalParse:/\d{1,2}일/,ordinal:"%d일",meridiemParse:/오전|오후/,isPM:function(a){return"오후"===a},meridiem:function(a,b,c){return a<12?"오전":"오후"}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ky.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ky.js new file mode 100644 index 0000000000000000000000000000000000000000..eaffed1001d396f0b5c7bab885120f795c2397ef --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ky.js @@ -0,0 +1,88 @@ +//! moment.js locale configuration +//! locale : Kyrgyz [ky] +//! author : Chyngyz Arystan uulu : https://github.com/chyngyz + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + + var suffixes = { + 0: '-чү', + 1: '-чи', + 2: '-чи', + 3: '-чү', + 4: '-чү', + 5: '-чи', + 6: '-чы', + 7: '-чи', + 8: '-чи', + 9: '-чу', + 10: '-чу', + 20: '-чы', + 30: '-чу', + 40: '-чы', + 50: '-чү', + 60: '-чы', + 70: '-чи', + 80: '-чи', + 90: '-чу', + 100: '-чү' + }; + + var ky = moment.defineLocale('ky', { + months : 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'), + monthsShort : 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'), + weekdays : 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'), + weekdaysShort : 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'), + weekdaysMin : 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Бүгүн саат] LT', + nextDay : '[Эртең саат] LT', + nextWeek : 'dddd [саат] LT', + lastDay : '[Кече саат] LT', + lastWeek : '[Өткен аптанын] dddd [күнү] [саат] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s ичинде', + past : '%s мурун', + s : 'бирнече секунд', + m : 'бир мүнөт', + mm : '%d мүнөт', + h : 'бир саат', + hh : '%d саат', + d : 'бир күн', + dd : '%d күн', + M : 'бир ай', + MM : '%d ай', + y : 'бир жыл', + yy : '%d жыл' + }, + ordinalParse: /\d{1,2}-(чи|чы|чү|чу)/, + ordinal : function (number) { + var a = number % 10, + b = number >= 100 ? 100 : null; + return number + (suffixes[number] || suffixes[a] || suffixes[b]); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return ky; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ky.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ky.min.js new file mode 100644 index 0000000000000000000000000000000000000000..14ccb17235426d8c688cbf6223fd4b3c9b19e765 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ky.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},c=a.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кече саат] LT",lastWeek:"[Өткен аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},ordinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(a){var c=a%10,d=a>=100?100:null;return a+(b[a]||b[c]||b[d])},week:{dow:1,doy:7}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lb.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lb.js new file mode 100644 index 0000000000000000000000000000000000000000..83bde2bf956be417f10d214f934a98df754062e5 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lb.js @@ -0,0 +1,137 @@ +//! moment.js locale configuration +//! locale : Luxembourgish [lb] +//! author : mweimerskirch : https://github.com/mweimerskirch +//! author : David Raison : https://github.com/kwisatz + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + 'm': ['eng Minutt', 'enger Minutt'], + 'h': ['eng Stonn', 'enger Stonn'], + 'd': ['een Dag', 'engem Dag'], + 'M': ['ee Mount', 'engem Mount'], + 'y': ['ee Joer', 'engem Joer'] + }; + return withoutSuffix ? format[key][0] : format[key][1]; + } + function processFutureTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'a ' + string; + } + return 'an ' + string; + } + function processPastTime(string) { + var number = string.substr(0, string.indexOf(' ')); + if (eifelerRegelAppliesToNumber(number)) { + return 'viru ' + string; + } + return 'virun ' + string; + } + /** + * Returns true if the word before the given number loses the '-n' ending. + * e.g. 'an 10 Deeg' but 'a 5 Deeg' + * + * @param number {integer} + * @returns {boolean} + */ + function eifelerRegelAppliesToNumber(number) { + number = parseInt(number, 10); + if (isNaN(number)) { + return false; + } + if (number < 0) { + // Negative Number --> always true + return true; + } else if (number < 10) { + // Only 1 digit + if (4 <= number && number <= 7) { + return true; + } + return false; + } else if (number < 100) { + // 2 digits + var lastDigit = number % 10, firstDigit = number / 10; + if (lastDigit === 0) { + return eifelerRegelAppliesToNumber(firstDigit); + } + return eifelerRegelAppliesToNumber(lastDigit); + } else if (number < 10000) { + // 3 or 4 digits --> recursively check first digit + while (number >= 10) { + number = number / 10; + } + return eifelerRegelAppliesToNumber(number); + } else { + // Anything larger than 4 digits: recursively check first n-3 digits + number = number / 1000; + return eifelerRegelAppliesToNumber(number); + } + } + + var lb = moment.defineLocale('lb', { + months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), + monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), + monthsParseExact : true, + weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'), + weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), + weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), + weekdaysParseExact : true, + longDateFormat: { + LT: 'H:mm [Auer]', + LTS: 'H:mm:ss [Auer]', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm [Auer]', + LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]' + }, + calendar: { + sameDay: '[Haut um] LT', + sameElse: 'L', + nextDay: '[Muer um] LT', + nextWeek: 'dddd [um] LT', + lastDay: '[Gëschter um] LT', + lastWeek: function () { + // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule + switch (this.day()) { + case 2: + case 4: + return '[Leschten] dddd [um] LT'; + default: + return '[Leschte] dddd [um] LT'; + } + } + }, + relativeTime : { + future : processFutureTime, + past : processPastTime, + s : 'e puer Sekonnen', + m : processRelativeTime, + mm : '%d Minutten', + h : processRelativeTime, + hh : '%d Stonnen', + d : processRelativeTime, + dd : '%d Deeg', + M : processRelativeTime, + MM : '%d Méint', + y : processRelativeTime, + yy : '%d Joer' + }, + ordinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return lb; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lb.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lb.min.js new file mode 100644 index 0000000000000000000000000000000000000000..ee285d20e0302d42d282f0af8fe008ec035742de --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lb.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return b?e[c][0]:e[c][1]}function c(a){var b=a.substr(0,a.indexOf(" "));return e(b)?"a "+a:"an "+a}function d(a){var b=a.substr(0,a.indexOf(" "));return e(b)?"viru "+a:"virun "+a}function e(a){if(a=parseInt(a,10),isNaN(a))return!1;if(a<0)return!0;if(a<10)return 4<=a&&a<=7;if(a<100){var b=a%10,c=a/10;return e(0===b?c:b)}if(a<1e4){for(;a>=10;)a/=10;return e(a)}return a/=1e3,e(a)}var f=a.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:c,past:d,s:"e puer Sekonnen",m:b,mm:"%d Minutten",h:b,hh:"%d Stonnen",d:b,dd:"%d Deeg",M:b,MM:"%d Méint",y:b,yy:"%d Joer"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return f}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lo.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lo.js new file mode 100644 index 0000000000000000000000000000000000000000..689a183066679eafaa0388ee929dc59ee1ae4c08 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lo.js @@ -0,0 +1,70 @@ +//! moment.js locale configuration +//! locale : Lao [lo] +//! author : Ryan Hart : https://github.com/ryanhart2 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var lo = moment.defineLocale('lo', { + months : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), + monthsShort : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), + weekdays : 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysShort : 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), + weekdaysMin : 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'ວັນdddd D MMMM YYYY HH:mm' + }, + meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/, + isPM: function (input) { + return input === 'ຕອນແລງ'; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'ຕອນເຊົ້າ'; + } else { + return 'ຕອນແລງ'; + } + }, + calendar : { + sameDay : '[ມື້ນີ້ເວລາ] LT', + nextDay : '[ມື້ອື່ນເວລາ] LT', + nextWeek : '[ວັນ]dddd[ໜ້າເວລາ] LT', + lastDay : '[ມື້ວານນີ້ເວລາ] LT', + lastWeek : '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'ອີກ %s', + past : '%sຜ່ານມາ', + s : 'ບໍ່ເທົ່າໃດວິນາທີ', + m : '1 ນາທີ', + mm : '%d ນາທີ', + h : '1 ຊົ່ວໂມງ', + hh : '%d ຊົ່ວໂມງ', + d : '1 ມື້', + dd : '%d ມື້', + M : '1 ເດືອນ', + MM : '%d ເດືອນ', + y : '1 ປີ', + yy : '%d ປີ' + }, + ordinalParse: /(ທີ່)\d{1,2}/, + ordinal : function (number) { + return 'ທີ່' + number; + } + }); + + return lo; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lo.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lo.min.js new file mode 100644 index 0000000000000000000000000000000000000000..af446fa85e3cdf718d3ecc234f6ac29b4953330a --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lo.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(a){return"ຕອນແລງ"===a},meridiem:function(a,b,c){return a<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},ordinalParse:/(ທີ່)\d{1,2}/,ordinal:function(a){return"ທີ່"+a}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lt.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lt.js new file mode 100644 index 0000000000000000000000000000000000000000..2bb9a36d83dcca777318e08b64baac089705b196 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lt.js @@ -0,0 +1,117 @@ +//! moment.js locale configuration +//! locale : Lithuanian [lt] +//! author : Mindaugas Mozūras : https://github.com/mmozuras + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var units = { + 'm' : 'minutė_minutės_minutę', + 'mm': 'minutės_minučių_minutes', + 'h' : 'valanda_valandos_valandą', + 'hh': 'valandos_valandų_valandas', + 'd' : 'diena_dienos_dieną', + 'dd': 'dienos_dienų_dienas', + 'M' : 'mėnuo_mėnesio_mėnesį', + 'MM': 'mėnesiai_mėnesių_mėnesius', + 'y' : 'metai_metų_metus', + 'yy': 'metai_metų_metus' + }; + function translateSeconds(number, withoutSuffix, key, isFuture) { + if (withoutSuffix) { + return 'kelios sekundės'; + } else { + return isFuture ? 'kelių sekundžių' : 'kelias sekundes'; + } + } + function translateSingular(number, withoutSuffix, key, isFuture) { + return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]); + } + function special(number) { + return number % 10 === 0 || (number > 10 && number < 20); + } + function forms(key) { + return units[key].split('_'); + } + function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + if (number === 1) { + return result + translateSingular(number, withoutSuffix, key[0], isFuture); + } else if (withoutSuffix) { + return result + (special(number) ? forms(key)[1] : forms(key)[0]); + } else { + if (isFuture) { + return result + forms(key)[1]; + } else { + return result + (special(number) ? forms(key)[1] : forms(key)[2]); + } + } + } + var lt = moment.defineLocale('lt', { + months : { + format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'), + standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'), + isFormat: /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?|MMMM?(\[[^\[\]]*\]|\s+)+D[oD]?/ + }, + monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), + weekdays : { + format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'), + standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'), + isFormat: /dddd HH:mm/ + }, + weekdaysShort : 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'), + weekdaysMin : 'S_P_A_T_K_Pn_Š'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY-MM-DD', + LL : 'YYYY [m.] MMMM D [d.]', + LLL : 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + LLLL : 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', + l : 'YYYY-MM-DD', + ll : 'YYYY [m.] MMMM D [d.]', + lll : 'YYYY [m.] MMMM D [d.], HH:mm [val.]', + llll : 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]' + }, + calendar : { + sameDay : '[Šiandien] LT', + nextDay : '[Rytoj] LT', + nextWeek : 'dddd LT', + lastDay : '[Vakar] LT', + lastWeek : '[Praėjusį] dddd LT', + sameElse : 'L' + }, + relativeTime : { + future : 'po %s', + past : 'prieš %s', + s : translateSeconds, + m : translateSingular, + mm : translate, + h : translateSingular, + hh : translate, + d : translateSingular, + dd : translate, + M : translateSingular, + MM : translate, + y : translateSingular, + yy : translate + }, + ordinalParse: /\d{1,2}-oji/, + ordinal : function (number) { + return number + '-oji'; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return lt; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lt.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lt.min.js new file mode 100644 index 0000000000000000000000000000000000000000..09611b01119090eab480b25531afdf17a861403c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lt.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){return b?"kelios sekundės":d?"kelių sekundžių":"kelias sekundes"}function c(a,b,c,d){return b?e(c)[0]:d?e(c)[1]:e(c)[2]}function d(a){return a%10===0||a>10&&a<20}function e(a){return g[a].split("_")}function f(a,b,f,g){var h=a+" ";return 1===a?h+c(a,b,f[0],g):b?h+(d(a)?e(f)[1]:e(f)[0]):g?h+e(f)[1]:h+(d(a)?e(f)[1]:e(f)[2])}var g={m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"},h=a.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?|MMMM?(\[[^\[\]]*\]|\s+)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:b,m:c,mm:f,h:c,hh:f,d:c,dd:f,M:c,MM:f,y:c,yy:f},ordinalParse:/\d{1,2}-oji/,ordinal:function(a){return a+"-oji"},week:{dow:1,doy:4}});return h}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lv.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lv.js new file mode 100644 index 0000000000000000000000000000000000000000..780be13986b02d2d880513e8168d977729edb117 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lv.js @@ -0,0 +1,97 @@ +//! moment.js locale configuration +//! locale : Latvian [lv] +//! author : Kristaps Karlsons : https://github.com/skakri +//! author : Jānis Elmeris : https://github.com/JanisE + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var units = { + 'm': 'minūtes_minūtēm_minūte_minūtes'.split('_'), + 'mm': 'minūtes_minūtēm_minūte_minūtes'.split('_'), + 'h': 'stundas_stundām_stunda_stundas'.split('_'), + 'hh': 'stundas_stundām_stunda_stundas'.split('_'), + 'd': 'dienas_dienām_diena_dienas'.split('_'), + 'dd': 'dienas_dienām_diena_dienas'.split('_'), + 'M': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + 'MM': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), + 'y': 'gada_gadiem_gads_gadi'.split('_'), + 'yy': 'gada_gadiem_gads_gadi'.split('_') + }; + /** + * @param withoutSuffix boolean true = a length of time; false = before/after a period of time. + */ + function format(forms, number, withoutSuffix) { + if (withoutSuffix) { + // E.g. "21 minūte", "3 minūtes". + return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3]; + } else { + // E.g. "21 minūtes" as in "pēc 21 minūtes". + // E.g. "3 minūtēm" as in "pēc 3 minūtēm". + return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1]; + } + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + return number + ' ' + format(units[key], number, withoutSuffix); + } + function relativeTimeWithSingular(number, withoutSuffix, key) { + return format(units[key], number, withoutSuffix); + } + function relativeSeconds(number, withoutSuffix) { + return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm'; + } + + var lv = moment.defineLocale('lv', { + months : 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'), + monthsShort : 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'), + weekdays : 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'), + weekdaysShort : 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysMin : 'Sv_P_O_T_C_Pk_S'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY.', + LL : 'YYYY. [gada] D. MMMM', + LLL : 'YYYY. [gada] D. MMMM, HH:mm', + LLLL : 'YYYY. [gada] D. MMMM, dddd, HH:mm' + }, + calendar : { + sameDay : '[Šodien pulksten] LT', + nextDay : '[Rīt pulksten] LT', + nextWeek : 'dddd [pulksten] LT', + lastDay : '[Vakar pulksten] LT', + lastWeek : '[Pagājušā] dddd [pulksten] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'pēc %s', + past : 'pirms %s', + s : relativeSeconds, + m : relativeTimeWithSingular, + mm : relativeTimeWithPlural, + h : relativeTimeWithSingular, + hh : relativeTimeWithPlural, + d : relativeTimeWithSingular, + dd : relativeTimeWithPlural, + M : relativeTimeWithSingular, + MM : relativeTimeWithPlural, + y : relativeTimeWithSingular, + yy : relativeTimeWithPlural + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return lv; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lv.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lv.min.js new file mode 100644 index 0000000000000000000000000000000000000000..78024fda15764faf79f05591786a5952642530b2 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/lv.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c){return c?b%10===1&&b%100!==11?a[2]:a[3]:b%10===1&&b%100!==11?a[0]:a[1]}function c(a,c,d){return a+" "+b(f[d],a,c)}function d(a,c,d){return b(f[d],a,c)}function e(a,b){return b?"dažas sekundes":"dažām sekundēm"}var f={m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")},g=a.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:e,m:d,mm:c,h:d,hh:c,d:d,dd:c,M:d,MM:c,y:d,yy:c},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return g}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/me.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/me.js new file mode 100644 index 0000000000000000000000000000000000000000..0a7870b121d0b603036ff4a1b9878d1ed21c896d --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/me.js @@ -0,0 +1,111 @@ +//! moment.js locale configuration +//! locale : Montenegrin [me] +//! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var translator = { + words: { //Different grammatical cases + m: ['jedan minut', 'jednog minuta'], + mm: ['minut', 'minuta', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + dd: ['dan', 'dana', 'dana'], + MM: ['mjesec', 'mjeseca', 'mjeseci'], + yy: ['godina', 'godine', 'godina'] + }, + correctGrammaticalCase: function (number, wordKey) { + return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]); + }, + translate: function (number, withoutSuffix, key) { + var wordKey = translator.words[key]; + if (key.length === 1) { + return withoutSuffix ? wordKey[0] : wordKey[1]; + } else { + return number + ' ' + translator.correctGrammaticalCase(number, wordKey); + } + } + }; + + var me = moment.defineLocale('me', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'), + monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact : true, + weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), + weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact : true, + longDateFormat: { + LT: 'H:mm', + LTS : 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sjutra u] LT', + + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedjelju] [u] LT'; + case 3: + return '[u] [srijedu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay : '[juče u] LT', + lastWeek : function () { + var lastWeekDays = [ + '[prošle] [nedjelje] [u] LT', + '[prošlog] [ponedjeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srijede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT' + ]; + return lastWeekDays[this.day()]; + }, + sameElse : 'L' + }, + relativeTime : { + future : 'za %s', + past : 'prije %s', + s : 'nekoliko sekundi', + m : translator.translate, + mm : translator.translate, + h : translator.translate, + hh : translator.translate, + d : 'dan', + dd : translator.translate, + M : 'mjesec', + MM : translator.translate, + y : 'godinu', + yy : translator.translate + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return me; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/me.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/me.min.js new file mode 100644 index 0000000000000000000000000000000000000000..8d955d67c1d86be9a48357b644770f97cb64f5c4 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/me.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={words:{m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,c,d){var e=b.words[d];return 1===d.length?c?e[0]:e[1]:a+" "+b.correctGrammaticalCase(a,e)}},c=a.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var a=["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return a[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",m:b.translate,mm:b.translate,h:b.translate,hh:b.translate,d:"dan",dd:b.translate,M:"mjesec",MM:b.translate,y:"godinu",yy:b.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mi.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mi.js new file mode 100644 index 0000000000000000000000000000000000000000..850e4cda9422b3e36b4426f5725bacd5ef96af4d --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mi.js @@ -0,0 +1,64 @@ +//! moment.js locale configuration +//! locale : Maori [mi] +//! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var mi = moment.defineLocale('mi', { + months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split('_'), + monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'), + monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, + monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, + weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), + weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY [i] HH:mm', + LLLL: 'dddd, D MMMM YYYY [i] HH:mm' + }, + calendar: { + sameDay: '[i teie mahana, i] LT', + nextDay: '[apopo i] LT', + nextWeek: 'dddd [i] LT', + lastDay: '[inanahi i] LT', + lastWeek: 'dddd [whakamutunga i] LT', + sameElse: 'L' + }, + relativeTime: { + future: 'i roto i %s', + past: '%s i mua', + s: 'te hēkona ruarua', + m: 'he meneti', + mm: '%d meneti', + h: 'te haora', + hh: '%d haora', + d: 'he ra', + dd: '%d ra', + M: 'he marama', + MM: '%d marama', + y: 'he tau', + yy: '%d tau' + }, + ordinalParse: /\d{1,2}º/, + ordinal: '%dº', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return mi; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mi.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mi.min.js new file mode 100644 index 0000000000000000000000000000000000000000..a2eb5576e888a03a4198d316d7cef4c7e3a28116 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mi.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mk.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mk.js new file mode 100644 index 0000000000000000000000000000000000000000..88413ace21c4ff9cdcd80a131714c1f9bd61bf29 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mk.js @@ -0,0 +1,90 @@ +//! moment.js locale configuration +//! locale : Macedonian [mk] +//! author : Borislav Mickov : https://github.com/B0k0 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var mk = moment.defineLocale('mk', { + months : 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'), + monthsShort : 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'), + weekdays : 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'), + weekdaysShort : 'нед_пон_вто_сре_чет_пет_саб'.split('_'), + weekdaysMin : 'нe_пo_вт_ср_че_пе_сa'.split('_'), + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'D.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY H:mm', + LLLL : 'dddd, D MMMM YYYY H:mm' + }, + calendar : { + sameDay : '[Денес во] LT', + nextDay : '[Утре во] LT', + nextWeek : '[Во] dddd [во] LT', + lastDay : '[Вчера во] LT', + lastWeek : function () { + switch (this.day()) { + case 0: + case 3: + case 6: + return '[Изминатата] dddd [во] LT'; + case 1: + case 2: + case 4: + case 5: + return '[Изминатиот] dddd [во] LT'; + } + }, + sameElse : 'L' + }, + relativeTime : { + future : 'после %s', + past : 'пред %s', + s : 'неколку секунди', + m : 'минута', + mm : '%d минути', + h : 'час', + hh : '%d часа', + d : 'ден', + dd : '%d дена', + M : 'месец', + MM : '%d месеци', + y : 'година', + yy : '%d години' + }, + ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, + ordinal : function (number) { + var lastDigit = number % 10, + last2Digits = number % 100; + if (number === 0) { + return number + '-ев'; + } else if (last2Digits === 0) { + return number + '-ен'; + } else if (last2Digits > 10 && last2Digits < 20) { + return number + '-ти'; + } else if (lastDigit === 1) { + return number + '-ви'; + } else if (lastDigit === 2) { + return number + '-ри'; + } else if (lastDigit === 7 || lastDigit === 8) { + return number + '-ми'; + } else { + return number + '-ти'; + } + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return mk; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mk.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mk.min.js new file mode 100644 index 0000000000000000000000000000000000000000..1e9112a4db2cd45e567b971825b9e324d3de749c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mk.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"},ordinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(a){var b=a%10,c=a%100;return 0===a?a+"-ев":0===c?a+"-ен":c>10&&c<20?a+"-ти":1===b?a+"-ви":2===b?a+"-ри":7===b||8===b?a+"-ми":a+"-ти"},week:{dow:1,doy:7}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ml.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ml.js new file mode 100644 index 0000000000000000000000000000000000000000..487b37a63884dca5c5914377760bcc5c7f70e828 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ml.js @@ -0,0 +1,81 @@ +//! moment.js locale configuration +//! locale : Malayalam [ml] +//! author : Floyd Pink : https://github.com/floydpink + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var ml = moment.defineLocale('ml', { + months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'), + monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'), + monthsParseExact : true, + weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'), + weekdaysShort : 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), + weekdaysMin : 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), + longDateFormat : { + LT : 'A h:mm -നു', + LTS : 'A h:mm:ss -നു', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm -നു', + LLLL : 'dddd, D MMMM YYYY, A h:mm -നു' + }, + calendar : { + sameDay : '[ഇന്ന്] LT', + nextDay : '[നാളെ] LT', + nextWeek : 'dddd, LT', + lastDay : '[ഇന്നലെ] LT', + lastWeek : '[കഴിഞ്ഞ] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s കഴിഞ്ഞ്', + past : '%s മുൻപ്', + s : 'അൽപ നിമിഷങ്ങൾ', + m : 'ഒരു മിനിറ്റ്', + mm : '%d മിനിറ്റ്', + h : 'ഒരു മണിക്കൂർ', + hh : '%d മണിക്കൂർ', + d : 'ഒരു ദിവസം', + dd : '%d ദിവസം', + M : 'ഒരു മാസം', + MM : '%d മാസം', + y : 'ഒരു വർഷം', + yy : '%d വർഷം' + }, + meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ((meridiem === 'രാത്രി' && hour >= 4) || + meridiem === 'ഉച്ച കഴിഞ്ഞ്' || + meridiem === 'വൈകുന്നേരം') { + return hour + 12; + } else { + return hour; + } + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'രാത്രി'; + } else if (hour < 12) { + return 'രാവിലെ'; + } else if (hour < 17) { + return 'ഉച്ച കഴിഞ്ഞ്'; + } else if (hour < 20) { + return 'വൈകുന്നേരം'; + } else { + return 'രാത്രി'; + } + } + }); + + return ml; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ml.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ml.min.js new file mode 100644 index 0000000000000000000000000000000000000000..a9577ff4e159fc4ab89237001553ff98a2b17e6f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ml.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(a,b){return 12===a&&(a=0),"രാത്രി"===b&&a>=4||"ഉച്ച കഴിഞ്ഞ്"===b||"വൈകുന്നേരം"===b?a+12:a},meridiem:function(a,b,c){return a<4?"രാത്രി":a<12?"രാവിലെ":a<17?"ഉച്ച കഴിഞ്ഞ്":a<20?"വൈകുന്നേരം":"രാത്രി"}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mr.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mr.js new file mode 100644 index 0000000000000000000000000000000000000000..fc388b013728ca742435429637536cbd33393f3b --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mr.js @@ -0,0 +1,159 @@ +//! moment.js locale configuration +//! locale : Marathi [mr] +//! author : Harshad Kale : https://github.com/kalehv +//! author : Vivek Athalye : https://github.com/vnathalye + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var symbolMap = { + '1': '१', + '2': '२', + '3': '३', + '4': '४', + '5': '५', + '6': '६', + '7': '७', + '8': '८', + '9': '९', + '0': '०' + }, + numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0' + }; + + function relativeTimeMr(number, withoutSuffix, string, isFuture) + { + var output = ''; + if (withoutSuffix) { + switch (string) { + case 's': output = 'काही सेकंद'; break; + case 'm': output = 'एक मिनिट'; break; + case 'mm': output = '%d मिनिटे'; break; + case 'h': output = 'एक तास'; break; + case 'hh': output = '%d तास'; break; + case 'd': output = 'एक दिवस'; break; + case 'dd': output = '%d दिवस'; break; + case 'M': output = 'एक महिना'; break; + case 'MM': output = '%d महिने'; break; + case 'y': output = 'एक वर्ष'; break; + case 'yy': output = '%d वर्षे'; break; + } + } + else { + switch (string) { + case 's': output = 'काही सेकंदां'; break; + case 'm': output = 'एका मिनिटा'; break; + case 'mm': output = '%d मिनिटां'; break; + case 'h': output = 'एका तासा'; break; + case 'hh': output = '%d तासां'; break; + case 'd': output = 'एका दिवसा'; break; + case 'dd': output = '%d दिवसां'; break; + case 'M': output = 'एका महिन्या'; break; + case 'MM': output = '%d महिन्यां'; break; + case 'y': output = 'एका वर्षा'; break; + case 'yy': output = '%d वर्षां'; break; + } + } + return output.replace(/%d/i, number); + } + + var mr = moment.defineLocale('mr', { + months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'), + monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'), + monthsParseExact : true, + weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), + weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'), + weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'), + longDateFormat : { + LT : 'A h:mm वाजता', + LTS : 'A h:mm:ss वाजता', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm वाजता', + LLLL : 'dddd, D MMMM YYYY, A h:mm वाजता' + }, + calendar : { + sameDay : '[आज] LT', + nextDay : '[उद्या] LT', + nextWeek : 'dddd, LT', + lastDay : '[काल] LT', + lastWeek: '[मागील] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future: '%sमध्ये', + past: '%sपूर्वी', + s: relativeTimeMr, + m: relativeTimeMr, + mm: relativeTimeMr, + h: relativeTimeMr, + hh: relativeTimeMr, + d: relativeTimeMr, + dd: relativeTimeMr, + M: relativeTimeMr, + MM: relativeTimeMr, + y: relativeTimeMr, + yy: relativeTimeMr + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'रात्री') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'सकाळी') { + return hour; + } else if (meridiem === 'दुपारी') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'सायंकाळी') { + return hour + 12; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'रात्री'; + } else if (hour < 10) { + return 'सकाळी'; + } else if (hour < 17) { + return 'दुपारी'; + } else if (hour < 20) { + return 'सायंकाळी'; + } else { + return 'रात्री'; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); + + return mr; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mr.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mr.min.js new file mode 100644 index 0000000000000000000000000000000000000000..e29f07ed853fb2aa6c3f3b37a71b7f837a26592b --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/mr.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e="";if(b)switch(c){case"s":e="काही सेकंद";break;case"m":e="एक मिनिट";break;case"mm":e="%d मिनिटे";break;case"h":e="एक तास";break;case"hh":e="%d तास";break;case"d":e="एक दिवस";break;case"dd":e="%d दिवस";break;case"M":e="एक महिना";break;case"MM":e="%d महिने";break;case"y":e="एक वर्ष";break;case"yy":e="%d वर्षे"}else switch(c){case"s":e="काही सेकंदां";break;case"m":e="एका मिनिटा";break;case"mm":e="%d मिनिटां";break;case"h":e="एका तासा";break;case"hh":e="%d तासां";break;case"d":e="एका दिवसा";break;case"dd":e="%d दिवसां";break;case"M":e="एका महिन्या";break;case"MM":e="%d महिन्यां";break;case"y":e="एका वर्षा";break;case"yy":e="%d वर्षां"}return e.replace(/%d/i,a)}var c={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},d={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},e=a.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return d[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return c[a]})},meridiemParse:/रात्री|सकाळी|दुपारी|सायंकाळी/,meridiemHour:function(a,b){return 12===a&&(a=0),"रात्री"===b?a<4?a:a+12:"सकाळी"===b?a:"दुपारी"===b?a>=10?a:a+12:"सायंकाळी"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"रात्री":a<10?"सकाळी":a<17?"दुपारी":a<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return e}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ms-my.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ms-my.js new file mode 100644 index 0000000000000000000000000000000000000000..e353173a912be3e740e6858876db16f74593350b --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ms-my.js @@ -0,0 +1,83 @@ +//! moment.js locale configuration +//! locale : Malay [ms-my] +//! note : DEPRECATED, the correct one is [ms] +//! author : Weldan Jamili : https://github.com/weldan + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var ms_my = moment.defineLocale('ms-my', { + months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), + monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat : { + LT : 'HH.mm', + LTS : 'HH.mm.ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY [pukul] HH.mm', + LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar : { + sameDay : '[Hari ini pukul] LT', + nextDay : '[Esok pukul] LT', + nextWeek : 'dddd [pukul] LT', + lastDay : '[Kelmarin pukul] LT', + lastWeek : 'dddd [lepas pukul] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'dalam %s', + past : '%s yang lepas', + s : 'beberapa saat', + m : 'seminit', + mm : '%d minit', + h : 'sejam', + hh : '%d jam', + d : 'sehari', + dd : '%d hari', + M : 'sebulan', + MM : '%d bulan', + y : 'setahun', + yy : '%d tahun' + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return ms_my; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ms-my.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ms-my.min.js new file mode 100644 index 0000000000000000000000000000000000000000..14669fdf2d2e8791c1492cf7caca2390be9eae8a --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ms-my.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"tengahari"===b?a>=11?a:a+12:"petang"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"tengahari":a<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ms.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ms.js new file mode 100644 index 0000000000000000000000000000000000000000..280194ced7af71a3519faa2c92ad682832ee5486 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ms.js @@ -0,0 +1,82 @@ +//! moment.js locale configuration +//! locale : Malay [ms] +//! author : Weldan Jamili : https://github.com/weldan + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var ms = moment.defineLocale('ms', { + months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), + monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), + weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'), + weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'), + weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'), + longDateFormat : { + LT : 'HH.mm', + LTS : 'HH.mm.ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY [pukul] HH.mm', + LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' + }, + meridiemParse: /pagi|tengahari|petang|malam/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'pagi') { + return hour; + } else if (meridiem === 'tengahari') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'petang' || meridiem === 'malam') { + return hour + 12; + } + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 11) { + return 'pagi'; + } else if (hours < 15) { + return 'tengahari'; + } else if (hours < 19) { + return 'petang'; + } else { + return 'malam'; + } + }, + calendar : { + sameDay : '[Hari ini pukul] LT', + nextDay : '[Esok pukul] LT', + nextWeek : 'dddd [pukul] LT', + lastDay : '[Kelmarin pukul] LT', + lastWeek : 'dddd [lepas pukul] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'dalam %s', + past : '%s yang lepas', + s : 'beberapa saat', + m : 'seminit', + mm : '%d minit', + h : 'sejam', + hh : '%d jam', + d : 'sehari', + dd : '%d hari', + M : 'sebulan', + MM : '%d bulan', + y : 'setahun', + yy : '%d tahun' + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return ms; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ms.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ms.min.js new file mode 100644 index 0000000000000000000000000000000000000000..bc18c5167157d0cf3c7f33dea0acc64996e725e9 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ms.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(a,b){return 12===a&&(a=0),"pagi"===b?a:"tengahari"===b?a>=11?a:a+12:"petang"===b||"malam"===b?a+12:void 0},meridiem:function(a,b,c){return a<11?"pagi":a<15?"tengahari":a<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/my.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/my.js new file mode 100644 index 0000000000000000000000000000000000000000..0e7b86ded1ec534469f24c0819cd83bfcfda9673 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/my.js @@ -0,0 +1,95 @@ +//! moment.js locale configuration +//! locale : Burmese [my] +//! author : Squar team, mysquar.com +//! author : David Rossellat : https://github.com/gholadr +//! author : Tin Aung Lin : https://github.com/thanyawzinmin + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var symbolMap = { + '1': '၁', + '2': '၂', + '3': '၃', + '4': '၄', + '5': '၅', + '6': '၆', + '7': '၇', + '8': '၈', + '9': '၉', + '0': '၀' + }, numberMap = { + '၁': '1', + '၂': '2', + '၃': '3', + '၄': '4', + '၅': '5', + '၆': '6', + '၇': '7', + '၈': '8', + '၉': '9', + '၀': '0' + }; + + var my = moment.defineLocale('my', { + months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'), + monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'), + weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'), + weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm' + }, + calendar: { + sameDay: '[ယနေ.] LT [မှာ]', + nextDay: '[မနက်ဖြန်] LT [မှာ]', + nextWeek: 'dddd LT [မှာ]', + lastDay: '[မနေ.က] LT [မှာ]', + lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]', + sameElse: 'L' + }, + relativeTime: { + future: 'လာမည့် %s မှာ', + past: 'လွန်ခဲ့သော %s က', + s: 'စက္ကန်.အနည်းငယ်', + m: 'တစ်မိနစ်', + mm: '%d မိနစ်', + h: 'တစ်နာရီ', + hh: '%d နာရီ', + d: 'တစ်ရက်', + dd: '%d ရက်', + M: 'တစ်လ', + MM: '%d လ', + y: 'တစ်နှစ်', + yy: '%d နှစ်' + }, + preparse: function (string) { + return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4 // The week that contains Jan 1st is the first week of the year. + } + }); + + return my; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/my.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/my.min.js new file mode 100644 index 0000000000000000000000000000000000000000..97fccee816a007bacd95cbaddb506719c0860f33 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/my.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},c={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},d=a.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(a){return a.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},week:{dow:1,doy:4}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nb.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nb.js new file mode 100644 index 0000000000000000000000000000000000000000..592734d6c959548b6f07e6799c833c26c3338afd --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nb.js @@ -0,0 +1,63 @@ +//! moment.js locale configuration +//! locale : Norwegian Bokmål [nb] +//! authors : Espen Hovlandsdal : https://github.com/rexxars +//! Sigurd Gartmann : https://github.com/sigurdga + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var nb = moment.defineLocale('nb', { + months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), + monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'), + monthsParseExact : true, + weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), + weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'), + weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY [kl.] HH:mm', + LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm' + }, + calendar : { + sameDay: '[i dag kl.] LT', + nextDay: '[i morgen kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[i går kl.] LT', + lastWeek: '[forrige] dddd [kl.] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'om %s', + past : '%s siden', + s : 'noen sekunder', + m : 'ett minutt', + mm : '%d minutter', + h : 'en time', + hh : '%d timer', + d : 'en dag', + dd : '%d dager', + M : 'en måned', + MM : '%d måneder', + y : 'ett år', + yy : '%d år' + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return nb; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nb.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nb.min.js new file mode 100644 index 0000000000000000000000000000000000000000..01bf8f1bb07464816e3131c325ebfba7411f3cf9 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nb.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ne.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ne.js new file mode 100644 index 0000000000000000000000000000000000000000..85de195eaaa8fe0e77496a1268542665e941c44b --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ne.js @@ -0,0 +1,123 @@ +//! moment.js locale configuration +//! locale : Nepalese [ne] +//! author : suvash : https://github.com/suvash + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var symbolMap = { + '1': '१', + '2': '२', + '3': '३', + '4': '४', + '5': '५', + '6': '६', + '7': '७', + '8': '८', + '9': '९', + '0': '०' + }, + numberMap = { + '१': '1', + '२': '2', + '३': '3', + '४': '4', + '५': '5', + '६': '6', + '७': '7', + '८': '8', + '९': '9', + '०': '0' + }; + + var ne = moment.defineLocale('ne', { + months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'), + monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'), + monthsParseExact : true, + weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'), + weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'), + weekdaysMin : 'आ._सो._मं._बु._बि._शु._श.'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'Aको h:mm बजे', + LTS : 'Aको h:mm:ss बजे', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, Aको h:mm बजे', + LLLL : 'dddd, D MMMM YYYY, Aको h:mm बजे' + }, + preparse: function (string) { + return string.replace(/[१२३४५६७८९०]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + meridiemParse: /राति|बिहान|दिउँसो|साँझ/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'राति') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'बिहान') { + return hour; + } else if (meridiem === 'दिउँसो') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'साँझ') { + return hour + 12; + } + }, + meridiem : function (hour, minute, isLower) { + if (hour < 3) { + return 'राति'; + } else if (hour < 12) { + return 'बिहान'; + } else if (hour < 16) { + return 'दिउँसो'; + } else if (hour < 20) { + return 'साँझ'; + } else { + return 'राति'; + } + }, + calendar : { + sameDay : '[आज] LT', + nextDay : '[भोलि] LT', + nextWeek : '[आउँदो] dddd[,] LT', + lastDay : '[हिजो] LT', + lastWeek : '[गएको] dddd[,] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%sमा', + past : '%s अगाडि', + s : 'केही क्षण', + m : 'एक मिनेट', + mm : '%d मिनेट', + h : 'एक घण्टा', + hh : '%d घण्टा', + d : 'एक दिन', + dd : '%d दिन', + M : 'एक महिना', + MM : '%d महिना', + y : 'एक बर्ष', + yy : '%d बर्ष' + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); + + return ne; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ne.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ne.min.js new file mode 100644 index 0000000000000000000000000000000000000000..1c75a823533df9521660e6b088355405b7c2c6f6 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ne.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},c={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},d=a.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(a){return a.replace(/[१२३४५६७८९०]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(a,b){return 12===a&&(a=0),"राति"===b?a<4?a:a+12:"बिहान"===b?a:"दिउँसो"===b?a>=10?a:a+12:"साँझ"===b?a+12:void 0},meridiem:function(a,b,c){return a<3?"राति":a<12?"बिहान":a<16?"दिउँसो":a<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nl.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nl.js new file mode 100644 index 0000000000000000000000000000000000000000..93741019e2ac01a8630abb7bcce8eddfb3f90816 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nl.js @@ -0,0 +1,86 @@ +//! moment.js locale configuration +//! locale : Dutch [nl] +//! author : Joris Röling : https://github.com/jorisroling +//! author : Jacob Middag : https://github.com/middagj + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), + monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'); + + var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i]; + var monthsRegex = /^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i; + + var nl = moment.defineLocale('nl', { + months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), + monthsShort : function (m, format) { + if (/-MMM-/.test(format)) { + return monthsShortWithoutDots[m.month()]; + } else { + return monthsShortWithDots[m.month()]; + } + }, + + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: /^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i, + monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i, + + monthsParse : monthsParse, + longMonthsParse : monthsParse, + shortMonthsParse : monthsParse, + + weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'), + weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'), + weekdaysMin : 'Zo_Ma_Di_Wo_Do_Vr_Za'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD-MM-YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[vandaag om] LT', + nextDay: '[morgen om] LT', + nextWeek: 'dddd [om] LT', + lastDay: '[gisteren om] LT', + lastWeek: '[afgelopen] dddd [om] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'over %s', + past : '%s geleden', + s : 'een paar seconden', + m : 'één minuut', + mm : '%d minuten', + h : 'één uur', + hh : '%d uur', + d : 'één dag', + dd : '%d dagen', + M : 'één maand', + MM : '%d maanden', + y : 'één jaar', + yy : '%d jaar' + }, + ordinalParse: /\d{1,2}(ste|de)/, + ordinal : function (number) { + return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return nl; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nl.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nl.min.js new file mode 100644 index 0000000000000000000000000000000000000000..76d62a54b0451c1652cc01a98e4982f0db1e9fbe --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nl.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),c="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),d=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],e=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,f=a.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(a,d){return/-MMM-/.test(d)?c[a.month()]:b[a.month()]},monthsRegex:e,monthsShortRegex:e,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:d,longMonthsParse:d,shortMonthsParse:d,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"Zo_Ma_Di_Wo_Do_Vr_Za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},ordinalParse:/\d{1,2}(ste|de)/,ordinal:function(a){return a+(1===a||8===a||a>=20?"ste":"de")},week:{dow:1,doy:4}});return f}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nn.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nn.js new file mode 100644 index 0000000000000000000000000000000000000000..cb3307d3d0ed2c03275ada9f850ce31c052c26f6 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nn.js @@ -0,0 +1,60 @@ +//! moment.js locale configuration +//! locale : Nynorsk [nn] +//! author : https://github.com/mechuwind + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var nn = moment.defineLocale('nn', { + months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), + monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), + weekdays : 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'), + weekdaysShort : 'sun_mån_tys_ons_tor_fre_lau'.split('_'), + weekdaysMin : 'su_må_ty_on_to_fr_lø'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY [kl.] H:mm', + LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm' + }, + calendar : { + sameDay: '[I dag klokka] LT', + nextDay: '[I morgon klokka] LT', + nextWeek: 'dddd [klokka] LT', + lastDay: '[I går klokka] LT', + lastWeek: '[Føregåande] dddd [klokka] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'om %s', + past : '%s sidan', + s : 'nokre sekund', + m : 'eit minutt', + mm : '%d minutt', + h : 'ein time', + hh : '%d timar', + d : 'ein dag', + dd : '%d dagar', + M : 'ein månad', + MM : '%d månader', + y : 'eit år', + yy : '%d år' + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return nn; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nn.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nn.min.js new file mode 100644 index 0000000000000000000000000000000000000000..09fc79384cdd755588f2a34cb3eff1b7e49f685d --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/nn.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_mån_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_må_ty_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pa-in.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pa-in.js new file mode 100644 index 0000000000000000000000000000000000000000..595174f12424e834883b86a478c6313d62d28e00 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pa-in.js @@ -0,0 +1,124 @@ +//! moment.js locale configuration +//! locale : Punjabi (India) [pa-in] +//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var symbolMap = { + '1': '੧', + '2': '੨', + '3': '੩', + '4': '੪', + '5': '੫', + '6': '੬', + '7': '੭', + '8': '੮', + '9': '੯', + '0': '੦' + }, + numberMap = { + '੧': '1', + '੨': '2', + '੩': '3', + '੪': '4', + '੫': '5', + '੬': '6', + '੭': '7', + '੮': '8', + '੯': '9', + '੦': '0' + }; + + var pa_in = moment.defineLocale('pa-in', { + // There are months name as per Nanakshahi Calender but they are not used as rigidly in modern Punjabi. + months : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), + monthsShort : 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split('_'), + weekdays : 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split('_'), + weekdaysShort : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + weekdaysMin : 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'), + longDateFormat : { + LT : 'A h:mm ਵਜੇ', + LTS : 'A h:mm:ss ਵਜੇ', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm ਵਜੇ', + LLLL : 'dddd, D MMMM YYYY, A h:mm ਵਜੇ' + }, + calendar : { + sameDay : '[ਅਜ] LT', + nextDay : '[ਕਲ] LT', + nextWeek : 'dddd, LT', + lastDay : '[ਕਲ] LT', + lastWeek : '[ਪਿਛਲੇ] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s ਵਿੱਚ', + past : '%s ਪਿਛਲੇ', + s : 'ਕੁਝ ਸਕਿੰਟ', + m : 'ਇਕ ਮਿੰਟ', + mm : '%d ਮਿੰਟ', + h : 'ਇੱਕ ਘੰਟਾ', + hh : '%d ਘੰਟੇ', + d : 'ਇੱਕ ਦਿਨ', + dd : '%d ਦਿਨ', + M : 'ਇੱਕ ਮਹੀਨਾ', + MM : '%d ਮਹੀਨੇ', + y : 'ਇੱਕ ਸਾਲ', + yy : '%d ਸਾਲ' + }, + preparse: function (string) { + return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // Punjabi notation for meridiems are quite fuzzy in practice. While there exists + // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi. + meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ਰਾਤ') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ਸਵੇਰ') { + return hour; + } else if (meridiem === 'ਦੁਪਹਿਰ') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'ਸ਼ਾਮ') { + return hour + 12; + } + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'ਰਾਤ'; + } else if (hour < 10) { + return 'ਸਵੇਰ'; + } else if (hour < 17) { + return 'ਦੁਪਹਿਰ'; + } else if (hour < 20) { + return 'ਸ਼ਾਮ'; + } else { + return 'ਰਾਤ'; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); + + return pa_in; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pa-in.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pa-in.min.js new file mode 100644 index 0000000000000000000000000000000000000000..5b5896b35fc3c48997c626f56b790d9405e8727c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pa-in.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},c={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},d=a.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(a){return a.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(a,b){return 12===a&&(a=0),"ਰਾਤ"===b?a<4?a:a+12:"ਸਵੇਰ"===b?a:"ਦੁਪਹਿਰ"===b?a>=10?a:a+12:"ਸ਼ਾਮ"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"ਰਾਤ":a<10?"ਸਵੇਰ":a<17?"ਦੁਪਹਿਰ":a<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pl.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pl.js new file mode 100644 index 0000000000000000000000000000000000000000..0a861d1d67350708fa35a0133734a7e3ab99410e --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pl.js @@ -0,0 +1,105 @@ +//! moment.js locale configuration +//! locale : Polish [pl] +//! author : Rafal Hirsz : https://github.com/evoL + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'), + monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_'); + function plural(n) { + return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1); + } + function translate(number, withoutSuffix, key) { + var result = number + ' '; + switch (key) { + case 'm': + return withoutSuffix ? 'minuta' : 'minutę'; + case 'mm': + return result + (plural(number) ? 'minuty' : 'minut'); + case 'h': + return withoutSuffix ? 'godzina' : 'godzinę'; + case 'hh': + return result + (plural(number) ? 'godziny' : 'godzin'); + case 'MM': + return result + (plural(number) ? 'miesiące' : 'miesięcy'); + case 'yy': + return result + (plural(number) ? 'lata' : 'lat'); + } + } + + var pl = moment.defineLocale('pl', { + months : function (momentToFormat, format) { + if (format === '') { + // Hack: if format empty we know this is used to generate + // RegExp by moment. Give then back both valid forms of months + // in RegExp ready format. + return '(' + monthsSubjective[momentToFormat.month()] + '|' + monthsNominative[momentToFormat.month()] + ')'; + } else if (/D MMMM/.test(format)) { + return monthsSubjective[momentToFormat.month()]; + } else { + return monthsNominative[momentToFormat.month()]; + } + }, + monthsShort : 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'), + weekdays : 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'), + weekdaysShort : 'nie_pon_wt_śr_czw_pt_sb'.split('_'), + weekdaysMin : 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[Dziś o] LT', + nextDay: '[Jutro o] LT', + nextWeek: '[W] dddd [o] LT', + lastDay: '[Wczoraj o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[W zeszłą niedzielę o] LT'; + case 3: + return '[W zeszłą środę o] LT'; + case 6: + return '[W zeszłą sobotę o] LT'; + default: + return '[W zeszły] dddd [o] LT'; + } + }, + sameElse: 'L' + }, + relativeTime : { + future : 'za %s', + past : '%s temu', + s : 'kilka sekund', + m : translate, + mm : translate, + h : translate, + hh : translate, + d : '1 dzień', + dd : '%d dni', + M : 'miesiąc', + MM : translate, + y : 'rok', + yy : translate + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return pl; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pl.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pl.min.js new file mode 100644 index 0000000000000000000000000000000000000000..e2e3679d79197ae76c9898cd155f51199cb5624f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pl.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a){return a%10<5&&a%10>1&&~~(a/10)%10!==1}function c(a,c,d){var e=a+" ";switch(d){case"m":return c?"minuta":"minutę";case"mm":return e+(b(a)?"minuty":"minut");case"h":return c?"godzina":"godzinę";case"hh":return e+(b(a)?"godziny":"godzin");case"MM":return e+(b(a)?"miesiące":"miesięcy");case"yy":return e+(b(a)?"lata":"lat")}}var d="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),e="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),f=a.defineLocale("pl",{months:function(a,b){return""===b?"("+e[a.month()]+"|"+d[a.month()]+")":/D MMMM/.test(b)?e[a.month()]:d[a.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"nie_pon_wt_śr_czw_pt_sb".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:c,mm:c,h:c,hh:c,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:c,y:"rok",yy:c},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return f}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pt-br.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pt-br.js new file mode 100644 index 0000000000000000000000000000000000000000..32272050cfb7406b1f5d91a14c8aa5671adec1c3 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pt-br.js @@ -0,0 +1,61 @@ +//! moment.js locale configuration +//! locale : Portuguese (Brazil) [pt-br] +//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var pt_br = moment.defineLocale('pt-br', { + months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), + monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), + weekdays : 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split('_'), + weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), + weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D [de] MMMM [de] YYYY', + LLL : 'D [de] MMMM [de] YYYY [às] HH:mm', + LLLL : 'dddd, D [de] MMMM [de] YYYY [às] HH:mm' + }, + calendar : { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return (this.day() === 0 || this.day() === 6) ? + '[Último] dddd [às] LT' : // Saturday + Sunday + '[Última] dddd [às] LT'; // Monday - Friday + }, + sameElse: 'L' + }, + relativeTime : { + future : 'em %s', + past : '%s atrás', + s : 'poucos segundos', + m : 'um minuto', + mm : '%d minutos', + h : 'uma hora', + hh : '%d horas', + d : 'um dia', + dd : '%d dias', + M : 'um mês', + MM : '%d meses', + y : 'um ano', + yy : '%d anos' + }, + ordinalParse: /\d{1,2}º/, + ordinal : '%dº' + }); + + return pt_br; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pt-br.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pt-br.min.js new file mode 100644 index 0000000000000000000000000000000000000000..6b5ad8637413089c7d58dc4bdc2ce98386b24064 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pt-br.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("pt-br",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"%s atrás",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº"});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pt.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pt.js new file mode 100644 index 0000000000000000000000000000000000000000..72c2a1bdb998e3bb8fb669d12e88e636e9b8162a --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pt.js @@ -0,0 +1,65 @@ +//! moment.js locale configuration +//! locale : Portuguese [pt] +//! author : Jefferson : https://github.com/jalex79 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var pt = moment.defineLocale('pt', { + months : 'Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro'.split('_'), + monthsShort : 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'), + weekdays : 'Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado'.split('_'), + weekdaysShort : 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'), + weekdaysMin : 'Dom_2ª_3ª_4ª_5ª_6ª_Sáb'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D [de] MMMM [de] YYYY', + LLL : 'D [de] MMMM [de] YYYY HH:mm', + LLLL : 'dddd, D [de] MMMM [de] YYYY HH:mm' + }, + calendar : { + sameDay: '[Hoje às] LT', + nextDay: '[Amanhã às] LT', + nextWeek: 'dddd [às] LT', + lastDay: '[Ontem às] LT', + lastWeek: function () { + return (this.day() === 0 || this.day() === 6) ? + '[Último] dddd [às] LT' : // Saturday + Sunday + '[Última] dddd [às] LT'; // Monday - Friday + }, + sameElse: 'L' + }, + relativeTime : { + future : 'em %s', + past : 'há %s', + s : 'segundos', + m : 'um minuto', + mm : '%d minutos', + h : 'uma hora', + hh : '%d horas', + d : 'um dia', + dd : '%d dias', + M : 'um mês', + MM : '%d meses', + y : 'um ano', + yy : '%d anos' + }, + ordinalParse: /\d{1,2}º/, + ordinal : '%dº', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return pt; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pt.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pt.min.js new file mode 100644 index 0000000000000000000000000000000000000000..5fd89fab578be4e4613a4f94a83fddf476c6e41a --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/pt.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ro.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ro.js new file mode 100644 index 0000000000000000000000000000000000000000..78b325ac3832f3b55d69f706c77579ef932e4870 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ro.js @@ -0,0 +1,75 @@ +//! moment.js locale configuration +//! locale : Romanian [ro] +//! author : Vlad Gurdiga : https://github.com/gurdiga +//! author : Valentin Agachi : https://github.com/avaly + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + 'mm': 'minute', + 'hh': 'ore', + 'dd': 'zile', + 'MM': 'luni', + 'yy': 'ani' + }, + separator = ' '; + if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) { + separator = ' de '; + } + return number + separator + format[key]; + } + + var ro = moment.defineLocale('ro', { + months : 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'), + monthsShort : 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays : 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'), + weekdaysShort : 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'), + weekdaysMin : 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'), + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY H:mm', + LLLL : 'dddd, D MMMM YYYY H:mm' + }, + calendar : { + sameDay: '[azi la] LT', + nextDay: '[mâine la] LT', + nextWeek: 'dddd [la] LT', + lastDay: '[ieri la] LT', + lastWeek: '[fosta] dddd [la] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'peste %s', + past : '%s în urmă', + s : 'câteva secunde', + m : 'un minut', + mm : relativeTimeWithPlural, + h : 'o oră', + hh : relativeTimeWithPlural, + d : 'o zi', + dd : relativeTimeWithPlural, + M : 'o lună', + MM : relativeTimeWithPlural, + y : 'un an', + yy : relativeTimeWithPlural + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return ro; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ro.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ro.min.js new file mode 100644 index 0000000000000000000000000000000000000000..468ea9760c593cddbce91b5f5a45be64622ad2d3 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ro.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c){var d={mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},e=" ";return(a%100>=20||a>=100&&a%100===0)&&(e=" de "),a+e+d[c]}var c=a.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",m:"un minut",mm:b,h:"o oră",hh:b,d:"o zi",dd:b,M:"o lună",MM:b,y:"un an",yy:b},week:{dow:1,doy:7}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ru.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ru.js new file mode 100644 index 0000000000000000000000000000000000000000..faa3cc2e3797c5d6f9adc55a39b9c528215156c8 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ru.js @@ -0,0 +1,183 @@ +//! moment.js locale configuration +//! locale : Russian [ru] +//! author : Viktorminator : https://github.com/Viktorminator +//! Author : Menelion Elensúle : https://github.com/Oire +//! author : Коренберг Марк : https://github.com/socketpair + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + 'mm': withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут', + 'hh': 'час_часа_часов', + 'dd': 'день_дня_дней', + 'MM': 'месяц_месяца_месяцев', + 'yy': 'год_года_лет' + }; + if (key === 'm') { + return withoutSuffix ? 'минута' : 'минуту'; + } + else { + return number + ' ' + plural(format[key], +number); + } + } + var monthsParse = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i]; + + // http://new.gramota.ru/spravka/rules/139-prop : § 103 + // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637 + // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753 + var ru = moment.defineLocale('ru', { + months : { + format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_'), + standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_') + }, + monthsShort : { + // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку ? + format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split('_'), + standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split('_') + }, + weekdays : { + standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split('_'), + format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split('_'), + isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/ + }, + weekdaysShort : 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin : 'вс_пн_вт_ср_чт_пт_сб'.split('_'), + monthsParse : monthsParse, + longMonthsParse : monthsParse, + shortMonthsParse : monthsParse, + + // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки + monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // копия предыдущего + monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i, + + // полные названия с падежами + monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i, + + // Выражение, которое соотвествует только сокращённым формам + monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY г.', + LLL : 'D MMMM YYYY г., HH:mm', + LLLL : 'dddd, D MMMM YYYY г., HH:mm' + }, + calendar : { + sameDay: '[Сегодня в] LT', + nextDay: '[Завтра в] LT', + lastDay: '[Вчера в] LT', + nextWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В следующее] dddd [в] LT'; + case 1: + case 2: + case 4: + return '[В следующий] dddd [в] LT'; + case 3: + case 5: + case 6: + return '[В следующую] dddd [в] LT'; + } + } else { + if (this.day() === 2) { + return '[Во] dddd [в] LT'; + } else { + return '[В] dddd [в] LT'; + } + } + }, + lastWeek: function (now) { + if (now.week() !== this.week()) { + switch (this.day()) { + case 0: + return '[В прошлое] dddd [в] LT'; + case 1: + case 2: + case 4: + return '[В прошлый] dddd [в] LT'; + case 3: + case 5: + case 6: + return '[В прошлую] dddd [в] LT'; + } + } else { + if (this.day() === 2) { + return '[Во] dddd [в] LT'; + } else { + return '[В] dddd [в] LT'; + } + } + }, + sameElse: 'L' + }, + relativeTime : { + future : 'через %s', + past : '%s назад', + s : 'несколько секунд', + m : relativeTimeWithPlural, + mm : relativeTimeWithPlural, + h : 'час', + hh : relativeTimeWithPlural, + d : 'день', + dd : relativeTimeWithPlural, + M : 'месяц', + MM : relativeTimeWithPlural, + y : 'год', + yy : relativeTimeWithPlural + }, + meridiemParse: /ночи|утра|дня|вечера/i, + isPM : function (input) { + return /^(дня|вечера)$/.test(input); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'ночи'; + } else if (hour < 12) { + return 'утра'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечера'; + } + }, + ordinalParse: /\d{1,2}-(й|го|я)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + return number + '-й'; + case 'D': + return number + '-го'; + case 'w': + case 'W': + return number + '-я'; + default: + return number; + } + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return ru; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ru.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ru.min.js new file mode 100644 index 0000000000000000000000000000000000000000..d8175ce5693de23bdeb382a9a095e246006b96ef --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ru.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}function c(a,c,d){var e={mm:c?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===d?c?"минута":"минуту":a+" "+b(e[d],+a)}var d=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],e=a.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:d,longMonthsParse:d,shortMonthsParse:d,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сегодня в] LT",nextDay:"[Завтра в] LT",lastDay:"[Вчера в] LT",nextWeek:function(a){if(a.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В следующее] dddd [в] LT";case 1:case 2:case 4:return"[В следующий] dddd [в] LT";case 3:case 5:case 6:return"[В следующую] dddd [в] LT"}},lastWeek:function(a){if(a.week()===this.week())return 2===this.day()?"[Во] dddd [в] LT":"[В] dddd [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:c,mm:c,h:"час",hh:c,d:"день",dd:c,M:"месяц",MM:c,y:"год",yy:c},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(a){return/^(дня|вечера)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночи":a<12?"утра":a<17?"дня":"вечера"},ordinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":return a+"-й";case"D":return a+"-го";case"w":case"W":return a+"-я";default:return a}},week:{dow:1,doy:7}});return e}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/se.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/se.js new file mode 100644 index 0000000000000000000000000000000000000000..4ed6afbae98bd671d2b9db45b1b7f475b41acf11 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/se.js @@ -0,0 +1,61 @@ +//! moment.js locale configuration +//! locale : Northern Sami [se] +//! authors : Bård Rolstad Henriksen : https://github.com/karamell + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + + var se = moment.defineLocale('se', { + months : 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split('_'), + monthsShort : 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split('_'), + weekdays : 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split('_'), + weekdaysShort : 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'), + weekdaysMin : 's_v_m_g_d_b_L'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'MMMM D. [b.] YYYY', + LLL : 'MMMM D. [b.] YYYY [ti.] HH:mm', + LLLL : 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm' + }, + calendar : { + sameDay: '[otne ti] LT', + nextDay: '[ihttin ti] LT', + nextWeek: 'dddd [ti] LT', + lastDay: '[ikte ti] LT', + lastWeek: '[ovddit] dddd [ti] LT', + sameElse: 'L' + }, + relativeTime : { + future : '%s geažes', + past : 'maŋit %s', + s : 'moadde sekunddat', + m : 'okta minuhta', + mm : '%d minuhtat', + h : 'okta diimmu', + hh : '%d diimmut', + d : 'okta beaivi', + dd : '%d beaivvit', + M : 'okta mánnu', + MM : '%d mánut', + y : 'okta jahki', + yy : '%d jagit' + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return se; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/se.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/se.min.js new file mode 100644 index 0000000000000000000000000000000000000000..f6662966e7bc5072b336cfb6dbdfb16d68b9d694 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/se.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/si.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/si.js new file mode 100644 index 0000000000000000000000000000000000000000..be2387acad5a737c730321b24f86e13b20910533 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/si.js @@ -0,0 +1,71 @@ +//! moment.js locale configuration +//! locale : Sinhalese [si] +//! author : Sampath Sitinamaluwa : https://github.com/sampathsris + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + /*jshint -W100*/ + var si = moment.defineLocale('si', { + months : 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split('_'), + monthsShort : 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split('_'), + weekdays : 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split('_'), + weekdaysShort : 'ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන'.split('_'), + weekdaysMin : 'ඉ_ස_අ_බ_බ්ර_සි_සෙ'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'a h:mm', + LTS : 'a h:mm:ss', + L : 'YYYY/MM/DD', + LL : 'YYYY MMMM D', + LLL : 'YYYY MMMM D, a h:mm', + LLLL : 'YYYY MMMM D [වැනි] dddd, a h:mm:ss' + }, + calendar : { + sameDay : '[අද] LT[ට]', + nextDay : '[හෙට] LT[ට]', + nextWeek : 'dddd LT[ට]', + lastDay : '[ඊයේ] LT[ට]', + lastWeek : '[පසුගිය] dddd LT[ට]', + sameElse : 'L' + }, + relativeTime : { + future : '%sකින්', + past : '%sකට පෙර', + s : 'තත්පර කිහිපය', + m : 'මිනිත්තුව', + mm : 'මිනිත්තු %d', + h : 'පැය', + hh : 'පැය %d', + d : 'දිනය', + dd : 'දින %d', + M : 'මාසය', + MM : 'මාස %d', + y : 'වසර', + yy : 'වසර %d' + }, + ordinalParse: /\d{1,2} වැනි/, + ordinal : function (number) { + return number + ' වැනි'; + }, + meridiemParse : /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./, + isPM : function (input) { + return input === 'ප.ව.' || input === 'පස් වරු'; + }, + meridiem : function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'ප.ව.' : 'පස් වරු'; + } else { + return isLower ? 'පෙ.ව.' : 'පෙර වරු'; + } + } + }); + + return si; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/si.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/si.min.js new file mode 100644 index 0000000000000000000000000000000000000000..fd4f0774f540e12e8108bf8b82516ece00985d0b --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/si.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},ordinalParse:/\d{1,2} වැනි/,ordinal:function(a){return a+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(a){return"ප.ව."===a||"පස් වරු"===a},meridiem:function(a,b,c){return a>11?c?"ප.ව.":"පස් වරු":c?"පෙ.ව.":"පෙර වරු"}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sk.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sk.js new file mode 100644 index 0000000000000000000000000000000000000000..582ae7ee692a9c34c919abcbf29047c8a2870267 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sk.js @@ -0,0 +1,150 @@ +//! moment.js locale configuration +//! locale : Slovak [sk] +//! author : Martin Minka : https://github.com/k2s +//! based on work of petrbela : https://github.com/petrbela + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'), + monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); + function plural(n) { + return (n > 1) && (n < 5); + } + function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': // a few seconds / in a few seconds / a few seconds ago + return (withoutSuffix || isFuture) ? 'pár sekúnd' : 'pár sekundami'; + case 'm': // a minute / in a minute / a minute ago + return withoutSuffix ? 'minúta' : (isFuture ? 'minútu' : 'minútou'); + case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'minúty' : 'minút'); + } else { + return result + 'minútami'; + } + break; + case 'h': // an hour / in an hour / an hour ago + return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou'); + case 'hh': // 9 hours / in 9 hours / 9 hours ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'hodiny' : 'hodín'); + } else { + return result + 'hodinami'; + } + break; + case 'd': // a day / in a day / a day ago + return (withoutSuffix || isFuture) ? 'deň' : 'dňom'; + case 'dd': // 9 days / in 9 days / 9 days ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'dni' : 'dní'); + } else { + return result + 'dňami'; + } + break; + case 'M': // a month / in a month / a month ago + return (withoutSuffix || isFuture) ? 'mesiac' : 'mesiacom'; + case 'MM': // 9 months / in 9 months / 9 months ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'mesiace' : 'mesiacov'); + } else { + return result + 'mesiacmi'; + } + break; + case 'y': // a year / in a year / a year ago + return (withoutSuffix || isFuture) ? 'rok' : 'rokom'; + case 'yy': // 9 years / in 9 years / 9 years ago + if (withoutSuffix || isFuture) { + return result + (plural(number) ? 'roky' : 'rokov'); + } else { + return result + 'rokmi'; + } + break; + } + } + + var sk = moment.defineLocale('sk', { + months : months, + monthsShort : monthsShort, + weekdays : 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'), + weekdaysShort : 'ne_po_ut_st_št_pi_so'.split('_'), + weekdaysMin : 'ne_po_ut_st_št_pi_so'.split('_'), + longDateFormat : { + LT: 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY H:mm', + LLLL : 'dddd D. MMMM YYYY H:mm' + }, + calendar : { + sameDay: '[dnes o] LT', + nextDay: '[zajtra o] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[v nedeľu o] LT'; + case 1: + case 2: + return '[v] dddd [o] LT'; + case 3: + return '[v stredu o] LT'; + case 4: + return '[vo štvrtok o] LT'; + case 5: + return '[v piatok o] LT'; + case 6: + return '[v sobotu o] LT'; + } + }, + lastDay: '[včera o] LT', + lastWeek: function () { + switch (this.day()) { + case 0: + return '[minulú nedeľu o] LT'; + case 1: + case 2: + return '[minulý] dddd [o] LT'; + case 3: + return '[minulú stredu o] LT'; + case 4: + case 5: + return '[minulý] dddd [o] LT'; + case 6: + return '[minulú sobotu o] LT'; + } + }, + sameElse: 'L' + }, + relativeTime : { + future : 'za %s', + past : 'pred %s', + s : translate, + m : translate, + mm : translate, + h : translate, + hh : translate, + d : translate, + dd : translate, + M : translate, + MM : translate, + y : translate, + yy : translate + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return sk; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sk.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sk.min.js new file mode 100644 index 0000000000000000000000000000000000000000..2d23db67b4a22f242d2d085e9cc461039af3c682 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sk.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a){return a>1&&a<5}function c(a,c,d,e){var f=a+" ";switch(d){case"s":return c||e?"pár sekúnd":"pár sekundami";case"m":return c?"minúta":e?"minútu":"minútou";case"mm":return c||e?f+(b(a)?"minúty":"minút"):f+"minútami";case"h":return c?"hodina":e?"hodinu":"hodinou";case"hh":return c||e?f+(b(a)?"hodiny":"hodín"):f+"hodinami";case"d":return c||e?"deň":"dňom";case"dd":return c||e?f+(b(a)?"dni":"dní"):f+"dňami";case"M":return c||e?"mesiac":"mesiacom";case"MM":return c||e?f+(b(a)?"mesiace":"mesiacov"):f+"mesiacmi";case"y":return c||e?"rok":"rokom";case"yy":return c||e?f+(b(a)?"roky":"rokov"):f+"rokmi"}}var d="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),e="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),f=a.defineLocale("sk",{months:d,monthsShort:e,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return f}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sl.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sl.js new file mode 100644 index 0000000000000000000000000000000000000000..3371f6b7c240f9ac93473fccf63e33de48a2c0ba --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sl.js @@ -0,0 +1,162 @@ +//! moment.js locale configuration +//! locale : Slovenian [sl] +//! author : Robert Sedovšek : https://github.com/sedovsek + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture ? 'nekaj sekund' : 'nekaj sekundami'; + case 'm': + return withoutSuffix ? 'ena minuta' : 'eno minuto'; + case 'mm': + if (number === 1) { + result += withoutSuffix ? 'minuta' : 'minuto'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'minuti' : 'minutama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'minute' : 'minutami'; + } else { + result += withoutSuffix || isFuture ? 'minut' : 'minutami'; + } + return result; + case 'h': + return withoutSuffix ? 'ena ura' : 'eno uro'; + case 'hh': + if (number === 1) { + result += withoutSuffix ? 'ura' : 'uro'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'uri' : 'urama'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'ure' : 'urami'; + } else { + result += withoutSuffix || isFuture ? 'ur' : 'urami'; + } + return result; + case 'd': + return withoutSuffix || isFuture ? 'en dan' : 'enim dnem'; + case 'dd': + if (number === 1) { + result += withoutSuffix || isFuture ? 'dan' : 'dnem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'dni' : 'dnevoma'; + } else { + result += withoutSuffix || isFuture ? 'dni' : 'dnevi'; + } + return result; + case 'M': + return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem'; + case 'MM': + if (number === 1) { + result += withoutSuffix || isFuture ? 'mesec' : 'mesecem'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'meseca' : 'mesecema'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'mesece' : 'meseci'; + } else { + result += withoutSuffix || isFuture ? 'mesecev' : 'meseci'; + } + return result; + case 'y': + return withoutSuffix || isFuture ? 'eno leto' : 'enim letom'; + case 'yy': + if (number === 1) { + result += withoutSuffix || isFuture ? 'leto' : 'letom'; + } else if (number === 2) { + result += withoutSuffix || isFuture ? 'leti' : 'letoma'; + } else if (number < 5) { + result += withoutSuffix || isFuture ? 'leta' : 'leti'; + } else { + result += withoutSuffix || isFuture ? 'let' : 'leti'; + } + return result; + } + } + + var sl = moment.defineLocale('sl', { + months : 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'), + monthsShort : 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays : 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'), + weekdaysShort : 'ned._pon._tor._sre._čet._pet._sob.'.split('_'), + weekdaysMin : 'ne_po_to_sr_če_pe_so'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM YYYY', + LLL : 'D. MMMM YYYY H:mm', + LLLL : 'dddd, D. MMMM YYYY H:mm' + }, + calendar : { + sameDay : '[danes ob] LT', + nextDay : '[jutri ob] LT', + + nextWeek : function () { + switch (this.day()) { + case 0: + return '[v] [nedeljo] [ob] LT'; + case 3: + return '[v] [sredo] [ob] LT'; + case 6: + return '[v] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[v] dddd [ob] LT'; + } + }, + lastDay : '[včeraj ob] LT', + lastWeek : function () { + switch (this.day()) { + case 0: + return '[prejšnjo] [nedeljo] [ob] LT'; + case 3: + return '[prejšnjo] [sredo] [ob] LT'; + case 6: + return '[prejšnjo] [soboto] [ob] LT'; + case 1: + case 2: + case 4: + case 5: + return '[prejšnji] dddd [ob] LT'; + } + }, + sameElse : 'L' + }, + relativeTime : { + future : 'čez %s', + past : 'pred %s', + s : processRelativeTime, + m : processRelativeTime, + mm : processRelativeTime, + h : processRelativeTime, + hh : processRelativeTime, + d : processRelativeTime, + dd : processRelativeTime, + M : processRelativeTime, + MM : processRelativeTime, + y : processRelativeTime, + yy : processRelativeTime + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return sl; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sl.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sl.min.js new file mode 100644 index 0000000000000000000000000000000000000000..56598c980d0c26feb8b02b67c569a2e1bc077367 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sl.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e=a+" ";switch(c){case"s":return b||d?"nekaj sekund":"nekaj sekundami";case"m":return b?"ena minuta":"eno minuto";case"mm":return e+=1===a?b?"minuta":"minuto":2===a?b||d?"minuti":"minutama":a<5?b||d?"minute":"minutami":b||d?"minut":"minutami";case"h":return b?"ena ura":"eno uro";case"hh":return e+=1===a?b?"ura":"uro":2===a?b||d?"uri":"urama":a<5?b||d?"ure":"urami":b||d?"ur":"urami";case"d":return b||d?"en dan":"enim dnem";case"dd":return e+=1===a?b||d?"dan":"dnem":2===a?b||d?"dni":"dnevoma":b||d?"dni":"dnevi";case"M":return b||d?"en mesec":"enim mesecem";case"MM":return e+=1===a?b||d?"mesec":"mesecem":2===a?b||d?"meseca":"mesecema":a<5?b||d?"mesece":"meseci":b||d?"mesecev":"meseci";case"y":return b||d?"eno leto":"enim letom";case"yy":return e+=1===a?b||d?"leto":"letom":2===a?b||d?"leti":"letoma":a<5?b||d?"leta":"leti":b||d?"let":"leti"}}var c=a.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sq.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sq.js new file mode 100644 index 0000000000000000000000000000000000000000..c224cac1407b1743a20bf99318f4f6ebcdcb2f42 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sq.js @@ -0,0 +1,70 @@ +//! moment.js locale configuration +//! locale : Albanian [sq] +//! author : Flakërim Ismani : https://github.com/flakerimi +//! author : Menelion Elensúle : https://github.com/Oire +//! author : Oerd Cukalla : https://github.com/oerd + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var sq = moment.defineLocale('sq', { + months : 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'), + monthsShort : 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), + weekdays : 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split('_'), + weekdaysShort : 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'), + weekdaysMin : 'D_H_Ma_Më_E_P_Sh'.split('_'), + weekdaysParseExact : true, + meridiemParse: /PD|MD/, + isPM: function (input) { + return input.charAt(0) === 'M'; + }, + meridiem : function (hours, minutes, isLower) { + return hours < 12 ? 'PD' : 'MD'; + }, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[Sot në] LT', + nextDay : '[Nesër në] LT', + nextWeek : 'dddd [në] LT', + lastDay : '[Dje në] LT', + lastWeek : 'dddd [e kaluar në] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'në %s', + past : '%s më parë', + s : 'disa sekonda', + m : 'një minutë', + mm : '%d minuta', + h : 'një orë', + hh : '%d orë', + d : 'një ditë', + dd : '%d ditë', + M : 'një muaj', + MM : '%d muaj', + y : 'një vit', + yy : '%d vite' + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return sq; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sq.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sq.min.js new file mode 100644 index 0000000000000000000000000000000000000000..5401cff48fba78baf9fce17ca37b86ecfc6b1b9d --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sq.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(a){return"M"===a.charAt(0)},meridiem:function(a,b,c){return a<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sr-cyrl.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sr-cyrl.js new file mode 100644 index 0000000000000000000000000000000000000000..bf0df12588f64d6bc7788cb34e79f5289667cc65 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sr-cyrl.js @@ -0,0 +1,110 @@ +//! moment.js locale configuration +//! locale : Serbian Cyrillic [sr-cyrl] +//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var translator = { + words: { //Different grammatical cases + m: ['један минут', 'једне минуте'], + mm: ['минут', 'минуте', 'минута'], + h: ['један сат', 'једног сата'], + hh: ['сат', 'сата', 'сати'], + dd: ['дан', 'дана', 'дана'], + MM: ['месец', 'месеца', 'месеци'], + yy: ['година', 'године', 'година'] + }, + correctGrammaticalCase: function (number, wordKey) { + return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]); + }, + translate: function (number, withoutSuffix, key) { + var wordKey = translator.words[key]; + if (key.length === 1) { + return withoutSuffix ? wordKey[0] : wordKey[1]; + } else { + return number + ' ' + translator.correctGrammaticalCase(number, wordKey); + } + } + }; + + var sr_cyrl = moment.defineLocale('sr-cyrl', { + months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split('_'), + monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split('_'), + monthsParseExact: true, + weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'), + weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'), + weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'), + weekdaysParseExact : true, + longDateFormat: { + LT: 'H:mm', + LTS : 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + }, + calendar: { + sameDay: '[данас у] LT', + nextDay: '[сутра у] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[у] [недељу] [у] LT'; + case 3: + return '[у] [среду] [у] LT'; + case 6: + return '[у] [суботу] [у] LT'; + case 1: + case 2: + case 4: + case 5: + return '[у] dddd [у] LT'; + } + }, + lastDay : '[јуче у] LT', + lastWeek : function () { + var lastWeekDays = [ + '[прошле] [недеље] [у] LT', + '[прошлог] [понедељка] [у] LT', + '[прошлог] [уторка] [у] LT', + '[прошле] [среде] [у] LT', + '[прошлог] [четвртка] [у] LT', + '[прошлог] [петка] [у] LT', + '[прошле] [суботе] [у] LT' + ]; + return lastWeekDays[this.day()]; + }, + sameElse : 'L' + }, + relativeTime : { + future : 'за %s', + past : 'пре %s', + s : 'неколико секунди', + m : translator.translate, + mm : translator.translate, + h : translator.translate, + hh : translator.translate, + d : 'дан', + dd : translator.translate, + M : 'месец', + MM : translator.translate, + y : 'годину', + yy : translator.translate + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return sr_cyrl; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sr-cyrl.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sr-cyrl.min.js new file mode 100644 index 0000000000000000000000000000000000000000..7de2679c66de42c164824251c689ffcfe35fafd0 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sr-cyrl.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={words:{m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,c,d){var e=b.words[d];return 1===d.length?c?e[0]:e[1]:a+" "+b.correctGrammaticalCase(a,e)}},c=a.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){var a=["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"];return a[this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",m:b.translate,mm:b.translate,h:b.translate,hh:b.translate,d:"дан",dd:b.translate,M:"месец",MM:b.translate,y:"годину",yy:b.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sr.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sr.js new file mode 100644 index 0000000000000000000000000000000000000000..16f5dd0d50e3981884433b68798154705b4aecb6 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sr.js @@ -0,0 +1,110 @@ +//! moment.js locale configuration +//! locale : Serbian [sr] +//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var translator = { + words: { //Different grammatical cases + m: ['jedan minut', 'jedne minute'], + mm: ['minut', 'minute', 'minuta'], + h: ['jedan sat', 'jednog sata'], + hh: ['sat', 'sata', 'sati'], + dd: ['dan', 'dana', 'dana'], + MM: ['mesec', 'meseca', 'meseci'], + yy: ['godina', 'godine', 'godina'] + }, + correctGrammaticalCase: function (number, wordKey) { + return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]); + }, + translate: function (number, withoutSuffix, key) { + var wordKey = translator.words[key]; + if (key.length === 1) { + return withoutSuffix ? wordKey[0] : wordKey[1]; + } else { + return number + ' ' + translator.correctGrammaticalCase(number, wordKey); + } + } + }; + + var sr = moment.defineLocale('sr', { + months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'), + monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), + monthsParseExact: true, + weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split('_'), + weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'), + weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), + weekdaysParseExact : true, + longDateFormat: { + LT: 'H:mm', + LTS : 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY H:mm', + LLLL: 'dddd, D. MMMM YYYY H:mm' + }, + calendar: { + sameDay: '[danas u] LT', + nextDay: '[sutra u] LT', + nextWeek: function () { + switch (this.day()) { + case 0: + return '[u] [nedelju] [u] LT'; + case 3: + return '[u] [sredu] [u] LT'; + case 6: + return '[u] [subotu] [u] LT'; + case 1: + case 2: + case 4: + case 5: + return '[u] dddd [u] LT'; + } + }, + lastDay : '[juče u] LT', + lastWeek : function () { + var lastWeekDays = [ + '[prošle] [nedelje] [u] LT', + '[prošlog] [ponedeljka] [u] LT', + '[prošlog] [utorka] [u] LT', + '[prošle] [srede] [u] LT', + '[prošlog] [četvrtka] [u] LT', + '[prošlog] [petka] [u] LT', + '[prošle] [subote] [u] LT' + ]; + return lastWeekDays[this.day()]; + }, + sameElse : 'L' + }, + relativeTime : { + future : 'za %s', + past : 'pre %s', + s : 'nekoliko sekundi', + m : translator.translate, + mm : translator.translate, + h : translator.translate, + hh : translator.translate, + d : 'dan', + dd : translator.translate, + M : 'mesec', + MM : translator.translate, + y : 'godinu', + yy : translator.translate + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return sr; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sr.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sr.min.js new file mode 100644 index 0000000000000000000000000000000000000000..8db300eb6987f3fc4c13226b40aafecc33fd32ca --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sr.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={words:{m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(a,b){return 1===a?b[0]:a>=2&&a<=4?b[1]:b[2]},translate:function(a,c,d){var e=b.words[d];return 1===d.length?c?e[0]:e[1]:a+" "+b.correctGrammaticalCase(a,e)}},c=a.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){var a=["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"];return a[this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",m:b.translate,mm:b.translate,h:b.translate,hh:b.translate,d:"dan",dd:b.translate,M:"mesec",MM:b.translate,y:"godinu",yy:b.translate},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ss.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ss.js new file mode 100644 index 0000000000000000000000000000000000000000..e1d942e4f30ed81a2bd2d33c11f2fe90698e60ad --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ss.js @@ -0,0 +1,89 @@ +//! moment.js locale configuration +//! locale : siSwati [ss] +//! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + + var ss = moment.defineLocale('ss', { + months : "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split('_'), + monthsShort : 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'), + weekdays : 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split('_'), + weekdaysShort : 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'), + weekdaysMin : 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'h:mm A', + LTS : 'h:mm:ss A', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY h:mm A', + LLLL : 'dddd, D MMMM YYYY h:mm A' + }, + calendar : { + sameDay : '[Namuhla nga] LT', + nextDay : '[Kusasa nga] LT', + nextWeek : 'dddd [nga] LT', + lastDay : '[Itolo nga] LT', + lastWeek : 'dddd [leliphelile] [nga] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'nga %s', + past : 'wenteka nga %s', + s : 'emizuzwana lomcane', + m : 'umzuzu', + mm : '%d emizuzu', + h : 'lihora', + hh : '%d emahora', + d : 'lilanga', + dd : '%d emalanga', + M : 'inyanga', + MM : '%d tinyanga', + y : 'umnyaka', + yy : '%d iminyaka' + }, + meridiemParse: /ekuseni|emini|entsambama|ebusuku/, + meridiem : function (hours, minutes, isLower) { + if (hours < 11) { + return 'ekuseni'; + } else if (hours < 15) { + return 'emini'; + } else if (hours < 19) { + return 'entsambama'; + } else { + return 'ebusuku'; + } + }, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'ekuseni') { + return hour; + } else if (meridiem === 'emini') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') { + if (hour === 0) { + return 0; + } + return hour + 12; + } + }, + ordinalParse: /\d{1,2}/, + ordinal : '%d', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return ss; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ss.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ss.min.js new file mode 100644 index 0000000000000000000000000000000000000000..99f0aabc5506db70f8f58456b7e08b785c9c1b87 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ss.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(a,b,c){return a<11?"ekuseni":a<15?"emini":a<19?"entsambama":"ebusuku"},meridiemHour:function(a,b){return 12===a&&(a=0),"ekuseni"===b?a:"emini"===b?a>=11?a:a+12:"entsambama"===b||"ebusuku"===b?0===a?0:a+12:void 0},ordinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sv.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sv.js new file mode 100644 index 0000000000000000000000000000000000000000..a77c3e1072ba732aff2f23ec3f5e071106a96acf --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sv.js @@ -0,0 +1,69 @@ +//! moment.js locale configuration +//! locale : Swedish [sv] +//! author : Jens Alm : https://github.com/ulmus + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var sv = moment.defineLocale('sv', { + months : 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'), + monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), + weekdays : 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'), + weekdaysShort : 'sön_mån_tis_ons_tor_fre_lör'.split('_'), + weekdaysMin : 'sö_må_ti_on_to_fr_lö'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'YYYY-MM-DD', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY [kl.] HH:mm', + LLLL : 'dddd D MMMM YYYY [kl.] HH:mm', + lll : 'D MMM YYYY HH:mm', + llll : 'ddd D MMM YYYY HH:mm' + }, + calendar : { + sameDay: '[Idag] LT', + nextDay: '[Imorgon] LT', + lastDay: '[Igår] LT', + nextWeek: '[På] dddd LT', + lastWeek: '[I] dddd[s] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'om %s', + past : 'för %s sedan', + s : 'några sekunder', + m : 'en minut', + mm : '%d minuter', + h : 'en timme', + hh : '%d timmar', + d : 'en dag', + dd : '%d dagar', + M : 'en månad', + MM : '%d månader', + y : 'ett år', + yy : '%d år' + }, + ordinalParse: /\d{1,2}(e|a)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'e' : + (b === 1) ? 'a' : + (b === 2) ? 'a' : + (b === 3) ? 'e' : 'e'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return sv; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sv.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sv.min.js new file mode 100644 index 0000000000000000000000000000000000000000..eaa7d19185e122f4f40b7ce7afdd77f10ccafe74 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sv.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},ordinalParse:/\d{1,2}(e|a)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"e":1===b?"a":2===b?"a":"e";return a+c},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sw.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sw.js new file mode 100644 index 0000000000000000000000000000000000000000..1458d892fee4badd6bab8f100131f24ff9274572 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sw.js @@ -0,0 +1,59 @@ +//! moment.js locale configuration +//! locale : Swahili [sw] +//! author : Fahad Kassim : https://github.com/fadsel + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var sw = moment.defineLocale('sw', { + months : 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split('_'), + monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'), + weekdays : 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split('_'), + weekdaysShort : 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'), + weekdaysMin : 'J2_J3_J4_J5_Al_Ij_J1'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[leo saa] LT', + nextDay : '[kesho saa] LT', + nextWeek : '[wiki ijayo] dddd [saat] LT', + lastDay : '[jana] LT', + lastWeek : '[wiki iliyopita] dddd [saat] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s baadaye', + past : 'tokea %s', + s : 'hivi punde', + m : 'dakika moja', + mm : 'dakika %d', + h : 'saa limoja', + hh : 'masaa %d', + d : 'siku moja', + dd : 'masiku %d', + M : 'mwezi mmoja', + MM : 'miezi %d', + y : 'mwaka mmoja', + yy : 'miaka %d' + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return sw; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sw.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sw.min.js new file mode 100644 index 0000000000000000000000000000000000000000..dbf238a11628ef2b79e40b4c040eb7bac613fb40 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/sw.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ta.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ta.js new file mode 100644 index 0000000000000000000000000000000000000000..c04fa587b68859fc3f3f1635215bf7c9415f0bc0 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ta.js @@ -0,0 +1,129 @@ +//! moment.js locale configuration +//! locale : Tamil [ta] +//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var symbolMap = { + '1': '௧', + '2': '௨', + '3': '௩', + '4': '௪', + '5': '௫', + '6': '௬', + '7': '௭', + '8': '௮', + '9': '௯', + '0': '௦' + }, numberMap = { + '௧': '1', + '௨': '2', + '௩': '3', + '௪': '4', + '௫': '5', + '௬': '6', + '௭': '7', + '௮': '8', + '௯': '9', + '௦': '0' + }; + + var ta = moment.defineLocale('ta', { + months : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), + monthsShort : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), + weekdays : 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split('_'), + weekdaysShort : 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split('_'), + weekdaysMin : 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, HH:mm', + LLLL : 'dddd, D MMMM YYYY, HH:mm' + }, + calendar : { + sameDay : '[இன்று] LT', + nextDay : '[நாளை] LT', + nextWeek : 'dddd, LT', + lastDay : '[நேற்று] LT', + lastWeek : '[கடந்த வாரம்] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s இல்', + past : '%s முன்', + s : 'ஒரு சில விநாடிகள்', + m : 'ஒரு நிமிடம்', + mm : '%d நிமிடங்கள்', + h : 'ஒரு மணி நேரம்', + hh : '%d மணி நேரம்', + d : 'ஒரு நாள்', + dd : '%d நாட்கள்', + M : 'ஒரு மாதம்', + MM : '%d மாதங்கள்', + y : 'ஒரு வருடம்', + yy : '%d ஆண்டுகள்' + }, + ordinalParse: /\d{1,2}வது/, + ordinal : function (number) { + return number + 'வது'; + }, + preparse: function (string) { + return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + // refer http://ta.wikipedia.org/s/1er1 + meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/, + meridiem : function (hour, minute, isLower) { + if (hour < 2) { + return ' யாமம்'; + } else if (hour < 6) { + return ' வைகறை'; // வைகறை + } else if (hour < 10) { + return ' காலை'; // காலை + } else if (hour < 14) { + return ' நண்பகல்'; // நண்பகல் + } else if (hour < 18) { + return ' எற்பாடு'; // எற்பாடு + } else if (hour < 22) { + return ' மாலை'; // மாலை + } else { + return ' யாமம்'; + } + }, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'யாமம்') { + return hour < 2 ? hour : hour + 12; + } else if (meridiem === 'வைகறை' || meridiem === 'காலை') { + return hour; + } else if (meridiem === 'நண்பகல்') { + return hour >= 10 ? hour : hour + 12; + } else { + return hour + 12; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); + + return ta; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ta.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ta.min.js new file mode 100644 index 0000000000000000000000000000000000000000..83cdb721da7e67b4ff7f7f2efd4148923cfe9b48 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/ta.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},c={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},d=a.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},ordinalParse:/\d{1,2}வது/,ordinal:function(a){return a+"வது"},preparse:function(a){return a.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,function(a){return c[a]})},postformat:function(a){return a.replace(/\d/g,function(a){return b[a]})},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(a,b,c){return a<2?" யாமம்":a<6?" வைகறை":a<10?" காலை":a<14?" நண்பகல்":a<18?" எற்பாடு":a<22?" மாலை":" யாமம்"},meridiemHour:function(a,b){return 12===a&&(a=0),"யாமம்"===b?a<2?a:a+12:"வைகறை"===b||"காலை"===b?a:"நண்பகல்"===b&&a>=10?a:a+12},week:{dow:0,doy:6}});return d}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/te.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/te.js new file mode 100644 index 0000000000000000000000000000000000000000..1061ad22a4c4fcf249d520b6298a693db501d6e5 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/te.js @@ -0,0 +1,89 @@ +//! moment.js locale configuration +//! locale : Telugu [te] +//! author : Krishna Chaitanya Thota : https://github.com/kcthota + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var te = moment.defineLocale('te', { + months : 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split('_'), + monthsShort : 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split('_'), + monthsParseExact : true, + weekdays : 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split('_'), + weekdaysShort : 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'), + weekdaysMin : 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'), + longDateFormat : { + LT : 'A h:mm', + LTS : 'A h:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY, A h:mm', + LLLL : 'dddd, D MMMM YYYY, A h:mm' + }, + calendar : { + sameDay : '[నేడు] LT', + nextDay : '[రేపు] LT', + nextWeek : 'dddd, LT', + lastDay : '[నిన్న] LT', + lastWeek : '[గత] dddd, LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s లో', + past : '%s క్రితం', + s : 'కొన్ని క్షణాలు', + m : 'ఒక నిమిషం', + mm : '%d నిమిషాలు', + h : 'ఒక గంట', + hh : '%d గంటలు', + d : 'ఒక రోజు', + dd : '%d రోజులు', + M : 'ఒక నెల', + MM : '%d నెలలు', + y : 'ఒక సంవత్సరం', + yy : '%d సంవత్సరాలు' + }, + ordinalParse : /\d{1,2}వ/, + ordinal : '%dవ', + meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === 'రాత్రి') { + return hour < 4 ? hour : hour + 12; + } else if (meridiem === 'ఉదయం') { + return hour; + } else if (meridiem === 'మధ్యాహ్నం') { + return hour >= 10 ? hour : hour + 12; + } else if (meridiem === 'సాయంత్రం') { + return hour + 12; + } + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'రాత్రి'; + } else if (hour < 10) { + return 'ఉదయం'; + } else if (hour < 17) { + return 'మధ్యాహ్నం'; + } else if (hour < 20) { + return 'సాయంత్రం'; + } else { + return 'రాత్రి'; + } + }, + week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + } + }); + + return te; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/te.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/te.min.js new file mode 100644 index 0000000000000000000000000000000000000000..1fc3a725686a91ed1feae15411f541cb31c85d28 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/te.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జూలై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జూలై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},ordinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(a,b){return 12===a&&(a=0),"రాత్రి"===b?a<4?a:a+12:"ఉదయం"===b?a:"మధ్యాహ్నం"===b?a>=10?a:a+12:"సాయంత్రం"===b?a+12:void 0},meridiem:function(a,b,c){return a<4?"రాత్రి":a<10?"ఉదయం":a<17?"మధ్యాహ్నం":a<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/th.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/th.js new file mode 100644 index 0000000000000000000000000000000000000000..779968ebc056d8fcd7cf78d2db19b9eb1429bc7b --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/th.js @@ -0,0 +1,67 @@ +//! moment.js locale configuration +//! locale : Thai [th] +//! author : Kridsada Thanabulpong : https://github.com/sirn + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var th = moment.defineLocale('th', { + months : 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'), + monthsShort : 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'), + monthsParseExact: true, + weekdays : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'), + weekdaysShort : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference + weekdaysMin : 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'H:mm', + LTS : 'H:mm:ss', + L : 'YYYY/MM/DD', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY เวลา H:mm', + LLLL : 'วันddddที่ D MMMM YYYY เวลา H:mm' + }, + meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/, + isPM: function (input) { + return input === 'หลังเที่ยง'; + }, + meridiem : function (hour, minute, isLower) { + if (hour < 12) { + return 'ก่อนเที่ยง'; + } else { + return 'หลังเที่ยง'; + } + }, + calendar : { + sameDay : '[วันนี้ เวลา] LT', + nextDay : '[พรุ่งนี้ เวลา] LT', + nextWeek : 'dddd[หน้า เวลา] LT', + lastDay : '[เมื่อวานนี้ เวลา] LT', + lastWeek : '[วัน]dddd[ที่แล้ว เวลา] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'อีก %s', + past : '%sที่แล้ว', + s : 'ไม่กี่วินาที', + m : '1 นาที', + mm : '%d นาที', + h : '1 ชั่วโมง', + hh : '%d ชั่วโมง', + d : '1 วัน', + dd : '%d วัน', + M : '1 เดือน', + MM : '%d เดือน', + y : '1 ปี', + yy : '%d ปี' + } + }); + + return th; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/th.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/th.min.js new file mode 100644 index 0000000000000000000000000000000000000000..df3d7f63ff32295ae9e7736528f215e2052a3a2e --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/th.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY/MM/DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(a){return"หลังเที่ยง"===a},meridiem:function(a,b,c){return a<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tl-ph.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tl-ph.js new file mode 100644 index 0000000000000000000000000000000000000000..8c3448c3a2645aed4b3acc77c03f423b0d8e401f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tl-ph.js @@ -0,0 +1,62 @@ +//! moment.js locale configuration +//! locale : Tagalog (Philippines) [tl-ph] +//! author : Dan Hagman : https://github.com/hagmandan + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var tl_ph = moment.defineLocale('tl-ph', { + months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'), + monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), + weekdays : 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split('_'), + weekdaysShort : 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'), + weekdaysMin : 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'MM/D/YYYY', + LL : 'MMMM D, YYYY', + LLL : 'MMMM D, YYYY HH:mm', + LLLL : 'dddd, MMMM DD, YYYY HH:mm' + }, + calendar : { + sameDay: '[Ngayon sa] LT', + nextDay: '[Bukas sa] LT', + nextWeek: 'dddd [sa] LT', + lastDay: '[Kahapon sa] LT', + lastWeek: 'dddd [huling linggo] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'sa loob ng %s', + past : '%s ang nakalipas', + s : 'ilang segundo', + m : 'isang minuto', + mm : '%d minuto', + h : 'isang oras', + hh : '%d oras', + d : 'isang araw', + dd : '%d araw', + M : 'isang buwan', + MM : '%d buwan', + y : 'isang taon', + yy : '%d taon' + }, + ordinalParse: /\d{1,2}/, + ordinal : function (number) { + return number; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return tl_ph; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tl-ph.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tl-ph.min.js new file mode 100644 index 0000000000000000000000000000000000000000..abb2a0f0d8128a3f5d72ed47c485fbf6a72f24d5 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tl-ph.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"[Ngayon sa] LT",nextDay:"[Bukas sa] LT",nextWeek:"dddd [sa] LT",lastDay:"[Kahapon sa] LT",lastWeek:"dddd [huling linggo] LT",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},ordinalParse:/\d{1,2}/,ordinal:function(a){return a},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tlh.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tlh.js new file mode 100644 index 0000000000000000000000000000000000000000..80181784838f742f404cf5398cc2f0003ad8694c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tlh.js @@ -0,0 +1,120 @@ +//! moment.js locale configuration +//! locale : Klingon [tlh] +//! author : Dominika Kruk : https://github.com/amaranthrose + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_'); + + function translateFuture(output) { + var time = output; + time = (output.indexOf('jaj') !== -1) ? + time.slice(0, -3) + 'leS' : + (output.indexOf('jar') !== -1) ? + time.slice(0, -3) + 'waQ' : + (output.indexOf('DIS') !== -1) ? + time.slice(0, -3) + 'nem' : + time + ' pIq'; + return time; + } + + function translatePast(output) { + var time = output; + time = (output.indexOf('jaj') !== -1) ? + time.slice(0, -3) + 'Hu’' : + (output.indexOf('jar') !== -1) ? + time.slice(0, -3) + 'wen' : + (output.indexOf('DIS') !== -1) ? + time.slice(0, -3) + 'ben' : + time + ' ret'; + return time; + } + + function translate(number, withoutSuffix, string, isFuture) { + var numberNoun = numberAsNoun(number); + switch (string) { + case 'mm': + return numberNoun + ' tup'; + case 'hh': + return numberNoun + ' rep'; + case 'dd': + return numberNoun + ' jaj'; + case 'MM': + return numberNoun + ' jar'; + case 'yy': + return numberNoun + ' DIS'; + } + } + + function numberAsNoun(number) { + var hundred = Math.floor((number % 1000) / 100), + ten = Math.floor((number % 100) / 10), + one = number % 10, + word = ''; + if (hundred > 0) { + word += numbersNouns[hundred] + 'vatlh'; + } + if (ten > 0) { + word += ((word !== '') ? ' ' : '') + numbersNouns[ten] + 'maH'; + } + if (one > 0) { + word += ((word !== '') ? ' ' : '') + numbersNouns[one]; + } + return (word === '') ? 'pagh' : word; + } + + var tlh = moment.defineLocale('tlh', { + months : 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split('_'), + monthsShort : 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split('_'), + monthsParseExact : true, + weekdays : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + weekdaysShort : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + weekdaysMin : 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[DaHjaj] LT', + nextDay: '[wa’leS] LT', + nextWeek: 'LLL', + lastDay: '[wa’Hu’] LT', + lastWeek: 'LLL', + sameElse: 'L' + }, + relativeTime : { + future : translateFuture, + past : translatePast, + s : 'puS lup', + m : 'wa’ tup', + mm : translate, + h : 'wa’ rep', + hh : translate, + d : 'wa’ jaj', + dd : translate, + M : 'wa’ jar', + MM : translate, + y : 'wa’ DIS', + yy : translate + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return tlh; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tlh.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tlh.min.js new file mode 100644 index 0000000000000000000000000000000000000000..985c6cf5d28d97eea406035cc62bc11e841a147c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tlh.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a){var b=a;return b=a.indexOf("jaj")!==-1?b.slice(0,-3)+"leS":a.indexOf("jar")!==-1?b.slice(0,-3)+"waQ":a.indexOf("DIS")!==-1?b.slice(0,-3)+"nem":b+" pIq"}function c(a){var b=a;return b=a.indexOf("jaj")!==-1?b.slice(0,-3)+"Hu’":a.indexOf("jar")!==-1?b.slice(0,-3)+"wen":a.indexOf("DIS")!==-1?b.slice(0,-3)+"ben":b+" ret"}function d(a,b,c,d){var f=e(a);switch(c){case"mm":return f+" tup";case"hh":return f+" rep";case"dd":return f+" jaj";case"MM":return f+" jar";case"yy":return f+" DIS"}}function e(a){var b=Math.floor(a%1e3/100),c=Math.floor(a%100/10),d=a%10,e="";return b>0&&(e+=f[b]+"vatlh"),c>0&&(e+=(""!==e?" ":"")+f[c]+"maH"),d>0&&(e+=(""!==e?" ":"")+f[d]),""===e?"pagh":e}var f="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_"),g=a.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:b,past:c,s:"puS lup",m:"wa’ tup",mm:d,h:"wa’ rep",hh:d,d:"wa’ jaj",dd:d,M:"wa’ jar",MM:d,y:"wa’ DIS",yy:d},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return g}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tr.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tr.js new file mode 100644 index 0000000000000000000000000000000000000000..c88ed7eeddc3975c831bd68e2245370660e14fb0 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tr.js @@ -0,0 +1,90 @@ +//! moment.js locale configuration +//! locale : Turkish [tr] +//! authors : Erhan Gundogan : https://github.com/erhangundogan, +//! Burak Yiğit Kaya: https://github.com/BYK + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var suffixes = { + 1: '\'inci', + 5: '\'inci', + 8: '\'inci', + 70: '\'inci', + 80: '\'inci', + 2: '\'nci', + 7: '\'nci', + 20: '\'nci', + 50: '\'nci', + 3: '\'üncü', + 4: '\'üncü', + 100: '\'üncü', + 6: '\'ncı', + 9: '\'uncu', + 10: '\'uncu', + 30: '\'uncu', + 60: '\'ıncı', + 90: '\'ıncı' + }; + + var tr = moment.defineLocale('tr', { + months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'), + monthsShort : 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'), + weekdays : 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split('_'), + weekdaysShort : 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'), + weekdaysMin : 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[bugün saat] LT', + nextDay : '[yarın saat] LT', + nextWeek : '[haftaya] dddd [saat] LT', + lastDay : '[dün] LT', + lastWeek : '[geçen hafta] dddd [saat] LT', + sameElse : 'L' + }, + relativeTime : { + future : '%s sonra', + past : '%s önce', + s : 'birkaç saniye', + m : 'bir dakika', + mm : '%d dakika', + h : 'bir saat', + hh : '%d saat', + d : 'bir gün', + dd : '%d gün', + M : 'bir ay', + MM : '%d ay', + y : 'bir yıl', + yy : '%d yıl' + }, + ordinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/, + ordinal : function (number) { + if (number === 0) { // special case for zero + return number + '\'ıncı'; + } + var a = number % 10, + b = number % 100 - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return tr; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tr.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tr.min.js new file mode 100644 index 0000000000000000000000000000000000000000..5546d8264f861a39b137bed504c6b1e9f9b327da --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tr.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},c=a.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[haftaya] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen hafta] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinalParse:/\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,ordinal:function(a){if(0===a)return a+"'ıncı";var c=a%10,d=a%100-c,e=a>=100?100:null;return a+(b[c]||b[d]||b[e])},week:{dow:1,doy:7}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzl.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzl.js new file mode 100644 index 0000000000000000000000000000000000000000..fd16c5ae8d85611e6b51322a66d2052cc6abdf15 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzl.js @@ -0,0 +1,91 @@ +//! moment.js locale configuration +//! locale : Talossan [tzl] +//! author : Robin van der Vliet : https://github.com/robin0van0der0v +//! author : Iustì Canun + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals. + // This is currently too difficult (maybe even impossible) to add. + var tzl = moment.defineLocale('tzl', { + months : 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split('_'), + monthsShort : 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'), + weekdays : 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'), + weekdaysShort : 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'), + weekdaysMin : 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'), + longDateFormat : { + LT : 'HH.mm', + LTS : 'HH.mm.ss', + L : 'DD.MM.YYYY', + LL : 'D. MMMM [dallas] YYYY', + LLL : 'D. MMMM [dallas] YYYY HH.mm', + LLLL : 'dddd, [li] D. MMMM [dallas] YYYY HH.mm' + }, + meridiemParse: /d\'o|d\'a/i, + isPM : function (input) { + return 'd\'o' === input.toLowerCase(); + }, + meridiem : function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'd\'o' : 'D\'O'; + } else { + return isLower ? 'd\'a' : 'D\'A'; + } + }, + calendar : { + sameDay : '[oxhi à] LT', + nextDay : '[demà à] LT', + nextWeek : 'dddd [à] LT', + lastDay : '[ieiri à] LT', + lastWeek : '[sür el] dddd [lasteu à] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'osprei %s', + past : 'ja%s', + s : processRelativeTime, + m : processRelativeTime, + mm : processRelativeTime, + h : processRelativeTime, + hh : processRelativeTime, + d : processRelativeTime, + dd : processRelativeTime, + M : processRelativeTime, + MM : processRelativeTime, + y : processRelativeTime, + yy : processRelativeTime + }, + ordinalParse: /\d{1,2}\./, + ordinal : '%d.', + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + function processRelativeTime(number, withoutSuffix, key, isFuture) { + var format = { + 's': ['viensas secunds', '\'iensas secunds'], + 'm': ['\'n míut', '\'iens míut'], + 'mm': [number + ' míuts', '' + number + ' míuts'], + 'h': ['\'n þora', '\'iensa þora'], + 'hh': [number + ' þoras', '' + number + ' þoras'], + 'd': ['\'n ziua', '\'iensa ziua'], + 'dd': [number + ' ziuas', '' + number + ' ziuas'], + 'M': ['\'n mes', '\'iens mes'], + 'MM': [number + ' mesen', '' + number + ' mesen'], + 'y': ['\'n ar', '\'iens ar'], + 'yy': [number + ' ars', '' + number + ' ars'] + }; + return isFuture ? format[key][0] : (withoutSuffix ? format[key][0] : format[key][1]); + } + + return tzl; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzl.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzl.min.js new file mode 100644 index 0000000000000000000000000000000000000000..8ac44bef3a5d58be9e85fb4f813af055d931146b --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzl.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b,c,d){var e={s:["viensas secunds","'iensas secunds"],m:["'n míut","'iens míut"],mm:[a+" míuts",""+a+" míuts"],h:["'n þora","'iensa þora"],hh:[a+" þoras",""+a+" þoras"],d:["'n ziua","'iensa ziua"],dd:[a+" ziuas",""+a+" ziuas"],M:["'n mes","'iens mes"],MM:[a+" mesen",""+a+" mesen"],y:["'n ar","'iens ar"],yy:[a+" ars",""+a+" ars"]};return d?e[c][0]:b?e[c][0]:e[c][1]}var c=a.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(a){return"d'o"===a.toLowerCase()},meridiem:function(a,b,c){return a>11?c?"d'o":"D'O":c?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:b,m:b,mm:b,h:b,hh:b,d:b,dd:b,M:b,MM:b,y:b,yy:b},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return c}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzm-latn.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzm-latn.js new file mode 100644 index 0000000000000000000000000000000000000000..ccf96b992e8277663465eafa06d0dcb70bfbc81f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzm-latn.js @@ -0,0 +1,58 @@ +//! moment.js locale configuration +//! locale : Central Atlas Tamazight Latin [tzm-latn] +//! author : Abdel Said : https://github.com/abdelsaid + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var tzm_latn = moment.defineLocale('tzm-latn', { + months : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), + monthsShort : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), + weekdays : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysShort : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + weekdaysMin : 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[asdkh g] LT', + nextDay: '[aska g] LT', + nextWeek: 'dddd [g] LT', + lastDay: '[assant g] LT', + lastWeek: 'dddd [g] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'dadkh s yan %s', + past : 'yan %s', + s : 'imik', + m : 'minuḍ', + mm : '%d minuḍ', + h : 'saɛa', + hh : '%d tassaɛin', + d : 'ass', + dd : '%d ossan', + M : 'ayowr', + MM : '%d iyyirn', + y : 'asgas', + yy : '%d isgasn' + }, + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); + + return tzm_latn; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzm-latn.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzm-latn.min.js new file mode 100644 index 0000000000000000000000000000000000000000..4a27fcef2b782b141e5fa3ec70aebfa15e90493c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzm-latn.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzm.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzm.js new file mode 100644 index 0000000000000000000000000000000000000000..71fb076ae2b58c1101ee472ec06f88fafa61c885 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzm.js @@ -0,0 +1,58 @@ +//! moment.js locale configuration +//! locale : Central Atlas Tamazight [tzm] +//! author : Abdel Said : https://github.com/abdelsaid + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var tzm = moment.defineLocale('tzm', { + months : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), + monthsShort : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), + weekdays : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysShort : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + weekdaysMin : 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS: 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd D MMMM YYYY HH:mm' + }, + calendar : { + sameDay: '[ⴰⵙⴷⵅ ⴴ] LT', + nextDay: '[ⴰⵙⴽⴰ ⴴ] LT', + nextWeek: 'dddd [ⴴ] LT', + lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT', + lastWeek: 'dddd [ⴴ] LT', + sameElse: 'L' + }, + relativeTime : { + future : 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s', + past : 'ⵢⴰⵏ %s', + s : 'ⵉⵎⵉⴽ', + m : 'ⵎⵉⵏⵓⴺ', + mm : '%d ⵎⵉⵏⵓⴺ', + h : 'ⵙⴰⵄⴰ', + hh : '%d ⵜⴰⵙⵙⴰⵄⵉⵏ', + d : 'ⴰⵙⵙ', + dd : '%d oⵙⵙⴰⵏ', + M : 'ⴰⵢoⵓⵔ', + MM : '%d ⵉⵢⵢⵉⵔⵏ', + y : 'ⴰⵙⴳⴰⵙ', + yy : '%d ⵉⵙⴳⴰⵙⵏ' + }, + week : { + dow : 6, // Saturday is the first day of the week. + doy : 12 // The week that contains Jan 1st is the first week of the year. + } + }); + + return tzm; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzm.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzm.min.js new file mode 100644 index 0000000000000000000000000000000000000000..789345a8c6f5df1793a3be1e6ab02ddcc15946f5 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/tzm.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/uk.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/uk.js new file mode 100644 index 0000000000000000000000000000000000000000..91ec18bf74fee7627c84da3ecf1cf37fbc735f04 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/uk.js @@ -0,0 +1,146 @@ +//! moment.js locale configuration +//! locale : Ukrainian [uk] +//! author : zemlanin : https://github.com/zemlanin +//! Author : Menelion Elensúle : https://github.com/Oire + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + function plural(word, num) { + var forms = word.split('_'); + return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); + } + function relativeTimeWithPlural(number, withoutSuffix, key) { + var format = { + 'mm': withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин', + 'hh': withoutSuffix ? 'година_години_годин' : 'годину_години_годин', + 'dd': 'день_дні_днів', + 'MM': 'місяць_місяці_місяців', + 'yy': 'рік_роки_років' + }; + if (key === 'm') { + return withoutSuffix ? 'хвилина' : 'хвилину'; + } + else if (key === 'h') { + return withoutSuffix ? 'година' : 'годину'; + } + else { + return number + ' ' + plural(format[key], +number); + } + } + function weekdaysCaseReplace(m, format) { + var weekdays = { + 'nominative': 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split('_'), + 'accusative': 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split('_'), + 'genitive': 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split('_') + }, + nounCase = (/(\[[ВвУу]\]) ?dddd/).test(format) ? + 'accusative' : + ((/\[?(?:минулої|наступної)? ?\] ?dddd/).test(format) ? + 'genitive' : + 'nominative'); + return weekdays[nounCase][m.day()]; + } + function processHoursFunction(str) { + return function () { + return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT'; + }; + } + + var uk = moment.defineLocale('uk', { + months : { + 'format': 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split('_'), + 'standalone': 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split('_') + }, + monthsShort : 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'), + weekdays : weekdaysCaseReplace, + weekdaysShort : 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD.MM.YYYY', + LL : 'D MMMM YYYY р.', + LLL : 'D MMMM YYYY р., HH:mm', + LLLL : 'dddd, D MMMM YYYY р., HH:mm' + }, + calendar : { + sameDay: processHoursFunction('[Сьогодні '), + nextDay: processHoursFunction('[Завтра '), + lastDay: processHoursFunction('[Вчора '), + nextWeek: processHoursFunction('[У] dddd ['), + lastWeek: function () { + switch (this.day()) { + case 0: + case 3: + case 5: + case 6: + return processHoursFunction('[Минулої] dddd [').call(this); + case 1: + case 2: + case 4: + return processHoursFunction('[Минулого] dddd [').call(this); + } + }, + sameElse: 'L' + }, + relativeTime : { + future : 'за %s', + past : '%s тому', + s : 'декілька секунд', + m : relativeTimeWithPlural, + mm : relativeTimeWithPlural, + h : 'годину', + hh : relativeTimeWithPlural, + d : 'день', + dd : relativeTimeWithPlural, + M : 'місяць', + MM : relativeTimeWithPlural, + y : 'рік', + yy : relativeTimeWithPlural + }, + // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason + meridiemParse: /ночі|ранку|дня|вечора/, + isPM: function (input) { + return /^(дня|вечора)$/.test(input); + }, + meridiem : function (hour, minute, isLower) { + if (hour < 4) { + return 'ночі'; + } else if (hour < 12) { + return 'ранку'; + } else if (hour < 17) { + return 'дня'; + } else { + return 'вечора'; + } + }, + ordinalParse: /\d{1,2}-(й|го)/, + ordinal: function (number, period) { + switch (period) { + case 'M': + case 'd': + case 'DDD': + case 'w': + case 'W': + return number + '-й'; + case 'D': + return number + '-го'; + default: + return number; + } + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 1st is the first week of the year. + } + }); + + return uk; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/uk.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/uk.min.js new file mode 100644 index 0000000000000000000000000000000000000000..3dd16af85f8c61e311e0e239550c1a8c8f9a5f57 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/uk.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";function b(a,b){var c=a.split("_");return b%10===1&&b%100!==11?c[0]:b%10>=2&&b%10<=4&&(b%100<10||b%100>=20)?c[1]:c[2]}function c(a,c,d){var e={mm:c?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:c?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===d?c?"хвилина":"хвилину":"h"===d?c?"година":"годину":a+" "+b(e[d],+a)}function d(a,b){var c={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")},d=/(\[[ВвУу]\]) ?dddd/.test(b)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(b)?"genitive":"nominative";return c[d][a.day()]}function e(a){return function(){return a+"о"+(11===this.hours()?"б":"")+"] LT"}}var f=a.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:d,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:e("[Сьогодні "),nextDay:e("[Завтра "),lastDay:e("[Вчора "),nextWeek:e("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return e("[Минулої] dddd [").call(this);case 1:case 2:case 4:return e("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:c,mm:c,h:"годину",hh:c,d:"день",dd:c,M:"місяць",MM:c,y:"рік",yy:c},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(a){return/^(дня|вечора)$/.test(a)},meridiem:function(a,b,c){return a<4?"ночі":a<12?"ранку":a<17?"дня":"вечора"},ordinalParse:/\d{1,2}-(й|го)/,ordinal:function(a,b){switch(b){case"M":case"d":case"DDD":case"w":case"W":return a+"-й";case"D":return a+"-го";default:return a}},week:{dow:1,doy:7}});return f}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/uz.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/uz.js new file mode 100644 index 0000000000000000000000000000000000000000..3fccde18457707b323e3eacc98e08e1f72dfd025 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/uz.js @@ -0,0 +1,58 @@ +//! moment.js locale configuration +//! locale : Uzbek [uz] +//! author : Sardor Muminov : https://github.com/muminoff + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var uz = moment.defineLocale('uz', { + months : 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split('_'), + monthsShort : 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), + weekdays : 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'), + weekdaysShort : 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'), + weekdaysMin : 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'), + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'D MMMM YYYY, dddd HH:mm' + }, + calendar : { + sameDay : '[Бугун соат] LT [да]', + nextDay : '[Эртага] LT [да]', + nextWeek : 'dddd [куни соат] LT [да]', + lastDay : '[Кеча соат] LT [да]', + lastWeek : '[Утган] dddd [куни соат] LT [да]', + sameElse : 'L' + }, + relativeTime : { + future : 'Якин %s ичида', + past : 'Бир неча %s олдин', + s : 'фурсат', + m : 'бир дакика', + mm : '%d дакика', + h : 'бир соат', + hh : '%d соат', + d : 'бир кун', + dd : '%d кун', + M : 'бир ой', + MM : '%d ой', + y : 'бир йил', + yy : '%d йил' + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 7 // The week that contains Jan 4th is the first week of the year. + } + }); + + return uz; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/uz.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/uz.min.js new file mode 100644 index 0000000000000000000000000000000000000000..cc2389ccc1264c602260b7eda3c74fd66e819ea0 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/uz.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/vi.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/vi.js new file mode 100644 index 0000000000000000000000000000000000000000..ba207e93ed03e1b824c9687df5679a296269eda1 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/vi.js @@ -0,0 +1,79 @@ +//! moment.js locale configuration +//! locale : Vietnamese [vi] +//! author : Bang Nguyen : https://github.com/bangnk + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var vi = moment.defineLocale('vi', { + months : 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'), + monthsShort : 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'), + monthsParseExact : true, + weekdays : 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'), + weekdaysShort : 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysMin : 'CN_T2_T3_T4_T5_T6_T7'.split('_'), + weekdaysParseExact : true, + meridiemParse: /sa|ch/i, + isPM : function (input) { + return /^ch$/i.test(input); + }, + meridiem : function (hours, minutes, isLower) { + if (hours < 12) { + return isLower ? 'sa' : 'SA'; + } else { + return isLower ? 'ch' : 'CH'; + } + }, + longDateFormat : { + LT : 'HH:mm', + LTS : 'HH:mm:ss', + L : 'DD/MM/YYYY', + LL : 'D MMMM [năm] YYYY', + LLL : 'D MMMM [năm] YYYY HH:mm', + LLLL : 'dddd, D MMMM [năm] YYYY HH:mm', + l : 'DD/M/YYYY', + ll : 'D MMM YYYY', + lll : 'D MMM YYYY HH:mm', + llll : 'ddd, D MMM YYYY HH:mm' + }, + calendar : { + sameDay: '[Hôm nay lúc] LT', + nextDay: '[Ngày mai lúc] LT', + nextWeek: 'dddd [tuần tới lúc] LT', + lastDay: '[Hôm qua lúc] LT', + lastWeek: 'dddd [tuần rồi lúc] LT', + sameElse: 'L' + }, + relativeTime : { + future : '%s tới', + past : '%s trước', + s : 'vài giây', + m : 'một phút', + mm : '%d phút', + h : 'một giờ', + hh : '%d giờ', + d : 'một ngày', + dd : '%d ngày', + M : 'một tháng', + MM : '%d tháng', + y : 'một năm', + yy : '%d năm' + }, + ordinalParse: /\d{1,2}/, + ordinal : function (number) { + return number; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return vi; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/vi.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/vi.min.js new file mode 100644 index 0000000000000000000000000000000000000000..6a5b43cbd47a5d5565240b91a100001ee8403f7c --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/vi.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(a){return/^ch$/i.test(a)},meridiem:function(a,b,c){return a<12?c?"sa":"SA":c?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần rồi lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},ordinalParse:/\d{1,2}/,ordinal:function(a){return a},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/x-pseudo.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/x-pseudo.js new file mode 100644 index 0000000000000000000000000000000000000000..f573d4c1a7bd4691ed7f4fc67a5fcf942ba9b8ac --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/x-pseudo.js @@ -0,0 +1,68 @@ +//! moment.js locale configuration +//! locale : Pseudo [x-pseudo] +//! author : Andrew Hood : https://github.com/andrewhood125 + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var x_pseudo = moment.defineLocale('x-pseudo', { + months : 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split('_'), + monthsShort : 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split('_'), + monthsParseExact : true, + weekdays : 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split('_'), + weekdaysShort : 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'), + weekdaysMin : 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'), + weekdaysParseExact : true, + longDateFormat : { + LT : 'HH:mm', + L : 'DD/MM/YYYY', + LL : 'D MMMM YYYY', + LLL : 'D MMMM YYYY HH:mm', + LLLL : 'dddd, D MMMM YYYY HH:mm' + }, + calendar : { + sameDay : '[T~ódá~ý át] LT', + nextDay : '[T~ómó~rró~w át] LT', + nextWeek : 'dddd [át] LT', + lastDay : '[Ý~ést~érdá~ý át] LT', + lastWeek : '[L~ást] dddd [át] LT', + sameElse : 'L' + }, + relativeTime : { + future : 'í~ñ %s', + past : '%s á~gó', + s : 'á ~féw ~sécó~ñds', + m : 'á ~míñ~úté', + mm : '%d m~íñú~tés', + h : 'á~ñ hó~úr', + hh : '%d h~óúrs', + d : 'á ~dáý', + dd : '%d d~áýs', + M : 'á ~móñ~th', + MM : '%d m~óñt~hs', + y : 'á ~ýéár', + yy : '%d ý~éárs' + }, + ordinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal : function (number) { + var b = number % 10, + output = (~~(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + }, + week : { + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return x_pseudo; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/x-pseudo.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/x-pseudo.min.js new file mode 100644 index 0000000000000000000000000000000000000000..0d324ca72f5ca33d8eaf310aacc384a310877168 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/x-pseudo.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===~~(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-cn.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-cn.js new file mode 100644 index 0000000000000000000000000000000000000000..cee6160fbc14f05e3509d9d8693205ac8dafd180 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-cn.js @@ -0,0 +1,127 @@ +//! moment.js locale configuration +//! locale : Chinese (China) [zh-cn] +//! author : suupic : https://github.com/suupic +//! author : Zeno Zeng : https://github.com/zenozeng + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var zh_cn = moment.defineLocale('zh-cn', { + months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort : '周日_周一_周二_周三_周四_周五_周六'.split('_'), + weekdaysMin : '日_一_二_三_四_五_六'.split('_'), + longDateFormat : { + LT : 'Ah点mm分', + LTS : 'Ah点m分s秒', + L : 'YYYY-MM-DD', + LL : 'YYYY年MMMD日', + LLL : 'YYYY年MMMD日Ah点mm分', + LLLL : 'YYYY年MMMD日ddddAh点mm分', + l : 'YYYY-MM-DD', + ll : 'YYYY年MMMD日', + lll : 'YYYY年MMMD日Ah点mm分', + llll : 'YYYY年MMMD日ddddAh点mm分' + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || + meridiem === '上午') { + return hour; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } else { + // '中午' + return hour >= 11 ? hour : hour + 12; + } + }, + meridiem : function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar : { + sameDay : function () { + return this.minutes() === 0 ? '[今天]Ah[点整]' : '[今天]LT'; + }, + nextDay : function () { + return this.minutes() === 0 ? '[明天]Ah[点整]' : '[明天]LT'; + }, + lastDay : function () { + return this.minutes() === 0 ? '[昨天]Ah[点整]' : '[昨天]LT'; + }, + nextWeek : function () { + var startOfWeek, prefix; + startOfWeek = moment().startOf('week'); + prefix = this.diff(startOfWeek, 'days') >= 7 ? '[下]' : '[本]'; + return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm'; + }, + lastWeek : function () { + var startOfWeek, prefix; + startOfWeek = moment().startOf('week'); + prefix = this.unix() < startOfWeek.unix() ? '[上]' : '[本]'; + return this.minutes() === 0 ? prefix + 'dddAh点整' : prefix + 'dddAh点mm'; + }, + sameElse : 'LL' + }, + ordinalParse: /\d{1,2}(日|月|周)/, + ordinal : function (number, period) { + switch (period) { + case 'd': + case 'D': + case 'DDD': + return number + '日'; + case 'M': + return number + '月'; + case 'w': + case 'W': + return number + '周'; + default: + return number; + } + }, + relativeTime : { + future : '%s内', + past : '%s前', + s : '几秒', + m : '1 分钟', + mm : '%d 分钟', + h : '1 小时', + hh : '%d 小时', + d : '1 天', + dd : '%d 天', + M : '1 个月', + MM : '%d 个月', + y : '1 年', + yy : '%d 年' + }, + week : { + // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 + dow : 1, // Monday is the first day of the week. + doy : 4 // The week that contains Jan 4th is the first week of the year. + } + }); + + return zh_cn; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-cn.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-cn.min.js new file mode 100644 index 0000000000000000000000000000000000000000..af10abbb3a9c0f27f3d05202cbd6c8e3dad11af0 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-cn.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"下午"===b||"晚上"===b?a+12:a>=11?a:a+12},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var b,c;return b=a().startOf("week"),c=this.diff(b,"days")>=7?"[下]":"[本]",0===this.minutes()?c+"dddAh点整":c+"dddAh点mm"},lastWeek:function(){var b,c;return b=a().startOf("week"),c=this.unix()<b.unix()?"[上]":"[本]",0===this.minutes()?c+"dddAh点整":c+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"周";default:return a}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-hk.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-hk.js new file mode 100644 index 0000000000000000000000000000000000000000..d12a2607356be7293951b346f18f6ca8a8f10cb2 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-hk.js @@ -0,0 +1,105 @@ +//! moment.js locale configuration +//! locale : Chinese (Hong Kong) [zh-hk] +//! author : Ben : https://github.com/ben-lin +//! author : Chris Lam : https://github.com/hehachris +//! author : Konstantin : https://github.com/skfd + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var zh_hk = moment.defineLocale('zh-hk', { + months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort : '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin : '日_一_二_三_四_五_六'.split('_'), + longDateFormat : { + LT : 'Ah點mm分', + LTS : 'Ah點m分s秒', + L : 'YYYY年MMMD日', + LL : 'YYYY年MMMD日', + LLL : 'YYYY年MMMD日Ah點mm分', + LLLL : 'YYYY年MMMD日ddddAh點mm分', + l : 'YYYY年MMMD日', + ll : 'YYYY年MMMD日', + lll : 'YYYY年MMMD日Ah點mm分', + llll : 'YYYY年MMMD日ddddAh點mm分' + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem : function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar : { + sameDay : '[今天]LT', + nextDay : '[明天]LT', + nextWeek : '[下]ddddLT', + lastDay : '[昨天]LT', + lastWeek : '[上]ddddLT', + sameElse : 'L' + }, + ordinalParse: /\d{1,2}(日|月|週)/, + ordinal : function (number, period) { + switch (period) { + case 'd' : + case 'D' : + case 'DDD' : + return number + '日'; + case 'M' : + return number + '月'; + case 'w' : + case 'W' : + return number + '週'; + default : + return number; + } + }, + relativeTime : { + future : '%s內', + past : '%s前', + s : '幾秒', + m : '1 分鐘', + mm : '%d 分鐘', + h : '1 小時', + hh : '%d 小時', + d : '1 天', + dd : '%d 天', + M : '1 個月', + MM : '%d 個月', + y : '1 年', + yy : '%d 年' + } + }); + + return zh_hk; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-hk.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-hk.min.js new file mode 100644 index 0000000000000000000000000000000000000000..4b602f2017c72844d28f2c8639d027e7d94d3de8 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-hk.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"中午"===b?a>=11?a:a+12:"下午"===b||"晚上"===b?a+12:void 0},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"週";default:return a}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-tw.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-tw.js new file mode 100644 index 0000000000000000000000000000000000000000..c6766c8b682f71d484d905b4d165b65c472d2b6d --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-tw.js @@ -0,0 +1,104 @@ +//! moment.js locale configuration +//! locale : Chinese (Taiwan) [zh-tw] +//! author : Ben : https://github.com/ben-lin +//! author : Chris Lam : https://github.com/hehachris + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' + && typeof require === 'function' ? factory(require('../moment')) : + typeof define === 'function' && define.amd ? define(['../moment'], factory) : + factory(global.moment) +}(this, function (moment) { 'use strict'; + + + var zh_tw = moment.defineLocale('zh-tw', { + months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), + monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), + weekdays : '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'), + weekdaysShort : '週日_週一_週二_週三_週四_週五_週六'.split('_'), + weekdaysMin : '日_一_二_三_四_五_六'.split('_'), + longDateFormat : { + LT : 'Ah點mm分', + LTS : 'Ah點m分s秒', + L : 'YYYY年MMMD日', + LL : 'YYYY年MMMD日', + LLL : 'YYYY年MMMD日Ah點mm分', + LLLL : 'YYYY年MMMD日ddddAh點mm分', + l : 'YYYY年MMMD日', + ll : 'YYYY年MMMD日', + lll : 'YYYY年MMMD日Ah點mm分', + llll : 'YYYY年MMMD日ddddAh點mm分' + }, + meridiemParse: /凌晨|早上|上午|中午|下午|晚上/, + meridiemHour : function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') { + return hour; + } else if (meridiem === '中午') { + return hour >= 11 ? hour : hour + 12; + } else if (meridiem === '下午' || meridiem === '晚上') { + return hour + 12; + } + }, + meridiem : function (hour, minute, isLower) { + var hm = hour * 100 + minute; + if (hm < 600) { + return '凌晨'; + } else if (hm < 900) { + return '早上'; + } else if (hm < 1130) { + return '上午'; + } else if (hm < 1230) { + return '中午'; + } else if (hm < 1800) { + return '下午'; + } else { + return '晚上'; + } + }, + calendar : { + sameDay : '[今天]LT', + nextDay : '[明天]LT', + nextWeek : '[下]ddddLT', + lastDay : '[昨天]LT', + lastWeek : '[上]ddddLT', + sameElse : 'L' + }, + ordinalParse: /\d{1,2}(日|月|週)/, + ordinal : function (number, period) { + switch (period) { + case 'd' : + case 'D' : + case 'DDD' : + return number + '日'; + case 'M' : + return number + '月'; + case 'w' : + case 'W' : + return number + '週'; + default : + return number; + } + }, + relativeTime : { + future : '%s內', + past : '%s前', + s : '幾秒', + m : '1 分鐘', + mm : '%d 分鐘', + h : '1 小時', + hh : '%d 小時', + d : '1 天', + dd : '%d 天', + M : '1 個月', + MM : '%d 個月', + y : '1 年', + yy : '%d 年' + } + }); + + return zh_tw; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-tw.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-tw.min.js new file mode 100644 index 0000000000000000000000000000000000000000..2318870aa9fe173ca0f32e7df241c5468f621c70 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/locale/zh-tw.min.js @@ -0,0 +1 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?define(["../moment"],b):b(a.moment)}(this,function(a){"use strict";var b=a.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah點mm分",LTS:"Ah點m分s秒",L:"YYYY年MMMD日",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah點mm分",LLLL:"YYYY年MMMD日ddddAh點mm分",l:"YYYY年MMMD日",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah點mm分",llll:"YYYY年MMMD日ddddAh點mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(a,b){return 12===a&&(a=0),"凌晨"===b||"早上"===b||"上午"===b?a:"中午"===b?a>=11?a:a+12:"下午"===b||"晚上"===b?a+12:void 0},meridiem:function(a,b,c){var d=100*a+b;return d<600?"凌晨":d<900?"早上":d<1130?"上午":d<1230?"中午":d<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},ordinalParse:/\d{1,2}(日|月|週)/,ordinal:function(a,b){switch(b){case"d":case"D":case"DDD":return a+"日";case"M":return a+"月";case"w":case"W":return a+"週";default:return a}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});return b}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/moment.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/moment.js new file mode 100644 index 0000000000000000000000000000000000000000..b78115b54d5739095aee2fd06e75c6af3459d2a4 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/moment.js @@ -0,0 +1,4234 @@ +//! moment.js +//! version : 2.15.1 +//! authors : Tim Wood, Iskren Chernev, Moment.js contributors +//! license : MIT +//! momentjs.com + +;(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + global.moment = factory() +}(this, function () { 'use strict'; + + var hookCallback; + + function utils_hooks__hooks () { + return hookCallback.apply(null, arguments); + } + + // This is done to register the method called with moment() + // without creating circular dependencies. + function setHookCallback (callback) { + hookCallback = callback; + } + + function isArray(input) { + return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]'; + } + + function isObject(input) { + // IE8 will treat undefined and null as object if it wasn't for + // input != null + return input != null && Object.prototype.toString.call(input) === '[object Object]'; + } + + function isObjectEmpty(obj) { + var k; + for (k in obj) { + // even if its not own property I'd still call it non-empty + return false; + } + return true; + } + + function isDate(input) { + return input instanceof Date || Object.prototype.toString.call(input) === '[object Date]'; + } + + function map(arr, fn) { + var res = [], i; + for (i = 0; i < arr.length; ++i) { + res.push(fn(arr[i], i)); + } + return res; + } + + function hasOwnProp(a, b) { + return Object.prototype.hasOwnProperty.call(a, b); + } + + function extend(a, b) { + for (var i in b) { + if (hasOwnProp(b, i)) { + a[i] = b[i]; + } + } + + if (hasOwnProp(b, 'toString')) { + a.toString = b.toString; + } + + if (hasOwnProp(b, 'valueOf')) { + a.valueOf = b.valueOf; + } + + return a; + } + + function create_utc__createUTC (input, format, locale, strict) { + return createLocalOrUTC(input, format, locale, strict, true).utc(); + } + + function defaultParsingFlags() { + // We need to deep clone this object. + return { + empty : false, + unusedTokens : [], + unusedInput : [], + overflow : -2, + charsLeftOver : 0, + nullInput : false, + invalidMonth : null, + invalidFormat : false, + userInvalidated : false, + iso : false, + parsedDateParts : [], + meridiem : null + }; + } + + function getParsingFlags(m) { + if (m._pf == null) { + m._pf = defaultParsingFlags(); + } + return m._pf; + } + + var some; + if (Array.prototype.some) { + some = Array.prototype.some; + } else { + some = function (fun) { + var t = Object(this); + var len = t.length >>> 0; + + for (var i = 0; i < len; i++) { + if (i in t && fun.call(this, t[i], i, t)) { + return true; + } + } + + return false; + }; + } + + function valid__isValid(m) { + if (m._isValid == null) { + var flags = getParsingFlags(m); + var parsedParts = some.call(flags.parsedDateParts, function (i) { + return i != null; + }); + var isNowValid = !isNaN(m._d.getTime()) && + flags.overflow < 0 && + !flags.empty && + !flags.invalidMonth && + !flags.invalidWeekday && + !flags.nullInput && + !flags.invalidFormat && + !flags.userInvalidated && + (!flags.meridiem || (flags.meridiem && parsedParts)); + + if (m._strict) { + isNowValid = isNowValid && + flags.charsLeftOver === 0 && + flags.unusedTokens.length === 0 && + flags.bigHour === undefined; + } + + if (Object.isFrozen == null || !Object.isFrozen(m)) { + m._isValid = isNowValid; + } + else { + return isNowValid; + } + } + return m._isValid; + } + + function valid__createInvalid (flags) { + var m = create_utc__createUTC(NaN); + if (flags != null) { + extend(getParsingFlags(m), flags); + } + else { + getParsingFlags(m).userInvalidated = true; + } + + return m; + } + + function isUndefined(input) { + return input === void 0; + } + + // Plugins that add properties should also add the key here (null value), + // so we can properly clone ourselves. + var momentProperties = utils_hooks__hooks.momentProperties = []; + + function copyConfig(to, from) { + var i, prop, val; + + if (!isUndefined(from._isAMomentObject)) { + to._isAMomentObject = from._isAMomentObject; + } + if (!isUndefined(from._i)) { + to._i = from._i; + } + if (!isUndefined(from._f)) { + to._f = from._f; + } + if (!isUndefined(from._l)) { + to._l = from._l; + } + if (!isUndefined(from._strict)) { + to._strict = from._strict; + } + if (!isUndefined(from._tzm)) { + to._tzm = from._tzm; + } + if (!isUndefined(from._isUTC)) { + to._isUTC = from._isUTC; + } + if (!isUndefined(from._offset)) { + to._offset = from._offset; + } + if (!isUndefined(from._pf)) { + to._pf = getParsingFlags(from); + } + if (!isUndefined(from._locale)) { + to._locale = from._locale; + } + + if (momentProperties.length > 0) { + for (i in momentProperties) { + prop = momentProperties[i]; + val = from[prop]; + if (!isUndefined(val)) { + to[prop] = val; + } + } + } + + return to; + } + + var updateInProgress = false; + + // Moment prototype object + function Moment(config) { + copyConfig(this, config); + this._d = new Date(config._d != null ? config._d.getTime() : NaN); + // Prevent infinite loop in case updateOffset creates new moment + // objects. + if (updateInProgress === false) { + updateInProgress = true; + utils_hooks__hooks.updateOffset(this); + updateInProgress = false; + } + } + + function isMoment (obj) { + return obj instanceof Moment || (obj != null && obj._isAMomentObject != null); + } + + function absFloor (number) { + if (number < 0) { + // -0 -> 0 + return Math.ceil(number) || 0; + } else { + return Math.floor(number); + } + } + + function toInt(argumentForCoercion) { + var coercedNumber = +argumentForCoercion, + value = 0; + + if (coercedNumber !== 0 && isFinite(coercedNumber)) { + value = absFloor(coercedNumber); + } + + return value; + } + + // compare two arrays, return the number of differences + function compareArrays(array1, array2, dontConvert) { + var len = Math.min(array1.length, array2.length), + lengthDiff = Math.abs(array1.length - array2.length), + diffs = 0, + i; + for (i = 0; i < len; i++) { + if ((dontConvert && array1[i] !== array2[i]) || + (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) { + diffs++; + } + } + return diffs + lengthDiff; + } + + function warn(msg) { + if (utils_hooks__hooks.suppressDeprecationWarnings === false && + (typeof console !== 'undefined') && console.warn) { + console.warn('Deprecation warning: ' + msg); + } + } + + function deprecate(msg, fn) { + var firstTime = true; + + return extend(function () { + if (utils_hooks__hooks.deprecationHandler != null) { + utils_hooks__hooks.deprecationHandler(null, msg); + } + if (firstTime) { + var args = []; + var arg; + for (var i = 0; i < arguments.length; i++) { + arg = ''; + if (typeof arguments[i] === 'object') { + arg += '\n[' + i + '] '; + for (var key in arguments[0]) { + arg += key + ': ' + arguments[0][key] + ', '; + } + arg = arg.slice(0, -2); // Remove trailing comma and space + } else { + arg = arguments[i]; + } + args.push(arg); + } + warn(msg + '\nArguments: ' + Array.prototype.slice.call(args).join('') + '\n' + (new Error()).stack); + firstTime = false; + } + return fn.apply(this, arguments); + }, fn); + } + + var deprecations = {}; + + function deprecateSimple(name, msg) { + if (utils_hooks__hooks.deprecationHandler != null) { + utils_hooks__hooks.deprecationHandler(name, msg); + } + if (!deprecations[name]) { + warn(msg); + deprecations[name] = true; + } + } + + utils_hooks__hooks.suppressDeprecationWarnings = false; + utils_hooks__hooks.deprecationHandler = null; + + function isFunction(input) { + return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; + } + + function locale_set__set (config) { + var prop, i; + for (i in config) { + prop = config[i]; + if (isFunction(prop)) { + this[i] = prop; + } else { + this['_' + i] = prop; + } + } + this._config = config; + // Lenient ordinal parsing accepts just a number in addition to + // number + (possibly) stuff coming from _ordinalParseLenient. + this._ordinalParseLenient = new RegExp(this._ordinalParse.source + '|' + (/\d{1,2}/).source); + } + + function mergeConfigs(parentConfig, childConfig) { + var res = extend({}, parentConfig), prop; + for (prop in childConfig) { + if (hasOwnProp(childConfig, prop)) { + if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) { + res[prop] = {}; + extend(res[prop], parentConfig[prop]); + extend(res[prop], childConfig[prop]); + } else if (childConfig[prop] != null) { + res[prop] = childConfig[prop]; + } else { + delete res[prop]; + } + } + } + for (prop in parentConfig) { + if (hasOwnProp(parentConfig, prop) && + !hasOwnProp(childConfig, prop) && + isObject(parentConfig[prop])) { + // make sure changes to properties don't modify parent config + res[prop] = extend({}, res[prop]); + } + } + return res; + } + + function Locale(config) { + if (config != null) { + this.set(config); + } + } + + var keys; + + if (Object.keys) { + keys = Object.keys; + } else { + keys = function (obj) { + var i, res = []; + for (i in obj) { + if (hasOwnProp(obj, i)) { + res.push(i); + } + } + return res; + }; + } + + var defaultCalendar = { + sameDay : '[Today at] LT', + nextDay : '[Tomorrow at] LT', + nextWeek : 'dddd [at] LT', + lastDay : '[Yesterday at] LT', + lastWeek : '[Last] dddd [at] LT', + sameElse : 'L' + }; + + function locale_calendar__calendar (key, mom, now) { + var output = this._calendar[key] || this._calendar['sameElse']; + return isFunction(output) ? output.call(mom, now) : output; + } + + var defaultLongDateFormat = { + LTS : 'h:mm:ss A', + LT : 'h:mm A', + L : 'MM/DD/YYYY', + LL : 'MMMM D, YYYY', + LLL : 'MMMM D, YYYY h:mm A', + LLLL : 'dddd, MMMM D, YYYY h:mm A' + }; + + function longDateFormat (key) { + var format = this._longDateFormat[key], + formatUpper = this._longDateFormat[key.toUpperCase()]; + + if (format || !formatUpper) { + return format; + } + + this._longDateFormat[key] = formatUpper.replace(/MMMM|MM|DD|dddd/g, function (val) { + return val.slice(1); + }); + + return this._longDateFormat[key]; + } + + var defaultInvalidDate = 'Invalid date'; + + function invalidDate () { + return this._invalidDate; + } + + var defaultOrdinal = '%d'; + var defaultOrdinalParse = /\d{1,2}/; + + function ordinal (number) { + return this._ordinal.replace('%d', number); + } + + var defaultRelativeTime = { + future : 'in %s', + past : '%s ago', + s : 'a few seconds', + m : 'a minute', + mm : '%d minutes', + h : 'an hour', + hh : '%d hours', + d : 'a day', + dd : '%d days', + M : 'a month', + MM : '%d months', + y : 'a year', + yy : '%d years' + }; + + function relative__relativeTime (number, withoutSuffix, string, isFuture) { + var output = this._relativeTime[string]; + return (isFunction(output)) ? + output(number, withoutSuffix, string, isFuture) : + output.replace(/%d/i, number); + } + + function pastFuture (diff, output) { + var format = this._relativeTime[diff > 0 ? 'future' : 'past']; + return isFunction(format) ? format(output) : format.replace(/%s/i, output); + } + + var aliases = {}; + + function addUnitAlias (unit, shorthand) { + var lowerCase = unit.toLowerCase(); + aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit; + } + + function normalizeUnits(units) { + return typeof units === 'string' ? aliases[units] || aliases[units.toLowerCase()] : undefined; + } + + function normalizeObjectUnits(inputObject) { + var normalizedInput = {}, + normalizedProp, + prop; + + for (prop in inputObject) { + if (hasOwnProp(inputObject, prop)) { + normalizedProp = normalizeUnits(prop); + if (normalizedProp) { + normalizedInput[normalizedProp] = inputObject[prop]; + } + } + } + + return normalizedInput; + } + + var priorities = {}; + + function addUnitPriority(unit, priority) { + priorities[unit] = priority; + } + + function getPrioritizedUnits(unitsObj) { + var units = []; + for (var u in unitsObj) { + units.push({unit: u, priority: priorities[u]}); + } + units.sort(function (a, b) { + return a.priority - b.priority; + }); + return units; + } + + function makeGetSet (unit, keepTime) { + return function (value) { + if (value != null) { + get_set__set(this, unit, value); + utils_hooks__hooks.updateOffset(this, keepTime); + return this; + } else { + return get_set__get(this, unit); + } + }; + } + + function get_set__get (mom, unit) { + return mom.isValid() ? + mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN; + } + + function get_set__set (mom, unit, value) { + if (mom.isValid()) { + mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); + } + } + + // MOMENTS + + function stringGet (units) { + units = normalizeUnits(units); + if (isFunction(this[units])) { + return this[units](); + } + return this; + } + + + function stringSet (units, value) { + if (typeof units === 'object') { + units = normalizeObjectUnits(units); + var prioritized = getPrioritizedUnits(units); + for (var i = 0; i < prioritized.length; i++) { + this[prioritized[i].unit](units[prioritized[i].unit]); + } + } else { + units = normalizeUnits(units); + if (isFunction(this[units])) { + return this[units](value); + } + } + return this; + } + + function zeroFill(number, targetLength, forceSign) { + var absNumber = '' + Math.abs(number), + zerosToFill = targetLength - absNumber.length, + sign = number >= 0; + return (sign ? (forceSign ? '+' : '') : '-') + + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber; + } + + var formattingTokens = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g; + + var localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g; + + var formatFunctions = {}; + + var formatTokenFunctions = {}; + + // token: 'M' + // padded: ['MM', 2] + // ordinal: 'Mo' + // callback: function () { this.month() + 1 } + function addFormatToken (token, padded, ordinal, callback) { + var func = callback; + if (typeof callback === 'string') { + func = function () { + return this[callback](); + }; + } + if (token) { + formatTokenFunctions[token] = func; + } + if (padded) { + formatTokenFunctions[padded[0]] = function () { + return zeroFill(func.apply(this, arguments), padded[1], padded[2]); + }; + } + if (ordinal) { + formatTokenFunctions[ordinal] = function () { + return this.localeData().ordinal(func.apply(this, arguments), token); + }; + } + } + + function removeFormattingTokens(input) { + if (input.match(/\[[\s\S]/)) { + return input.replace(/^\[|\]$/g, ''); + } + return input.replace(/\\/g, ''); + } + + function makeFormatFunction(format) { + var array = format.match(formattingTokens), i, length; + + for (i = 0, length = array.length; i < length; i++) { + if (formatTokenFunctions[array[i]]) { + array[i] = formatTokenFunctions[array[i]]; + } else { + array[i] = removeFormattingTokens(array[i]); + } + } + + return function (mom) { + var output = '', i; + for (i = 0; i < length; i++) { + output += array[i] instanceof Function ? array[i].call(mom, format) : array[i]; + } + return output; + }; + } + + // format date using native date object + function formatMoment(m, format) { + if (!m.isValid()) { + return m.localeData().invalidDate(); + } + + format = expandFormat(format, m.localeData()); + formatFunctions[format] = formatFunctions[format] || makeFormatFunction(format); + + return formatFunctions[format](m); + } + + function expandFormat(format, locale) { + var i = 5; + + function replaceLongDateFormatTokens(input) { + return locale.longDateFormat(input) || input; + } + + localFormattingTokens.lastIndex = 0; + while (i >= 0 && localFormattingTokens.test(format)) { + format = format.replace(localFormattingTokens, replaceLongDateFormatTokens); + localFormattingTokens.lastIndex = 0; + i -= 1; + } + + return format; + } + + var match1 = /\d/; // 0 - 9 + var match2 = /\d\d/; // 00 - 99 + var match3 = /\d{3}/; // 000 - 999 + var match4 = /\d{4}/; // 0000 - 9999 + var match6 = /[+-]?\d{6}/; // -999999 - 999999 + var match1to2 = /\d\d?/; // 0 - 99 + var match3to4 = /\d\d\d\d?/; // 999 - 9999 + var match5to6 = /\d\d\d\d\d\d?/; // 99999 - 999999 + var match1to3 = /\d{1,3}/; // 0 - 999 + var match1to4 = /\d{1,4}/; // 0 - 9999 + var match1to6 = /[+-]?\d{1,6}/; // -999999 - 999999 + + var matchUnsigned = /\d+/; // 0 - inf + var matchSigned = /[+-]?\d+/; // -inf - inf + + var matchOffset = /Z|[+-]\d\d:?\d\d/gi; // +00:00 -00:00 +0000 -0000 or Z + var matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi; // +00 -00 +00:00 -00:00 +0000 -0000 or Z + + var matchTimestamp = /[+-]?\d+(\.\d{1,3})?/; // 123456789 123456789.123 + + // any word (or two) characters or numbers including two/three word month in arabic. + // includes scottish gaelic two word and hyphenated months + var matchWord = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i; + + + var regexes = {}; + + function addRegexToken (token, regex, strictRegex) { + regexes[token] = isFunction(regex) ? regex : function (isStrict, localeData) { + return (isStrict && strictRegex) ? strictRegex : regex; + }; + } + + function getParseRegexForToken (token, config) { + if (!hasOwnProp(regexes, token)) { + return new RegExp(unescapeFormat(token)); + } + + return regexes[token](config._strict, config._locale); + } + + // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript + function unescapeFormat(s) { + return regexEscape(s.replace('\\', '').replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) { + return p1 || p2 || p3 || p4; + })); + } + + function regexEscape(s) { + return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); + } + + var tokens = {}; + + function addParseToken (token, callback) { + var i, func = callback; + if (typeof token === 'string') { + token = [token]; + } + if (typeof callback === 'number') { + func = function (input, array) { + array[callback] = toInt(input); + }; + } + for (i = 0; i < token.length; i++) { + tokens[token[i]] = func; + } + } + + function addWeekParseToken (token, callback) { + addParseToken(token, function (input, array, config, token) { + config._w = config._w || {}; + callback(input, config._w, config, token); + }); + } + + function addTimeToArrayFromToken(token, input, config) { + if (input != null && hasOwnProp(tokens, token)) { + tokens[token](input, config._a, config, token); + } + } + + var YEAR = 0; + var MONTH = 1; + var DATE = 2; + var HOUR = 3; + var MINUTE = 4; + var SECOND = 5; + var MILLISECOND = 6; + var WEEK = 7; + var WEEKDAY = 8; + + var indexOf; + + if (Array.prototype.indexOf) { + indexOf = Array.prototype.indexOf; + } else { + indexOf = function (o) { + // I know + var i; + for (i = 0; i < this.length; ++i) { + if (this[i] === o) { + return i; + } + } + return -1; + }; + } + + function daysInMonth(year, month) { + return new Date(Date.UTC(year, month + 1, 0)).getUTCDate(); + } + + // FORMATTING + + addFormatToken('M', ['MM', 2], 'Mo', function () { + return this.month() + 1; + }); + + addFormatToken('MMM', 0, 0, function (format) { + return this.localeData().monthsShort(this, format); + }); + + addFormatToken('MMMM', 0, 0, function (format) { + return this.localeData().months(this, format); + }); + + // ALIASES + + addUnitAlias('month', 'M'); + + // PRIORITY + + addUnitPriority('month', 8); + + // PARSING + + addRegexToken('M', match1to2); + addRegexToken('MM', match1to2, match2); + addRegexToken('MMM', function (isStrict, locale) { + return locale.monthsShortRegex(isStrict); + }); + addRegexToken('MMMM', function (isStrict, locale) { + return locale.monthsRegex(isStrict); + }); + + addParseToken(['M', 'MM'], function (input, array) { + array[MONTH] = toInt(input) - 1; + }); + + addParseToken(['MMM', 'MMMM'], function (input, array, config, token) { + var month = config._locale.monthsParse(input, token, config._strict); + // if we didn't find a month name, mark the date as invalid. + if (month != null) { + array[MONTH] = month; + } else { + getParsingFlags(config).invalidMonth = input; + } + }); + + // LOCALES + + var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/; + var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'); + function localeMonths (m, format) { + if (!m) { + return this._months; + } + return isArray(this._months) ? this._months[m.month()] : + this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format) ? 'format' : 'standalone'][m.month()]; + } + + var defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'); + function localeMonthsShort (m, format) { + if (!m) { + return this._monthsShort; + } + return isArray(this._monthsShort) ? this._monthsShort[m.month()] : + this._monthsShort[MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'][m.month()]; + } + + function units_month__handleStrictParse(monthName, format, strict) { + var i, ii, mom, llc = monthName.toLocaleLowerCase(); + if (!this._monthsParse) { + // this is not used + this._monthsParse = []; + this._longMonthsParse = []; + this._shortMonthsParse = []; + for (i = 0; i < 12; ++i) { + mom = create_utc__createUTC([2000, i]); + this._shortMonthsParse[i] = this.monthsShort(mom, '').toLocaleLowerCase(); + this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase(); + } + } + + if (strict) { + if (format === 'MMM') { + ii = indexOf.call(this._shortMonthsParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._longMonthsParse, llc); + return ii !== -1 ? ii : null; + } + } else { + if (format === 'MMM') { + ii = indexOf.call(this._shortMonthsParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._longMonthsParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._longMonthsParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortMonthsParse, llc); + return ii !== -1 ? ii : null; + } + } + } + + function localeMonthsParse (monthName, format, strict) { + var i, mom, regex; + + if (this._monthsParseExact) { + return units_month__handleStrictParse.call(this, monthName, format, strict); + } + + if (!this._monthsParse) { + this._monthsParse = []; + this._longMonthsParse = []; + this._shortMonthsParse = []; + } + + // TODO: add sorting + // Sorting makes sure if one month (or abbr) is a prefix of another + // see sorting in computeMonthsParse + for (i = 0; i < 12; i++) { + // make the regex if we don't have it already + mom = create_utc__createUTC([2000, i]); + if (strict && !this._longMonthsParse[i]) { + this._longMonthsParse[i] = new RegExp('^' + this.months(mom, '').replace('.', '') + '$', 'i'); + this._shortMonthsParse[i] = new RegExp('^' + this.monthsShort(mom, '').replace('.', '') + '$', 'i'); + } + if (!strict && !this._monthsParse[i]) { + regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); + this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if (strict && format === 'MMMM' && this._longMonthsParse[i].test(monthName)) { + return i; + } else if (strict && format === 'MMM' && this._shortMonthsParse[i].test(monthName)) { + return i; + } else if (!strict && this._monthsParse[i].test(monthName)) { + return i; + } + } + } + + // MOMENTS + + function setMonth (mom, value) { + var dayOfMonth; + + if (!mom.isValid()) { + // No op + return mom; + } + + if (typeof value === 'string') { + if (/^\d+$/.test(value)) { + value = toInt(value); + } else { + value = mom.localeData().monthsParse(value); + // TODO: Another silent failure? + if (typeof value !== 'number') { + return mom; + } + } + } + + dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value)); + mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth); + return mom; + } + + function getSetMonth (value) { + if (value != null) { + setMonth(this, value); + utils_hooks__hooks.updateOffset(this, true); + return this; + } else { + return get_set__get(this, 'Month'); + } + } + + function getDaysInMonth () { + return daysInMonth(this.year(), this.month()); + } + + var defaultMonthsShortRegex = matchWord; + function monthsShortRegex (isStrict) { + if (this._monthsParseExact) { + if (!hasOwnProp(this, '_monthsRegex')) { + computeMonthsParse.call(this); + } + if (isStrict) { + return this._monthsShortStrictRegex; + } else { + return this._monthsShortRegex; + } + } else { + if (!hasOwnProp(this, '_monthsShortRegex')) { + this._monthsShortRegex = defaultMonthsShortRegex; + } + return this._monthsShortStrictRegex && isStrict ? + this._monthsShortStrictRegex : this._monthsShortRegex; + } + } + + var defaultMonthsRegex = matchWord; + function monthsRegex (isStrict) { + if (this._monthsParseExact) { + if (!hasOwnProp(this, '_monthsRegex')) { + computeMonthsParse.call(this); + } + if (isStrict) { + return this._monthsStrictRegex; + } else { + return this._monthsRegex; + } + } else { + if (!hasOwnProp(this, '_monthsRegex')) { + this._monthsRegex = defaultMonthsRegex; + } + return this._monthsStrictRegex && isStrict ? + this._monthsStrictRegex : this._monthsRegex; + } + } + + function computeMonthsParse () { + function cmpLenRev(a, b) { + return b.length - a.length; + } + + var shortPieces = [], longPieces = [], mixedPieces = [], + i, mom; + for (i = 0; i < 12; i++) { + // make the regex if we don't have it already + mom = create_utc__createUTC([2000, i]); + shortPieces.push(this.monthsShort(mom, '')); + longPieces.push(this.months(mom, '')); + mixedPieces.push(this.months(mom, '')); + mixedPieces.push(this.monthsShort(mom, '')); + } + // Sorting makes sure if one month (or abbr) is a prefix of another it + // will match the longer piece. + shortPieces.sort(cmpLenRev); + longPieces.sort(cmpLenRev); + mixedPieces.sort(cmpLenRev); + for (i = 0; i < 12; i++) { + shortPieces[i] = regexEscape(shortPieces[i]); + longPieces[i] = regexEscape(longPieces[i]); + } + for (i = 0; i < 24; i++) { + mixedPieces[i] = regexEscape(mixedPieces[i]); + } + + this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._monthsShortRegex = this._monthsRegex; + this._monthsStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i'); + this._monthsShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i'); + } + + // FORMATTING + + addFormatToken('Y', 0, 0, function () { + var y = this.year(); + return y <= 9999 ? '' + y : '+' + y; + }); + + addFormatToken(0, ['YY', 2], 0, function () { + return this.year() % 100; + }); + + addFormatToken(0, ['YYYY', 4], 0, 'year'); + addFormatToken(0, ['YYYYY', 5], 0, 'year'); + addFormatToken(0, ['YYYYYY', 6, true], 0, 'year'); + + // ALIASES + + addUnitAlias('year', 'y'); + + // PRIORITIES + + addUnitPriority('year', 1); + + // PARSING + + addRegexToken('Y', matchSigned); + addRegexToken('YY', match1to2, match2); + addRegexToken('YYYY', match1to4, match4); + addRegexToken('YYYYY', match1to6, match6); + addRegexToken('YYYYYY', match1to6, match6); + + addParseToken(['YYYYY', 'YYYYYY'], YEAR); + addParseToken('YYYY', function (input, array) { + array[YEAR] = input.length === 2 ? utils_hooks__hooks.parseTwoDigitYear(input) : toInt(input); + }); + addParseToken('YY', function (input, array) { + array[YEAR] = utils_hooks__hooks.parseTwoDigitYear(input); + }); + addParseToken('Y', function (input, array) { + array[YEAR] = parseInt(input, 10); + }); + + // HELPERS + + function daysInYear(year) { + return isLeapYear(year) ? 366 : 365; + } + + function isLeapYear(year) { + return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; + } + + // HOOKS + + utils_hooks__hooks.parseTwoDigitYear = function (input) { + return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); + }; + + // MOMENTS + + var getSetYear = makeGetSet('FullYear', true); + + function getIsLeapYear () { + return isLeapYear(this.year()); + } + + function createDate (y, m, d, h, M, s, ms) { + //can't just apply() to create a date: + //http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply + var date = new Date(y, m, d, h, M, s, ms); + + //the date constructor remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0 && isFinite(date.getFullYear())) { + date.setFullYear(y); + } + return date; + } + + function createUTCDate (y) { + var date = new Date(Date.UTC.apply(null, arguments)); + + //the Date.UTC function remaps years 0-99 to 1900-1999 + if (y < 100 && y >= 0 && isFinite(date.getUTCFullYear())) { + date.setUTCFullYear(y); + } + return date; + } + + // start-of-first-week - start-of-year + function firstWeekOffset(year, dow, doy) { + var // first-week day -- which january is always in the first week (4 for iso, 1 for other) + fwd = 7 + dow - doy, + // first-week day local weekday -- which local weekday is fwd + fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7; + + return -fwdlw + fwd - 1; + } + + //http://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday + function dayOfYearFromWeeks(year, week, weekday, dow, doy) { + var localWeekday = (7 + weekday - dow) % 7, + weekOffset = firstWeekOffset(year, dow, doy), + dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset, + resYear, resDayOfYear; + + if (dayOfYear <= 0) { + resYear = year - 1; + resDayOfYear = daysInYear(resYear) + dayOfYear; + } else if (dayOfYear > daysInYear(year)) { + resYear = year + 1; + resDayOfYear = dayOfYear - daysInYear(year); + } else { + resYear = year; + resDayOfYear = dayOfYear; + } + + return { + year: resYear, + dayOfYear: resDayOfYear + }; + } + + function weekOfYear(mom, dow, doy) { + var weekOffset = firstWeekOffset(mom.year(), dow, doy), + week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1, + resWeek, resYear; + + if (week < 1) { + resYear = mom.year() - 1; + resWeek = week + weeksInYear(resYear, dow, doy); + } else if (week > weeksInYear(mom.year(), dow, doy)) { + resWeek = week - weeksInYear(mom.year(), dow, doy); + resYear = mom.year() + 1; + } else { + resYear = mom.year(); + resWeek = week; + } + + return { + week: resWeek, + year: resYear + }; + } + + function weeksInYear(year, dow, doy) { + var weekOffset = firstWeekOffset(year, dow, doy), + weekOffsetNext = firstWeekOffset(year + 1, dow, doy); + return (daysInYear(year) - weekOffset + weekOffsetNext) / 7; + } + + // FORMATTING + + addFormatToken('w', ['ww', 2], 'wo', 'week'); + addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek'); + + // ALIASES + + addUnitAlias('week', 'w'); + addUnitAlias('isoWeek', 'W'); + + // PRIORITIES + + addUnitPriority('week', 5); + addUnitPriority('isoWeek', 5); + + // PARSING + + addRegexToken('w', match1to2); + addRegexToken('ww', match1to2, match2); + addRegexToken('W', match1to2); + addRegexToken('WW', match1to2, match2); + + addWeekParseToken(['w', 'ww', 'W', 'WW'], function (input, week, config, token) { + week[token.substr(0, 1)] = toInt(input); + }); + + // HELPERS + + // LOCALES + + function localeWeek (mom) { + return weekOfYear(mom, this._week.dow, this._week.doy).week; + } + + var defaultLocaleWeek = { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + }; + + function localeFirstDayOfWeek () { + return this._week.dow; + } + + function localeFirstDayOfYear () { + return this._week.doy; + } + + // MOMENTS + + function getSetWeek (input) { + var week = this.localeData().week(this); + return input == null ? week : this.add((input - week) * 7, 'd'); + } + + function getSetISOWeek (input) { + var week = weekOfYear(this, 1, 4).week; + return input == null ? week : this.add((input - week) * 7, 'd'); + } + + // FORMATTING + + addFormatToken('d', 0, 'do', 'day'); + + addFormatToken('dd', 0, 0, function (format) { + return this.localeData().weekdaysMin(this, format); + }); + + addFormatToken('ddd', 0, 0, function (format) { + return this.localeData().weekdaysShort(this, format); + }); + + addFormatToken('dddd', 0, 0, function (format) { + return this.localeData().weekdays(this, format); + }); + + addFormatToken('e', 0, 0, 'weekday'); + addFormatToken('E', 0, 0, 'isoWeekday'); + + // ALIASES + + addUnitAlias('day', 'd'); + addUnitAlias('weekday', 'e'); + addUnitAlias('isoWeekday', 'E'); + + // PRIORITY + addUnitPriority('day', 11); + addUnitPriority('weekday', 11); + addUnitPriority('isoWeekday', 11); + + // PARSING + + addRegexToken('d', match1to2); + addRegexToken('e', match1to2); + addRegexToken('E', match1to2); + addRegexToken('dd', function (isStrict, locale) { + return locale.weekdaysMinRegex(isStrict); + }); + addRegexToken('ddd', function (isStrict, locale) { + return locale.weekdaysShortRegex(isStrict); + }); + addRegexToken('dddd', function (isStrict, locale) { + return locale.weekdaysRegex(isStrict); + }); + + addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) { + var weekday = config._locale.weekdaysParse(input, token, config._strict); + // if we didn't get a weekday name, mark the date as invalid + if (weekday != null) { + week.d = weekday; + } else { + getParsingFlags(config).invalidWeekday = input; + } + }); + + addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) { + week[token] = toInt(input); + }); + + // HELPERS + + function parseWeekday(input, locale) { + if (typeof input !== 'string') { + return input; + } + + if (!isNaN(input)) { + return parseInt(input, 10); + } + + input = locale.weekdaysParse(input); + if (typeof input === 'number') { + return input; + } + + return null; + } + + function parseIsoWeekday(input, locale) { + if (typeof input === 'string') { + return locale.weekdaysParse(input) % 7 || 7; + } + return isNaN(input) ? null : input; + } + + // LOCALES + + var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'); + function localeWeekdays (m, format) { + if (!m) { + return this._weekdays; + } + return isArray(this._weekdays) ? this._weekdays[m.day()] : + this._weekdays[this._weekdays.isFormat.test(format) ? 'format' : 'standalone'][m.day()]; + } + + var defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'); + function localeWeekdaysShort (m) { + return (m) ? this._weekdaysShort[m.day()] : this._weekdaysShort; + } + + var defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'); + function localeWeekdaysMin (m) { + return (m) ? this._weekdaysMin[m.day()] : this._weekdaysMin; + } + + function day_of_week__handleStrictParse(weekdayName, format, strict) { + var i, ii, mom, llc = weekdayName.toLocaleLowerCase(); + if (!this._weekdaysParse) { + this._weekdaysParse = []; + this._shortWeekdaysParse = []; + this._minWeekdaysParse = []; + + for (i = 0; i < 7; ++i) { + mom = create_utc__createUTC([2000, 1]).day(i); + this._minWeekdaysParse[i] = this.weekdaysMin(mom, '').toLocaleLowerCase(); + this._shortWeekdaysParse[i] = this.weekdaysShort(mom, '').toLocaleLowerCase(); + this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase(); + } + } + + if (strict) { + if (format === 'dddd') { + ii = indexOf.call(this._weekdaysParse, llc); + return ii !== -1 ? ii : null; + } else if (format === 'ddd') { + ii = indexOf.call(this._shortWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } + } else { + if (format === 'dddd') { + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else if (format === 'ddd') { + ii = indexOf.call(this._shortWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._minWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } else { + ii = indexOf.call(this._minWeekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._weekdaysParse, llc); + if (ii !== -1) { + return ii; + } + ii = indexOf.call(this._shortWeekdaysParse, llc); + return ii !== -1 ? ii : null; + } + } + } + + function localeWeekdaysParse (weekdayName, format, strict) { + var i, mom, regex; + + if (this._weekdaysParseExact) { + return day_of_week__handleStrictParse.call(this, weekdayName, format, strict); + } + + if (!this._weekdaysParse) { + this._weekdaysParse = []; + this._minWeekdaysParse = []; + this._shortWeekdaysParse = []; + this._fullWeekdaysParse = []; + } + + for (i = 0; i < 7; i++) { + // make the regex if we don't have it already + + mom = create_utc__createUTC([2000, 1]).day(i); + if (strict && !this._fullWeekdaysParse[i]) { + this._fullWeekdaysParse[i] = new RegExp('^' + this.weekdays(mom, '').replace('.', '\.?') + '$', 'i'); + this._shortWeekdaysParse[i] = new RegExp('^' + this.weekdaysShort(mom, '').replace('.', '\.?') + '$', 'i'); + this._minWeekdaysParse[i] = new RegExp('^' + this.weekdaysMin(mom, '').replace('.', '\.?') + '$', 'i'); + } + if (!this._weekdaysParse[i]) { + regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, ''); + this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if (strict && format === 'dddd' && this._fullWeekdaysParse[i].test(weekdayName)) { + return i; + } else if (strict && format === 'ddd' && this._shortWeekdaysParse[i].test(weekdayName)) { + return i; + } else if (strict && format === 'dd' && this._minWeekdaysParse[i].test(weekdayName)) { + return i; + } else if (!strict && this._weekdaysParse[i].test(weekdayName)) { + return i; + } + } + } + + // MOMENTS + + function getSetDayOfWeek (input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); + if (input != null) { + input = parseWeekday(input, this.localeData()); + return this.add(input - day, 'd'); + } else { + return day; + } + } + + function getSetLocaleDayOfWeek (input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; + return input == null ? weekday : this.add(input - weekday, 'd'); + } + + function getSetISODayOfWeek (input) { + if (!this.isValid()) { + return input != null ? this : NaN; + } + + // behaves the same as moment#day except + // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) + // as a setter, sunday should belong to the previous week. + + if (input != null) { + var weekday = parseIsoWeekday(input, this.localeData()); + return this.day(this.day() % 7 ? weekday : weekday - 7); + } else { + return this.day() || 7; + } + } + + var defaultWeekdaysRegex = matchWord; + function weekdaysRegex (isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysStrictRegex; + } else { + return this._weekdaysRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysRegex')) { + this._weekdaysRegex = defaultWeekdaysRegex; + } + return this._weekdaysStrictRegex && isStrict ? + this._weekdaysStrictRegex : this._weekdaysRegex; + } + } + + var defaultWeekdaysShortRegex = matchWord; + function weekdaysShortRegex (isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysShortStrictRegex; + } else { + return this._weekdaysShortRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysShortRegex')) { + this._weekdaysShortRegex = defaultWeekdaysShortRegex; + } + return this._weekdaysShortStrictRegex && isStrict ? + this._weekdaysShortStrictRegex : this._weekdaysShortRegex; + } + } + + var defaultWeekdaysMinRegex = matchWord; + function weekdaysMinRegex (isStrict) { + if (this._weekdaysParseExact) { + if (!hasOwnProp(this, '_weekdaysRegex')) { + computeWeekdaysParse.call(this); + } + if (isStrict) { + return this._weekdaysMinStrictRegex; + } else { + return this._weekdaysMinRegex; + } + } else { + if (!hasOwnProp(this, '_weekdaysMinRegex')) { + this._weekdaysMinRegex = defaultWeekdaysMinRegex; + } + return this._weekdaysMinStrictRegex && isStrict ? + this._weekdaysMinStrictRegex : this._weekdaysMinRegex; + } + } + + + function computeWeekdaysParse () { + function cmpLenRev(a, b) { + return b.length - a.length; + } + + var minPieces = [], shortPieces = [], longPieces = [], mixedPieces = [], + i, mom, minp, shortp, longp; + for (i = 0; i < 7; i++) { + // make the regex if we don't have it already + mom = create_utc__createUTC([2000, 1]).day(i); + minp = this.weekdaysMin(mom, ''); + shortp = this.weekdaysShort(mom, ''); + longp = this.weekdays(mom, ''); + minPieces.push(minp); + shortPieces.push(shortp); + longPieces.push(longp); + mixedPieces.push(minp); + mixedPieces.push(shortp); + mixedPieces.push(longp); + } + // Sorting makes sure if one weekday (or abbr) is a prefix of another it + // will match the longer piece. + minPieces.sort(cmpLenRev); + shortPieces.sort(cmpLenRev); + longPieces.sort(cmpLenRev); + mixedPieces.sort(cmpLenRev); + for (i = 0; i < 7; i++) { + shortPieces[i] = regexEscape(shortPieces[i]); + longPieces[i] = regexEscape(longPieces[i]); + mixedPieces[i] = regexEscape(mixedPieces[i]); + } + + this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i'); + this._weekdaysShortRegex = this._weekdaysRegex; + this._weekdaysMinRegex = this._weekdaysRegex; + + this._weekdaysStrictRegex = new RegExp('^(' + longPieces.join('|') + ')', 'i'); + this._weekdaysShortStrictRegex = new RegExp('^(' + shortPieces.join('|') + ')', 'i'); + this._weekdaysMinStrictRegex = new RegExp('^(' + minPieces.join('|') + ')', 'i'); + } + + // FORMATTING + + function hFormat() { + return this.hours() % 12 || 12; + } + + function kFormat() { + return this.hours() || 24; + } + + addFormatToken('H', ['HH', 2], 0, 'hour'); + addFormatToken('h', ['hh', 2], 0, hFormat); + addFormatToken('k', ['kk', 2], 0, kFormat); + + addFormatToken('hmm', 0, 0, function () { + return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2); + }); + + addFormatToken('hmmss', 0, 0, function () { + return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2) + + zeroFill(this.seconds(), 2); + }); + + addFormatToken('Hmm', 0, 0, function () { + return '' + this.hours() + zeroFill(this.minutes(), 2); + }); + + addFormatToken('Hmmss', 0, 0, function () { + return '' + this.hours() + zeroFill(this.minutes(), 2) + + zeroFill(this.seconds(), 2); + }); + + function meridiem (token, lowercase) { + addFormatToken(token, 0, 0, function () { + return this.localeData().meridiem(this.hours(), this.minutes(), lowercase); + }); + } + + meridiem('a', true); + meridiem('A', false); + + // ALIASES + + addUnitAlias('hour', 'h'); + + // PRIORITY + addUnitPriority('hour', 13); + + // PARSING + + function matchMeridiem (isStrict, locale) { + return locale._meridiemParse; + } + + addRegexToken('a', matchMeridiem); + addRegexToken('A', matchMeridiem); + addRegexToken('H', match1to2); + addRegexToken('h', match1to2); + addRegexToken('HH', match1to2, match2); + addRegexToken('hh', match1to2, match2); + + addRegexToken('hmm', match3to4); + addRegexToken('hmmss', match5to6); + addRegexToken('Hmm', match3to4); + addRegexToken('Hmmss', match5to6); + + addParseToken(['H', 'HH'], HOUR); + addParseToken(['a', 'A'], function (input, array, config) { + config._isPm = config._locale.isPM(input); + config._meridiem = input; + }); + addParseToken(['h', 'hh'], function (input, array, config) { + array[HOUR] = toInt(input); + getParsingFlags(config).bigHour = true; + }); + addParseToken('hmm', function (input, array, config) { + var pos = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos)); + array[MINUTE] = toInt(input.substr(pos)); + getParsingFlags(config).bigHour = true; + }); + addParseToken('hmmss', function (input, array, config) { + var pos1 = input.length - 4; + var pos2 = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos1)); + array[MINUTE] = toInt(input.substr(pos1, 2)); + array[SECOND] = toInt(input.substr(pos2)); + getParsingFlags(config).bigHour = true; + }); + addParseToken('Hmm', function (input, array, config) { + var pos = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos)); + array[MINUTE] = toInt(input.substr(pos)); + }); + addParseToken('Hmmss', function (input, array, config) { + var pos1 = input.length - 4; + var pos2 = input.length - 2; + array[HOUR] = toInt(input.substr(0, pos1)); + array[MINUTE] = toInt(input.substr(pos1, 2)); + array[SECOND] = toInt(input.substr(pos2)); + }); + + // LOCALES + + function localeIsPM (input) { + // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays + // Using charAt should be more compatible. + return ((input + '').toLowerCase().charAt(0) === 'p'); + } + + var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i; + function localeMeridiem (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'pm' : 'PM'; + } else { + return isLower ? 'am' : 'AM'; + } + } + + + // MOMENTS + + // Setting the hour should keep the time, because the user explicitly + // specified which hour he wants. So trying to maintain the same hour (in + // a new timezone) makes sense. Adding/subtracting hours does not follow + // this rule. + var getSetHour = makeGetSet('Hours', true); + + var baseConfig = { + calendar: defaultCalendar, + longDateFormat: defaultLongDateFormat, + invalidDate: defaultInvalidDate, + ordinal: defaultOrdinal, + ordinalParse: defaultOrdinalParse, + relativeTime: defaultRelativeTime, + + months: defaultLocaleMonths, + monthsShort: defaultLocaleMonthsShort, + + week: defaultLocaleWeek, + + weekdays: defaultLocaleWeekdays, + weekdaysMin: defaultLocaleWeekdaysMin, + weekdaysShort: defaultLocaleWeekdaysShort, + + meridiemParse: defaultLocaleMeridiemParse + }; + + // internal storage for locale config files + var locales = {}; + var globalLocale; + + function normalizeLocale(key) { + return key ? key.toLowerCase().replace('_', '-') : key; + } + + // pick the locale from the array + // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each + // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root + function chooseLocale(names) { + var i = 0, j, next, locale, split; + + while (i < names.length) { + split = normalizeLocale(names[i]).split('-'); + j = split.length; + next = normalizeLocale(names[i + 1]); + next = next ? next.split('-') : null; + while (j > 0) { + locale = loadLocale(split.slice(0, j).join('-')); + if (locale) { + return locale; + } + if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) { + //the next array item is better than a shallower substring of this one + break; + } + j--; + } + i++; + } + return null; + } + + function loadLocale(name) { + var oldLocale = null; + // TODO: Find a better way to register and load all the locales in Node + if (!locales[name] && (typeof module !== 'undefined') && + module && module.exports) { + try { + oldLocale = globalLocale._abbr; + require('./locale/' + name); + // because defineLocale currently also sets the global locale, we + // want to undo that for lazy loaded locales + locale_locales__getSetGlobalLocale(oldLocale); + } catch (e) { } + } + return locales[name]; + } + + // This function will load locale and then set the global locale. If + // no arguments are passed in, it will simply return the current global + // locale key. + function locale_locales__getSetGlobalLocale (key, values) { + var data; + if (key) { + if (isUndefined(values)) { + data = locale_locales__getLocale(key); + } + else { + data = defineLocale(key, values); + } + + if (data) { + // moment.duration._locale = moment._locale = data; + globalLocale = data; + } + } + + return globalLocale._abbr; + } + + function defineLocale (name, config) { + if (config !== null) { + var parentConfig = baseConfig; + config.abbr = name; + if (locales[name] != null) { + deprecateSimple('defineLocaleOverride', + 'use moment.updateLocale(localeName, config) to change ' + + 'an existing locale. moment.defineLocale(localeName, ' + + 'config) should only be used for creating a new locale ' + + 'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'); + parentConfig = locales[name]._config; + } else if (config.parentLocale != null) { + if (locales[config.parentLocale] != null) { + parentConfig = locales[config.parentLocale]._config; + } else { + // treat as if there is no base config + deprecateSimple('parentLocaleUndefined', + 'specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/'); + } + } + locales[name] = new Locale(mergeConfigs(parentConfig, config)); + + // backwards compat for now: also set the locale + locale_locales__getSetGlobalLocale(name); + + return locales[name]; + } else { + // useful for testing + delete locales[name]; + return null; + } + } + + function updateLocale(name, config) { + if (config != null) { + var locale, parentConfig = baseConfig; + // MERGE + if (locales[name] != null) { + parentConfig = locales[name]._config; + } + config = mergeConfigs(parentConfig, config); + locale = new Locale(config); + locale.parentLocale = locales[name]; + locales[name] = locale; + + // backwards compat for now: also set the locale + locale_locales__getSetGlobalLocale(name); + } else { + // pass null for config to unupdate, useful for tests + if (locales[name] != null) { + if (locales[name].parentLocale != null) { + locales[name] = locales[name].parentLocale; + } else if (locales[name] != null) { + delete locales[name]; + } + } + } + return locales[name]; + } + + // returns locale data + function locale_locales__getLocale (key) { + var locale; + + if (key && key._locale && key._locale._abbr) { + key = key._locale._abbr; + } + + if (!key) { + return globalLocale; + } + + if (!isArray(key)) { + //short-circuit everything else + locale = loadLocale(key); + if (locale) { + return locale; + } + key = [key]; + } + + return chooseLocale(key); + } + + function locale_locales__listLocales() { + return keys(locales); + } + + function checkOverflow (m) { + var overflow; + var a = m._a; + + if (a && getParsingFlags(m).overflow === -2) { + overflow = + a[MONTH] < 0 || a[MONTH] > 11 ? MONTH : + a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE : + a[HOUR] < 0 || a[HOUR] > 24 || (a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0)) ? HOUR : + a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE : + a[SECOND] < 0 || a[SECOND] > 59 ? SECOND : + a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND : + -1; + + if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) { + overflow = DATE; + } + if (getParsingFlags(m)._overflowWeeks && overflow === -1) { + overflow = WEEK; + } + if (getParsingFlags(m)._overflowWeekday && overflow === -1) { + overflow = WEEKDAY; + } + + getParsingFlags(m).overflow = overflow; + } + + return m; + } + + // iso 8601 regex + // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) + var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/; + var basicIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/; + + var tzRegex = /Z|[+-]\d\d(?::?\d\d)?/; + + var isoDates = [ + ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], + ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], + ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], + ['GGGG-[W]WW', /\d{4}-W\d\d/, false], + ['YYYY-DDD', /\d{4}-\d{3}/], + ['YYYY-MM', /\d{4}-\d\d/, false], + ['YYYYYYMMDD', /[+-]\d{10}/], + ['YYYYMMDD', /\d{8}/], + // YYYYMM is NOT allowed by the standard + ['GGGG[W]WWE', /\d{4}W\d{3}/], + ['GGGG[W]WW', /\d{4}W\d{2}/, false], + ['YYYYDDD', /\d{7}/] + ]; + + // iso time formats and regexes + var isoTimes = [ + ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], + ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], + ['HH:mm:ss', /\d\d:\d\d:\d\d/], + ['HH:mm', /\d\d:\d\d/], + ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], + ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], + ['HHmmss', /\d\d\d\d\d\d/], + ['HHmm', /\d\d\d\d/], + ['HH', /\d\d/] + ]; + + var aspNetJsonRegex = /^\/?Date\((\-?\d+)/i; + + // date from iso format + function configFromISO(config) { + var i, l, + string = config._i, + match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), + allowTime, dateFormat, timeFormat, tzFormat; + + if (match) { + getParsingFlags(config).iso = true; + + for (i = 0, l = isoDates.length; i < l; i++) { + if (isoDates[i][1].exec(match[1])) { + dateFormat = isoDates[i][0]; + allowTime = isoDates[i][2] !== false; + break; + } + } + if (dateFormat == null) { + config._isValid = false; + return; + } + if (match[3]) { + for (i = 0, l = isoTimes.length; i < l; i++) { + if (isoTimes[i][1].exec(match[3])) { + // match[2] should be 'T' or space + timeFormat = (match[2] || ' ') + isoTimes[i][0]; + break; + } + } + if (timeFormat == null) { + config._isValid = false; + return; + } + } + if (!allowTime && timeFormat != null) { + config._isValid = false; + return; + } + if (match[4]) { + if (tzRegex.exec(match[4])) { + tzFormat = 'Z'; + } else { + config._isValid = false; + return; + } + } + config._f = dateFormat + (timeFormat || '') + (tzFormat || ''); + configFromStringAndFormat(config); + } else { + config._isValid = false; + } + } + + // date from iso format or fallback + function configFromString(config) { + var matched = aspNetJsonRegex.exec(config._i); + + if (matched !== null) { + config._d = new Date(+matched[1]); + return; + } + + configFromISO(config); + if (config._isValid === false) { + delete config._isValid; + utils_hooks__hooks.createFromInputFallback(config); + } + } + + utils_hooks__hooks.createFromInputFallback = deprecate( + 'value provided is not in a recognized ISO format. moment construction falls back to js Date(), ' + + 'which is not reliable across all browsers and versions. Non ISO date formats are ' + + 'discouraged and will be removed in an upcoming major release. Please refer to ' + + 'http://momentjs.com/guides/#/warnings/js-date/ for more info.', + function (config) { + config._d = new Date(config._i + (config._useUTC ? ' UTC' : '')); + } + ); + + // Pick the first defined of two or three arguments. + function defaults(a, b, c) { + if (a != null) { + return a; + } + if (b != null) { + return b; + } + return c; + } + + function currentDateArray(config) { + // hooks is actually the exported moment object + var nowValue = new Date(utils_hooks__hooks.now()); + if (config._useUTC) { + return [nowValue.getUTCFullYear(), nowValue.getUTCMonth(), nowValue.getUTCDate()]; + } + return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()]; + } + + // convert an array to a date. + // the array should mirror the parameters below + // note: all values past the year are optional and will default to the lowest possible value. + // [year, month, day , hour, minute, second, millisecond] + function configFromArray (config) { + var i, date, input = [], currentDate, yearToUse; + + if (config._d) { + return; + } + + currentDate = currentDateArray(config); + + //compute day of the year from weeks and weekdays + if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { + dayOfYearFromWeekInfo(config); + } + + //if the day of the year is set, figure out what it is + if (config._dayOfYear) { + yearToUse = defaults(config._a[YEAR], currentDate[YEAR]); + + if (config._dayOfYear > daysInYear(yearToUse)) { + getParsingFlags(config)._overflowDayOfYear = true; + } + + date = createUTCDate(yearToUse, 0, config._dayOfYear); + config._a[MONTH] = date.getUTCMonth(); + config._a[DATE] = date.getUTCDate(); + } + + // Default to current date. + // * if no year, month, day of month are given, default to today + // * if day of month is given, default month and year + // * if month is given, default only year + // * if year is given, don't default anything + for (i = 0; i < 3 && config._a[i] == null; ++i) { + config._a[i] = input[i] = currentDate[i]; + } + + // Zero out whatever was not defaulted, including time + for (; i < 7; i++) { + config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i]; + } + + // Check for 24:00:00.000 + if (config._a[HOUR] === 24 && + config._a[MINUTE] === 0 && + config._a[SECOND] === 0 && + config._a[MILLISECOND] === 0) { + config._nextDay = true; + config._a[HOUR] = 0; + } + + config._d = (config._useUTC ? createUTCDate : createDate).apply(null, input); + // Apply timezone offset from input. The actual utcOffset can be changed + // with parseZone. + if (config._tzm != null) { + config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm); + } + + if (config._nextDay) { + config._a[HOUR] = 24; + } + } + + function dayOfYearFromWeekInfo(config) { + var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow; + + w = config._w; + if (w.GG != null || w.W != null || w.E != null) { + dow = 1; + doy = 4; + + // TODO: We need to take the current isoWeekYear, but that depends on + // how we interpret now (local, utc, fixed offset). So create + // a now version of current config (take local/utc/offset flags, and + // create now). + weekYear = defaults(w.GG, config._a[YEAR], weekOfYear(local__createLocal(), 1, 4).year); + week = defaults(w.W, 1); + weekday = defaults(w.E, 1); + if (weekday < 1 || weekday > 7) { + weekdayOverflow = true; + } + } else { + dow = config._locale._week.dow; + doy = config._locale._week.doy; + + weekYear = defaults(w.gg, config._a[YEAR], weekOfYear(local__createLocal(), dow, doy).year); + week = defaults(w.w, 1); + + if (w.d != null) { + // weekday -- low day numbers are considered next week + weekday = w.d; + if (weekday < 0 || weekday > 6) { + weekdayOverflow = true; + } + } else if (w.e != null) { + // local weekday -- counting starts from begining of week + weekday = w.e + dow; + if (w.e < 0 || w.e > 6) { + weekdayOverflow = true; + } + } else { + // default to begining of week + weekday = dow; + } + } + if (week < 1 || week > weeksInYear(weekYear, dow, doy)) { + getParsingFlags(config)._overflowWeeks = true; + } else if (weekdayOverflow != null) { + getParsingFlags(config)._overflowWeekday = true; + } else { + temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy); + config._a[YEAR] = temp.year; + config._dayOfYear = temp.dayOfYear; + } + } + + // constant that refers to the ISO standard + utils_hooks__hooks.ISO_8601 = function () {}; + + // date from string and format string + function configFromStringAndFormat(config) { + // TODO: Move this to another part of the creation flow to prevent circular deps + if (config._f === utils_hooks__hooks.ISO_8601) { + configFromISO(config); + return; + } + + config._a = []; + getParsingFlags(config).empty = true; + + // This array is used to make a Date, either with `new Date` or `Date.UTC` + var string = '' + config._i, + i, parsedInput, tokens, token, skipped, + stringLength = string.length, + totalParsedInputLength = 0; + + tokens = expandFormat(config._f, config._locale).match(formattingTokens) || []; + + for (i = 0; i < tokens.length; i++) { + token = tokens[i]; + parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0]; + // console.log('token', token, 'parsedInput', parsedInput, + // 'regex', getParseRegexForToken(token, config)); + if (parsedInput) { + skipped = string.substr(0, string.indexOf(parsedInput)); + if (skipped.length > 0) { + getParsingFlags(config).unusedInput.push(skipped); + } + string = string.slice(string.indexOf(parsedInput) + parsedInput.length); + totalParsedInputLength += parsedInput.length; + } + // don't parse if it's not a known token + if (formatTokenFunctions[token]) { + if (parsedInput) { + getParsingFlags(config).empty = false; + } + else { + getParsingFlags(config).unusedTokens.push(token); + } + addTimeToArrayFromToken(token, parsedInput, config); + } + else if (config._strict && !parsedInput) { + getParsingFlags(config).unusedTokens.push(token); + } + } + + // add remaining unparsed input length to the string + getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength; + if (string.length > 0) { + getParsingFlags(config).unusedInput.push(string); + } + + // clear _12h flag if hour is <= 12 + if (config._a[HOUR] <= 12 && + getParsingFlags(config).bigHour === true && + config._a[HOUR] > 0) { + getParsingFlags(config).bigHour = undefined; + } + + getParsingFlags(config).parsedDateParts = config._a.slice(0); + getParsingFlags(config).meridiem = config._meridiem; + // handle meridiem + config._a[HOUR] = meridiemFixWrap(config._locale, config._a[HOUR], config._meridiem); + + configFromArray(config); + checkOverflow(config); + } + + + function meridiemFixWrap (locale, hour, meridiem) { + var isPm; + + if (meridiem == null) { + // nothing to do + return hour; + } + if (locale.meridiemHour != null) { + return locale.meridiemHour(hour, meridiem); + } else if (locale.isPM != null) { + // Fallback + isPm = locale.isPM(meridiem); + if (isPm && hour < 12) { + hour += 12; + } + if (!isPm && hour === 12) { + hour = 0; + } + return hour; + } else { + // this is not supposed to happen + return hour; + } + } + + // date from string and array of format strings + function configFromStringAndArray(config) { + var tempConfig, + bestMoment, + + scoreToBeat, + i, + currentScore; + + if (config._f.length === 0) { + getParsingFlags(config).invalidFormat = true; + config._d = new Date(NaN); + return; + } + + for (i = 0; i < config._f.length; i++) { + currentScore = 0; + tempConfig = copyConfig({}, config); + if (config._useUTC != null) { + tempConfig._useUTC = config._useUTC; + } + tempConfig._f = config._f[i]; + configFromStringAndFormat(tempConfig); + + if (!valid__isValid(tempConfig)) { + continue; + } + + // if there is any input that was not parsed add a penalty for that format + currentScore += getParsingFlags(tempConfig).charsLeftOver; + + //or tokens + currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10; + + getParsingFlags(tempConfig).score = currentScore; + + if (scoreToBeat == null || currentScore < scoreToBeat) { + scoreToBeat = currentScore; + bestMoment = tempConfig; + } + } + + extend(config, bestMoment || tempConfig); + } + + function configFromObject(config) { + if (config._d) { + return; + } + + var i = normalizeObjectUnits(config._i); + config._a = map([i.year, i.month, i.day || i.date, i.hour, i.minute, i.second, i.millisecond], function (obj) { + return obj && parseInt(obj, 10); + }); + + configFromArray(config); + } + + function createFromConfig (config) { + var res = new Moment(checkOverflow(prepareConfig(config))); + if (res._nextDay) { + // Adding is smart enough around DST + res.add(1, 'd'); + res._nextDay = undefined; + } + + return res; + } + + function prepareConfig (config) { + var input = config._i, + format = config._f; + + config._locale = config._locale || locale_locales__getLocale(config._l); + + if (input === null || (format === undefined && input === '')) { + return valid__createInvalid({nullInput: true}); + } + + if (typeof input === 'string') { + config._i = input = config._locale.preparse(input); + } + + if (isMoment(input)) { + return new Moment(checkOverflow(input)); + } else if (isArray(format)) { + configFromStringAndArray(config); + } else if (isDate(input)) { + config._d = input; + } else if (format) { + configFromStringAndFormat(config); + } else { + configFromInput(config); + } + + if (!valid__isValid(config)) { + config._d = null; + } + + return config; + } + + function configFromInput(config) { + var input = config._i; + if (input === undefined) { + config._d = new Date(utils_hooks__hooks.now()); + } else if (isDate(input)) { + config._d = new Date(input.valueOf()); + } else if (typeof input === 'string') { + configFromString(config); + } else if (isArray(input)) { + config._a = map(input.slice(0), function (obj) { + return parseInt(obj, 10); + }); + configFromArray(config); + } else if (typeof(input) === 'object') { + configFromObject(config); + } else if (typeof(input) === 'number') { + // from milliseconds + config._d = new Date(input); + } else { + utils_hooks__hooks.createFromInputFallback(config); + } + } + + function createLocalOrUTC (input, format, locale, strict, isUTC) { + var c = {}; + + if (typeof(locale) === 'boolean') { + strict = locale; + locale = undefined; + } + + if ((isObject(input) && isObjectEmpty(input)) || + (isArray(input) && input.length === 0)) { + input = undefined; + } + // object construction must be done this way. + // https://github.com/moment/moment/issues/1423 + c._isAMomentObject = true; + c._useUTC = c._isUTC = isUTC; + c._l = locale; + c._i = input; + c._f = format; + c._strict = strict; + + return createFromConfig(c); + } + + function local__createLocal (input, format, locale, strict) { + return createLocalOrUTC(input, format, locale, strict, false); + } + + var prototypeMin = deprecate( + 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var other = local__createLocal.apply(null, arguments); + if (this.isValid() && other.isValid()) { + return other < this ? this : other; + } else { + return valid__createInvalid(); + } + } + ); + + var prototypeMax = deprecate( + 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var other = local__createLocal.apply(null, arguments); + if (this.isValid() && other.isValid()) { + return other > this ? this : other; + } else { + return valid__createInvalid(); + } + } + ); + + // Pick a moment m from moments so that m[fn](other) is true for all + // other. This relies on the function fn to be transitive. + // + // moments should either be an array of moment objects or an array, whose + // first element is an array of moment objects. + function pickBy(fn, moments) { + var res, i; + if (moments.length === 1 && isArray(moments[0])) { + moments = moments[0]; + } + if (!moments.length) { + return local__createLocal(); + } + res = moments[0]; + for (i = 1; i < moments.length; ++i) { + if (!moments[i].isValid() || moments[i][fn](res)) { + res = moments[i]; + } + } + return res; + } + + // TODO: Use [].sort instead? + function min () { + var args = [].slice.call(arguments, 0); + + return pickBy('isBefore', args); + } + + function max () { + var args = [].slice.call(arguments, 0); + + return pickBy('isAfter', args); + } + + var now = function () { + return Date.now ? Date.now() : +(new Date()); + }; + + function Duration (duration) { + var normalizedInput = normalizeObjectUnits(duration), + years = normalizedInput.year || 0, + quarters = normalizedInput.quarter || 0, + months = normalizedInput.month || 0, + weeks = normalizedInput.week || 0, + days = normalizedInput.day || 0, + hours = normalizedInput.hour || 0, + minutes = normalizedInput.minute || 0, + seconds = normalizedInput.second || 0, + milliseconds = normalizedInput.millisecond || 0; + + // representation for dateAddRemove + this._milliseconds = +milliseconds + + seconds * 1e3 + // 1000 + minutes * 6e4 + // 1000 * 60 + hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978 + // Because of dateAddRemove treats 24 hours as different from a + // day when working around DST, we need to store them separately + this._days = +days + + weeks * 7; + // It is impossible translate months into days without knowing + // which months you are are talking about, so we have to store + // it separately. + this._months = +months + + quarters * 3 + + years * 12; + + this._data = {}; + + this._locale = locale_locales__getLocale(); + + this._bubble(); + } + + function isDuration (obj) { + return obj instanceof Duration; + } + + function absRound (number) { + if (number < 0) { + return Math.round(-1 * number) * -1; + } else { + return Math.round(number); + } + } + + // FORMATTING + + function offset (token, separator) { + addFormatToken(token, 0, 0, function () { + var offset = this.utcOffset(); + var sign = '+'; + if (offset < 0) { + offset = -offset; + sign = '-'; + } + return sign + zeroFill(~~(offset / 60), 2) + separator + zeroFill(~~(offset) % 60, 2); + }); + } + + offset('Z', ':'); + offset('ZZ', ''); + + // PARSING + + addRegexToken('Z', matchShortOffset); + addRegexToken('ZZ', matchShortOffset); + addParseToken(['Z', 'ZZ'], function (input, array, config) { + config._useUTC = true; + config._tzm = offsetFromString(matchShortOffset, input); + }); + + // HELPERS + + // timezone chunker + // '+10:00' > ['10', '00'] + // '-1530' > ['-15', '30'] + var chunkOffset = /([\+\-]|\d\d)/gi; + + function offsetFromString(matcher, string) { + var matches = ((string || '').match(matcher) || []); + var chunk = matches[matches.length - 1] || []; + var parts = (chunk + '').match(chunkOffset) || ['-', 0, 0]; + var minutes = +(parts[1] * 60) + toInt(parts[2]); + + return parts[0] === '+' ? minutes : -minutes; + } + + // Return a moment from input, that is local/utc/zone equivalent to model. + function cloneWithOffset(input, model) { + var res, diff; + if (model._isUTC) { + res = model.clone(); + diff = (isMoment(input) || isDate(input) ? input.valueOf() : local__createLocal(input).valueOf()) - res.valueOf(); + // Use low-level api, because this fn is low-level api. + res._d.setTime(res._d.valueOf() + diff); + utils_hooks__hooks.updateOffset(res, false); + return res; + } else { + return local__createLocal(input).local(); + } + } + + function getDateOffset (m) { + // On Firefox.24 Date#getTimezoneOffset returns a floating point. + // https://github.com/moment/moment/pull/1871 + return -Math.round(m._d.getTimezoneOffset() / 15) * 15; + } + + // HOOKS + + // This function will be called whenever a moment is mutated. + // It is intended to keep the offset in sync with the timezone. + utils_hooks__hooks.updateOffset = function () {}; + + // MOMENTS + + // keepLocalTime = true means only change the timezone, without + // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]--> + // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset + // +0200, so we adjust the time as needed, to be valid. + // + // Keeping the time actually adds/subtracts (one hour) + // from the actual represented time. That is why we call updateOffset + // a second time. In case it wants us to change the offset again + // _changeInProgress == true case, then we have to adjust, because + // there is no such time in the given timezone. + function getSetOffset (input, keepLocalTime) { + var offset = this._offset || 0, + localAdjust; + if (!this.isValid()) { + return input != null ? this : NaN; + } + if (input != null) { + if (typeof input === 'string') { + input = offsetFromString(matchShortOffset, input); + } else if (Math.abs(input) < 16) { + input = input * 60; + } + if (!this._isUTC && keepLocalTime) { + localAdjust = getDateOffset(this); + } + this._offset = input; + this._isUTC = true; + if (localAdjust != null) { + this.add(localAdjust, 'm'); + } + if (offset !== input) { + if (!keepLocalTime || this._changeInProgress) { + add_subtract__addSubtract(this, create__createDuration(input - offset, 'm'), 1, false); + } else if (!this._changeInProgress) { + this._changeInProgress = true; + utils_hooks__hooks.updateOffset(this, true); + this._changeInProgress = null; + } + } + return this; + } else { + return this._isUTC ? offset : getDateOffset(this); + } + } + + function getSetZone (input, keepLocalTime) { + if (input != null) { + if (typeof input !== 'string') { + input = -input; + } + + this.utcOffset(input, keepLocalTime); + + return this; + } else { + return -this.utcOffset(); + } + } + + function setOffsetToUTC (keepLocalTime) { + return this.utcOffset(0, keepLocalTime); + } + + function setOffsetToLocal (keepLocalTime) { + if (this._isUTC) { + this.utcOffset(0, keepLocalTime); + this._isUTC = false; + + if (keepLocalTime) { + this.subtract(getDateOffset(this), 'm'); + } + } + return this; + } + + function setOffsetToParsedOffset () { + if (this._tzm) { + this.utcOffset(this._tzm); + } else if (typeof this._i === 'string') { + var tZone = offsetFromString(matchOffset, this._i); + + if (tZone === 0) { + this.utcOffset(0, true); + } else { + this.utcOffset(offsetFromString(matchOffset, this._i)); + } + } + return this; + } + + function hasAlignedHourOffset (input) { + if (!this.isValid()) { + return false; + } + input = input ? local__createLocal(input).utcOffset() : 0; + + return (this.utcOffset() - input) % 60 === 0; + } + + function isDaylightSavingTime () { + return ( + this.utcOffset() > this.clone().month(0).utcOffset() || + this.utcOffset() > this.clone().month(5).utcOffset() + ); + } + + function isDaylightSavingTimeShifted () { + if (!isUndefined(this._isDSTShifted)) { + return this._isDSTShifted; + } + + var c = {}; + + copyConfig(c, this); + c = prepareConfig(c); + + if (c._a) { + var other = c._isUTC ? create_utc__createUTC(c._a) : local__createLocal(c._a); + this._isDSTShifted = this.isValid() && + compareArrays(c._a, other.toArray()) > 0; + } else { + this._isDSTShifted = false; + } + + return this._isDSTShifted; + } + + function isLocal () { + return this.isValid() ? !this._isUTC : false; + } + + function isUtcOffset () { + return this.isValid() ? this._isUTC : false; + } + + function isUtc () { + return this.isValid() ? this._isUTC && this._offset === 0 : false; + } + + // ASP.NET json date format regex + var aspNetRegex = /^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/; + + // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html + // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere + // and further modified to allow for strings containing both week and day + var isoRegex = /^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/; + + function create__createDuration (input, key) { + var duration = input, + // matching against regexp is expensive, do it on demand + match = null, + sign, + ret, + diffRes; + + if (isDuration(input)) { + duration = { + ms : input._milliseconds, + d : input._days, + M : input._months + }; + } else if (typeof input === 'number') { + duration = {}; + if (key) { + duration[key] = input; + } else { + duration.milliseconds = input; + } + } else if (!!(match = aspNetRegex.exec(input))) { + sign = (match[1] === '-') ? -1 : 1; + duration = { + y : 0, + d : toInt(match[DATE]) * sign, + h : toInt(match[HOUR]) * sign, + m : toInt(match[MINUTE]) * sign, + s : toInt(match[SECOND]) * sign, + ms : toInt(absRound(match[MILLISECOND] * 1000)) * sign // the millisecond decimal point is included in the match + }; + } else if (!!(match = isoRegex.exec(input))) { + sign = (match[1] === '-') ? -1 : 1; + duration = { + y : parseIso(match[2], sign), + M : parseIso(match[3], sign), + w : parseIso(match[4], sign), + d : parseIso(match[5], sign), + h : parseIso(match[6], sign), + m : parseIso(match[7], sign), + s : parseIso(match[8], sign) + }; + } else if (duration == null) {// checks for null or undefined + duration = {}; + } else if (typeof duration === 'object' && ('from' in duration || 'to' in duration)) { + diffRes = momentsDifference(local__createLocal(duration.from), local__createLocal(duration.to)); + + duration = {}; + duration.ms = diffRes.milliseconds; + duration.M = diffRes.months; + } + + ret = new Duration(duration); + + if (isDuration(input) && hasOwnProp(input, '_locale')) { + ret._locale = input._locale; + } + + return ret; + } + + create__createDuration.fn = Duration.prototype; + + function parseIso (inp, sign) { + // We'd normally use ~~inp for this, but unfortunately it also + // converts floats to ints. + // inp may be undefined, so careful calling replace on it. + var res = inp && parseFloat(inp.replace(',', '.')); + // apply sign while we're at it + return (isNaN(res) ? 0 : res) * sign; + } + + function positiveMomentsDifference(base, other) { + var res = {milliseconds: 0, months: 0}; + + res.months = other.month() - base.month() + + (other.year() - base.year()) * 12; + if (base.clone().add(res.months, 'M').isAfter(other)) { + --res.months; + } + + res.milliseconds = +other - +(base.clone().add(res.months, 'M')); + + return res; + } + + function momentsDifference(base, other) { + var res; + if (!(base.isValid() && other.isValid())) { + return {milliseconds: 0, months: 0}; + } + + other = cloneWithOffset(other, base); + if (base.isBefore(other)) { + res = positiveMomentsDifference(base, other); + } else { + res = positiveMomentsDifference(other, base); + res.milliseconds = -res.milliseconds; + res.months = -res.months; + } + + return res; + } + + // TODO: remove 'name' arg after deprecation is removed + function createAdder(direction, name) { + return function (val, period) { + var dur, tmp; + //invert the arguments, but complain about it + if (period !== null && !isNaN(+period)) { + deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period). ' + + 'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'); + tmp = val; val = period; period = tmp; + } + + val = typeof val === 'string' ? +val : val; + dur = create__createDuration(val, period); + add_subtract__addSubtract(this, dur, direction); + return this; + }; + } + + function add_subtract__addSubtract (mom, duration, isAdding, updateOffset) { + var milliseconds = duration._milliseconds, + days = absRound(duration._days), + months = absRound(duration._months); + + if (!mom.isValid()) { + // No op + return; + } + + updateOffset = updateOffset == null ? true : updateOffset; + + if (milliseconds) { + mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding); + } + if (days) { + get_set__set(mom, 'Date', get_set__get(mom, 'Date') + days * isAdding); + } + if (months) { + setMonth(mom, get_set__get(mom, 'Month') + months * isAdding); + } + if (updateOffset) { + utils_hooks__hooks.updateOffset(mom, days || months); + } + } + + var add_subtract__add = createAdder(1, 'add'); + var add_subtract__subtract = createAdder(-1, 'subtract'); + + function getCalendarFormat(myMoment, now) { + var diff = myMoment.diff(now, 'days', true); + return diff < -6 ? 'sameElse' : + diff < -1 ? 'lastWeek' : + diff < 0 ? 'lastDay' : + diff < 1 ? 'sameDay' : + diff < 2 ? 'nextDay' : + diff < 7 ? 'nextWeek' : 'sameElse'; + } + + function moment_calendar__calendar (time, formats) { + // We want to compare the start of today, vs this. + // Getting start-of-today depends on whether we're local/utc/offset or not. + var now = time || local__createLocal(), + sod = cloneWithOffset(now, this).startOf('day'), + format = utils_hooks__hooks.calendarFormat(this, sod) || 'sameElse'; + + var output = formats && (isFunction(formats[format]) ? formats[format].call(this, now) : formats[format]); + + return this.format(output || this.localeData().calendar(format, this, local__createLocal(now))); + } + + function clone () { + return new Moment(this); + } + + function isAfter (input, units) { + var localInput = isMoment(input) ? input : local__createLocal(input); + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(!isUndefined(units) ? units : 'millisecond'); + if (units === 'millisecond') { + return this.valueOf() > localInput.valueOf(); + } else { + return localInput.valueOf() < this.clone().startOf(units).valueOf(); + } + } + + function isBefore (input, units) { + var localInput = isMoment(input) ? input : local__createLocal(input); + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(!isUndefined(units) ? units : 'millisecond'); + if (units === 'millisecond') { + return this.valueOf() < localInput.valueOf(); + } else { + return this.clone().endOf(units).valueOf() < localInput.valueOf(); + } + } + + function isBetween (from, to, units, inclusivity) { + inclusivity = inclusivity || '()'; + return (inclusivity[0] === '(' ? this.isAfter(from, units) : !this.isBefore(from, units)) && + (inclusivity[1] === ')' ? this.isBefore(to, units) : !this.isAfter(to, units)); + } + + function isSame (input, units) { + var localInput = isMoment(input) ? input : local__createLocal(input), + inputMs; + if (!(this.isValid() && localInput.isValid())) { + return false; + } + units = normalizeUnits(units || 'millisecond'); + if (units === 'millisecond') { + return this.valueOf() === localInput.valueOf(); + } else { + inputMs = localInput.valueOf(); + return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf(); + } + } + + function isSameOrAfter (input, units) { + return this.isSame(input, units) || this.isAfter(input,units); + } + + function isSameOrBefore (input, units) { + return this.isSame(input, units) || this.isBefore(input,units); + } + + function diff (input, units, asFloat) { + var that, + zoneDelta, + delta, output; + + if (!this.isValid()) { + return NaN; + } + + that = cloneWithOffset(input, this); + + if (!that.isValid()) { + return NaN; + } + + zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4; + + units = normalizeUnits(units); + + if (units === 'year' || units === 'month' || units === 'quarter') { + output = monthDiff(this, that); + if (units === 'quarter') { + output = output / 3; + } else if (units === 'year') { + output = output / 12; + } + } else { + delta = this - that; + output = units === 'second' ? delta / 1e3 : // 1000 + units === 'minute' ? delta / 6e4 : // 1000 * 60 + units === 'hour' ? delta / 36e5 : // 1000 * 60 * 60 + units === 'day' ? (delta - zoneDelta) / 864e5 : // 1000 * 60 * 60 * 24, negate dst + units === 'week' ? (delta - zoneDelta) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst + delta; + } + return asFloat ? output : absFloor(output); + } + + function monthDiff (a, b) { + // difference in months + var wholeMonthDiff = ((b.year() - a.year()) * 12) + (b.month() - a.month()), + // b is in (anchor - 1 month, anchor + 1 month) + anchor = a.clone().add(wholeMonthDiff, 'months'), + anchor2, adjust; + + if (b - anchor < 0) { + anchor2 = a.clone().add(wholeMonthDiff - 1, 'months'); + // linear across the month + adjust = (b - anchor) / (anchor - anchor2); + } else { + anchor2 = a.clone().add(wholeMonthDiff + 1, 'months'); + // linear across the month + adjust = (b - anchor) / (anchor2 - anchor); + } + + //check for negative zero, return zero if negative zero + return -(wholeMonthDiff + adjust) || 0; + } + + utils_hooks__hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'; + utils_hooks__hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]'; + + function toString () { + return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); + } + + function moment_format__toISOString () { + var m = this.clone().utc(); + if (0 < m.year() && m.year() <= 9999) { + if (isFunction(Date.prototype.toISOString)) { + // native implementation is ~50x faster, use it when we can + return this.toDate().toISOString(); + } else { + return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); + } + } else { + return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); + } + } + + function format (inputString) { + if (!inputString) { + inputString = this.isUtc() ? utils_hooks__hooks.defaultFormatUtc : utils_hooks__hooks.defaultFormat; + } + var output = formatMoment(this, inputString); + return this.localeData().postformat(output); + } + + function from (time, withoutSuffix) { + if (this.isValid() && + ((isMoment(time) && time.isValid()) || + local__createLocal(time).isValid())) { + return create__createDuration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix); + } else { + return this.localeData().invalidDate(); + } + } + + function fromNow (withoutSuffix) { + return this.from(local__createLocal(), withoutSuffix); + } + + function to (time, withoutSuffix) { + if (this.isValid() && + ((isMoment(time) && time.isValid()) || + local__createLocal(time).isValid())) { + return create__createDuration({from: this, to: time}).locale(this.locale()).humanize(!withoutSuffix); + } else { + return this.localeData().invalidDate(); + } + } + + function toNow (withoutSuffix) { + return this.to(local__createLocal(), withoutSuffix); + } + + // If passed a locale key, it will set the locale for this + // instance. Otherwise, it will return the locale configuration + // variables for this instance. + function locale (key) { + var newLocaleData; + + if (key === undefined) { + return this._locale._abbr; + } else { + newLocaleData = locale_locales__getLocale(key); + if (newLocaleData != null) { + this._locale = newLocaleData; + } + return this; + } + } + + var lang = deprecate( + 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', + function (key) { + if (key === undefined) { + return this.localeData(); + } else { + return this.locale(key); + } + } + ); + + function localeData () { + return this._locale; + } + + function startOf (units) { + units = normalizeUnits(units); + // the following switch intentionally omits break keywords + // to utilize falling through the cases. + switch (units) { + case 'year': + this.month(0); + /* falls through */ + case 'quarter': + case 'month': + this.date(1); + /* falls through */ + case 'week': + case 'isoWeek': + case 'day': + case 'date': + this.hours(0); + /* falls through */ + case 'hour': + this.minutes(0); + /* falls through */ + case 'minute': + this.seconds(0); + /* falls through */ + case 'second': + this.milliseconds(0); + } + + // weeks are a special case + if (units === 'week') { + this.weekday(0); + } + if (units === 'isoWeek') { + this.isoWeekday(1); + } + + // quarters are also special + if (units === 'quarter') { + this.month(Math.floor(this.month() / 3) * 3); + } + + return this; + } + + function endOf (units) { + units = normalizeUnits(units); + if (units === undefined || units === 'millisecond') { + return this; + } + + // 'date' is an alias for 'day', so it should be considered as such. + if (units === 'date') { + units = 'day'; + } + + return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms'); + } + + function to_type__valueOf () { + return this._d.valueOf() - ((this._offset || 0) * 60000); + } + + function unix () { + return Math.floor(this.valueOf() / 1000); + } + + function toDate () { + return new Date(this.valueOf()); + } + + function toArray () { + var m = this; + return [m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond()]; + } + + function toObject () { + var m = this; + return { + years: m.year(), + months: m.month(), + date: m.date(), + hours: m.hours(), + minutes: m.minutes(), + seconds: m.seconds(), + milliseconds: m.milliseconds() + }; + } + + function toJSON () { + // new Date(NaN).toJSON() === null + return this.isValid() ? this.toISOString() : null; + } + + function moment_valid__isValid () { + return valid__isValid(this); + } + + function parsingFlags () { + return extend({}, getParsingFlags(this)); + } + + function invalidAt () { + return getParsingFlags(this).overflow; + } + + function creationData() { + return { + input: this._i, + format: this._f, + locale: this._locale, + isUTC: this._isUTC, + strict: this._strict + }; + } + + // FORMATTING + + addFormatToken(0, ['gg', 2], 0, function () { + return this.weekYear() % 100; + }); + + addFormatToken(0, ['GG', 2], 0, function () { + return this.isoWeekYear() % 100; + }); + + function addWeekYearFormatToken (token, getter) { + addFormatToken(0, [token, token.length], 0, getter); + } + + addWeekYearFormatToken('gggg', 'weekYear'); + addWeekYearFormatToken('ggggg', 'weekYear'); + addWeekYearFormatToken('GGGG', 'isoWeekYear'); + addWeekYearFormatToken('GGGGG', 'isoWeekYear'); + + // ALIASES + + addUnitAlias('weekYear', 'gg'); + addUnitAlias('isoWeekYear', 'GG'); + + // PRIORITY + + addUnitPriority('weekYear', 1); + addUnitPriority('isoWeekYear', 1); + + + // PARSING + + addRegexToken('G', matchSigned); + addRegexToken('g', matchSigned); + addRegexToken('GG', match1to2, match2); + addRegexToken('gg', match1to2, match2); + addRegexToken('GGGG', match1to4, match4); + addRegexToken('gggg', match1to4, match4); + addRegexToken('GGGGG', match1to6, match6); + addRegexToken('ggggg', match1to6, match6); + + addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (input, week, config, token) { + week[token.substr(0, 2)] = toInt(input); + }); + + addWeekParseToken(['gg', 'GG'], function (input, week, config, token) { + week[token] = utils_hooks__hooks.parseTwoDigitYear(input); + }); + + // MOMENTS + + function getSetWeekYear (input) { + return getSetWeekYearHelper.call(this, + input, + this.week(), + this.weekday(), + this.localeData()._week.dow, + this.localeData()._week.doy); + } + + function getSetISOWeekYear (input) { + return getSetWeekYearHelper.call(this, + input, this.isoWeek(), this.isoWeekday(), 1, 4); + } + + function getISOWeeksInYear () { + return weeksInYear(this.year(), 1, 4); + } + + function getWeeksInYear () { + var weekInfo = this.localeData()._week; + return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); + } + + function getSetWeekYearHelper(input, week, weekday, dow, doy) { + var weeksTarget; + if (input == null) { + return weekOfYear(this, dow, doy).year; + } else { + weeksTarget = weeksInYear(input, dow, doy); + if (week > weeksTarget) { + week = weeksTarget; + } + return setWeekAll.call(this, input, week, weekday, dow, doy); + } + } + + function setWeekAll(weekYear, week, weekday, dow, doy) { + var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy), + date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear); + + this.year(date.getUTCFullYear()); + this.month(date.getUTCMonth()); + this.date(date.getUTCDate()); + return this; + } + + // FORMATTING + + addFormatToken('Q', 0, 'Qo', 'quarter'); + + // ALIASES + + addUnitAlias('quarter', 'Q'); + + // PRIORITY + + addUnitPriority('quarter', 7); + + // PARSING + + addRegexToken('Q', match1); + addParseToken('Q', function (input, array) { + array[MONTH] = (toInt(input) - 1) * 3; + }); + + // MOMENTS + + function getSetQuarter (input) { + return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3); + } + + // FORMATTING + + addFormatToken('D', ['DD', 2], 'Do', 'date'); + + // ALIASES + + addUnitAlias('date', 'D'); + + // PRIOROITY + addUnitPriority('date', 9); + + // PARSING + + addRegexToken('D', match1to2); + addRegexToken('DD', match1to2, match2); + addRegexToken('Do', function (isStrict, locale) { + return isStrict ? locale._ordinalParse : locale._ordinalParseLenient; + }); + + addParseToken(['D', 'DD'], DATE); + addParseToken('Do', function (input, array) { + array[DATE] = toInt(input.match(match1to2)[0], 10); + }); + + // MOMENTS + + var getSetDayOfMonth = makeGetSet('Date', true); + + // FORMATTING + + addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'); + + // ALIASES + + addUnitAlias('dayOfYear', 'DDD'); + + // PRIORITY + addUnitPriority('dayOfYear', 4); + + // PARSING + + addRegexToken('DDD', match1to3); + addRegexToken('DDDD', match3); + addParseToken(['DDD', 'DDDD'], function (input, array, config) { + config._dayOfYear = toInt(input); + }); + + // HELPERS + + // MOMENTS + + function getSetDayOfYear (input) { + var dayOfYear = Math.round((this.clone().startOf('day') - this.clone().startOf('year')) / 864e5) + 1; + return input == null ? dayOfYear : this.add((input - dayOfYear), 'd'); + } + + // FORMATTING + + addFormatToken('m', ['mm', 2], 0, 'minute'); + + // ALIASES + + addUnitAlias('minute', 'm'); + + // PRIORITY + + addUnitPriority('minute', 14); + + // PARSING + + addRegexToken('m', match1to2); + addRegexToken('mm', match1to2, match2); + addParseToken(['m', 'mm'], MINUTE); + + // MOMENTS + + var getSetMinute = makeGetSet('Minutes', false); + + // FORMATTING + + addFormatToken('s', ['ss', 2], 0, 'second'); + + // ALIASES + + addUnitAlias('second', 's'); + + // PRIORITY + + addUnitPriority('second', 15); + + // PARSING + + addRegexToken('s', match1to2); + addRegexToken('ss', match1to2, match2); + addParseToken(['s', 'ss'], SECOND); + + // MOMENTS + + var getSetSecond = makeGetSet('Seconds', false); + + // FORMATTING + + addFormatToken('S', 0, 0, function () { + return ~~(this.millisecond() / 100); + }); + + addFormatToken(0, ['SS', 2], 0, function () { + return ~~(this.millisecond() / 10); + }); + + addFormatToken(0, ['SSS', 3], 0, 'millisecond'); + addFormatToken(0, ['SSSS', 4], 0, function () { + return this.millisecond() * 10; + }); + addFormatToken(0, ['SSSSS', 5], 0, function () { + return this.millisecond() * 100; + }); + addFormatToken(0, ['SSSSSS', 6], 0, function () { + return this.millisecond() * 1000; + }); + addFormatToken(0, ['SSSSSSS', 7], 0, function () { + return this.millisecond() * 10000; + }); + addFormatToken(0, ['SSSSSSSS', 8], 0, function () { + return this.millisecond() * 100000; + }); + addFormatToken(0, ['SSSSSSSSS', 9], 0, function () { + return this.millisecond() * 1000000; + }); + + + // ALIASES + + addUnitAlias('millisecond', 'ms'); + + // PRIORITY + + addUnitPriority('millisecond', 16); + + // PARSING + + addRegexToken('S', match1to3, match1); + addRegexToken('SS', match1to3, match2); + addRegexToken('SSS', match1to3, match3); + + var token; + for (token = 'SSSS'; token.length <= 9; token += 'S') { + addRegexToken(token, matchUnsigned); + } + + function parseMs(input, array) { + array[MILLISECOND] = toInt(('0.' + input) * 1000); + } + + for (token = 'S'; token.length <= 9; token += 'S') { + addParseToken(token, parseMs); + } + // MOMENTS + + var getSetMillisecond = makeGetSet('Milliseconds', false); + + // FORMATTING + + addFormatToken('z', 0, 0, 'zoneAbbr'); + addFormatToken('zz', 0, 0, 'zoneName'); + + // MOMENTS + + function getZoneAbbr () { + return this._isUTC ? 'UTC' : ''; + } + + function getZoneName () { + return this._isUTC ? 'Coordinated Universal Time' : ''; + } + + var momentPrototype__proto = Moment.prototype; + + momentPrototype__proto.add = add_subtract__add; + momentPrototype__proto.calendar = moment_calendar__calendar; + momentPrototype__proto.clone = clone; + momentPrototype__proto.diff = diff; + momentPrototype__proto.endOf = endOf; + momentPrototype__proto.format = format; + momentPrototype__proto.from = from; + momentPrototype__proto.fromNow = fromNow; + momentPrototype__proto.to = to; + momentPrototype__proto.toNow = toNow; + momentPrototype__proto.get = stringGet; + momentPrototype__proto.invalidAt = invalidAt; + momentPrototype__proto.isAfter = isAfter; + momentPrototype__proto.isBefore = isBefore; + momentPrototype__proto.isBetween = isBetween; + momentPrototype__proto.isSame = isSame; + momentPrototype__proto.isSameOrAfter = isSameOrAfter; + momentPrototype__proto.isSameOrBefore = isSameOrBefore; + momentPrototype__proto.isValid = moment_valid__isValid; + momentPrototype__proto.lang = lang; + momentPrototype__proto.locale = locale; + momentPrototype__proto.localeData = localeData; + momentPrototype__proto.max = prototypeMax; + momentPrototype__proto.min = prototypeMin; + momentPrototype__proto.parsingFlags = parsingFlags; + momentPrototype__proto.set = stringSet; + momentPrototype__proto.startOf = startOf; + momentPrototype__proto.subtract = add_subtract__subtract; + momentPrototype__proto.toArray = toArray; + momentPrototype__proto.toObject = toObject; + momentPrototype__proto.toDate = toDate; + momentPrototype__proto.toISOString = moment_format__toISOString; + momentPrototype__proto.toJSON = toJSON; + momentPrototype__proto.toString = toString; + momentPrototype__proto.unix = unix; + momentPrototype__proto.valueOf = to_type__valueOf; + momentPrototype__proto.creationData = creationData; + + // Year + momentPrototype__proto.year = getSetYear; + momentPrototype__proto.isLeapYear = getIsLeapYear; + + // Week Year + momentPrototype__proto.weekYear = getSetWeekYear; + momentPrototype__proto.isoWeekYear = getSetISOWeekYear; + + // Quarter + momentPrototype__proto.quarter = momentPrototype__proto.quarters = getSetQuarter; + + // Month + momentPrototype__proto.month = getSetMonth; + momentPrototype__proto.daysInMonth = getDaysInMonth; + + // Week + momentPrototype__proto.week = momentPrototype__proto.weeks = getSetWeek; + momentPrototype__proto.isoWeek = momentPrototype__proto.isoWeeks = getSetISOWeek; + momentPrototype__proto.weeksInYear = getWeeksInYear; + momentPrototype__proto.isoWeeksInYear = getISOWeeksInYear; + + // Day + momentPrototype__proto.date = getSetDayOfMonth; + momentPrototype__proto.day = momentPrototype__proto.days = getSetDayOfWeek; + momentPrototype__proto.weekday = getSetLocaleDayOfWeek; + momentPrototype__proto.isoWeekday = getSetISODayOfWeek; + momentPrototype__proto.dayOfYear = getSetDayOfYear; + + // Hour + momentPrototype__proto.hour = momentPrototype__proto.hours = getSetHour; + + // Minute + momentPrototype__proto.minute = momentPrototype__proto.minutes = getSetMinute; + + // Second + momentPrototype__proto.second = momentPrototype__proto.seconds = getSetSecond; + + // Millisecond + momentPrototype__proto.millisecond = momentPrototype__proto.milliseconds = getSetMillisecond; + + // Offset + momentPrototype__proto.utcOffset = getSetOffset; + momentPrototype__proto.utc = setOffsetToUTC; + momentPrototype__proto.local = setOffsetToLocal; + momentPrototype__proto.parseZone = setOffsetToParsedOffset; + momentPrototype__proto.hasAlignedHourOffset = hasAlignedHourOffset; + momentPrototype__proto.isDST = isDaylightSavingTime; + momentPrototype__proto.isLocal = isLocal; + momentPrototype__proto.isUtcOffset = isUtcOffset; + momentPrototype__proto.isUtc = isUtc; + momentPrototype__proto.isUTC = isUtc; + + // Timezone + momentPrototype__proto.zoneAbbr = getZoneAbbr; + momentPrototype__proto.zoneName = getZoneName; + + // Deprecations + momentPrototype__proto.dates = deprecate('dates accessor is deprecated. Use date instead.', getSetDayOfMonth); + momentPrototype__proto.months = deprecate('months accessor is deprecated. Use month instead', getSetMonth); + momentPrototype__proto.years = deprecate('years accessor is deprecated. Use year instead', getSetYear); + momentPrototype__proto.zone = deprecate('moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', getSetZone); + momentPrototype__proto.isDSTShifted = deprecate('isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', isDaylightSavingTimeShifted); + + var momentPrototype = momentPrototype__proto; + + function moment__createUnix (input) { + return local__createLocal(input * 1000); + } + + function moment__createInZone () { + return local__createLocal.apply(null, arguments).parseZone(); + } + + function preParsePostFormat (string) { + return string; + } + + var prototype__proto = Locale.prototype; + + prototype__proto.calendar = locale_calendar__calendar; + prototype__proto.longDateFormat = longDateFormat; + prototype__proto.invalidDate = invalidDate; + prototype__proto.ordinal = ordinal; + prototype__proto.preparse = preParsePostFormat; + prototype__proto.postformat = preParsePostFormat; + prototype__proto.relativeTime = relative__relativeTime; + prototype__proto.pastFuture = pastFuture; + prototype__proto.set = locale_set__set; + + // Month + prototype__proto.months = localeMonths; + prototype__proto.monthsShort = localeMonthsShort; + prototype__proto.monthsParse = localeMonthsParse; + prototype__proto.monthsRegex = monthsRegex; + prototype__proto.monthsShortRegex = monthsShortRegex; + + // Week + prototype__proto.week = localeWeek; + prototype__proto.firstDayOfYear = localeFirstDayOfYear; + prototype__proto.firstDayOfWeek = localeFirstDayOfWeek; + + // Day of Week + prototype__proto.weekdays = localeWeekdays; + prototype__proto.weekdaysMin = localeWeekdaysMin; + prototype__proto.weekdaysShort = localeWeekdaysShort; + prototype__proto.weekdaysParse = localeWeekdaysParse; + + prototype__proto.weekdaysRegex = weekdaysRegex; + prototype__proto.weekdaysShortRegex = weekdaysShortRegex; + prototype__proto.weekdaysMinRegex = weekdaysMinRegex; + + // Hours + prototype__proto.isPM = localeIsPM; + prototype__proto.meridiem = localeMeridiem; + + function lists__get (format, index, field, setter) { + var locale = locale_locales__getLocale(); + var utc = create_utc__createUTC().set(setter, index); + return locale[field](utc, format); + } + + function listMonthsImpl (format, index, field) { + if (typeof format === 'number') { + index = format; + format = undefined; + } + + format = format || ''; + + if (index != null) { + return lists__get(format, index, field, 'month'); + } + + var i; + var out = []; + for (i = 0; i < 12; i++) { + out[i] = lists__get(format, i, field, 'month'); + } + return out; + } + + // () + // (5) + // (fmt, 5) + // (fmt) + // (true) + // (true, 5) + // (true, fmt, 5) + // (true, fmt) + function listWeekdaysImpl (localeSorted, format, index, field) { + if (typeof localeSorted === 'boolean') { + if (typeof format === 'number') { + index = format; + format = undefined; + } + + format = format || ''; + } else { + format = localeSorted; + index = format; + localeSorted = false; + + if (typeof format === 'number') { + index = format; + format = undefined; + } + + format = format || ''; + } + + var locale = locale_locales__getLocale(), + shift = localeSorted ? locale._week.dow : 0; + + if (index != null) { + return lists__get(format, (index + shift) % 7, field, 'day'); + } + + var i; + var out = []; + for (i = 0; i < 7; i++) { + out[i] = lists__get(format, (i + shift) % 7, field, 'day'); + } + return out; + } + + function lists__listMonths (format, index) { + return listMonthsImpl(format, index, 'months'); + } + + function lists__listMonthsShort (format, index) { + return listMonthsImpl(format, index, 'monthsShort'); + } + + function lists__listWeekdays (localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdays'); + } + + function lists__listWeekdaysShort (localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort'); + } + + function lists__listWeekdaysMin (localeSorted, format, index) { + return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin'); + } + + locale_locales__getSetGlobalLocale('en', { + ordinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal : function (number) { + var b = number % 10, + output = (toInt(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + } + }); + + // Side effect imports + utils_hooks__hooks.lang = deprecate('moment.lang is deprecated. Use moment.locale instead.', locale_locales__getSetGlobalLocale); + utils_hooks__hooks.langData = deprecate('moment.langData is deprecated. Use moment.localeData instead.', locale_locales__getLocale); + + var mathAbs = Math.abs; + + function duration_abs__abs () { + var data = this._data; + + this._milliseconds = mathAbs(this._milliseconds); + this._days = mathAbs(this._days); + this._months = mathAbs(this._months); + + data.milliseconds = mathAbs(data.milliseconds); + data.seconds = mathAbs(data.seconds); + data.minutes = mathAbs(data.minutes); + data.hours = mathAbs(data.hours); + data.months = mathAbs(data.months); + data.years = mathAbs(data.years); + + return this; + } + + function duration_add_subtract__addSubtract (duration, input, value, direction) { + var other = create__createDuration(input, value); + + duration._milliseconds += direction * other._milliseconds; + duration._days += direction * other._days; + duration._months += direction * other._months; + + return duration._bubble(); + } + + // supports only 2.0-style add(1, 's') or add(duration) + function duration_add_subtract__add (input, value) { + return duration_add_subtract__addSubtract(this, input, value, 1); + } + + // supports only 2.0-style subtract(1, 's') or subtract(duration) + function duration_add_subtract__subtract (input, value) { + return duration_add_subtract__addSubtract(this, input, value, -1); + } + + function absCeil (number) { + if (number < 0) { + return Math.floor(number); + } else { + return Math.ceil(number); + } + } + + function bubble () { + var milliseconds = this._milliseconds; + var days = this._days; + var months = this._months; + var data = this._data; + var seconds, minutes, hours, years, monthsFromDays; + + // if we have a mix of positive and negative values, bubble down first + // check: https://github.com/moment/moment/issues/2166 + if (!((milliseconds >= 0 && days >= 0 && months >= 0) || + (milliseconds <= 0 && days <= 0 && months <= 0))) { + milliseconds += absCeil(monthsToDays(months) + days) * 864e5; + days = 0; + months = 0; + } + + // The following code bubbles up values, see the tests for + // examples of what that means. + data.milliseconds = milliseconds % 1000; + + seconds = absFloor(milliseconds / 1000); + data.seconds = seconds % 60; + + minutes = absFloor(seconds / 60); + data.minutes = minutes % 60; + + hours = absFloor(minutes / 60); + data.hours = hours % 24; + + days += absFloor(hours / 24); + + // convert days to months + monthsFromDays = absFloor(daysToMonths(days)); + months += monthsFromDays; + days -= absCeil(monthsToDays(monthsFromDays)); + + // 12 months -> 1 year + years = absFloor(months / 12); + months %= 12; + + data.days = days; + data.months = months; + data.years = years; + + return this; + } + + function daysToMonths (days) { + // 400 years have 146097 days (taking into account leap year rules) + // 400 years have 12 months === 4800 + return days * 4800 / 146097; + } + + function monthsToDays (months) { + // the reverse of daysToMonths + return months * 146097 / 4800; + } + + function as (units) { + var days; + var months; + var milliseconds = this._milliseconds; + + units = normalizeUnits(units); + + if (units === 'month' || units === 'year') { + days = this._days + milliseconds / 864e5; + months = this._months + daysToMonths(days); + return units === 'month' ? months : months / 12; + } else { + // handle milliseconds separately because of floating point math errors (issue #1867) + days = this._days + Math.round(monthsToDays(this._months)); + switch (units) { + case 'week' : return days / 7 + milliseconds / 6048e5; + case 'day' : return days + milliseconds / 864e5; + case 'hour' : return days * 24 + milliseconds / 36e5; + case 'minute' : return days * 1440 + milliseconds / 6e4; + case 'second' : return days * 86400 + milliseconds / 1000; + // Math.floor prevents floating point math errors here + case 'millisecond': return Math.floor(days * 864e5) + milliseconds; + default: throw new Error('Unknown unit ' + units); + } + } + } + + // TODO: Use this.as('ms')? + function duration_as__valueOf () { + return ( + this._milliseconds + + this._days * 864e5 + + (this._months % 12) * 2592e6 + + toInt(this._months / 12) * 31536e6 + ); + } + + function makeAs (alias) { + return function () { + return this.as(alias); + }; + } + + var asMilliseconds = makeAs('ms'); + var asSeconds = makeAs('s'); + var asMinutes = makeAs('m'); + var asHours = makeAs('h'); + var asDays = makeAs('d'); + var asWeeks = makeAs('w'); + var asMonths = makeAs('M'); + var asYears = makeAs('y'); + + function duration_get__get (units) { + units = normalizeUnits(units); + return this[units + 's'](); + } + + function makeGetter(name) { + return function () { + return this._data[name]; + }; + } + + var milliseconds = makeGetter('milliseconds'); + var seconds = makeGetter('seconds'); + var minutes = makeGetter('minutes'); + var hours = makeGetter('hours'); + var days = makeGetter('days'); + var months = makeGetter('months'); + var years = makeGetter('years'); + + function weeks () { + return absFloor(this.days() / 7); + } + + var round = Math.round; + var thresholds = { + s: 45, // seconds to minute + m: 45, // minutes to hour + h: 22, // hours to day + d: 26, // days to month + M: 11 // months to year + }; + + // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize + function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { + return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); + } + + function duration_humanize__relativeTime (posNegDuration, withoutSuffix, locale) { + var duration = create__createDuration(posNegDuration).abs(); + var seconds = round(duration.as('s')); + var minutes = round(duration.as('m')); + var hours = round(duration.as('h')); + var days = round(duration.as('d')); + var months = round(duration.as('M')); + var years = round(duration.as('y')); + + var a = seconds < thresholds.s && ['s', seconds] || + minutes <= 1 && ['m'] || + minutes < thresholds.m && ['mm', minutes] || + hours <= 1 && ['h'] || + hours < thresholds.h && ['hh', hours] || + days <= 1 && ['d'] || + days < thresholds.d && ['dd', days] || + months <= 1 && ['M'] || + months < thresholds.M && ['MM', months] || + years <= 1 && ['y'] || ['yy', years]; + + a[2] = withoutSuffix; + a[3] = +posNegDuration > 0; + a[4] = locale; + return substituteTimeAgo.apply(null, a); + } + + // This function allows you to set the rounding function for relative time strings + function duration_humanize__getSetRelativeTimeRounding (roundingFunction) { + if (roundingFunction === undefined) { + return round; + } + if (typeof(roundingFunction) === 'function') { + round = roundingFunction; + return true; + } + return false; + } + + // This function allows you to set a threshold for relative time strings + function duration_humanize__getSetRelativeTimeThreshold (threshold, limit) { + if (thresholds[threshold] === undefined) { + return false; + } + if (limit === undefined) { + return thresholds[threshold]; + } + thresholds[threshold] = limit; + return true; + } + + function humanize (withSuffix) { + var locale = this.localeData(); + var output = duration_humanize__relativeTime(this, !withSuffix, locale); + + if (withSuffix) { + output = locale.pastFuture(+this, output); + } + + return locale.postformat(output); + } + + var iso_string__abs = Math.abs; + + function iso_string__toISOString() { + // for ISO strings we do not use the normal bubbling rules: + // * milliseconds bubble up until they become hours + // * days do not bubble at all + // * months bubble up until they become years + // This is because there is no context-free conversion between hours and days + // (think of clock changes) + // and also not between days and months (28-31 days per month) + var seconds = iso_string__abs(this._milliseconds) / 1000; + var days = iso_string__abs(this._days); + var months = iso_string__abs(this._months); + var minutes, hours, years; + + // 3600 seconds -> 60 minutes -> 1 hour + minutes = absFloor(seconds / 60); + hours = absFloor(minutes / 60); + seconds %= 60; + minutes %= 60; + + // 12 months -> 1 year + years = absFloor(months / 12); + months %= 12; + + + // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js + var Y = years; + var M = months; + var D = days; + var h = hours; + var m = minutes; + var s = seconds; + var total = this.asSeconds(); + + if (!total) { + // this is the same as C#'s (Noda) and python (isodate)... + // but not other JS (goog.date) + return 'P0D'; + } + + return (total < 0 ? '-' : '') + + 'P' + + (Y ? Y + 'Y' : '') + + (M ? M + 'M' : '') + + (D ? D + 'D' : '') + + ((h || m || s) ? 'T' : '') + + (h ? h + 'H' : '') + + (m ? m + 'M' : '') + + (s ? s + 'S' : ''); + } + + var duration_prototype__proto = Duration.prototype; + + duration_prototype__proto.abs = duration_abs__abs; + duration_prototype__proto.add = duration_add_subtract__add; + duration_prototype__proto.subtract = duration_add_subtract__subtract; + duration_prototype__proto.as = as; + duration_prototype__proto.asMilliseconds = asMilliseconds; + duration_prototype__proto.asSeconds = asSeconds; + duration_prototype__proto.asMinutes = asMinutes; + duration_prototype__proto.asHours = asHours; + duration_prototype__proto.asDays = asDays; + duration_prototype__proto.asWeeks = asWeeks; + duration_prototype__proto.asMonths = asMonths; + duration_prototype__proto.asYears = asYears; + duration_prototype__proto.valueOf = duration_as__valueOf; + duration_prototype__proto._bubble = bubble; + duration_prototype__proto.get = duration_get__get; + duration_prototype__proto.milliseconds = milliseconds; + duration_prototype__proto.seconds = seconds; + duration_prototype__proto.minutes = minutes; + duration_prototype__proto.hours = hours; + duration_prototype__proto.days = days; + duration_prototype__proto.weeks = weeks; + duration_prototype__proto.months = months; + duration_prototype__proto.years = years; + duration_prototype__proto.humanize = humanize; + duration_prototype__proto.toISOString = iso_string__toISOString; + duration_prototype__proto.toString = iso_string__toISOString; + duration_prototype__proto.toJSON = iso_string__toISOString; + duration_prototype__proto.locale = locale; + duration_prototype__proto.localeData = localeData; + + // Deprecations + duration_prototype__proto.toIsoString = deprecate('toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', iso_string__toISOString); + duration_prototype__proto.lang = lang; + + // Side effect imports + + // FORMATTING + + addFormatToken('X', 0, 0, 'unix'); + addFormatToken('x', 0, 0, 'valueOf'); + + // PARSING + + addRegexToken('x', matchSigned); + addRegexToken('X', matchTimestamp); + addParseToken('X', function (input, array, config) { + config._d = new Date(parseFloat(input, 10) * 1000); + }); + addParseToken('x', function (input, array, config) { + config._d = new Date(toInt(input)); + }); + + // Side effect imports + + + utils_hooks__hooks.version = '2.15.1'; + + setHookCallback(local__createLocal); + + utils_hooks__hooks.fn = momentPrototype; + utils_hooks__hooks.min = min; + utils_hooks__hooks.max = max; + utils_hooks__hooks.now = now; + utils_hooks__hooks.utc = create_utc__createUTC; + utils_hooks__hooks.unix = moment__createUnix; + utils_hooks__hooks.months = lists__listMonths; + utils_hooks__hooks.isDate = isDate; + utils_hooks__hooks.locale = locale_locales__getSetGlobalLocale; + utils_hooks__hooks.invalid = valid__createInvalid; + utils_hooks__hooks.duration = create__createDuration; + utils_hooks__hooks.isMoment = isMoment; + utils_hooks__hooks.weekdays = lists__listWeekdays; + utils_hooks__hooks.parseZone = moment__createInZone; + utils_hooks__hooks.localeData = locale_locales__getLocale; + utils_hooks__hooks.isDuration = isDuration; + utils_hooks__hooks.monthsShort = lists__listMonthsShort; + utils_hooks__hooks.weekdaysMin = lists__listWeekdaysMin; + utils_hooks__hooks.defineLocale = defineLocale; + utils_hooks__hooks.updateLocale = updateLocale; + utils_hooks__hooks.locales = locale_locales__listLocales; + utils_hooks__hooks.weekdaysShort = lists__listWeekdaysShort; + utils_hooks__hooks.normalizeUnits = normalizeUnits; + utils_hooks__hooks.relativeTimeRounding = duration_humanize__getSetRelativeTimeRounding; + utils_hooks__hooks.relativeTimeThreshold = duration_humanize__getSetRelativeTimeThreshold; + utils_hooks__hooks.calendarFormat = getCalendarFormat; + utils_hooks__hooks.prototype = momentPrototype; + + var _moment = utils_hooks__hooks; + + return _moment; + +})); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/moment.min.js b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/moment.min.js new file mode 100644 index 0000000000000000000000000000000000000000..36283a50f6a7a0aea2c39bcef8237f15acabf062 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-core/js/vendor/moment-js/moment.min.js @@ -0,0 +1,2 @@ +!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return md.apply(null,arguments)}function b(a){md=a}function c(a){return a instanceof Array||"[object Array]"===Object.prototype.toString.call(a)}function d(a){return null!=a&&"[object Object]"===Object.prototype.toString.call(a)}function e(a){var b;for(b in a)return!1;return!0}function f(a){return a instanceof Date||"[object Date]"===Object.prototype.toString.call(a)}function g(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function h(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function i(a,b){for(var c in b)h(b,c)&&(a[c]=b[c]);return h(b,"toString")&&(a.toString=b.toString),h(b,"valueOf")&&(a.valueOf=b.valueOf),a}function j(a,b,c,d){return qb(a,b,c,d,!0).utc()}function k(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function l(a){return null==a._pf&&(a._pf=k()),a._pf}function m(a){if(null==a._isValid){var b=l(a),c=nd.call(b.parsedDateParts,function(a){return null!=a}),d=!isNaN(a._d.getTime())&&b.overflow<0&&!b.empty&&!b.invalidMonth&&!b.invalidWeekday&&!b.nullInput&&!b.invalidFormat&&!b.userInvalidated&&(!b.meridiem||b.meridiem&&c);if(a._strict&&(d=d&&0===b.charsLeftOver&&0===b.unusedTokens.length&&void 0===b.bigHour),null!=Object.isFrozen&&Object.isFrozen(a))return d;a._isValid=d}return a._isValid}function n(a){var b=j(NaN);return null!=a?i(l(b),a):l(b).userInvalidated=!0,b}function o(a){return void 0===a}function p(a,b){var c,d,e;if(o(b._isAMomentObject)||(a._isAMomentObject=b._isAMomentObject),o(b._i)||(a._i=b._i),o(b._f)||(a._f=b._f),o(b._l)||(a._l=b._l),o(b._strict)||(a._strict=b._strict),o(b._tzm)||(a._tzm=b._tzm),o(b._isUTC)||(a._isUTC=b._isUTC),o(b._offset)||(a._offset=b._offset),o(b._pf)||(a._pf=l(b)),o(b._locale)||(a._locale=b._locale),od.length>0)for(c in od)d=od[c],e=b[d],o(e)||(a[d]=e);return a}function q(b){p(this,b),this._d=new Date(null!=b._d?b._d.getTime():NaN),pd===!1&&(pd=!0,a.updateOffset(this),pd=!1)}function r(a){return a instanceof q||null!=a&&null!=a._isAMomentObject}function s(a){return a<0?Math.ceil(a)||0:Math.floor(a)}function t(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=s(b)),c}function u(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;d<e;d++)(c&&a[d]!==b[d]||!c&&t(a[d])!==t(b[d]))&&g++;return g+f}function v(b){a.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function w(b,c){var d=!0;return i(function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,b),d){for(var e,f=[],g=0;g<arguments.length;g++){if(e="","object"==typeof arguments[g]){e+="\n["+g+"] ";for(var h in arguments[0])e+=h+": "+arguments[0][h]+", ";e=e.slice(0,-2)}else e=arguments[g];f.push(e)}v(b+"\nArguments: "+Array.prototype.slice.call(f).join("")+"\n"+(new Error).stack),d=!1}return c.apply(this,arguments)},c)}function x(b,c){null!=a.deprecationHandler&&a.deprecationHandler(b,c),qd[b]||(v(c),qd[b]=!0)}function y(a){return a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}function z(a){var b,c;for(c in a)b=a[c],y(b)?this[c]=b:this["_"+c]=b;this._config=a,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function A(a,b){var c,e=i({},a);for(c in b)h(b,c)&&(d(a[c])&&d(b[c])?(e[c]={},i(e[c],a[c]),i(e[c],b[c])):null!=b[c]?e[c]=b[c]:delete e[c]);for(c in a)h(a,c)&&!h(b,c)&&d(a[c])&&(e[c]=i({},e[c]));return e}function B(a){null!=a&&this.set(a)}function C(a,b,c){var d=this._calendar[a]||this._calendar.sameElse;return y(d)?d.call(b,c):d}function D(a){var b=this._longDateFormat[a],c=this._longDateFormat[a.toUpperCase()];return b||!c?b:(this._longDateFormat[a]=c.replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a])}function E(){return this._invalidDate}function F(a){return this._ordinal.replace("%d",a)}function G(a,b,c,d){var e=this._relativeTime[c];return y(e)?e(a,b,c,d):e.replace(/%d/i,a)}function H(a,b){var c=this._relativeTime[a>0?"future":"past"];return y(c)?c(b):c.replace(/%s/i,b)}function I(a,b){var c=a.toLowerCase();zd[c]=zd[c+"s"]=zd[b]=a}function J(a){return"string"==typeof a?zd[a]||zd[a.toLowerCase()]:void 0}function K(a){var b,c,d={};for(c in a)h(a,c)&&(b=J(c),b&&(d[b]=a[c]));return d}function L(a,b){Ad[a]=b}function M(a){var b=[];for(var c in a)b.push({unit:c,priority:Ad[c]});return b.sort(function(a,b){return a.priority-b.priority}),b}function N(b,c){return function(d){return null!=d?(P(this,b,d),a.updateOffset(this,c),this):O(this,b)}}function O(a,b){return a.isValid()?a._d["get"+(a._isUTC?"UTC":"")+b]():NaN}function P(a,b,c){a.isValid()&&a._d["set"+(a._isUTC?"UTC":"")+b](c)}function Q(a){return a=J(a),y(this[a])?this[a]():this}function R(a,b){if("object"==typeof a){a=K(a);for(var c=M(a),d=0;d<c.length;d++)this[c[d].unit](a[c[d].unit])}else if(a=J(a),y(this[a]))return this[a](b);return this}function S(a,b,c){var d=""+Math.abs(a),e=b-d.length,f=a>=0;return(f?c?"+":"":"-")+Math.pow(10,Math.max(0,e)).toString().substr(1)+d}function T(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(Ed[a]=e),b&&(Ed[b[0]]=function(){return S(e.apply(this,arguments),b[1],b[2])}),c&&(Ed[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function U(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function V(a){var b,c,d=a.match(Bd);for(b=0,c=d.length;b<c;b++)Ed[d[b]]?d[b]=Ed[d[b]]:d[b]=U(d[b]);return function(b){var e,f="";for(e=0;e<c;e++)f+=d[e]instanceof Function?d[e].call(b,a):d[e];return f}}function W(a,b){return a.isValid()?(b=X(b,a.localeData()),Dd[b]=Dd[b]||V(b),Dd[b](a)):a.localeData().invalidDate()}function X(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Cd.lastIndex=0;d>=0&&Cd.test(a);)a=a.replace(Cd,c),Cd.lastIndex=0,d-=1;return a}function Y(a,b,c){Wd[a]=y(b)?b:function(a,d){return a&&c?c:b}}function Z(a,b){return h(Wd,a)?Wd[a](b._strict,b._locale):new RegExp($(a))}function $(a){return _(a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}))}function _(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function aa(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),"number"==typeof b&&(d=function(a,c){c[b]=t(a)}),c=0;c<a.length;c++)Xd[a[c]]=d}function ba(a,b){aa(a,function(a,c,d,e){d._w=d._w||{},b(a,d._w,d,e)})}function ca(a,b,c){null!=b&&h(Xd,a)&&Xd[a](b,c._a,c,a)}function da(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function ea(a,b){return a?c(this._months)?this._months[a.month()]:this._months[(this._months.isFormat||fe).test(b)?"format":"standalone"][a.month()]:this._months}function fa(a,b){return a?c(this._monthsShort)?this._monthsShort[a.month()]:this._monthsShort[fe.test(b)?"format":"standalone"][a.month()]:this._monthsShort}function ga(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],d=0;d<12;++d)f=j([2e3,d]),this._shortMonthsParse[d]=this.monthsShort(f,"").toLocaleLowerCase(),this._longMonthsParse[d]=this.months(f,"").toLocaleLowerCase();return c?"MMM"===b?(e=sd.call(this._shortMonthsParse,g),e!==-1?e:null):(e=sd.call(this._longMonthsParse,g),e!==-1?e:null):"MMM"===b?(e=sd.call(this._shortMonthsParse,g),e!==-1?e:(e=sd.call(this._longMonthsParse,g),e!==-1?e:null)):(e=sd.call(this._longMonthsParse,g),e!==-1?e:(e=sd.call(this._shortMonthsParse,g),e!==-1?e:null))}function ha(a,b,c){var d,e,f;if(this._monthsParseExact)return ga.call(this,a,b,c);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;d<12;d++){if(e=j([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}}function ia(a,b){var c;if(!a.isValid())return a;if("string"==typeof b)if(/^\d+$/.test(b))b=t(b);else if(b=a.localeData().monthsParse(b),"number"!=typeof b)return a;return c=Math.min(a.date(),da(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a}function ja(b){return null!=b?(ia(this,b),a.updateOffset(this,!0),this):O(this,"Month")}function ka(){return da(this.year(),this.month())}function la(a){return this._monthsParseExact?(h(this,"_monthsRegex")||na.call(this),a?this._monthsShortStrictRegex:this._monthsShortRegex):(h(this,"_monthsShortRegex")||(this._monthsShortRegex=ie),this._monthsShortStrictRegex&&a?this._monthsShortStrictRegex:this._monthsShortRegex)}function ma(a){return this._monthsParseExact?(h(this,"_monthsRegex")||na.call(this),a?this._monthsStrictRegex:this._monthsRegex):(h(this,"_monthsRegex")||(this._monthsRegex=je),this._monthsStrictRegex&&a?this._monthsStrictRegex:this._monthsRegex)}function na(){function a(a,b){return b.length-a.length}var b,c,d=[],e=[],f=[];for(b=0;b<12;b++)c=j([2e3,b]),d.push(this.monthsShort(c,"")),e.push(this.months(c,"")),f.push(this.months(c,"")),f.push(this.monthsShort(c,""));for(d.sort(a),e.sort(a),f.sort(a),b=0;b<12;b++)d[b]=_(d[b]),e[b]=_(e[b]);for(b=0;b<24;b++)f[b]=_(f[b]);this._monthsRegex=new RegExp("^("+f.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+e.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+d.join("|")+")","i")}function oa(a){return pa(a)?366:365}function pa(a){return a%4===0&&a%100!==0||a%400===0}function qa(){return pa(this.year())}function ra(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return a<100&&a>=0&&isFinite(h.getFullYear())&&h.setFullYear(a),h}function sa(a){var b=new Date(Date.UTC.apply(null,arguments));return a<100&&a>=0&&isFinite(b.getUTCFullYear())&&b.setUTCFullYear(a),b}function ta(a,b,c){var d=7+b-c,e=(7+sa(a,0,d).getUTCDay()-b)%7;return-e+d-1}function ua(a,b,c,d,e){var f,g,h=(7+c-d)%7,i=ta(a,d,e),j=1+7*(b-1)+h+i;return j<=0?(f=a-1,g=oa(f)+j):j>oa(a)?(f=a+1,g=j-oa(a)):(f=a,g=j),{year:f,dayOfYear:g}}function va(a,b,c){var d,e,f=ta(a.year(),b,c),g=Math.floor((a.dayOfYear()-f-1)/7)+1;return g<1?(e=a.year()-1,d=g+wa(e,b,c)):g>wa(a.year(),b,c)?(d=g-wa(a.year(),b,c),e=a.year()+1):(e=a.year(),d=g),{week:d,year:e}}function wa(a,b,c){var d=ta(a,b,c),e=ta(a+1,b,c);return(oa(a)-d+e)/7}function xa(a){return va(a,this._week.dow,this._week.doy).week}function ya(){return this._week.dow}function za(){return this._week.doy}function Aa(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")}function Ba(a){var b=va(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function Ca(a,b){return"string"!=typeof a?a:isNaN(a)?(a=b.weekdaysParse(a),"number"==typeof a?a:null):parseInt(a,10)}function Da(a,b){return"string"==typeof a?b.weekdaysParse(a)%7||7:isNaN(a)?null:a}function Ea(a,b){return a?c(this._weekdays)?this._weekdays[a.day()]:this._weekdays[this._weekdays.isFormat.test(b)?"format":"standalone"][a.day()]:this._weekdays}function Fa(a){return a?this._weekdaysShort[a.day()]:this._weekdaysShort}function Ga(a){return a?this._weekdaysMin[a.day()]:this._weekdaysMin}function Ha(a,b,c){var d,e,f,g=a.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],d=0;d<7;++d)f=j([2e3,1]).day(d),this._minWeekdaysParse[d]=this.weekdaysMin(f,"").toLocaleLowerCase(),this._shortWeekdaysParse[d]=this.weekdaysShort(f,"").toLocaleLowerCase(),this._weekdaysParse[d]=this.weekdays(f,"").toLocaleLowerCase();return c?"dddd"===b?(e=sd.call(this._weekdaysParse,g),e!==-1?e:null):"ddd"===b?(e=sd.call(this._shortWeekdaysParse,g),e!==-1?e:null):(e=sd.call(this._minWeekdaysParse,g),e!==-1?e:null):"dddd"===b?(e=sd.call(this._weekdaysParse,g),e!==-1?e:(e=sd.call(this._shortWeekdaysParse,g),e!==-1?e:(e=sd.call(this._minWeekdaysParse,g),e!==-1?e:null))):"ddd"===b?(e=sd.call(this._shortWeekdaysParse,g),e!==-1?e:(e=sd.call(this._weekdaysParse,g),e!==-1?e:(e=sd.call(this._minWeekdaysParse,g),e!==-1?e:null))):(e=sd.call(this._minWeekdaysParse,g),e!==-1?e:(e=sd.call(this._weekdaysParse,g),e!==-1?e:(e=sd.call(this._shortWeekdaysParse,g),e!==-1?e:null)))}function Ia(a,b,c){var d,e,f;if(this._weekdaysParseExact)return Ha.call(this,a,b,c);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),d=0;d<7;d++){if(e=j([2e3,1]).day(d),c&&!this._fullWeekdaysParse[d]&&(this._fullWeekdaysParse[d]=new RegExp("^"+this.weekdays(e,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[d]=new RegExp("^"+this.weekdaysShort(e,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[d]=new RegExp("^"+this.weekdaysMin(e,"").replace(".",".?")+"$","i")),this._weekdaysParse[d]||(f="^"+this.weekdays(e,"")+"|^"+this.weekdaysShort(e,"")+"|^"+this.weekdaysMin(e,""),this._weekdaysParse[d]=new RegExp(f.replace(".",""),"i")),c&&"dddd"===b&&this._fullWeekdaysParse[d].test(a))return d;if(c&&"ddd"===b&&this._shortWeekdaysParse[d].test(a))return d;if(c&&"dd"===b&&this._minWeekdaysParse[d].test(a))return d;if(!c&&this._weekdaysParse[d].test(a))return d}}function Ja(a){if(!this.isValid())return null!=a?this:NaN;var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=Ca(a,this.localeData()),this.add(a-b,"d")):b}function Ka(a){if(!this.isValid())return null!=a?this:NaN;var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function La(a){if(!this.isValid())return null!=a?this:NaN;if(null!=a){var b=Da(a,this.localeData());return this.day(this.day()%7?b:b-7)}return this.day()||7}function Ma(a){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Pa.call(this),a?this._weekdaysStrictRegex:this._weekdaysRegex):(h(this,"_weekdaysRegex")||(this._weekdaysRegex=pe),this._weekdaysStrictRegex&&a?this._weekdaysStrictRegex:this._weekdaysRegex)}function Na(a){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Pa.call(this),a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(h(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&a?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Oa(a){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Pa.call(this),a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(h(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=re),this._weekdaysMinStrictRegex&&a?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Pa(){function a(a,b){return b.length-a.length}var b,c,d,e,f,g=[],h=[],i=[],k=[];for(b=0;b<7;b++)c=j([2e3,1]).day(b),d=this.weekdaysMin(c,""),e=this.weekdaysShort(c,""),f=this.weekdays(c,""),g.push(d),h.push(e),i.push(f),k.push(d),k.push(e),k.push(f);for(g.sort(a),h.sort(a),i.sort(a),k.sort(a),b=0;b<7;b++)h[b]=_(h[b]),i[b]=_(i[b]),k[b]=_(k[b]);this._weekdaysRegex=new RegExp("^("+k.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+g.join("|")+")","i")}function Qa(){return this.hours()%12||12}function Ra(){return this.hours()||24}function Sa(a,b){T(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function Ta(a,b){return b._meridiemParse}function Ua(a){return"p"===(a+"").toLowerCase().charAt(0)}function Va(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"}function Wa(a){return a?a.toLowerCase().replace("_","-"):a}function Xa(a){for(var b,c,d,e,f=0;f<a.length;){for(e=Wa(a[f]).split("-"),b=e.length,c=Wa(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=Ya(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&u(e,c,!0)>=b-1)break;b--}f++}return null}function Ya(a){var b=null;if(!we[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=se._abbr,require("./locale/"+a),Za(b)}catch(a){}return we[a]}function Za(a,b){var c;return a&&(c=o(b)?ab(a):$a(a,b),c&&(se=c)),se._abbr}function $a(a,b){if(null!==b){var c=ve;return b.abbr=a,null!=we[a]?(x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),c=we[a]._config):null!=b.parentLocale&&(null!=we[b.parentLocale]?c=we[b.parentLocale]._config:x("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),we[a]=new B(A(c,b)),Za(a),we[a]}return delete we[a],null}function _a(a,b){if(null!=b){var c,d=ve;null!=we[a]&&(d=we[a]._config),b=A(d,b),c=new B(b),c.parentLocale=we[a],we[a]=c,Za(a)}else null!=we[a]&&(null!=we[a].parentLocale?we[a]=we[a].parentLocale:null!=we[a]&&delete we[a]);return we[a]}function ab(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return se;if(!c(a)){if(b=Ya(a))return b;a=[a]}return Xa(a)}function bb(){return rd(we)}function cb(a){var b,c=a._a;return c&&l(a).overflow===-2&&(b=c[Zd]<0||c[Zd]>11?Zd:c[$d]<1||c[$d]>da(c[Yd],c[Zd])?$d:c[_d]<0||c[_d]>24||24===c[_d]&&(0!==c[ae]||0!==c[be]||0!==c[ce])?_d:c[ae]<0||c[ae]>59?ae:c[be]<0||c[be]>59?be:c[ce]<0||c[ce]>999?ce:-1,l(a)._overflowDayOfYear&&(b<Yd||b>$d)&&(b=$d),l(a)._overflowWeeks&&b===-1&&(b=de),l(a)._overflowWeekday&&b===-1&&(b=ee),l(a).overflow=b),a}function db(a){var b,c,d,e,f,g,h=a._i,i=xe.exec(h)||ye.exec(h);if(i){for(l(a).iso=!0,b=0,c=Ae.length;b<c;b++)if(Ae[b][1].exec(i[1])){e=Ae[b][0],d=Ae[b][2]!==!1;break}if(null==e)return void(a._isValid=!1);if(i[3]){for(b=0,c=Be.length;b<c;b++)if(Be[b][1].exec(i[3])){f=(i[2]||" ")+Be[b][0];break}if(null==f)return void(a._isValid=!1)}if(!d&&null!=f)return void(a._isValid=!1);if(i[4]){if(!ze.exec(i[4]))return void(a._isValid=!1);g="Z"}a._f=e+(f||"")+(g||""),jb(a)}else a._isValid=!1}function eb(b){var c=Ce.exec(b._i);return null!==c?void(b._d=new Date(+c[1])):(db(b),void(b._isValid===!1&&(delete b._isValid,a.createFromInputFallback(b))))}function fb(a,b,c){return null!=a?a:null!=b?b:c}function gb(b){var c=new Date(a.now());return b._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()]}function hb(a){var b,c,d,e,f=[];if(!a._d){for(d=gb(a),a._w&&null==a._a[$d]&&null==a._a[Zd]&&ib(a),a._dayOfYear&&(e=fb(a._a[Yd],d[Yd]),a._dayOfYear>oa(e)&&(l(a)._overflowDayOfYear=!0),c=sa(e,0,a._dayOfYear),a._a[Zd]=c.getUTCMonth(),a._a[$d]=c.getUTCDate()),b=0;b<3&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;b<7;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[_d]&&0===a._a[ae]&&0===a._a[be]&&0===a._a[ce]&&(a._nextDay=!0,a._a[_d]=0),a._d=(a._useUTC?sa:ra).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[_d]=24)}}function ib(a){var b,c,d,e,f,g,h,i;b=a._w,null!=b.GG||null!=b.W||null!=b.E?(f=1,g=4,c=fb(b.GG,a._a[Yd],va(rb(),1,4).year),d=fb(b.W,1),e=fb(b.E,1),(e<1||e>7)&&(i=!0)):(f=a._locale._week.dow,g=a._locale._week.doy,c=fb(b.gg,a._a[Yd],va(rb(),f,g).year),d=fb(b.w,1),null!=b.d?(e=b.d,(e<0||e>6)&&(i=!0)):null!=b.e?(e=b.e+f,(b.e<0||b.e>6)&&(i=!0)):e=f),d<1||d>wa(c,f,g)?l(a)._overflowWeeks=!0:null!=i?l(a)._overflowWeekday=!0:(h=ua(c,d,e,f,g),a._a[Yd]=h.year,a._dayOfYear=h.dayOfYear)}function jb(b){if(b._f===a.ISO_8601)return void db(b);b._a=[],l(b).empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=X(b._f,b._locale).match(Bd)||[],c=0;c<e.length;c++)f=e[c],d=(h.match(Z(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&l(b).unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),Ed[f]?(d?l(b).empty=!1:l(b).unusedTokens.push(f),ca(f,d,b)):b._strict&&!d&&l(b).unusedTokens.push(f);l(b).charsLeftOver=i-j,h.length>0&&l(b).unusedInput.push(h),b._a[_d]<=12&&l(b).bigHour===!0&&b._a[_d]>0&&(l(b).bigHour=void 0),l(b).parsedDateParts=b._a.slice(0),l(b).meridiem=b._meridiem,b._a[_d]=kb(b._locale,b._a[_d],b._meridiem),hb(b),cb(b)}function kb(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&b<12&&(b+=12),d||12!==b||(b=0),b):b}function lb(a){var b,c,d,e,f;if(0===a._f.length)return l(a).invalidFormat=!0,void(a._d=new Date(NaN));for(e=0;e<a._f.length;e++)f=0,b=p({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._f=a._f[e],jb(b),m(b)&&(f+=l(b).charsLeftOver,f+=10*l(b).unusedTokens.length,l(b).score=f,(null==d||f<d)&&(d=f,c=b));i(a,c||b)}function mb(a){if(!a._d){var b=K(a._i);a._a=g([b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],function(a){return a&&parseInt(a,10)}),hb(a)}}function nb(a){var b=new q(cb(ob(a)));return b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b}function ob(a){var b=a._i,d=a._f;return a._locale=a._locale||ab(a._l),null===b||void 0===d&&""===b?n({nullInput:!0}):("string"==typeof b&&(a._i=b=a._locale.preparse(b)),r(b)?new q(cb(b)):(c(d)?lb(a):f(b)?a._d=b:d?jb(a):pb(a),m(a)||(a._d=null),a))}function pb(b){var d=b._i;void 0===d?b._d=new Date(a.now()):f(d)?b._d=new Date(d.valueOf()):"string"==typeof d?eb(b):c(d)?(b._a=g(d.slice(0),function(a){return parseInt(a,10)}),hb(b)):"object"==typeof d?mb(b):"number"==typeof d?b._d=new Date(d):a.createFromInputFallback(b)}function qb(a,b,f,g,h){var i={};return"boolean"==typeof f&&(g=f,f=void 0),(d(a)&&e(a)||c(a)&&0===a.length)&&(a=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=h,i._l=f,i._i=a,i._f=b,i._strict=g,nb(i)}function rb(a,b,c,d){return qb(a,b,c,d,!1)}function sb(a,b){var d,e;if(1===b.length&&c(b[0])&&(b=b[0]),!b.length)return rb();for(d=b[0],e=1;e<b.length;++e)b[e].isValid()&&!b[e][a](d)||(d=b[e]);return d}function tb(){var a=[].slice.call(arguments,0);return sb("isBefore",a)}function ub(){var a=[].slice.call(arguments,0);return sb("isAfter",a)}function vb(a){var b=K(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._milliseconds=+k+1e3*j+6e4*i+1e3*h*60*60,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=ab(),this._bubble()}function wb(a){return a instanceof vb}function xb(a){return a<0?Math.round(-1*a)*-1:Math.round(a)}function yb(a,b){T(a,0,0,function(){var a=this.utcOffset(),c="+";return a<0&&(a=-a,c="-"),c+S(~~(a/60),2)+b+S(~~a%60,2)})}function zb(a,b){var c=(b||"").match(a)||[],d=c[c.length-1]||[],e=(d+"").match(Ge)||["-",0,0],f=+(60*e[1])+t(e[2]);return"+"===e[0]?f:-f}function Ab(b,c){var d,e;return c._isUTC?(d=c.clone(),e=(r(b)||f(b)?b.valueOf():rb(b).valueOf())-d.valueOf(),d._d.setTime(d._d.valueOf()+e),a.updateOffset(d,!1),d):rb(b).local()}function Bb(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function Cb(b,c){var d,e=this._offset||0;return this.isValid()?null!=b?("string"==typeof b?b=zb(Td,b):Math.abs(b)<16&&(b=60*b),!this._isUTC&&c&&(d=Bb(this)),this._offset=b,this._isUTC=!0,null!=d&&this.add(d,"m"),e!==b&&(!c||this._changeInProgress?Sb(this,Nb(b-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?e:Bb(this):null!=b?this:NaN}function Db(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}function Eb(a){return this.utcOffset(0,a)}function Fb(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Bb(this),"m")),this}function Gb(){if(this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var a=zb(Sd,this._i);0===a?this.utcOffset(0,!0):this.utcOffset(zb(Sd,this._i))}return this}function Hb(a){return!!this.isValid()&&(a=a?rb(a).utcOffset():0,(this.utcOffset()-a)%60===0)}function Ib(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Jb(){if(!o(this._isDSTShifted))return this._isDSTShifted;var a={};if(p(a,this),a=ob(a),a._a){var b=a._isUTC?j(a._a):rb(a._a);this._isDSTShifted=this.isValid()&&u(a._a,b.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Kb(){return!!this.isValid()&&!this._isUTC}function Lb(){return!!this.isValid()&&this._isUTC}function Mb(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Nb(a,b){var c,d,e,f=a,g=null;return wb(a)?f={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(f={},b?f[b]=a:f.milliseconds=a):(g=He.exec(a))?(c="-"===g[1]?-1:1,f={y:0,d:t(g[$d])*c,h:t(g[_d])*c,m:t(g[ae])*c,s:t(g[be])*c,ms:t(xb(1e3*g[ce]))*c}):(g=Ie.exec(a))?(c="-"===g[1]?-1:1,f={y:Ob(g[2],c),M:Ob(g[3],c),w:Ob(g[4],c),d:Ob(g[5],c),h:Ob(g[6],c),m:Ob(g[7],c),s:Ob(g[8],c)}):null==f?f={}:"object"==typeof f&&("from"in f||"to"in f)&&(e=Qb(rb(f.from),rb(f.to)),f={},f.ms=e.milliseconds,f.M=e.months),d=new vb(f),wb(a)&&h(a,"_locale")&&(d._locale=a._locale),d}function Ob(a,b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function Pb(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function Qb(a,b){var c;return a.isValid()&&b.isValid()?(b=Ab(b,a),a.isBefore(b)?c=Pb(a,b):(c=Pb(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c):{milliseconds:0,months:0}}function Rb(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(x(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=Nb(c,d),Sb(this,e,a),this}}function Sb(b,c,d,e){var f=c._milliseconds,g=xb(c._days),h=xb(c._months);b.isValid()&&(e=null==e||e,f&&b._d.setTime(b._d.valueOf()+f*d),g&&P(b,"Date",O(b,"Date")+g*d),h&&ia(b,O(b,"Month")+h*d),e&&a.updateOffset(b,g||h))}function Tb(a,b){var c=a.diff(b,"days",!0);return c<-6?"sameElse":c<-1?"lastWeek":c<0?"lastDay":c<1?"sameDay":c<2?"nextDay":c<7?"nextWeek":"sameElse"}function Ub(b,c){var d=b||rb(),e=Ab(d,this).startOf("day"),f=a.calendarFormat(this,e)||"sameElse",g=c&&(y(c[f])?c[f].call(this,d):c[f]);return this.format(g||this.localeData().calendar(f,this,rb(d)))}function Vb(){return new q(this)}function Wb(a,b){var c=r(a)?a:rb(a);return!(!this.isValid()||!c.isValid())&&(b=J(o(b)?"millisecond":b),"millisecond"===b?this.valueOf()>c.valueOf():c.valueOf()<this.clone().startOf(b).valueOf())}function Xb(a,b){var c=r(a)?a:rb(a);return!(!this.isValid()||!c.isValid())&&(b=J(o(b)?"millisecond":b),"millisecond"===b?this.valueOf()<c.valueOf():this.clone().endOf(b).valueOf()<c.valueOf())}function Yb(a,b,c,d){return d=d||"()",("("===d[0]?this.isAfter(a,c):!this.isBefore(a,c))&&(")"===d[1]?this.isBefore(b,c):!this.isAfter(b,c))}function Zb(a,b){var c,d=r(a)?a:rb(a);return!(!this.isValid()||!d.isValid())&&(b=J(b||"millisecond"),"millisecond"===b?this.valueOf()===d.valueOf():(c=d.valueOf(),this.clone().startOf(b).valueOf()<=c&&c<=this.clone().endOf(b).valueOf()))}function $b(a,b){return this.isSame(a,b)||this.isAfter(a,b)}function _b(a,b){return this.isSame(a,b)||this.isBefore(a,b)}function ac(a,b,c){var d,e,f,g;return this.isValid()?(d=Ab(a,this),d.isValid()?(e=6e4*(d.utcOffset()-this.utcOffset()),b=J(b),"year"===b||"month"===b||"quarter"===b?(g=bc(this,d),"quarter"===b?g/=3:"year"===b&&(g/=12)):(f=this-d,g="second"===b?f/1e3:"minute"===b?f/6e4:"hour"===b?f/36e5:"day"===b?(f-e)/864e5:"week"===b?(f-e)/6048e5:f),c?g:s(g)):NaN):NaN}function bc(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return b-f<0?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)||0}function cc(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function dc(){var a=this.clone().utc();return 0<a.year()&&a.year()<=9999?y(Date.prototype.toISOString)?this.toDate().toISOString():W(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):W(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function ec(b){b||(b=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var c=W(this,b);return this.localeData().postformat(c)}function fc(a,b){return this.isValid()&&(r(a)&&a.isValid()||rb(a).isValid())?Nb({to:this,from:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function gc(a){return this.from(rb(),a)}function hc(a,b){return this.isValid()&&(r(a)&&a.isValid()||rb(a).isValid())?Nb({from:this,to:a}).locale(this.locale()).humanize(!b):this.localeData().invalidDate()}function ic(a){return this.to(rb(),a)}function jc(a){var b;return void 0===a?this._locale._abbr:(b=ab(a),null!=b&&(this._locale=b),this)}function kc(){return this._locale}function lc(a){switch(a=J(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a&&this.weekday(0),"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this}function mc(a){return a=J(a),void 0===a||"millisecond"===a?this:("date"===a&&(a="day"),this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms"))}function nc(){return this._d.valueOf()-6e4*(this._offset||0)}function oc(){return Math.floor(this.valueOf()/1e3)}function pc(){return new Date(this.valueOf())}function qc(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function rc(){var a=this;return{years:a.year(),months:a.month(),date:a.date(),hours:a.hours(),minutes:a.minutes(),seconds:a.seconds(),milliseconds:a.milliseconds()}}function sc(){return this.isValid()?this.toISOString():null}function tc(){return m(this)}function uc(){return i({},l(this))}function vc(){return l(this).overflow}function wc(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function xc(a,b){T(0,[a,a.length],0,b)}function yc(a){return Cc.call(this,a,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function zc(a){return Cc.call(this,a,this.isoWeek(),this.isoWeekday(),1,4)}function Ac(){return wa(this.year(),1,4)}function Bc(){var a=this.localeData()._week;return wa(this.year(),a.dow,a.doy)}function Cc(a,b,c,d,e){var f;return null==a?va(this,d,e).year:(f=wa(a,d,e),b>f&&(b=f),Dc.call(this,a,b,c,d,e))}function Dc(a,b,c,d,e){var f=ua(a,b,c,d,e),g=sa(f.year,0,f.dayOfYear);return this.year(g.getUTCFullYear()),this.month(g.getUTCMonth()),this.date(g.getUTCDate()),this}function Ec(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)}function Fc(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function Gc(a,b){b[ce]=t(1e3*("0."+a))}function Hc(){return this._isUTC?"UTC":""}function Ic(){return this._isUTC?"Coordinated Universal Time":""}function Jc(a){return rb(1e3*a)}function Kc(){return rb.apply(null,arguments).parseZone()}function Lc(a){return a}function Mc(a,b,c,d){var e=ab(),f=j().set(d,b);return e[c](f,a)}function Nc(a,b,c){if("number"==typeof a&&(b=a,a=void 0),a=a||"",null!=b)return Mc(a,b,c,"month");var d,e=[];for(d=0;d<12;d++)e[d]=Mc(a,d,c,"month");return e}function Oc(a,b,c,d){"boolean"==typeof a?("number"==typeof b&&(c=b,b=void 0),b=b||""):(b=a,c=b,a=!1,"number"==typeof b&&(c=b,b=void 0),b=b||"");var e=ab(),f=a?e._week.dow:0;if(null!=c)return Mc(b,(c+f)%7,d,"day");var g,h=[];for(g=0;g<7;g++)h[g]=Mc(b,(g+f)%7,d,"day");return h}function Pc(a,b){return Nc(a,b,"months")}function Qc(a,b){return Nc(a,b,"monthsShort")}function Rc(a,b,c){return Oc(a,b,c,"weekdays")}function Sc(a,b,c){return Oc(a,b,c,"weekdaysShort")}function Tc(a,b,c){return Oc(a,b,c,"weekdaysMin"); +}function Uc(){var a=this._data;return this._milliseconds=Ue(this._milliseconds),this._days=Ue(this._days),this._months=Ue(this._months),a.milliseconds=Ue(a.milliseconds),a.seconds=Ue(a.seconds),a.minutes=Ue(a.minutes),a.hours=Ue(a.hours),a.months=Ue(a.months),a.years=Ue(a.years),this}function Vc(a,b,c,d){var e=Nb(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function Wc(a,b){return Vc(this,a,b,1)}function Xc(a,b){return Vc(this,a,b,-1)}function Yc(a){return a<0?Math.floor(a):Math.ceil(a)}function Zc(){var a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;return f>=0&&g>=0&&h>=0||f<=0&&g<=0&&h<=0||(f+=864e5*Yc(_c(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=s(f/1e3),i.seconds=a%60,b=s(a/60),i.minutes=b%60,c=s(b/60),i.hours=c%24,g+=s(c/24),e=s($c(g)),h+=e,g-=Yc(_c(e)),d=s(h/12),h%=12,i.days=g,i.months=h,i.years=d,this}function $c(a){return 4800*a/146097}function _c(a){return 146097*a/4800}function ad(a){var b,c,d=this._milliseconds;if(a=J(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+$c(b),"month"===a?c:c/12;switch(b=this._days+Math.round(_c(this._months)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 1440*b+d/6e4;case"second":return 86400*b+d/1e3;case"millisecond":return Math.floor(864e5*b)+d;default:throw new Error("Unknown unit "+a)}}function bd(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*t(this._months/12)}function cd(a){return function(){return this.as(a)}}function dd(a){return a=J(a),this[a+"s"]()}function ed(a){return function(){return this._data[a]}}function fd(){return s(this.days()/7)}function gd(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function hd(a,b,c){var d=Nb(a).abs(),e=jf(d.as("s")),f=jf(d.as("m")),g=jf(d.as("h")),h=jf(d.as("d")),i=jf(d.as("M")),j=jf(d.as("y")),k=e<kf.s&&["s",e]||f<=1&&["m"]||f<kf.m&&["mm",f]||g<=1&&["h"]||g<kf.h&&["hh",g]||h<=1&&["d"]||h<kf.d&&["dd",h]||i<=1&&["M"]||i<kf.M&&["MM",i]||j<=1&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,gd.apply(null,k)}function id(a){return void 0===a?jf:"function"==typeof a&&(jf=a,!0)}function jd(a,b){return void 0!==kf[a]&&(void 0===b?kf[a]:(kf[a]=b,!0))}function kd(a){var b=this.localeData(),c=hd(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function ld(){var a,b,c,d=lf(this._milliseconds)/1e3,e=lf(this._days),f=lf(this._months);a=s(d/60),b=s(a/60),d%=60,a%=60,c=s(f/12),f%=12;var g=c,h=f,i=e,j=b,k=a,l=d,m=this.asSeconds();return m?(m<0?"-":"")+"P"+(g?g+"Y":"")+(h?h+"M":"")+(i?i+"D":"")+(j||k||l?"T":"")+(j?j+"H":"")+(k?k+"M":"")+(l?l+"S":""):"P0D"}var md,nd;nd=Array.prototype.some?Array.prototype.some:function(a){for(var b=Object(this),c=b.length>>>0,d=0;d<c;d++)if(d in b&&a.call(this,b[d],d,b))return!0;return!1};var od=a.momentProperties=[],pd=!1,qd={};a.suppressDeprecationWarnings=!1,a.deprecationHandler=null;var rd;rd=Object.keys?Object.keys:function(a){var b,c=[];for(b in a)h(a,b)&&c.push(b);return c};var sd,td={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},ud={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},vd="Invalid date",wd="%d",xd=/\d{1,2}/,yd={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},zd={},Ad={},Bd=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Cd=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Dd={},Ed={},Fd=/\d/,Gd=/\d\d/,Hd=/\d{3}/,Id=/\d{4}/,Jd=/[+-]?\d{6}/,Kd=/\d\d?/,Ld=/\d\d\d\d?/,Md=/\d\d\d\d\d\d?/,Nd=/\d{1,3}/,Od=/\d{1,4}/,Pd=/[+-]?\d{1,6}/,Qd=/\d+/,Rd=/[+-]?\d+/,Sd=/Z|[+-]\d\d:?\d\d/gi,Td=/Z|[+-]\d\d(?::?\d\d)?/gi,Ud=/[+-]?\d+(\.\d{1,3})?/,Vd=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Wd={},Xd={},Yd=0,Zd=1,$d=2,_d=3,ae=4,be=5,ce=6,de=7,ee=8;sd=Array.prototype.indexOf?Array.prototype.indexOf:function(a){var b;for(b=0;b<this.length;++b)if(this[b]===a)return b;return-1},T("M",["MM",2],"Mo",function(){return this.month()+1}),T("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),T("MMMM",0,0,function(a){return this.localeData().months(this,a)}),I("month","M"),L("month",8),Y("M",Kd),Y("MM",Kd,Gd),Y("MMM",function(a,b){return b.monthsShortRegex(a)}),Y("MMMM",function(a,b){return b.monthsRegex(a)}),aa(["M","MM"],function(a,b){b[Zd]=t(a)-1}),aa(["MMM","MMMM"],function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=e?b[Zd]=e:l(c).invalidMonth=a});var fe=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,ge="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),he="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ie=Vd,je=Vd;T("Y",0,0,function(){var a=this.year();return a<=9999?""+a:"+"+a}),T(0,["YY",2],0,function(){return this.year()%100}),T(0,["YYYY",4],0,"year"),T(0,["YYYYY",5],0,"year"),T(0,["YYYYYY",6,!0],0,"year"),I("year","y"),L("year",1),Y("Y",Rd),Y("YY",Kd,Gd),Y("YYYY",Od,Id),Y("YYYYY",Pd,Jd),Y("YYYYYY",Pd,Jd),aa(["YYYYY","YYYYYY"],Yd),aa("YYYY",function(b,c){c[Yd]=2===b.length?a.parseTwoDigitYear(b):t(b)}),aa("YY",function(b,c){c[Yd]=a.parseTwoDigitYear(b)}),aa("Y",function(a,b){b[Yd]=parseInt(a,10)}),a.parseTwoDigitYear=function(a){return t(a)+(t(a)>68?1900:2e3)};var ke=N("FullYear",!0);T("w",["ww",2],"wo","week"),T("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),L("week",5),L("isoWeek",5),Y("w",Kd),Y("ww",Kd,Gd),Y("W",Kd),Y("WW",Kd,Gd),ba(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=t(a)});var le={dow:0,doy:6};T("d",0,"do","day"),T("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),T("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),T("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),T("e",0,0,"weekday"),T("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),L("day",11),L("weekday",11),L("isoWeekday",11),Y("d",Kd),Y("e",Kd),Y("E",Kd),Y("dd",function(a,b){return b.weekdaysMinRegex(a)}),Y("ddd",function(a,b){return b.weekdaysShortRegex(a)}),Y("dddd",function(a,b){return b.weekdaysRegex(a)}),ba(["dd","ddd","dddd"],function(a,b,c,d){var e=c._locale.weekdaysParse(a,d,c._strict);null!=e?b.d=e:l(c).invalidWeekday=a}),ba(["d","e","E"],function(a,b,c,d){b[d]=t(a)});var me="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ne="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),pe=Vd,qe=Vd,re=Vd;T("H",["HH",2],0,"hour"),T("h",["hh",2],0,Qa),T("k",["kk",2],0,Ra),T("hmm",0,0,function(){return""+Qa.apply(this)+S(this.minutes(),2)}),T("hmmss",0,0,function(){return""+Qa.apply(this)+S(this.minutes(),2)+S(this.seconds(),2)}),T("Hmm",0,0,function(){return""+this.hours()+S(this.minutes(),2)}),T("Hmmss",0,0,function(){return""+this.hours()+S(this.minutes(),2)+S(this.seconds(),2)}),Sa("a",!0),Sa("A",!1),I("hour","h"),L("hour",13),Y("a",Ta),Y("A",Ta),Y("H",Kd),Y("h",Kd),Y("HH",Kd,Gd),Y("hh",Kd,Gd),Y("hmm",Ld),Y("hmmss",Md),Y("Hmm",Ld),Y("Hmmss",Md),aa(["H","HH"],_d),aa(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),aa(["h","hh"],function(a,b,c){b[_d]=t(a),l(c).bigHour=!0}),aa("hmm",function(a,b,c){var d=a.length-2;b[_d]=t(a.substr(0,d)),b[ae]=t(a.substr(d)),l(c).bigHour=!0}),aa("hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[_d]=t(a.substr(0,d)),b[ae]=t(a.substr(d,2)),b[be]=t(a.substr(e)),l(c).bigHour=!0}),aa("Hmm",function(a,b,c){var d=a.length-2;b[_d]=t(a.substr(0,d)),b[ae]=t(a.substr(d))}),aa("Hmmss",function(a,b,c){var d=a.length-4,e=a.length-2;b[_d]=t(a.substr(0,d)),b[ae]=t(a.substr(d,2)),b[be]=t(a.substr(e))});var se,te=/[ap]\.?m?\.?/i,ue=N("Hours",!0),ve={calendar:td,longDateFormat:ud,invalidDate:vd,ordinal:wd,ordinalParse:xd,relativeTime:yd,months:ge,monthsShort:he,week:le,weekdays:me,weekdaysMin:oe,weekdaysShort:ne,meridiemParse:te},we={},xe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,ye=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,ze=/Z|[+-]\d\d(?::?\d\d)?/,Ae=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Be=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ce=/^\/?Date\((\-?\d+)/i;a.createFromInputFallback=w("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),a.ISO_8601=function(){};var De=w("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=rb.apply(null,arguments);return this.isValid()&&a.isValid()?a<this?this:a:n()}),Ee=w("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var a=rb.apply(null,arguments);return this.isValid()&&a.isValid()?a>this?this:a:n()}),Fe=function(){return Date.now?Date.now():+new Date};yb("Z",":"),yb("ZZ",""),Y("Z",Td),Y("ZZ",Td),aa(["Z","ZZ"],function(a,b,c){c._useUTC=!0,c._tzm=zb(Td,a)});var Ge=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var He=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ie=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Nb.fn=vb.prototype;var Je=Rb(1,"add"),Ke=Rb(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Le=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});T(0,["gg",2],0,function(){return this.weekYear()%100}),T(0,["GG",2],0,function(){return this.isoWeekYear()%100}),xc("gggg","weekYear"),xc("ggggg","weekYear"),xc("GGGG","isoWeekYear"),xc("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),L("weekYear",1),L("isoWeekYear",1),Y("G",Rd),Y("g",Rd),Y("GG",Kd,Gd),Y("gg",Kd,Gd),Y("GGGG",Od,Id),Y("gggg",Od,Id),Y("GGGGG",Pd,Jd),Y("ggggg",Pd,Jd),ba(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=t(a)}),ba(["gg","GG"],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)}),T("Q",0,"Qo","quarter"),I("quarter","Q"),L("quarter",7),Y("Q",Fd),aa("Q",function(a,b){b[Zd]=3*(t(a)-1)}),T("D",["DD",2],"Do","date"),I("date","D"),L("date",9),Y("D",Kd),Y("DD",Kd,Gd),Y("Do",function(a,b){return a?b._ordinalParse:b._ordinalParseLenient}),aa(["D","DD"],$d),aa("Do",function(a,b){b[$d]=t(a.match(Kd)[0],10)});var Me=N("Date",!0);T("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),L("dayOfYear",4),Y("DDD",Nd),Y("DDDD",Hd),aa(["DDD","DDDD"],function(a,b,c){c._dayOfYear=t(a)}),T("m",["mm",2],0,"minute"),I("minute","m"),L("minute",14),Y("m",Kd),Y("mm",Kd,Gd),aa(["m","mm"],ae);var Ne=N("Minutes",!1);T("s",["ss",2],0,"second"),I("second","s"),L("second",15),Y("s",Kd),Y("ss",Kd,Gd),aa(["s","ss"],be);var Oe=N("Seconds",!1);T("S",0,0,function(){return~~(this.millisecond()/100)}),T(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),T(0,["SSS",3],0,"millisecond"),T(0,["SSSS",4],0,function(){return 10*this.millisecond()}),T(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),T(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),T(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),T(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),T(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),L("millisecond",16),Y("S",Nd,Fd),Y("SS",Nd,Gd),Y("SSS",Nd,Hd);var Pe;for(Pe="SSSS";Pe.length<=9;Pe+="S")Y(Pe,Qd);for(Pe="S";Pe.length<=9;Pe+="S")aa(Pe,Gc);var Qe=N("Milliseconds",!1);T("z",0,0,"zoneAbbr"),T("zz",0,0,"zoneName");var Re=q.prototype;Re.add=Je,Re.calendar=Ub,Re.clone=Vb,Re.diff=ac,Re.endOf=mc,Re.format=ec,Re.from=fc,Re.fromNow=gc,Re.to=hc,Re.toNow=ic,Re.get=Q,Re.invalidAt=vc,Re.isAfter=Wb,Re.isBefore=Xb,Re.isBetween=Yb,Re.isSame=Zb,Re.isSameOrAfter=$b,Re.isSameOrBefore=_b,Re.isValid=tc,Re.lang=Le,Re.locale=jc,Re.localeData=kc,Re.max=Ee,Re.min=De,Re.parsingFlags=uc,Re.set=R,Re.startOf=lc,Re.subtract=Ke,Re.toArray=qc,Re.toObject=rc,Re.toDate=pc,Re.toISOString=dc,Re.toJSON=sc,Re.toString=cc,Re.unix=oc,Re.valueOf=nc,Re.creationData=wc,Re.year=ke,Re.isLeapYear=qa,Re.weekYear=yc,Re.isoWeekYear=zc,Re.quarter=Re.quarters=Ec,Re.month=ja,Re.daysInMonth=ka,Re.week=Re.weeks=Aa,Re.isoWeek=Re.isoWeeks=Ba,Re.weeksInYear=Bc,Re.isoWeeksInYear=Ac,Re.date=Me,Re.day=Re.days=Ja,Re.weekday=Ka,Re.isoWeekday=La,Re.dayOfYear=Fc,Re.hour=Re.hours=ue,Re.minute=Re.minutes=Ne,Re.second=Re.seconds=Oe,Re.millisecond=Re.milliseconds=Qe,Re.utcOffset=Cb,Re.utc=Eb,Re.local=Fb,Re.parseZone=Gb,Re.hasAlignedHourOffset=Hb,Re.isDST=Ib,Re.isLocal=Kb,Re.isUtcOffset=Lb,Re.isUtc=Mb,Re.isUTC=Mb,Re.zoneAbbr=Hc,Re.zoneName=Ic,Re.dates=w("dates accessor is deprecated. Use date instead.",Me),Re.months=w("months accessor is deprecated. Use month instead",ja),Re.years=w("years accessor is deprecated. Use year instead",ke),Re.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Db),Re.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Jb);var Se=Re,Te=B.prototype;Te.calendar=C,Te.longDateFormat=D,Te.invalidDate=E,Te.ordinal=F,Te.preparse=Lc,Te.postformat=Lc,Te.relativeTime=G,Te.pastFuture=H,Te.set=z,Te.months=ea,Te.monthsShort=fa,Te.monthsParse=ha,Te.monthsRegex=ma,Te.monthsShortRegex=la,Te.week=xa,Te.firstDayOfYear=za,Te.firstDayOfWeek=ya,Te.weekdays=Ea,Te.weekdaysMin=Ga,Te.weekdaysShort=Fa,Te.weekdaysParse=Ia,Te.weekdaysRegex=Ma,Te.weekdaysShortRegex=Na,Te.weekdaysMinRegex=Oa,Te.isPM=Ua,Te.meridiem=Va,Za("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===t(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=w("moment.lang is deprecated. Use moment.locale instead.",Za),a.langData=w("moment.langData is deprecated. Use moment.localeData instead.",ab);var Ue=Math.abs,Ve=cd("ms"),We=cd("s"),Xe=cd("m"),Ye=cd("h"),Ze=cd("d"),$e=cd("w"),_e=cd("M"),af=cd("y"),bf=ed("milliseconds"),cf=ed("seconds"),df=ed("minutes"),ef=ed("hours"),ff=ed("days"),gf=ed("months"),hf=ed("years"),jf=Math.round,kf={s:45,m:45,h:22,d:26,M:11},lf=Math.abs,mf=vb.prototype;mf.abs=Uc,mf.add=Wc,mf.subtract=Xc,mf.as=ad,mf.asMilliseconds=Ve,mf.asSeconds=We,mf.asMinutes=Xe,mf.asHours=Ye,mf.asDays=Ze,mf.asWeeks=$e,mf.asMonths=_e,mf.asYears=af,mf.valueOf=bd,mf._bubble=Zc,mf.get=dd,mf.milliseconds=bf,mf.seconds=cf,mf.minutes=df,mf.hours=ef,mf.days=ff,mf.weeks=fd,mf.months=gf,mf.years=hf,mf.humanize=kd,mf.toISOString=ld,mf.toString=ld,mf.toJSON=ld,mf.locale=jc,mf.localeData=kc,mf.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ld),mf.lang=Le,T("X",0,0,"unix"),T("x",0,0,"valueOf"),Y("x",Rd),Y("X",Ud),aa("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),aa("x",function(a,b,c){c._d=new Date(t(a))}),a.version="2.15.1",b(rb),a.fn=Se,a.min=tb,a.max=ub,a.now=Fe,a.utc=j,a.unix=Jc,a.months=Pc,a.isDate=f,a.locale=Za,a.invalid=n,a.duration=Nb,a.isMoment=r,a.weekdays=Rc,a.parseZone=Kc,a.localeData=ab,a.isDuration=wb,a.monthsShort=Qc,a.weekdaysMin=Tc,a.defineLocale=$a,a.updateLocale=_a,a.locales=bb,a.weekdaysShort=Sc,a.normalizeUnits=J,a.relativeTimeRounding=id,a.relativeTimeThreshold=jd,a.calendarFormat=Tb,a.prototype=Se;var nf=a;return nf}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-forums/bp-forums-bbpress-sa.php b/wp-content/plugins/buddypress/bp-forums/bp-forums-bbpress-sa.php index 2fb69ee2fd55008cf3c87757f1d7b36eae63dacc..177be59a758de59ee9b0e326640de7ed8e042985 100644 --- a/wp-content/plugins/buddypress/bp-forums/bp-forums-bbpress-sa.php +++ b/wp-content/plugins/buddypress/bp-forums/bp-forums-bbpress-sa.php @@ -283,13 +283,13 @@ if ( ! class_exists( 'BPDB' ) ) : function init( $args ) { if ( 4 == func_num_args() ) { $args = array( - 'user' => $args, - 'password' => func_get_arg( 1 ), - 'name' => func_get_arg( 2 ), - 'host' => func_get_arg( 3 ), - 'charset' => defined( 'BBDB_CHARSET' ) ? BBDB_CHARSET : false, - 'collate' => defined( 'BBDB_COLLATE' ) ? BBDB_COLLATE : false, - ); + 'user' => $args, + 'password' => func_get_arg( 1 ), + 'name' => func_get_arg( 2 ), + 'host' => func_get_arg( 3 ), + 'charset' => defined( 'BBDB_CHARSET' ) ? BBDB_CHARSET : false, + 'collate' => defined( 'BBDB_COLLATE' ) ? BBDB_COLLATE : false, + ); } $defaults = array( @@ -310,14 +310,11 @@ if ( ! class_exists( 'BPDB' ) ) : * * @since 1.1.0 * - * @see WPDB::escape_deep() for description of parameters and - * return values. - * * @param mixed $data See {@link WPDB::escape_deep()}. * @return mixed $data See {@link WPDB::escape_deep()}. */ function escape_deep( $data ) { - return $this->escape( $data ); + return esc_sql( $data ); } } endif; // End class_exists( 'BPDB' ). diff --git a/wp-content/plugins/buddypress/bp-forums/bp-forums-loader.php b/wp-content/plugins/buddypress/bp-forums/bp-forums-loader.php index 64891fccea01a60c50918dea7d5517309341b35b..2800f40e20825c6d579fef37886b8792480b7d47 100644 --- a/wp-content/plugins/buddypress/bp-forums/bp-forums-loader.php +++ b/wp-content/plugins/buddypress/bp-forums/bp-forums-loader.php @@ -268,6 +268,24 @@ class BP_Forums_Component extends BP_Component { parent::setup_title(); } + + /** + * Disable cache groups due to a caching discrepancy in BackPress. + * + * @since 2.7.0 + * @see https://buddypress.trac.wordpress.org/ticket/4759 + */ + public function setup_cache_groups() { + wp_cache_add_non_persistent_groups( array( + // Posts. + 'bb_forums', + 'bb_query', + 'bb_cache_posts_post_ids', + + // Topics + 'bb_post' + ) ); + } } /** diff --git a/wp-content/plugins/buddypress/bp-forums/bp-forums-template.php b/wp-content/plugins/buddypress/bp-forums/bp-forums-template.php index bb763982555c54b9dc9c41e4e9b3c622e3e7e586..c0044024d46e283f9b96d96a4bfeab91793edc59 100644 --- a/wp-content/plugins/buddypress/bp-forums/bp-forums-template.php +++ b/wp-content/plugins/buddypress/bp-forums/bp-forums-template.php @@ -1451,21 +1451,16 @@ function bp_the_topic_total_post_count() { function bp_get_the_topic_total_post_count() { global $forum_template; - if ( $forum_template->topic->topic_posts == 1 ) { + $output = _n( '%d post', '%d posts', (int) $forum_template->topic->topic_posts, 'buddypress' ); - /** - * Filters a 'x posts' string with the number of posts in the current topic. - * - * @since 1.0.0 - * - * @param string $value 'X posts' string value for the current topic. - */ - return apply_filters( 'bp_get_the_topic_total_post_count', sprintf( __( '%d post', 'buddypress' ), $forum_template->topic->topic_posts ) ); - } else { - - /** This filter is documented in bp-forums/bp-forums-template.php */ - return apply_filters( 'bp_get_the_topic_total_post_count', sprintf( __( '%d posts', 'buddypress' ), $forum_template->topic->topic_posts ) ); - } + /** + * Filters a 'x posts' string with the number of posts in the current topic. + * + * @since 1.0.0 + * + * @param string $value 'X posts' string value for the current topic. + */ + return apply_filters( 'bp_get_the_topic_total_post_count', sprintf( $output, $forum_template->topic->topic_posts ) ); } /** diff --git a/wp-content/plugins/buddypress/bp-friends/bp-friends-actions.php b/wp-content/plugins/buddypress/bp-friends/bp-friends-actions.php index 2fb88e36e250b2a514b9ce05999f628ec3a7a7fd..172b15926506426f43154df84dbf6b205c20e812 100644 --- a/wp-content/plugins/buddypress/bp-friends/bp-friends-actions.php +++ b/wp-content/plugins/buddypress/bp-friends/bp-friends-actions.php @@ -52,7 +52,7 @@ function friends_action_add_friend() { return false; } -add_action( 'bp_init', 'friends_action_add_friend' ); +add_action( 'bp_actions', 'friends_action_add_friend' ); /** * Catch and process Remove Friendship requests. @@ -92,4 +92,4 @@ function friends_action_remove_friend() { return false; } -add_action( 'bp_init', 'friends_action_remove_friend' ); +add_action( 'bp_actions', 'friends_action_remove_friend' ); diff --git a/wp-content/plugins/buddypress/bp-friends/bp-friends-cache.php b/wp-content/plugins/buddypress/bp-friends/bp-friends-cache.php index 5fb11a5fe09d002cb6f67fc3efa23d4b1e32bb87..819f8179692139ac114e9c76ed38ef0673489251 100644 --- a/wp-content/plugins/buddypress/bp-friends/bp-friends-cache.php +++ b/wp-content/plugins/buddypress/bp-friends/bp-friends-cache.php @@ -34,6 +34,47 @@ function friends_clear_friend_object_cache( $friendship_id ) { add_action( 'friends_friendship_accepted', 'friends_clear_friend_object_cache' ); add_action( 'friends_friendship_deleted', 'friends_clear_friend_object_cache' ); +/** + * Clear friendship caches on friendship changes. + * + * @since 2.7.0 + * + * @param int $friendship_id ID of the friendship that has changed. + * @param int $initiator_user_id ID of the first user. + * @param int $friend_user_id ID of the second user. + * @return bool + */ +function bp_friends_clear_bp_friends_friendships_cache( $friendship_id, $initiator_user_id, $friend_user_id ) { + // Clear friendship ID cache for each user. + wp_cache_delete( $initiator_user_id, 'bp_friends_friendships_for_user' ); + wp_cache_delete( $friend_user_id, 'bp_friends_friendships_for_user' ); + + // Clear the friendship object cache. + wp_cache_delete( $friendship_id, 'bp_friends_friendships' ); +} +add_action( 'friends_friendship_requested', 'bp_friends_clear_bp_friends_friendships_cache', 10, 3 ); +add_action( 'friends_friendship_accepted', 'bp_friends_clear_bp_friends_friendships_cache', 10, 3 ); +add_action( 'friends_friendship_deleted', 'bp_friends_clear_bp_friends_friendships_cache', 10, 3 ); + +/** + * Clear friendship caches on friendship changes. + * + * @since 2.7.0 + * + * @param int $friendship_id The friendship ID. + * @param BP_Friends_Friendship $friendship Friendship object. + */ +function bp_friends_clear_bp_friends_friendships_cache_remove( $friendship_id, BP_Friends_Friendship $friendship ) { + // Clear friendship ID cache for each user. + wp_cache_delete( $friendship->initiator_user_id, 'bp_friends_friendships_for_user' ); + wp_cache_delete( $friendship->friend_user_id, 'bp_friends_friendships_for_user' ); + + // Clear the friendship object cache. + wp_cache_delete( $friendship_id, 'bp_friends_friendships' ); +} +add_action( 'friends_friendship_withdrawn', 'bp_friends_clear_bp_friends_friendships_cache_remove', 10, 2 ); +add_action( 'friends_friendship_rejected', 'bp_friends_clear_bp_friends_friendships_cache_remove', 10, 2 ); + /** * Clear the friend request cache for the user not initiating the friendship. * diff --git a/wp-content/plugins/buddypress/bp-friends/bp-friends-filters.php b/wp-content/plugins/buddypress/bp-friends/bp-friends-filters.php index 3a0642238d440623daee9ed51386a628bfb03982..9513b4760424cb0fdf41f20e3f29da5b08b16b3a 100644 --- a/wp-content/plugins/buddypress/bp-friends/bp-friends-filters.php +++ b/wp-content/plugins/buddypress/bp-friends/bp-friends-filters.php @@ -28,44 +28,17 @@ function bp_friends_filter_user_query_populate_extras( BP_User_Query $user_query global $wpdb; // Stop if user isn't logged in. - if ( ! is_user_logged_in() ) { + if ( ! $user_id = bp_loggedin_user_id() ) { return; } - $bp = buddypress(); + $maybe_friend_ids = wp_parse_id_list( $user_ids_sql ); - // Fetch whether or not the user is a friend of the current user. - $friend_status = $wpdb->get_results( $wpdb->prepare( "SELECT initiator_user_id, friend_user_id, is_confirmed FROM {$bp->friends->table_name} WHERE (initiator_user_id = %d AND friend_user_id IN ( {$user_ids_sql} ) ) OR (initiator_user_id IN ( {$user_ids_sql} ) AND friend_user_id = %d )", bp_loggedin_user_id(), bp_loggedin_user_id() ) ); - - // Keep track of members that have a friendship status with the current user. - $friend_user_ids = array(); - - // The "friend" is the user ID in the pair who is *not* the logged in user. - foreach ( (array) $friend_status as $fs ) { - $friend_id = bp_loggedin_user_id() == $fs->initiator_user_id ? $fs->friend_user_id : $fs->initiator_user_id; - $friend_user_ids[] = $friend_id; - - if ( isset( $user_query->results[ $friend_id ] ) ) { - if ( 0 == $fs->is_confirmed ) { - $status = $fs->initiator_user_id == bp_loggedin_user_id() ? 'pending' : 'awaiting_response'; - } else { - $status = 'is_friend'; - } - - $user_query->results[ $friend_id ]->is_friend = $fs->is_confirmed; - $user_query->results[ $friend_id ]->friendship_status = $status; - } - } - - // The rest are not friends with the current user, so set status accordingly. - $not_friends = array_diff( $user_query->user_ids, $friend_user_ids ); - foreach ( (array) $not_friends as $nf ) { - if ( bp_loggedin_user_id() == $nf ) { - continue; - } - - if ( isset( $user_query->results[ $nf ] ) ) { - $user_query->results[ $nf ]->friendship_status = 'not_friends'; + foreach ( $maybe_friend_ids as $friend_id ) { + $status = BP_Friends_Friendship::check_is_friend( $user_id, $friend_id ); + $user_query->results[ $friend_id ]->friendship_status = $status; + if ( 'is_friend' == $status ) { + $user_query->results[ $friend_id ]->is_friend = 1; } } diff --git a/wp-content/plugins/buddypress/bp-friends/bp-friends-functions.php b/wp-content/plugins/buddypress/bp-friends/bp-friends-functions.php index d9de4cb35f844724335025b7c465ea313ff0eca0..b8d434137246ac5f8eb74aa204a1c9d73dcc6cd0 100644 --- a/wp-content/plugins/buddypress/bp-friends/bp-friends-functions.php +++ b/wp-content/plugins/buddypress/bp-friends/bp-friends-functions.php @@ -795,3 +795,78 @@ function bp_friends_prime_mentions_results() { ) ); } add_action( 'bp_activity_mentions_prime_results', 'bp_friends_prime_mentions_results' ); + +/** Emails ********************************************************************/ + +/** + * Send notifications related to a new friendship request. + * + * When a friendship is requested, an email and a BP notification are sent to + * the user of whom friendship has been requested ($friend_id). + * + * @since 1.0.0 + * + * @param int $friendship_id ID of the friendship object. + * @param int $initiator_id ID of the user who initiated the request. + * @param int $friend_id ID of the request recipient. + */ +function friends_notification_new_request( $friendship_id, $initiator_id, $friend_id ) { + if ( 'no' == bp_get_user_meta( (int) $friend_id, 'notification_friends_friendship_request', true ) ) { + return; + } + + $unsubscribe_args = array( + 'user_id' => $friend_id, + 'notification_type' => 'friends-request', + ); + + $args = array( + 'tokens' => array( + 'friend-requests.url' => esc_url( bp_core_get_user_domain( $friend_id ) . bp_get_friends_slug() . '/requests/' ), + 'friend.id' => $friend_id, + 'friendship.id' => $friendship_id, + 'initiator.id' => $initiator_id, + 'initiator.url' => esc_url( bp_core_get_user_domain( $initiator_id ) ), + 'initiator.name' => bp_core_get_user_displayname( $initiator_id ), + 'unsubscribe' => esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ), + ), + ); + bp_send_email( 'friends-request', $friend_id, $args ); +} +add_action( 'friends_friendship_requested', 'friends_notification_new_request', 10, 3 ); + +/** + * Send notifications related to the acceptance of a friendship request. + * + * When a friendship request is accepted, an email and a BP notification are + * sent to the user who requested the friendship ($initiator_id). + * + * @since 1.0.0 + * + * @param int $friendship_id ID of the friendship object. + * @param int $initiator_id ID of the user who initiated the request. + * @param int $friend_id ID of the request recipient. + */ +function friends_notification_accepted_request( $friendship_id, $initiator_id, $friend_id ) { + if ( 'no' == bp_get_user_meta( (int) $initiator_id, 'notification_friends_friendship_accepted', true ) ) { + return; + } + + $unsubscribe_args = array( + 'user_id' => $initiator_id, + 'notification_type' => 'friends-request-accepted', + ); + + $args = array( + 'tokens' => array( + 'friend.id' => $friend_id, + 'friendship.url' => esc_url( bp_core_get_user_domain( $friend_id ) ), + 'friend.name' => bp_core_get_user_displayname( $friend_id ), + 'friendship.id' => $friendship_id, + 'initiator.id' => $initiator_id, + 'unsubscribe' => esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ), + ), + ); + bp_send_email( 'friends-request-accepted', $initiator_id, $args ); +} +add_action( 'friends_friendship_accepted', 'friends_notification_accepted_request', 10, 3 ); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-friends/bp-friends-loader.php b/wp-content/plugins/buddypress/bp-friends/bp-friends-loader.php index 9617392abcc4ded26a02985920bb83e31b78680f..359b7b67d7d63177732e17488eef45c6579bb43a 100644 --- a/wp-content/plugins/buddypress/bp-friends/bp-friends-loader.php +++ b/wp-content/plugins/buddypress/bp-friends/bp-friends-loader.php @@ -17,7 +17,7 @@ if ( ! buddypress()->do_autoload ) { } /** - * Set up the bp-forums component. + * Set up the bp-friends component. * * @since 1.6.0 */ diff --git a/wp-content/plugins/buddypress/bp-friends/bp-friends-notifications.php b/wp-content/plugins/buddypress/bp-friends/bp-friends-notifications.php index c7a851eb1190f19cf85413e4059646cb5e62d53c..b215dfb8626559ce7f805fc390465e4b0ff59b98 100644 --- a/wp-content/plugins/buddypress/bp-friends/bp-friends-notifications.php +++ b/wp-content/plugins/buddypress/bp-friends/bp-friends-notifications.php @@ -13,71 +13,6 @@ // Exit if accessed directly. defined( 'ABSPATH' ) || exit; -/** Emails ********************************************************************/ - -/** - * Send notifications related to a new friendship request. - * - * When a friendship is requested, an email and a BP notification are sent to - * the user of whom friendship has been requested ($friend_id). - * - * @since 1.0.0 - * - * @param int $friendship_id ID of the friendship object. - * @param int $initiator_id ID of the user who initiated the request. - * @param int $friend_id ID of the request recipient. - */ -function friends_notification_new_request( $friendship_id, $initiator_id, $friend_id ) { - if ( 'no' == bp_get_user_meta( (int) $friend_id, 'notification_friends_friendship_request', true ) ) { - return; - } - - $args = array( - 'tokens' => array( - 'friend-requests.url' => esc_url( bp_core_get_user_domain( $friend_id ) . bp_get_friends_slug() . '/requests/' ), - 'friend.id' => $friend_id, - 'friendship.id' => $friendship_id, - 'initiator.id' => $initiator_id, - 'initiator.url' => esc_url( bp_core_get_user_domain( $initiator_id ) ), - 'initiator.name' => bp_core_get_user_displayname( $initiator_id ), - ), - ); - bp_send_email( 'friends-request', $friend_id, $args ); -} -add_action( 'friends_friendship_requested', 'friends_notification_new_request', 10, 3 ); - -/** - * Send notifications related to the acceptance of a friendship request. - * - * When a friendship request is accepted, an email and a BP notification are - * sent to the user who requested the friendship ($initiator_id). - * - * @since 1.0.0 - * - * @param int $friendship_id ID of the friendship object. - * @param int $initiator_id ID of the user who initiated the request. - * @param int $friend_id ID of the request recipient. - */ -function friends_notification_accepted_request( $friendship_id, $initiator_id, $friend_id ) { - if ( 'no' == bp_get_user_meta( (int) $initiator_id, 'notification_friends_friendship_accepted', true ) ) { - return; - } - - $args = array( - 'tokens' => array( - 'friend.id' => $friend_id, - 'friendship.url' => esc_url( bp_core_get_user_domain( $friend_id ) ), - 'friend.name' => bp_core_get_user_displayname( $friend_id ), - 'friendship.id' => $friendship_id, - 'initiator.id' => $initiator_id, - ), - ); - bp_send_email( 'friends-request-accepted', $initiator_id, $args ); -} -add_action( 'friends_friendship_accepted', 'friends_notification_accepted_request', 10, 3 ); - -/** Notifications *************************************************************/ - /** * Notification formatting callback for bp-friends notifications. * @@ -182,7 +117,7 @@ function friends_format_notifications( $action, $item_id, $secondary_item_id, $t * @since 1.2.0 */ function friends_clear_friend_notifications() { - if ( isset( $_GET['new'] ) && bp_is_active( 'notifications' ) ) { + if ( isset( $_GET['new'] ) ) { bp_notifications_mark_notifications_by_type( bp_loggedin_user_id(), buddypress()->friends->id, 'friendship_accepted' ); } } @@ -194,7 +129,7 @@ add_action( 'bp_activity_screen_my_activity', 'friends_clear_friend_notification * @since 1.9.0 */ function bp_friends_mark_friendship_request_notifications_by_type() { - if ( isset( $_GET['new'] ) && bp_is_active( 'notifications' ) ) { + if ( isset( $_GET['new'] ) ) { bp_notifications_mark_notifications_by_type( bp_loggedin_user_id(), buddypress()->friends->id, 'friendship_request' ); } } @@ -206,9 +141,7 @@ add_action( 'friends_screen_requests', 'bp_friends_mark_friendship_request_notif * @since 1.9.0 */ function bp_friends_mark_friendship_accepted_notifications_by_type() { - if ( bp_is_active( 'notifications' ) ) { - bp_notifications_mark_notifications_by_type( bp_loggedin_user_id(), buddypress()->friends->id, 'friendship_accepted' ); - } + bp_notifications_mark_notifications_by_type( bp_loggedin_user_id(), buddypress()->friends->id, 'friendship_accepted' ); } add_action( 'friends_screen_my_friends', 'bp_friends_mark_friendship_accepted_notifications_by_type' ); @@ -222,17 +155,15 @@ add_action( 'friends_screen_my_friends', 'bp_friends_mark_friendship_accepted_no * @param int $friend_user_id The friendship request receiver user ID. */ function bp_friends_friendship_requested_notification( $friendship_id, $initiator_user_id, $friend_user_id ) { - if ( bp_is_active( 'notifications' ) ) { - bp_notifications_add_notification( array( - 'user_id' => $friend_user_id, - 'item_id' => $initiator_user_id, - 'secondary_item_id' => $friendship_id, - 'component_name' => buddypress()->friends->id, - 'component_action' => 'friendship_request', - 'date_notified' => bp_core_current_time(), - 'is_new' => 1, - ) ); - } + bp_notifications_add_notification( array( + 'user_id' => $friend_user_id, + 'item_id' => $initiator_user_id, + 'secondary_item_id' => $friendship_id, + 'component_name' => buddypress()->friends->id, + 'component_action' => 'friendship_request', + 'date_notified' => bp_core_current_time(), + 'is_new' => 1, + ) ); } add_action( 'friends_friendship_requested', 'bp_friends_friendship_requested_notification', 10, 3 ); @@ -245,9 +176,7 @@ add_action( 'friends_friendship_requested', 'bp_friends_friendship_requested_not * @param object $friendship Friendship object. */ function bp_friends_mark_friendship_rejected_notifications_by_item_id( $friendship_id, $friendship ) { - if ( bp_is_active( 'notifications' ) ) { - bp_notifications_mark_notifications_by_item_id( $friendship->friend_user_id, $friendship->initiator_user_id, buddypress()->friends->id, 'friendship_request' ); - } + bp_notifications_mark_notifications_by_item_id( $friendship->friend_user_id, $friendship->initiator_user_id, buddypress()->friends->id, 'friendship_request' ); } add_action( 'friends_friendship_rejected', 'bp_friends_mark_friendship_rejected_notifications_by_item_id', 10, 2 ); @@ -261,12 +190,6 @@ add_action( 'friends_friendship_rejected', 'bp_friends_mark_friendship_rejected_ * @param int $friend_user_id The friendship request receiver user ID. */ function bp_friends_add_friendship_accepted_notification( $friendship_id, $initiator_user_id, $friend_user_id ) { - - // Bail if notifications is not active. - if ( ! bp_is_active( 'notifications' ) ) { - return; - } - // Remove the friend request notice. bp_notifications_mark_notifications_by_item_id( $friend_user_id, $initiator_user_id, buddypress()->friends->id, 'friendship_request' ); @@ -292,9 +215,7 @@ add_action( 'friends_friendship_accepted', 'bp_friends_add_friendship_accepted_n * @param object $friendship Friendship Object. */ function bp_friends_mark_friendship_withdrawn_notifications_by_item_id( $friendship_id, $friendship ) { - if ( bp_is_active( 'notifications' ) ) { - bp_notifications_delete_notifications_by_item_id( $friendship->friend_user_id, $friendship->initiator_user_id, buddypress()->friends->id, 'friendship_request' ); - } + bp_notifications_delete_notifications_by_item_id( $friendship->friend_user_id, $friendship->initiator_user_id, buddypress()->friends->id, 'friendship_request' ); } add_action( 'friends_friendship_withdrawn', 'bp_friends_mark_friendship_withdrawn_notifications_by_item_id', 10, 2 ); @@ -306,8 +227,6 @@ add_action( 'friends_friendship_withdrawn', 'bp_friends_mark_friendship_withdraw * @param int $user_id ID of the user whose notifications are removed. */ function bp_friends_remove_notifications_data( $user_id = 0 ) { - if ( bp_is_active( 'notifications' ) ) { - bp_notifications_delete_notifications_from_user( $user_id, buddypress()->friends->id, 'friendship_request' ); - } + bp_notifications_delete_notifications_from_user( $user_id, buddypress()->friends->id, 'friendship_request' ); } add_action( 'friends_remove_data', 'bp_friends_remove_notifications_data', 10, 1 ); diff --git a/wp-content/plugins/buddypress/bp-friends/bp-friends-template.php b/wp-content/plugins/buddypress/bp-friends/bp-friends-template.php index d3cc442a674a64a1f287358a433a281190f65d5e..4f980904aba43265457e15c4daf1cafd04927308 100644 --- a/wp-content/plugins/buddypress/bp-friends/bp-friends-template.php +++ b/wp-content/plugins/buddypress/bp-friends/bp-friends-template.php @@ -369,7 +369,6 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/cancel/' . $potential_friend_id . '/', 'friends_withdraw_friendship' ), 'link_text' => __( 'Cancel Friendship Request', 'buddypress' ), - 'link_title' => __( 'Cancel Friendship Requested', 'buddypress' ), 'link_id' => 'friend-' . $potential_friend_id, 'link_rel' => 'remove', 'link_class' => 'friendship-button pending_friend requested' @@ -386,7 +385,6 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_href' => bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/', 'link_text' => __( 'Friendship Requested', 'buddypress' ), - 'link_title' => __( 'Friendship Requested', 'buddypress' ), 'link_id' => 'friend-' . $potential_friend_id, 'link_rel' => 'remove', 'link_class' => 'friendship-button awaiting_response_friend requested' @@ -403,7 +401,6 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/remove-friend/' . $potential_friend_id . '/', 'friends_remove_friend' ), 'link_text' => __( 'Cancel Friendship', 'buddypress' ), - 'link_title' => __( 'Cancel Friendship', 'buddypress' ), 'link_id' => 'friend-' . $potential_friend_id, 'link_rel' => 'remove', 'link_class' => 'friendship-button is_friend remove' @@ -420,7 +417,6 @@ function bp_add_friend_button( $potential_friend_id = 0, $friend_status = false 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_href' => wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $potential_friend_id . '/', 'friends_add_friend' ), 'link_text' => __( 'Add Friend', 'buddypress' ), - 'link_title' => __( 'Add Friend', 'buddypress' ), 'link_id' => 'friend-' . $potential_friend_id, 'link_rel' => 'add', 'link_class' => 'friendship-button not_friends add' diff --git a/wp-content/plugins/buddypress/bp-friends/bp-friends-widgets.php b/wp-content/plugins/buddypress/bp-friends/bp-friends-widgets.php index a7adaa928753235ea351eafa2e4864bdee5007fb..a3e567ea2e11dc9e8f49161fc1588de54908c21a 100644 --- a/wp-content/plugins/buddypress/bp-friends/bp-friends-widgets.php +++ b/wp-content/plugins/buddypress/bp-friends/bp-friends-widgets.php @@ -78,9 +78,9 @@ function bp_core_ajax_widget_friends() { <div class="item"> <div class="item-title fn"><a href="<?php bp_member_permalink(); ?>" title="<?php bp_member_name(); ?>"><?php bp_member_name(); ?></a></div> <?php if ( 'active' == $type ) : ?> - <div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div> + <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> <?php elseif ( 'newest' == $type ) : ?> - <div class="item-meta"><span class="activity"><?php bp_member_registered(); ?></span></div> + <div class="item-meta"><span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_registered( array( 'relative' => false ) ) ); ?>"><?php bp_member_registered(); ?></span></div> <?php elseif ( bp_is_active( 'friends' ) ) : ?> <div class="item-meta"><span class="activity"><?php bp_member_total_friend_count(); ?></span></div> <?php endif; ?> diff --git a/wp-content/plugins/buddypress/bp-friends/classes/class-bp-core-friends-widget.php b/wp-content/plugins/buddypress/bp-friends/classes/class-bp-core-friends-widget.php index f4f706b59217ec7a4950db11b4cf344f26427a40..16edb54f02288713d2724beea9bbc36a63c8ce44 100644 --- a/wp-content/plugins/buddypress/bp-friends/classes/class-bp-core-friends-widget.php +++ b/wp-content/plugins/buddypress/bp-friends/classes/class-bp-core-friends-widget.php @@ -117,16 +117,13 @@ class BP_Core_Friends_Widget extends WP_Widget { <div class="item"> <div class="item-title fn"><a href="<?php bp_member_permalink(); ?>" title="<?php bp_member_name(); ?>"><?php bp_member_name(); ?></a></div> <div class="item-meta"> - <span class="activity"> - <?php - if ( 'newest' == $instance['friend_default'] ) - bp_member_registered(); - if ( 'active' == $instance['friend_default'] ) - bp_member_last_active(); - if ( 'popular' == $instance['friend_default'] ) - bp_member_total_friend_count(); - ?> - </span> + <?php if ( 'newest' == $instance['friend_default'] ) : ?> + <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_registered( array( 'relative' => false ) ) ); ?>"><?php bp_member_registered(); ?></span> + <?php elseif ( 'active' == $instance['friend_default'] ) : ?> + <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_last_active( array( 'relative' => false ) ) ); ?>"><?php bp_member_last_active(); ?></span> + <?php else : ?> + <span class="activity"><?php bp_member_total_friend_count(); ?></span> + <?php endif; ?> </div> </div> </li> diff --git a/wp-content/plugins/buddypress/bp-friends/classes/class-bp-friends-component.php b/wp-content/plugins/buddypress/bp-friends/classes/class-bp-friends-component.php index ce0308ae18a6a22eaa97d5ecb6ebd622043ef98a..d6e357b9eb7923eb7c364e4e5a1d6442c8aa2575 100644 --- a/wp-content/plugins/buddypress/bp-friends/classes/class-bp-friends-component.php +++ b/wp-content/plugins/buddypress/bp-friends/classes/class-bp-friends-component.php @@ -53,10 +53,14 @@ class BP_Friends_Component extends BP_Component { 'activity', 'template', 'functions', - 'notifications', 'widgets', ); + // Conditional includes. + if ( bp_is_active( 'notifications' ) ) { + $includes[] = 'notifications'; + } + if ( ! buddypress()->do_autoload ) { $includes[] = 'classes'; } @@ -284,7 +288,9 @@ class BP_Friends_Component extends BP_Component { // Global groups. wp_cache_add_global_groups( array( - 'bp_friends_requests' + 'bp_friends_requests', + 'bp_friends_friendships', // Individual friendship objects are cached here by ID. + 'bp_friends_friendships_for_user' // All friendship IDs for a single user. ) ); parent::setup_cache_groups(); diff --git a/wp-content/plugins/buddypress/bp-friends/classes/class-bp-friends-friendship.php b/wp-content/plugins/buddypress/bp-friends/classes/class-bp-friends-friendship.php index f19f4bc0ef74d27d266b5d881d9cc1e070369212..778738a3772b728c4bb8769e2ab8ec7c5eb698e6 100644 --- a/wp-content/plugins/buddypress/bp-friends/classes/class-bp-friends-friendship.php +++ b/wp-content/plugins/buddypress/bp-friends/classes/class-bp-friends-friendship.php @@ -122,15 +122,29 @@ class BP_Friends_Friendship { $bp = buddypress(); - if ( $friendship = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$bp->friends->table_name} WHERE id = %d", $this->id ) ) ) { - $this->initiator_user_id = (int) $friendship->initiator_user_id; - $this->friend_user_id = (int) $friendship->friend_user_id; - $this->is_confirmed = (int) $friendship->is_confirmed; - $this->is_limited = (int) $friendship->is_limited; - $this->date_created = $friendship->date_created; + // Check cache for friendship data. + $friendship = wp_cache_get( $this->id, 'bp_friends_friendships' ); + + // Cache missed, so query the DB. + if ( false === $friendship ) { + $friendship = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$bp->friends->table_name} WHERE id = %d", $this->id ) ); + + wp_cache_set( $this->id, $friendship, 'bp_friends_friendships' ); + } + + // No friendship found so set the ID and bail. + if ( empty( $friendship ) || is_wp_error( $friendship ) ) { + $this->id = 0; + return; } - if ( !empty( $this->populate_friend_details ) ) { + $this->initiator_user_id = (int) $friendship->initiator_user_id; + $this->friend_user_id = (int) $friendship->friend_user_id; + $this->is_confirmed = (int) $friendship->is_confirmed; + $this->is_limited = (int) $friendship->is_limited; + $this->date_created = $friendship->date_created; + + if ( ! empty( $this->populate_friend_details ) ) { if ( $this->friend_user_id == bp_displayed_user_id() ) { $this->friend = new BP_Core_User( $this->initiator_user_id ); } else { @@ -205,6 +219,160 @@ class BP_Friends_Friendship { /** Static Methods ********************************************************/ + /** + * Get the friendships for a given user. + * + * @since 2.6.0 + * + * @param int $user_id ID of the user whose friends are being retrieved. + * @param array $args { + * Optional. Filter parameters. + * @type int $id ID of specific friendship to retrieve. + * @type int $initiator_user_id ID of friendship initiator. + * @type int $friend_user_id ID of specific friendship to retrieve. + * @type int $is_confirmed Whether the friendship has been accepted. + * @type int $is_limited Whether the friendship is limited. + * @type string $order_by Column name to order by. + * @type string $sort_order ASC or DESC. Default DESC. + * } + * @param string $operator Optional. Operator to use in `wp_list_filter()`. + * + * @return array $friendships Array of friendship objects. + */ + public static function get_friendships( $user_id, $args = array(), $operator = 'AND' ) { + + if ( empty( $user_id ) ) { + $user_id = bp_loggedin_user_id(); + } + + $r = bp_parse_args( $args, array( + 'id' => null, + 'initiator_user_id' => null, + 'friend_user_id' => null, + 'is_confirmed' => null, + 'is_limited' => null, + 'order_by' => 'date_created', + 'sort_order' => 'DESC', + 'page' => null, + 'per_page' => null + ), 'bp_get_user_friendships' ); + + // First, we get all friendships that involve the user. + $friendship_ids = wp_cache_get( $user_id, 'bp_friends_friendships_for_user' ); + if ( false === $friendship_ids ) { + $friendship_ids = self::get_friendship_ids_for_user( $user_id ); + wp_cache_set( $user_id, $friendship_ids, 'bp_friends_friendships_for_user' ); + } + + // Prime the membership cache. + $uncached_friendship_ids = bp_get_non_cached_ids( $friendship_ids, 'bp_friends_friendships' ); + if ( ! empty( $uncached_friendship_ids ) ) { + $uncached_friendships = self::get_friendships_by_id( $uncached_friendship_ids ); + + foreach ( $uncached_friendships as $uncached_friendship ) { + wp_cache_set( $uncached_friendship->id, $uncached_friendship, 'bp_friends_friendships' ); + } + } + + // Assemble filter array. + $filters = wp_array_slice_assoc( $r, array( 'id', 'initiator_user_id', 'friend_user_id', 'is_confirmed', 'is_limited' ) ); + foreach ( $filters as $filter_name => $filter_value ) { + if ( is_null( $filter_value ) ) { + unset( $filters[ $filter_name ] ); + } + } + + // Populate friendship array from cache, and normalize. + $friendships = array(); + $int_keys = array( 'id', 'initiator_user_id', 'friend_user_id' ); + $bool_keys = array( 'is_confirmed', 'is_limited' ); + foreach ( $friendship_ids as $friendship_id ) { + // Create a limited BP_Friends_Friendship object (don't fetch the user details). + $friendship = new BP_Friends_Friendship( $friendship_id, false, false ); + + // Sanity check. + if ( ! isset( $friendship->id ) ) { + continue; + } + + // Integer values. + foreach ( $int_keys as $index ) { + $friendship->{$index} = intval( $friendship->{$index} ); + } + + // Boolean values. + foreach ( $bool_keys as $index ) { + $friendship->{$index} = (bool) $friendship->{$index}; + } + + // We need to support the same operators as wp_list_filter(). + if ( 'OR' == $operator || 'NOT' == $operator ) { + $matched = 0; + + foreach ( $filters as $filter_name => $filter_value ) { + if ( isset( $friendship->{$filter_name} ) && $filter_value == $friendship->{$filter_name} ) { + $matched++; + } + } + + if ( ( 'OR' == $operator && $matched > 0 ) + || ( 'NOT' == $operator && 0 == $matched ) ) { + $friendships[ $friendship->id ] = $friendship; + } + + } else { + /* + * This is the more typical 'AND' style of filter. + * If any of the filters miss, we move on. + */ + foreach ( $filters as $filter_name => $filter_value ) { + if ( ! isset( $friendship->{$filter_name} ) || $filter_value != $friendship->{$filter_name} ) { + continue 2; + } + } + $friendships[ $friendship->id ] = $friendship; + } + + } + + // Sort the results on a column name. + if ( in_array( $r['order_by'], array( 'id', 'initiator_user_id', 'friend_user_id' ) ) ) { + $friendships = bp_sort_by_key( $friendships, $r['order_by'], 'num', true ); + } + + // Adjust the sort direction of the results. + if ( 'ASC' === strtoupper( $r['sort_order'] ) ) { + // `true` to preserve keys. + $friendships = array_reverse( $friendships, true ); + } + + // Paginate the results. + if ( $r['per_page'] && $r['page'] ) { + $start = ( $r['page'] - 1 ) * ( $r['per_page'] ); + $friendships = array_slice( $friendships, $start, $r['per_page'] ); + } + + return $friendships; + } + + /** + * Get all friendship IDs for a user. + * + * @since 2.7.0 + * + * @param int $user_id ID of the user. + * @return array + */ + public static function get_friendship_ids_for_user( $user_id ) { + global $wpdb; + + $bp = buddypress(); + + $friendship_ids = $wpdb->get_col( $wpdb->prepare( "SELECT id FROM {$bp->friends->table_name} WHERE (initiator_user_id = %d OR friend_user_id = %d) ORDER BY date_created DESC", $user_id, $user_id ) ); + + return $friendship_ids; + } + /** * Get the IDs of a given user's friends. * @@ -221,27 +389,29 @@ class BP_Friends_Friendship { public static function get_friend_user_ids( $user_id, $friend_requests_only = false, $assoc_arr = false ) { global $wpdb; - if ( !empty( $friend_requests_only ) ) { - $oc_sql = 'AND is_confirmed = 0'; - $friend_sql = $wpdb->prepare( " WHERE friend_user_id = %d", $user_id ); + if ( ! empty( $friend_requests_only ) ) { + $args = array( + 'is_confirmed' => 0, + 'friend_user_id' => $user_id + ); } else { - $oc_sql = 'AND is_confirmed = 1'; - $friend_sql = $wpdb->prepare( " WHERE (initiator_user_id = %d OR friend_user_id = %d)", $user_id, $user_id ); + $args = array( + 'is_confirmed' => 1, + ); } - $bp = buddypress(); - $friends = $wpdb->get_results( "SELECT friend_user_id, initiator_user_id FROM {$bp->friends->table_name} {$friend_sql} {$oc_sql} ORDER BY date_created DESC" ); - $fids = array(); + $friendships = self::get_friendships( $user_id, $args ); - for ( $i = 0, $count = count( $friends ); $i < $count; ++$i ) { - if ( !empty( $assoc_arr ) ) { - $fids[] = array( 'user_id' => ( $friends[$i]->friend_user_id == $user_id ) ? $friends[$i]->initiator_user_id : $friends[$i]->friend_user_id ); + $fids = array(); + foreach ( $friendships as $friendship ) { + if ( ! empty( $assoc_arr ) ) { + $fids[] = array( 'user_id' => ( $friendship->friend_user_id == $user_id ) ? $friendship->initiator_user_id : $friendship->friend_user_id ); } else { - $fids[] = ( $friends[$i]->friend_user_id == $user_id ) ? $friends[$i]->initiator_user_id : $friends[$i]->friend_user_id; + $fids[] = ( $friendship->friend_user_id == $user_id ) ? $friendship->initiator_user_id : $friendship->friend_user_id; } } - return $fids; + return array_map( 'intval', $fids ); } /** @@ -251,14 +421,29 @@ class BP_Friends_Friendship { * * @param int $user_id The ID of the first user. * @param int $friend_id The ID of the second user. - * @return int|bool The ID of the friendship object if found, otherwise false. + * @return int|null The ID of the friendship object if found, otherwise null. */ public static function get_friendship_id( $user_id, $friend_id ) { - global $wpdb; + $friendship_id = null; - $bp = buddypress(); + // Can't friend yourself. + if ( $user_id == $friend_id ) { + return $friendship_id; + } - return $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->friends->table_name} WHERE ( initiator_user_id = %d AND friend_user_id = %d ) OR ( initiator_user_id = %d AND friend_user_id = %d ) AND is_confirmed = 1", $user_id, $friend_id, $friend_id, $user_id ) ); + /* + * Find friendships where the possible_friend_userid is the + * initiator or friend. + */ + $args = array( + 'initiator_user_id' => $friend_id, + 'friend_user_id' => $friend_id + ); + $result = self::get_friendships( $user_id, $args, 'OR' ); + if ( $result ) { + $friendship_id = current( $result )->id; + } + return $friendship_id; } /** @@ -274,15 +459,16 @@ class BP_Friends_Friendship { $friend_requests = wp_cache_get( $user_id, 'bp_friends_requests' ); if ( false === $friend_requests ) { - global $wpdb; - - $bp = buddypress(); - - $friend_requests = $wpdb->get_col( $wpdb->prepare( "SELECT initiator_user_id FROM {$bp->friends->table_name} WHERE friend_user_id = %d AND is_confirmed = 0", $user_id ) ); + $friend_requests = self::get_friend_user_ids( $user_id, true ); wp_cache_set( $user_id, $friend_requests, 'bp_friends_requests' ); } + // Integer casting. + if ( ! empty( $friend_requests ) ) { + $friend_requests = array_map( 'intval', $friend_requests ); + } + return $friend_requests; } @@ -299,21 +485,25 @@ class BP_Friends_Friendship { public static function total_friend_count( $user_id = 0 ) { global $wpdb; - if ( empty( $user_id ) ) + if ( empty( $user_id ) ) { $user_id = ( bp_displayed_user_id() ) ? bp_displayed_user_id() : bp_loggedin_user_id(); - - $bp = buddypress(); + } /* * This is stored in 'total_friend_count' usermeta. * This function will recalculate, update and return. */ - $count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(id) FROM {$bp->friends->table_name} WHERE (initiator_user_id = %d OR friend_user_id = %d) AND is_confirmed = 1", $user_id, $user_id ) ); + $args = array( + 'is_confirmed' => 1, + ); + $friendships = self::get_friendships( $user_id, $args ); + $count = count( $friendships ); // Do not update meta if user has never had friends. - if ( empty( $count ) && !bp_get_user_meta( $user_id, 'total_friend_count', true ) ) + if ( ! $count && ! bp_get_user_meta( $user_id, 'total_friend_count', true ) ) { return 0; + } bp_update_user_meta( $user_id, 'total_friend_count', (int) $count ); @@ -381,7 +571,7 @@ class BP_Friends_Friendship { if ( empty( $filtered_friend_ids ) ) return false; - return array( 'friends' => $filtered_friend_ids, 'total' => (int) $total_friend_ids ); + return array( 'friends' => array_map( 'intval', $filtered_friend_ids ), 'total' => (int) $total_friend_ids ); } /** @@ -408,13 +598,25 @@ class BP_Friends_Friendship { return false; } - $bp = buddypress(); - - $result = $wpdb->get_results( $wpdb->prepare( "SELECT id, initiator_user_id, is_confirmed FROM {$bp->friends->table_name} WHERE (initiator_user_id = %d AND friend_user_id = %d) OR (initiator_user_id = %d AND friend_user_id = %d)", $initiator_userid, $possible_friend_userid, $possible_friend_userid, $initiator_userid ) ); + // Can't friend yourself. + if ( $initiator_userid == $possible_friend_userid ) { + return 'not_friends'; + } - if ( ! empty( $result ) ) { - if ( 0 == (int) $result[0]->is_confirmed ) { - $status = $initiator_userid == $result[0]->initiator_user_id ? 'pending' : 'awaiting_response'; + /* + * Find friendships where the possible_friend_userid is the + * initiator or friend. + */ + $args = array( + 'initiator_user_id' => $possible_friend_userid, + 'friend_user_id' => $possible_friend_userid + ); + $result = self::get_friendships( $initiator_userid, $args, 'OR' ); + + if ( $result ) { + $friendship = current( $result ); + if ( ! $friendship->is_confirmed ) { + $status = $initiator_userid == $friendship->initiator_user_id ? 'pending' : 'awaiting_response'; } else { $status = 'is_friend'; } @@ -691,6 +893,23 @@ class BP_Friends_Friendship { return $invitable_count; } + /** + * Get friendship objects by ID (or an array of IDs). + * + * @since 2.7.0 + * + * @param int|string|array $friendship_ids Single friendship ID or comma-separated/array list of friendship IDs. + * @return array + */ + public static function get_friendships_by_id( $friendship_ids ) { + global $wpdb; + + $bp = buddypress(); + + $friendship_ids = implode( ',', wp_parse_id_list( $friendship_ids ) ); + return $wpdb->get_results( "SELECT * FROM {$bp->friends->table_name} WHERE id IN ({$friendship_ids})" ); + } + /** * Get the friend user IDs for a given friendship. * @@ -700,11 +919,18 @@ class BP_Friends_Friendship { * @return object friend_user_id and initiator_user_id. */ public static function get_user_ids_for_friendship( $friendship_id ) { - global $wpdb; - $bp = buddypress(); + $friendship = new BP_Friends_Friendship( $friendship_id, false, false ); + + if ( empty( $friendship->id ) ) { + return null; + } + + $retval = new StdClass; + $retval->friend_user_id = $friendship->friend_user_id; + $retval->initiator_user_id = $friendship->initiator_user_id; - return $wpdb->get_row( $wpdb->prepare( "SELECT friend_user_id, initiator_user_id FROM {$bp->friends->table_name} WHERE id = %d", $friendship_id ) ); + return $retval; } /** @@ -719,11 +945,22 @@ class BP_Friends_Friendship { $bp = buddypress(); - // Get friends of $user_id. - $friend_ids = BP_Friends_Friendship::get_friend_user_ids( $user_id ); + // Get all friendships, of any status, for the user. + $friendships = self::get_friendships( $user_id ); + $friend_ids = array(); + $friendship_ids = array(); + foreach ( $friendships as $friendship ) { + $friendship_ids[] = $friendship->id; + if ( $friendship->is_confirmed ) { + $friend_ids[] = ( $friendship->friend_user_id == $user_id ) ? $friendship->initiator_user_id : $friendship->friend_user_id; + } + } - // Delete all friendships related to $user_id. - $wpdb->query( $wpdb->prepare( "DELETE FROM {$bp->friends->table_name} WHERE friend_user_id = %d OR initiator_user_id = %d", $user_id, $user_id ) ); + // Delete the friendships from the database. + if ( $friendship_ids ) { + $friendship_ids_sql = implode( ',', wp_parse_id_list( $friendship_ids ) ); + $wpdb->query( "DELETE FROM {$bp->friends->table_name} WHERE id IN ({$friendship_ids_sql})" ); + } // Delete friend request notifications for members who have a // notification from this user. @@ -731,9 +968,19 @@ class BP_Friends_Friendship { $wpdb->query( $wpdb->prepare( "DELETE FROM {$bp->notifications->table_name} WHERE component_name = 'friends' AND ( component_action = 'friendship_request' OR component_action = 'friendship_accepted' ) AND item_id = %d", $user_id ) ); } - // Loop through friend_ids and update their counts. + // Clean up the friendships cache. + foreach ( $friendship_ids as $friendship_id ) { + wp_cache_delete( $friendship_id, 'bp_friends_friendships' ); + } + + // Loop through friend_ids to scrub user caches and update total count metas. foreach ( (array) $friend_ids as $friend_id ) { + // Delete cached friendships. + wp_cache_delete( $friend_id, 'bp_friends_friendships_for_user' ); BP_Friends_Friendship::total_friend_count( $friend_id ); } + + // Delete cached friendships. + wp_cache_delete( $user_id, 'bp_friends_friendships_for_user' ); } } diff --git a/wp-content/plugins/buddypress/bp-groups/admin/css/admin-rtl.css b/wp-content/plugins/buddypress/bp-groups/admin/css/admin-rtl.css index 40bac3b5fb40f4b079a85bf2c60223e488cd7f33..0997c32ff627f0498d471633067bb1353c4d1bde 100644 --- a/wp-content/plugins/buddypress/bp-groups/admin/css/admin-rtl.css +++ b/wp-content/plugins/buddypress/bp-groups/admin/css/admin-rtl.css @@ -28,15 +28,19 @@ body.toplevel_page_bp-groups table.groups th#last_active { #bp-groups-new-members-list { margin: 0; } -#bp_group_settings legend { - margin: 10px 0; - font-weight: bold; -} -#bp_group_settings ul { - margin: 0; -} .bp-groups-settings-section { margin-top: 10px; + line-height: 2em; +} +.bp-groups-settings-section legend { + margin-top: 10px; + font-weight: bold; +} +.bp-groups-settings-section label { + clear: right; + display: block; + float: right; + vertical-align: middle; } #bp-groups-permalink-box { line-height: 24px; @@ -84,3 +88,9 @@ table.bp-group-members .urole-column { padding-right: 20px; padding-left: 20px; } + +@media screen and (max-width: 782px) { + .bp-groups-settings-section label { + margin: 0.25em 0; + } +} diff --git a/wp-content/plugins/buddypress/bp-groups/admin/css/admin-rtl.min.css b/wp-content/plugins/buddypress/bp-groups/admin/css/admin-rtl.min.css index 519280b642a23cf8bcf77d1dc561a24692f76b85..c66cdf52552e7d078d0e81295a3dfab4d0cefa0a 100644 --- a/wp-content/plugins/buddypress/bp-groups/admin/css/admin-rtl.min.css +++ b/wp-content/plugins/buddypress/bp-groups/admin/css/admin-rtl.min.css @@ -1 +1 @@ -body.toplevel_page_bp-groups table.groups th#members,body.toplevel_page_bp-groups table.groups th#status{width:10%}body.toplevel_page_bp-groups table.groups th#last_active{width:15%}#bp-groups-form .avatar{float:right;margin-left:10px;margin-top:1px}#bp-groups-edit-form input{outline:0}#bp-groups-edit-form input#bp-groups-name{font-size:1.7em;width:100%;margin-bottom:6px}#bp-groups-edit-form input#bp-groups-new-members{width:100%;max-width:90%;border:0}#bp-groups-new-members-list,#bp_group_settings ul{margin:0}#bp_group_settings legend{margin:10px 0;font-weight:700}.bp-groups-settings-section{margin-top:10px}#bp-groups-permalink-box{line-height:24px;color:#666}.bp-groups-member-type{position:relative}.bp-groups-member-type>h4{margin-bottom:.5em}ul.bp-group-delete-list{list-style-type:disc;margin:4px 26px}.bp-group-admin-pagination{position:absolute;text-align:left;width:100%}.bp-group-admin-pagination.table-top{top:0}.bp-group-admin-pagination.table-bottom{bottom:0}.bp-group-admin-pagination-viewing{color:#777;font-size:12px;font-style:italic}.bp-group-admin-pagination-links{white-space:nowrap;padding-right:15px}table.bp-group-members .uid-column,table.bp-group-members .urole-column{padding-right:20px;padding-left:20px}table.bp-group-members .uname-column{width:70%} \ No newline at end of file +body.toplevel_page_bp-groups table.groups th#members,body.toplevel_page_bp-groups table.groups th#status{width:10%}body.toplevel_page_bp-groups table.groups th#last_active{width:15%}#bp-groups-form .avatar{float:right;margin-left:10px;margin-top:1px}#bp-groups-edit-form input{outline:0}#bp-groups-edit-form input#bp-groups-name{font-size:1.7em;width:100%;margin-bottom:6px}#bp-groups-edit-form input#bp-groups-new-members{width:100%;max-width:90%;border:0}#bp-groups-new-members-list{margin:0}.bp-groups-settings-section{margin-top:10px;line-height:2em}.bp-groups-settings-section legend{margin-top:10px;font-weight:700}.bp-groups-settings-section label{clear:right;display:block;float:right;vertical-align:middle}#bp-groups-permalink-box{line-height:24px;color:#666}.bp-groups-member-type{position:relative}.bp-groups-member-type>h4{margin-bottom:.5em}ul.bp-group-delete-list{list-style-type:disc;margin:4px 26px}.bp-group-admin-pagination{position:absolute;text-align:left;width:100%}.bp-group-admin-pagination.table-top{top:0}.bp-group-admin-pagination.table-bottom{bottom:0}.bp-group-admin-pagination-viewing{color:#777;font-size:12px;font-style:italic}.bp-group-admin-pagination-links{white-space:nowrap;padding-right:15px}table.bp-group-members .uid-column,table.bp-group-members .urole-column{padding-right:20px;padding-left:20px}table.bp-group-members .uname-column{width:70%}@media screen and (max-width:782px){.bp-groups-settings-section label{margin:.25em 0}} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-groups/admin/css/admin.css b/wp-content/plugins/buddypress/bp-groups/admin/css/admin.css index 651a6d537d98cc4fdcf91626b3a9c6e558d086c8..7829539d174ae15c8ea2c40feaf9131679876ae8 100644 --- a/wp-content/plugins/buddypress/bp-groups/admin/css/admin.css +++ b/wp-content/plugins/buddypress/bp-groups/admin/css/admin.css @@ -28,15 +28,19 @@ body.toplevel_page_bp-groups table.groups th#last_active { #bp-groups-new-members-list { margin: 0; } -#bp_group_settings legend { - margin: 10px 0; - font-weight: bold; -} -#bp_group_settings ul { - margin: 0; -} .bp-groups-settings-section { margin-top: 10px; + line-height: 2em; +} +.bp-groups-settings-section legend { + margin-top: 10px; + font-weight: bold; +} +.bp-groups-settings-section label { + clear: left; + display: block; + float: left; + vertical-align: middle; } #bp-groups-permalink-box { line-height: 24px; @@ -84,3 +88,9 @@ table.bp-group-members .urole-column { padding-left: 20px; padding-right: 20px; } + +@media screen and (max-width: 782px) { + .bp-groups-settings-section label { + margin: 0.25em 0; + } +} diff --git a/wp-content/plugins/buddypress/bp-groups/admin/css/admin.min.css b/wp-content/plugins/buddypress/bp-groups/admin/css/admin.min.css index 3d1ab69dff4b7ac09166a8f2f93943a393bd2c30..073e1220d4958d8b12810a4aff307af91136fae8 100644 --- a/wp-content/plugins/buddypress/bp-groups/admin/css/admin.min.css +++ b/wp-content/plugins/buddypress/bp-groups/admin/css/admin.min.css @@ -1 +1 @@ -body.toplevel_page_bp-groups table.groups th#members,body.toplevel_page_bp-groups table.groups th#status{width:10%}body.toplevel_page_bp-groups table.groups th#last_active{width:15%}#bp-groups-form .avatar{float:left;margin-right:10px;margin-top:1px}#bp-groups-edit-form input{outline:0}#bp-groups-edit-form input#bp-groups-name{font-size:1.7em;width:100%;margin-bottom:6px}#bp-groups-edit-form input#bp-groups-new-members{width:100%;max-width:90%;border:0}#bp-groups-new-members-list,#bp_group_settings ul{margin:0}#bp_group_settings legend{margin:10px 0;font-weight:700}.bp-groups-settings-section{margin-top:10px}#bp-groups-permalink-box{line-height:24px;color:#666}.bp-groups-member-type{position:relative}.bp-groups-member-type>h4{margin-bottom:.5em}ul.bp-group-delete-list{list-style-type:disc;margin:4px 26px}.bp-group-admin-pagination{position:absolute;text-align:right;width:100%}.bp-group-admin-pagination.table-top{top:0}.bp-group-admin-pagination.table-bottom{bottom:0}.bp-group-admin-pagination-viewing{color:#777;font-size:12px;font-style:italic}.bp-group-admin-pagination-links{white-space:nowrap;padding-left:15px}table.bp-group-members .uid-column,table.bp-group-members .urole-column{padding-left:20px;padding-right:20px}table.bp-group-members .uname-column{width:70%} \ No newline at end of file +body.toplevel_page_bp-groups table.groups th#members,body.toplevel_page_bp-groups table.groups th#status{width:10%}body.toplevel_page_bp-groups table.groups th#last_active{width:15%}#bp-groups-form .avatar{float:left;margin-right:10px;margin-top:1px}#bp-groups-edit-form input{outline:0}#bp-groups-edit-form input#bp-groups-name{font-size:1.7em;width:100%;margin-bottom:6px}#bp-groups-edit-form input#bp-groups-new-members{width:100%;max-width:90%;border:0}#bp-groups-new-members-list{margin:0}.bp-groups-settings-section{margin-top:10px;line-height:2em}.bp-groups-settings-section legend{margin-top:10px;font-weight:700}.bp-groups-settings-section label{clear:left;display:block;float:left;vertical-align:middle}#bp-groups-permalink-box{line-height:24px;color:#666}.bp-groups-member-type{position:relative}.bp-groups-member-type>h4{margin-bottom:.5em}ul.bp-group-delete-list{list-style-type:disc;margin:4px 26px}.bp-group-admin-pagination{position:absolute;text-align:right;width:100%}.bp-group-admin-pagination.table-top{top:0}.bp-group-admin-pagination.table-bottom{bottom:0}.bp-group-admin-pagination-viewing{color:#777;font-size:12px;font-style:italic}.bp-group-admin-pagination-links{white-space:nowrap;padding-left:15px}table.bp-group-members .uid-column,table.bp-group-members .urole-column{padding-left:20px;padding-right:20px}table.bp-group-members .uname-column{width:70%}@media screen and (max-width:782px){.bp-groups-settings-section label{margin:.25em 0}} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-groups/admin/js/admin.min.js b/wp-content/plugins/buddypress/bp-groups/admin/js/admin.min.js index 846426dda525a66a158dc828e8e6e71c8b62b5d2..bdb60784654b5ffd95b80aa2486f1acef01e94fc 100644 --- a/wp-content/plugins/buddypress/bp-groups/admin/js/admin.min.js +++ b/wp-content/plugins/buddypress/bp-groups/admin/js/admin.min.js @@ -1 +1 @@ -!function(a){function b(b,c){a("#bp-groups-new-members-list").append('<li data-login="'+c.item.value+'"><a href="#" class="bp-groups-remove-new-member">x</a> '+c.item.label+"</li>")}var c="undefined"!=typeof group_id?"&group_id="+group_id:"";a(document).ready(function(){window.warn_on_leave=!1,a(".bp-suggest-user").autocomplete({source:ajaxurl+"?action=bp_group_admin_member_autocomplete"+c,delay:500,minLength:2,position:"undefined"!=typeof isRtl&&isRtl?{my:"right top",at:"right bottom",offset:"0, -1"}:{offset:"0, -1"},open:function(){a(this).addClass("open")},close:function(){a(this).removeClass("open"),a(this).val("")},select:function(a,c){b(a,c)}}),a("#bp-groups-new-members").prop("placeholder",BP_Group_Admin.add_member_placeholder),a("#bp_group_add_members").on("click",".bp-groups-remove-new-member",function(b){b.preventDefault(),a(b.target.parentNode).remove()}),a(document).on("change",'input#bp-groups-name, input#bp-groups-description, select.bp-groups-role, #bp-groups-settings-section-status input[type="radio"]',function(){window.warn_on_leave=!0}),a("input#save").on("click",function(){var b=[];a("#bp-groups-new-members-list li").each(function(){b.push(a(this).data("login"))}),b.length&&a("#bp-groups-new-members").val("").val(b.join(", ")),window.warn_on_leave=!1}),window.onbeforeunload=function(){return window.warn_on_leave?BP_Group_Admin.warn_on_leave:void 0}})}(jQuery); \ No newline at end of file +!function(a){function b(b,c){a("#bp-groups-new-members-list").append('<li data-login="'+c.item.value+'"><a href="#" class="bp-groups-remove-new-member">x</a> '+c.item.label+"</li>")}var c="undefined"!=typeof group_id?"&group_id="+group_id:"";a(document).ready(function(){window.warn_on_leave=!1,a(".bp-suggest-user").autocomplete({source:ajaxurl+"?action=bp_group_admin_member_autocomplete"+c,delay:500,minLength:2,position:"undefined"!=typeof isRtl&&isRtl?{my:"right top",at:"right bottom",offset:"0, -1"}:{offset:"0, -1"},open:function(){a(this).addClass("open")},close:function(){a(this).removeClass("open"),a(this).val("")},select:function(a,c){b(a,c)}}),a("#bp-groups-new-members").prop("placeholder",BP_Group_Admin.add_member_placeholder),a("#bp_group_add_members").on("click",".bp-groups-remove-new-member",function(b){b.preventDefault(),a(b.target.parentNode).remove()}),a(document).on("change",'input#bp-groups-name, input#bp-groups-description, select.bp-groups-role, #bp-groups-settings-section-status input[type="radio"]',function(){window.warn_on_leave=!0}),a("input#save").on("click",function(){var b=[];a("#bp-groups-new-members-list li").each(function(){b.push(a(this).data("login"))}),b.length&&a("#bp-groups-new-members").val("").val(b.join(", ")),window.warn_on_leave=!1}),window.onbeforeunload=function(){if(window.warn_on_leave)return BP_Group_Admin.warn_on_leave}})}(jQuery); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-groups/bp-groups-actions.php b/wp-content/plugins/buddypress/bp-groups/bp-groups-actions.php index 4a3c51013699f7fa3637ec3df3951b1c819689b0..531f9b7d577b3f04c273f751488d2e67d4a81673 100644 --- a/wp-content/plugins/buddypress/bp-groups/bp-groups-actions.php +++ b/wp-content/plugins/buddypress/bp-groups/bp-groups-actions.php @@ -27,7 +27,7 @@ function bp_groups_register_group_types() { */ do_action( 'bp_groups_register_group_types' ); } -add_action( 'bp_init', 'bp_groups_register_group_types', 1 ); +add_action( 'bp_register_taxonomies', 'bp_groups_register_group_types' ); /** * Protect access to single groups. @@ -158,7 +158,7 @@ function groups_action_create_group() { // Set the ID of the new group, if it has already been created in a previous step. if ( isset( $_COOKIE['bp_new_group_id'] ) ) { $bp->groups->new_group_id = (int) $_COOKIE['bp_new_group_id']; - $bp->groups->current_group = groups_get_group( array( 'group_id' => $bp->groups->new_group_id ) ); + $bp->groups->current_group = groups_get_group( $bp->groups->new_group_id ); // Only allow the group creator to continue to edit the new group. if ( ! bp_is_group_creator( $bp->groups->current_group, bp_loggedin_user_id() ) ) { @@ -210,6 +210,11 @@ function groups_action_create_group() { bp_core_redirect( trailingslashit( bp_get_groups_directory_permalink() . 'create/step/' . bp_get_groups_current_create_step() ) ); } + // Save group types. + if ( ! empty( $_POST['group-types'] ) ) { + bp_groups_set_group_type( $bp->groups->new_group_id, $_POST['group-types'] ); + } + /** * Filters the allowed invite statuses. * @@ -566,3 +571,29 @@ function groups_action_group_feed() { ) ); } add_action( 'bp_actions', 'groups_action_group_feed' ); + +/** + * Update orphaned child groups when the parent is deleted. + * + * @since 2.7.0 + * + * @param BP_Groups_Group $group Instance of the group item being deleted. + */ +function bp_groups_update_orphaned_groups_on_group_delete( $group ) { + // Get child groups and set the parent to the deleted parent's parent. + $grandparent_group_id = $group->parent_id; + $child_args = array( + 'parent_id' => $group->id, + 'show_hidden' => true, + 'per_page' => false, + 'update_meta_cache' => false, + ); + $children = groups_get_groups( $child_args ); + $children = $children['groups']; + + foreach ( $children as $cgroup ) { + $cgroup->parent_id = $grandparent_group_id; + $cgroup->save(); + } +} +add_action( 'bp_groups_delete_group', 'bp_groups_update_orphaned_groups_on_group_delete', 10, 2 ); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-groups/bp-groups-activity.php b/wp-content/plugins/buddypress/bp-groups/bp-groups-activity.php index 0bf4f29f08243dece7fc798fbe1c40229de35f49..d75494c20f164226c85960820e05ed010bdf1df4 100644 --- a/wp-content/plugins/buddypress/bp-groups/bp-groups-activity.php +++ b/wp-content/plugins/buddypress/bp-groups/bp-groups-activity.php @@ -98,10 +98,7 @@ add_action( 'bp_register_activity_actions', 'groups_register_activity_actions' ) function bp_groups_format_activity_action_created_group( $action, $activity ) { $user_link = bp_core_get_userlink( $activity->user_id ); - $group = groups_get_group( array( - 'group_id' => $activity->item_id, - 'populate_extras' => false, - ) ); + $group = groups_get_group( $activity->item_id ); $group_link = '<a href="' . esc_url( bp_get_group_permalink( $group ) ) . '">' . esc_html( $group->name ) . '</a>'; $action = sprintf( __( '%1$s created the group %2$s', 'buddypress'), $user_link, $group_link ); @@ -129,10 +126,7 @@ function bp_groups_format_activity_action_created_group( $action, $activity ) { function bp_groups_format_activity_action_joined_group( $action, $activity ) { $user_link = bp_core_get_userlink( $activity->user_id ); - $group = groups_get_group( array( - 'group_id' => $activity->item_id, - 'populate_extras' => false, - ) ); + $group = groups_get_group( $activity->item_id ); $group_link = '<a href="' . esc_url( bp_get_group_permalink( $group ) ) . '">' . esc_html( $group->name ) . '</a>'; $action = sprintf( __( '%1$s joined the group %2$s', 'buddypress' ), $user_link, $group_link ); @@ -171,10 +165,7 @@ function bp_groups_format_activity_action_joined_group( $action, $activity ) { function bp_groups_format_activity_action_group_details_updated( $action, $activity ) { $user_link = bp_core_get_userlink( $activity->user_id ); - $group = groups_get_group( array( - 'group_id' => $activity->item_id, - 'populate_extras' => false, - ) ); + $group = groups_get_group( $activity->item_id ); $group_link = '<a href="' . esc_url( bp_get_group_permalink( $group ) ) . '">' . esc_html( $group->name ) . '</a>'; /* @@ -360,7 +351,7 @@ function groups_record_activity( $args = '' ) { if ( bp_get_current_group_id() == $args['item_id'] ) { $group = groups_get_current_group(); } else { - $group = groups_get_group( array( 'group_id' => $args['item_id'] ) ); + $group = groups_get_group( $args['item_id'] ); } if ( isset( $group->status ) && 'public' != $group->status ) { @@ -430,7 +421,7 @@ function bp_groups_membership_accepted_add_activity( $user_id, $group_id ) { } // Get the group so we can get it's name. - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); /** * Filters the 'membership_accepted' activity actions. diff --git a/wp-content/plugins/buddypress/bp-groups/bp-groups-admin.php b/wp-content/plugins/buddypress/bp-groups/bp-groups-admin.php index 5a2a0bf8a8ca03c8dd88ad43a04a4d065030f881..569ea33ef7dd120003f516081ff7a157b07a2994 100644 --- a/wp-content/plugins/buddypress/bp-groups/bp-groups-admin.php +++ b/wp-content/plugins/buddypress/bp-groups/bp-groups-admin.php @@ -227,7 +227,7 @@ function bp_groups_admin_load() { check_admin_referer( 'edit-group_' . $group_id ); // Get the group from the database. - $group = groups_get_group( 'group_id=' . $group_id ); + $group = groups_get_group( $group_id ); // If the group doesn't exist, just redirect back to the index. if ( empty( $group->slug ) ) { @@ -566,7 +566,7 @@ function bp_groups_admin_edit() { $is_error = ! empty( $no_admins ) || ! empty( $errors ) || ! empty( $error_new ) || ! empty( $error_modified ); // Get the group from the database. - $group = groups_get_group( 'group_id=' . (int) $_GET['gid'] ); + $group = groups_get_group( (int) $_GET['gid'] ); $group_name = isset( $group->name ) ? bp_get_group_name( $group ) : ''; @@ -798,7 +798,7 @@ function bp_groups_admin_edit_metabox_settings( $item ) { <?php if ( bp_is_active( 'forums' ) ) : ?> <div class="bp-groups-settings-section" id="bp-groups-settings-section-forum"> - <label for="group-show-forum"><input type="checkbox" name="group-show-forum" id="group-show-forum" <?php checked( $item->enable_forum ) ?> /> <?php _e( 'Enable discussion forum', 'buddypress' ) ?><br /> + <label for="group-show-forum"><input type="checkbox" name="group-show-forum" id="group-show-forum" <?php checked( $item->enable_forum ) ?> /> <?php _e( 'Enable discussion forum', 'buddypress' ) ?></label> </div> <?php endif; ?> @@ -806,11 +806,9 @@ function bp_groups_admin_edit_metabox_settings( $item ) { <fieldset> <legend><?php _e( 'Privacy', 'buddypress' ); ?></legend> - <ul> - <li><input type="radio" name="group-status" id="bp-group-status-public" value="public" <?php checked( $item->status, 'public' ) ?> /><label for="bp-group-status-public"><?php _e( 'Public', 'buddypress' ) ?></label></li> - <li><input type="radio" name="group-status" id="bp-group-status-private" value="private" <?php checked( $item->status, 'private' ) ?> /><label for="bp-group-status-private"><?php _e( 'Private', 'buddypress' ) ?></label></li> - <li><input type="radio" name="group-status" id="bp-group-status-hidden" value="hidden" <?php checked( $item->status, 'hidden' ) ?> /><label for="bp-group-status-hidden"><?php _e( 'Hidden', 'buddypress' ) ?></label></li> - </ul> + <label for="bp-group-status-public"><input type="radio" name="group-status" id="bp-group-status-public" value="public" <?php checked( $item->status, 'public' ) ?> /><?php _e( 'Public', 'buddypress' ) ?></label> + <label for="bp-group-status-private"><input type="radio" name="group-status" id="bp-group-status-private" value="private" <?php checked( $item->status, 'private' ) ?> /><?php _e( 'Private', 'buddypress' ) ?></label> + <label for="bp-group-status-hidden"><input type="radio" name="group-status" id="bp-group-status-hidden" value="hidden" <?php checked( $item->status, 'hidden' ) ?> /><?php _e( 'Hidden', 'buddypress' ) ?></label> </fieldset> </div> @@ -818,11 +816,9 @@ function bp_groups_admin_edit_metabox_settings( $item ) { <fieldset> <legend><?php _e( 'Who can invite others to this group?', 'buddypress' ); ?></legend> - <ul> - <li><input type="radio" name="group-invite-status" id="bp-group-invite-status-members" value="members" <?php checked( $invite_status, 'members' ) ?> /><label for="bp-group-invite-status-members"><?php _e( 'All group members', 'buddypress' ) ?></label></li> - <li><input type="radio" name="group-invite-status" id="bp-group-invite-status-mods" value="mods" <?php checked( $invite_status, 'mods' ) ?> /><label for="bp-group-invite-status-mods"><?php _e( 'Group admins and mods only', 'buddypress' ) ?></label></li> - <li><input type="radio" name="group-invite-status" id="bp-group-invite-status-admins" value="admins" <?php checked( $invite_status, 'admins' ) ?> /><label for="bp-group-invite-status-admins"><?php _e( 'Group admins only', 'buddypress' ) ?></label></li> - </ul> + <label for="bp-group-invite-status-members"><input type="radio" name="group-invite-status" id="bp-group-invite-status-members" value="members" <?php checked( $invite_status, 'members' ) ?> /><?php _e( 'All group members', 'buddypress' ) ?></label> + <label for="bp-group-invite-status-mods"><input type="radio" name="group-invite-status" id="bp-group-invite-status-mods" value="mods" <?php checked( $invite_status, 'mods' ) ?> /><?php _e( 'Group admins and mods only', 'buddypress' ) ?></label> + <label for="bp-group-invite-status-admins"><input type="radio" name="group-invite-status" id="bp-group-invite-status-admins" value="admins" <?php checked( $invite_status, 'admins' ) ?> /><?php _e( 'Group admins only', 'buddypress' ) ?></label> </fieldset> </div> @@ -1050,20 +1046,33 @@ function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null return; } - $types = bp_groups_get_group_types( array(), 'objects' ); - $current_type = bp_groups_get_group_type( $group->id ); + $types = bp_groups_get_group_types( array(), 'objects' ); + $current_types = (array) bp_groups_get_group_type( $group->id, false ); + $backend_only = bp_groups_get_group_types( array( 'show_in_create_screen' => false ) ); ?> <label for="bp-groups-group-type" class="screen-reader-text"><?php /* translators: accessibility text */ esc_html_e( 'Select group type', 'buddypress' ); ?></label> - <select name="bp-groups-group-type" id="bp-groups-group-type"> - <option value="" <?php selected( '', $current_type ); ?>><?php /* translators: no option picked in select box */ esc_attr_e( '----', 'buddypress' ) ?></option> + + <ul class="categorychecklist form-no-clear"> <?php foreach ( $types as $type ) : ?> - <option value="<?php echo esc_attr( $type->name ) ?>" <?php selected( $type->name, $current_type ) ?>><?php echo esc_html( $type->labels['singular_name'] ) ?></option> + <li> + <label class="selectit"><input value="<?php echo esc_attr( $type->name ) ?>" name="bp-groups-group-type[]" type="checkbox" <?php checked( true, in_array( $type->name, $current_types ) ); ?>> + <?php + echo esc_html( $type->labels['singular_name'] ); + if ( in_array( $type->name, $backend_only ) ) { + printf( ' <span class="description">%s</span>', esc_html__( '(Not available on the frontend)', 'buddypress' ) ); + } + ?> + + </label> + </li> + <?php endforeach; ?> - </select> + + </ul> <?php @@ -1076,7 +1085,7 @@ function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null * @since 2.6.0 */ function bp_groups_process_group_type_update( $group_id ) { - if ( ! isset( $_POST['bp-group-type-nonce'] ) || ! isset( $_POST['bp-groups-group-type'] ) ) { + if ( ! isset( $_POST['bp-group-type-nonce'] ) ) { return; } @@ -1087,17 +1096,13 @@ function bp_groups_process_group_type_update( $group_id ) { return; } - // Group type string must either reference a valid group type, or be empty. - $group_type = wp_unslash( $_POST['bp-groups-group-type'] ); - if ( $group_type && ! bp_groups_get_group_type_object( $group_type ) ) { - return; - } + $group_types = ! empty( $_POST['bp-groups-group-type'] ) ? wp_unslash( $_POST['bp-groups-group-type'] ) : array(); /* * If an invalid group type is passed, someone's doing something * fishy with the POST request, so we can fail silently. */ - if ( bp_groups_set_group_type( $group_id, $group_type ) ) { + if ( bp_groups_set_group_type( $group_id, $group_types ) ) { // @todo Success messages can't be posted because other stuff happens on the page load. } } @@ -1228,3 +1233,101 @@ function bp_groups_admin_autocomplete_handler() { wp_die( json_encode( $matches ) ); } add_action( 'wp_ajax_bp_group_admin_member_autocomplete', 'bp_groups_admin_autocomplete_handler' ); + +/** + * Process input from the Group Type bulk change select. + * + * @since 2.7.0 + * + * @param string $doaction Current $_GET action being performed in admin screen. + */ +function bp_groups_admin_process_group_type_bulk_changes( $doaction ) { + // Bail if no groups are specified or if this isn't a relevant action. + if ( empty( $_REQUEST['gid'] ) + || ( empty( $_REQUEST['bp_change_type'] ) && empty( $_REQUEST['bp_change_type2'] ) ) + || empty( $_REQUEST['bp_change_group_type'] ) + ) { + return; + } + + // Bail if nonce check fails. + check_admin_referer( 'bp-bulk-groups-change-type-' . bp_loggedin_user_id(), 'bp-bulk-groups-change-type-nonce' ); + + if ( ! bp_current_user_can( 'bp_moderate' ) ) { + return; + } + + $new_type = ''; + if ( ! empty( $_REQUEST['bp_change_type2'] ) ) { + $new_type = sanitize_text_field( $_REQUEST['bp_change_type2'] ); + } elseif ( ! empty( $_REQUEST['bp_change_type'] ) ) { + $new_type = sanitize_text_field( $_REQUEST['bp_change_type'] ); + } + + // Check that the selected type actually exists. + if ( 'remove_group_type' !== $new_type && null === bp_groups_get_group_type_object( $new_type ) ) { + $error = true; + } else { + // Run through group ids. + $error = false; + foreach ( (array) $_REQUEST['gid'] as $group_id ) { + $group_id = (int) $group_id; + + // Get the old group type to check against. + $group_type = bp_groups_get_group_type( $group_id ); + + if ( 'remove_group_type' === $new_type ) { + // Remove the current group type, if there's one to remove. + if ( $group_type ) { + $removed = bp_groups_remove_group_type( $group_id, $group_type ); + if ( false === $removed || is_wp_error( $removed ) ) { + $error = true; + } + } + } else { + // Set the new group type. + if ( $new_type !== $group_type ) { + $set = bp_groups_set_group_type( $group_id, $new_type ); + if ( false === $set || is_wp_error( $set ) ) { + $error = true; + } + } + } + } + } + + // If there were any errors, show the error message. + if ( $error ) { + $redirect = add_query_arg( array( 'updated' => 'group-type-change-error' ), wp_get_referer() ); + } else { + $redirect = add_query_arg( array( 'updated' => 'group-type-change-success' ), wp_get_referer() ); + } + + wp_redirect( $redirect ); + exit(); +} +add_action( 'bp_groups_admin_load', 'bp_groups_admin_process_group_type_bulk_changes' ); + +/** + * Display an admin notice upon group type bulk update. + * + * @since 2.7.0 + */ +function bp_groups_admin_groups_type_change_notice() { + $updated = isset( $_REQUEST['updated'] ) ? $_REQUEST['updated'] : false; + + // Display feedback. + if ( $updated && in_array( $updated, array( 'group-type-change-error', 'group-type-change-success' ), true ) ) { + + if ( 'group-type-change-error' === $updated ) { + $notice = __( 'There was an error while changing group type. Please try again.', 'buddypress' ); + $type = 'error'; + } else { + $notice = __( 'Group type was changed successfully.', 'buddypress' ); + $type = 'updated'; + } + + bp_core_add_admin_notice( $notice, $type ); + } +} +add_action( bp_core_admin_hook(), 'bp_groups_admin_groups_type_change_notice' ); diff --git a/wp-content/plugins/buddypress/bp-groups/bp-groups-cache.php b/wp-content/plugins/buddypress/bp-groups/bp-groups-cache.php index 1781b4f3919e2fb59a03190144ef1f3bf45e9cf5..26a4823a6610a0d37e1cca1b38b773718d985f2d 100644 --- a/wp-content/plugins/buddypress/bp-groups/bp-groups-cache.php +++ b/wp-content/plugins/buddypress/bp-groups/bp-groups-cache.php @@ -184,7 +184,7 @@ add_action( 'groups_uninvite_user', 'groups_clear_group_user_object_cache', 10, add_action( 'groups_remove_member', 'groups_clear_group_user_object_cache', 10, 2 ); /** - * Clear group administrator cache. + * Clear group administrator and moderator cache. * * @since 2.1.0 * @@ -192,15 +192,16 @@ add_action( 'groups_remove_member', 'groups_clear_group_user_object_cache', 10, */ function groups_clear_group_administrator_cache( $group_id ) { wp_cache_delete( $group_id, 'bp_group_admins' ); + wp_cache_delete( $group_id, 'bp_group_mods' ); } add_action( 'groups_promote_member', 'groups_clear_group_administrator_cache' ); add_action( 'groups_demote_member', 'groups_clear_group_administrator_cache' ); add_action( 'groups_delete_group', 'groups_clear_group_administrator_cache' ); /** - * Clear group administrator cache when a group member is saved. + * Clear group administrator and moderator cache when a group member is saved. * - * This accounts for situations where group administrators are added manually + * This accounts for situations where group admins or mods are added manually * using {@link BP_Groups_Member::save()}. Usually via a plugin. * * @since 2.1.0 @@ -253,6 +254,75 @@ add_action( 'bp_groups_member_before_delete', 'bp_groups_clear_user_group_cache_ add_action( 'bp_groups_member_before_delete_invite', 'bp_groups_clear_user_group_cache_on_other_events', 10, 2 ); add_action( 'groups_accept_invite', 'bp_groups_clear_user_group_cache_on_other_events', 10, 2 ); +/** + * Reset cache incrementor for the Groups component. + * + * This function invalidates all cached results of group queries, + * whenever one of the following events takes place: + * - A group is created or updated. + * - A group is deleted. + * - A group's metadata is modified. + * + * @since 2.7.0 + * + * @return bool True on success, false on failure. + */ +function bp_groups_reset_cache_incrementor() { + return bp_core_reset_incrementor( 'bp_groups' ); +} +add_action( 'groups_group_after_save', 'bp_groups_reset_cache_incrementor' ); +add_action( 'bp_groups_delete_group', 'bp_groups_reset_cache_incrementor' ); +add_action( 'updated_group_meta', 'bp_groups_reset_cache_incrementor' ); +add_action( 'deleted_group_meta', 'bp_groups_reset_cache_incrementor' ); +add_action( 'added_group_meta', 'bp_groups_reset_cache_incrementor' ); + +/** + * Reset cache incrementor for Groups component when a group's taxonomy terms change. + * + * We infer that a group is being affected by looking at the objects belonging + * to the taxonomy being affected. + * + * @since 2.7.0 + * + * @param int $object_id ID of the item whose terms are being modified. + * @param array $terms Array of object terms. + * @param array $tt_ids Array of term taxonomy IDs. + * @param string $taxonomy Taxonomy slug. + * @return bool True on success, false on failure. + */ +function bp_groups_reset_cache_incrementor_on_group_term_change( $object_id, $terms, $tt_ids, $taxonomy ) { + $tax_object = get_taxonomy( $taxonomy ); + if ( $tax_object && in_array( 'bp_group', $tax_object->object_type, true ) ) { + return bp_groups_reset_cache_incrementor(); + } + + return false; +} +add_action( 'bp_set_object_terms', 'bp_groups_reset_cache_incrementor_on_group_term_change', 10, 4 ); + +/** + * Reset cache incrementor for Groups component when a group's taxonomy terms are removed. + * + * We infer that a group is being affected by looking at the objects belonging + * to the taxonomy being affected. + * + * @since 2.7.0 + * + * @param int $object_id ID of the item whose terms are being modified. + * @param array $terms Array of object terms. + * @param string $taxonomy Taxonomy slug. + * @return bool True on success, false on failure. + */ +function bp_groups_reset_cache_incrementor_on_group_term_remove( $object_id, $terms, $taxonomy ) { + $tax_object = get_taxonomy( $taxonomy ); + if ( $tax_object && in_array( 'bp_group', $tax_object->object_type, true ) ) { + return bp_groups_reset_cache_incrementor(); + } + + return false; +} +add_action( 'bp_remove_object_terms', 'bp_groups_reset_cache_incrementor_on_group_term_remove', 10, 3 ); + /* List actions to clear super cached pages on, if super cache is installed */ add_action( 'groups_join_group', 'bp_core_clear_cache' ); add_action( 'groups_leave_group', 'bp_core_clear_cache' ); diff --git a/wp-content/plugins/buddypress/bp-groups/bp-groups-filters.php b/wp-content/plugins/buddypress/bp-groups/bp-groups-filters.php index 4aefa1025e135e113974458469a44067d2050362..5a7e398aafcf062dcbc6f34cc44ffe6821bd9959 100644 --- a/wp-content/plugins/buddypress/bp-groups/bp-groups-filters.php +++ b/wp-content/plugins/buddypress/bp-groups/bp-groups-filters.php @@ -315,7 +315,7 @@ function bp_groups_disable_at_mention_notification_for_non_public_groups( $send, } if ( 'groups' === $activity->component ) { - $group = groups_get_group( array( 'group_id' => $activity->item_id ) ); + $group = groups_get_group( $activity->item_id ); if ( 'public' !== $group->status && ! groups_is_user_member( $user_id, $group->id ) ) { $send = false; } diff --git a/wp-content/plugins/buddypress/bp-groups/bp-groups-forums.php b/wp-content/plugins/buddypress/bp-groups/bp-groups-forums.php index 1a8545b25fbb8d02a80c1efd4538c57747f6ed40..3ad73623a1f6befde8f92e2d3d9aaec504f88420 100644 --- a/wp-content/plugins/buddypress/bp-groups/bp-groups-forums.php +++ b/wp-content/plugins/buddypress/bp-groups/bp-groups-forums.php @@ -70,7 +70,7 @@ function groups_new_group_forum( $group_id = 0, $group_name = '', $group_desc = */ function groups_update_group_forum( $group_id ) { - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); /** * Bail in the following three situations: diff --git a/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php b/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php index cb0753e8b7f1183c706b69a6114ef428cd611382..006bf6fac72c13732287e151610d8e5dae890280 100644 --- a/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php +++ b/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php @@ -36,29 +36,28 @@ function bp_groups_has_directory() { * support and pass through the groups_get_group filter. * * @since 1.2.0 + * @since 2.7.0 The function signature was changed to accept a group ID only, + * instead of an array containing the group ID. * - * @param array|string $args { - * Array of al arguments. - * @type int $group_id ID of the group. - * @type bool $load_users No longer used. - * @type bool $populate_extras Whether to fetch membership data and other - * extra information about the group. - * Default: false. - * } + * @param int $group_id ID of the group. * @return BP_Groups_Group $group The group object. */ -function groups_get_group( $args = '' ) { - $r = wp_parse_args( $args, array( - 'group_id' => false, - 'load_users' => false, - 'populate_extras' => false, - ) ); +function groups_get_group( $group_id ) { + /* + * Backward compatibilty. + * Old-style arguments take the form of an array or a query string. + */ + if ( ! is_numeric( $group_id ) ) { + $r = wp_parse_args( $group_id, array( + 'group_id' => false, + 'load_users' => false, + 'populate_extras' => false, + ) ); - $group_args = array( - 'populate_extras' => $r['populate_extras'], - ); + $group_id = $r['group_id']; + } - $group = new BP_Groups_Group( $r['group_id'], $group_args ); + $group = new BP_Groups_Group( $group_id ); /** * Filters a single group object. @@ -87,6 +86,7 @@ function groups_get_group( $args = '' ) { * @type string $slug The group slug. * @type string $status The group's status. Accepts 'public', 'private' or * 'hidden'. Defaults to 'public'. + * @type int $parent_id The ID of the parent group. Default: 0. * @type int $enable_forum Optional. Whether the group has a forum enabled. * If the legacy forums are enabled for this group * or if a bbPress forum is enabled for the group, @@ -105,6 +105,7 @@ function groups_create_group( $args = '' ) { 'description' => '', 'slug' => '', 'status' => 'public', + 'parent_id' => 0, 'enable_forum' => 0, 'date_created' => bp_core_current_time() ); @@ -114,7 +115,7 @@ function groups_create_group( $args = '' ) { // Pass an existing group ID. if ( ! empty( $group_id ) ) { - $group = groups_get_group( array( 'group_id' => (int) $group_id ) ); + $group = groups_get_group( $group_id ); $name = ! empty( $name ) ? $name : $group->name; $slug = ! empty( $slug ) ? $slug : $group->slug; $description = ! empty( $description ) ? $description : $group->description; @@ -151,6 +152,7 @@ function groups_create_group( $args = '' ) { $group->description = $description; $group->slug = $slug; $group->status = $status; + $group->parent_id = $parent_id; $group->enable_forum = (int) $enable_forum; $group->date_created = $date_created; @@ -228,7 +230,7 @@ function groups_edit_base_group_details( $group_id, $group_name, $group_desc, $n if ( empty( $group_name ) || empty( $group_desc ) ) return false; - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); $old_group = clone $group; $group->name = $group_name; @@ -270,9 +272,9 @@ function groups_edit_base_group_details( $group_id, $group_name, $group_desc, $n * to the group. 'members', 'mods', or 'admins'. * @return bool True on success, false on failure. */ -function groups_edit_group_settings( $group_id, $enable_forum, $status, $invite_status = false ) { +function groups_edit_group_settings( $group_id, $enable_forum, $status, $invite_status = false, $parent_id = false ) { - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); $group->enable_forum = $enable_forum; /** @@ -285,6 +287,11 @@ function groups_edit_group_settings( $group_id, $enable_forum, $status, $invite_ // Now update the status. $group->status = $status; + // Update the parent ID if necessary. + if ( false !== $parent_id ) { + $group->parent_id = $parent_id; + } + if ( !$group->save() ) return false; @@ -333,7 +340,7 @@ function groups_delete_group( $group_id ) { do_action( 'groups_before_delete_group', $group_id ); // Get the group object. - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); // Bail if group cannot be deleted. if ( ! $group->delete() ) { @@ -405,7 +412,7 @@ function groups_check_slug( $slug ) { * @return string The group's slug. */ function groups_get_slug( $group_id ) { - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); return !empty( $group->slug ) ? $group->slug : ''; } @@ -415,10 +422,10 @@ function groups_get_slug( $group_id ) { * @since 1.6.0 * * @param string $group_slug The group's slug. - * @return int The ID. + * @return int|null The group ID on success; null on failure. */ function groups_get_id( $group_slug ) { - return (int)BP_Groups_Group::group_exists( $group_slug ); + return BP_Groups_Group::group_exists( $group_slug ); } /** User Actions **************************************************************/ @@ -507,7 +514,7 @@ function groups_join_group( $group_id, $user_id = 0 ) { $bp = buddypress(); if ( !isset( $bp->groups->current_group ) || !$bp->groups->current_group || $group_id != $bp->groups->current_group->id ) - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); else $group = $bp->groups->current_group; @@ -684,6 +691,7 @@ function groups_get_total_member_count( $group_id ) { * * @since 1.2.0 * @since 2.6.0 Added `$group_type`, `$group_type__in`, and `$group_type__not_in` parameters. + * @since 2.7.0 Added `$update_admin_cache` and `$parent_id` parameters. * * @param array|string $args { * Array of arguments. Supports all arguments of @@ -703,16 +711,17 @@ function groups_get_groups( $args = '' ) { 'user_id' => false, // Pass a user_id to limit to only groups that this user is a member of. 'include' => false, // Only include these specific groups (group_ids). 'exclude' => false, // Do not include these specific groups (group_ids). + 'parent_id' => null, // Get groups that are children of the specified group(s). 'search_terms' => false, // Limit to groups that match these search terms. - 'group_type' => '', - 'group_type__in' => '', - 'group_type__not_in' => '', + 'group_type' => '', // Array or comma-separated list of group types to limit results to. + 'group_type__in' => '', // Array or comma-separated list of group types to limit results to. + 'group_type__not_in' => '', // Array or comma-separated list of group types that will be excluded from results. 'meta_query' => false, // Filter by groupmeta. See WP_Meta_Query for syntax. 'show_hidden' => false, // Show hidden groups to non-admins. 'per_page' => 20, // The number of results to return per page. 'page' => 1, // The page to return if limiting per page. - 'populate_extras' => true, // Fetch meta such as is_banned and is_member. 'update_meta_cache' => true, // Pre-fetch groupmeta for queried groups. + 'update_admin_cache' => false, ); $r = wp_parse_args( $args, $defaults ); @@ -722,6 +731,7 @@ function groups_get_groups( $args = '' ) { 'user_id' => $r['user_id'], 'include' => $r['include'], 'exclude' => $r['exclude'], + 'parent_id' => $r['parent_id'], 'search_terms' => $r['search_terms'], 'group_type' => $r['group_type'], 'group_type__in' => $r['group_type__in'], @@ -730,8 +740,8 @@ function groups_get_groups( $args = '' ) { 'show_hidden' => $r['show_hidden'], 'per_page' => $r['per_page'], 'page' => $r['page'], - 'populate_extras' => $r['populate_extras'], 'update_meta_cache' => $r['update_meta_cache'], + 'update_admin_cache' => $r['update_admin_cache'], 'order' => $r['order'], 'orderby' => $r['orderby'], ) ); @@ -859,8 +869,18 @@ function bp_get_user_groups( $user_id, $args = array() ) { } } - // Populate group membership array from cache. - $groups = array(); + // Assemble filter array for use in `wp_list_filter()`. + $filters = wp_array_slice_assoc( $r, array( 'is_confirmed', 'is_banned', 'is_admin', 'is_mod', 'invite_sent' ) ); + foreach ( $filters as $filter_name => $filter_value ) { + if ( is_null( $filter_value ) ) { + unset( $filters[ $filter_name ] ); + } + } + + // Populate group membership array from cache, and normalize. + $groups = array(); + $int_keys = array( 'id', 'group_id', 'user_id', 'inviter_id' ); + $bool_keys = array( 'is_admin', 'is_mod', 'is_confirmed', 'is_banned', 'invite_sent' ); foreach ( $membership_ids as $membership_id ) { $membership = wp_cache_get( $membership_id, 'bp_groups_memberships' ); @@ -869,34 +889,25 @@ function bp_get_user_groups( $user_id, $args = array() ) { continue; } - $group_id = (int) $membership->group_id; - - $groups[ $group_id ] = $membership; - } - - // Normalize group data. - foreach ( $groups as &$group ) { // Integer values. - foreach ( array( 'id', 'group_id', 'user_id', 'inviter_id' ) as $index ) { - $group->{$index} = intval( $group->{$index} ); + foreach ( $int_keys as $index ) { + $membership->{$index} = intval( $membership->{$index} ); } // Boolean values. - foreach ( array( 'is_admin', 'is_mod', 'is_confirmed', 'is_banned', 'invite_sent' ) as $index ) { - $group->{$index} = (bool) $group->{$index}; + foreach ( $bool_keys as $index ) { + $membership->{$index} = (bool) $membership->{$index}; } - } - // Assemble filter array for use in `wp_list_filter()`. - $filters = wp_array_slice_assoc( $r, array( 'is_confirmed', 'is_banned', 'is_admin', 'is_mod', 'invite_sent' ) ); - foreach ( $filters as $filter_name => $filter_value ) { - if ( is_null( $filter_value ) ) { - unset( $filters[ $filter_name ] ); + foreach ( $filters as $filter_name => $filter_value ) { + if ( ! isset( $membership->{$filter_name} ) || $filter_value != $membership->{$filter_name} ) { + continue 2; + } } - } - if ( ! empty( $filters ) ) { - $groups = wp_list_filter( $groups, $filters ); + $group_id = (int) $membership->group_id; + + $groups[ $group_id ] = $membership; } // By default, results are ordered by membership id. @@ -1200,7 +1211,7 @@ function groups_post_update( $args = '' ) { if ( empty( $content ) || !strlen( trim( $content ) ) || empty( $user_id ) || empty( $group_id ) ) return false; - $bp->groups->current_group = groups_get_group( array( 'group_id' => $group_id ) ); + $bp->groups->current_group = groups_get_group( $group_id ); // Be sure the user is a member of the group before posting. if ( !bp_current_user_can( 'bp_moderate' ) && !groups_is_user_member( $user_id, $group_id ) ) @@ -1508,7 +1519,7 @@ function groups_send_invites( $user_id, $group_id ) { // Send friend invites. $invited_users = groups_get_invites_for_group( $user_id, $group_id ); - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); for ( $i = 0, $count = count( $invited_users ); $i < $count; ++$i ) { $member = new BP_Groups_Member( $invited_users[$i], $group_id ); @@ -1735,7 +1746,7 @@ function groups_remove_member( $user_id, $group_id ) { if ( ! bp_is_item_admin() ) { return false; - } + } $member = new BP_Groups_Member( $user_id, $group_id ); @@ -2113,12 +2124,27 @@ add_action( 'bp_make_spam_user', 'groups_remove_data_for_user' ); * Register a group type. * * @since 2.6.0 + * @since 2.7.0 Introduce $has_directory, $show_in_create_screen, $show_in_list, and + * $description, $create_screen_checked as $args parameters. * * @param string $group_type Unique string identifier for the group type. * @param array $args { * Array of arguments describing the group type. * - * @type array $labels { + * @type string|bool $has_directory Set the slug to be used for custom group directory page. eg. + * example.com/groups/type/MY_SLUG. Default: false. + * @type bool $show_in_create_screen Whether this group type is allowed to be selected on the group creation + * page. Default: false. + * @type bool|null $show_in_list Whether this group type should be shown in lists rendered by + * bp_group_type_list(). Default: null. If $show_in_create_screen is true, + * this will default to true, unless this is set explicitly to false. + * @type string $description A short descriptive summary of what the group type is. Currently shown + * on a group's "Manage > Settings" page when selecting group types. + * @type bool $create_screen_checked If $show_in_create_screen is true, whether we should have our group type + * checkbox checked by default. Handy if you want to imply that the group + * type should be enforced, but decision lies with the group creator. + * Default: false. + * @type array $labels { * Array of labels to use in various parts of the interface. * * @type string $name Default name. Should typically be plural. @@ -2135,7 +2161,12 @@ function bp_groups_register_group_type( $group_type, $args = array() ) { } $r = bp_parse_args( $args, array( - 'labels' => array(), + 'has_directory' => false, + 'show_in_create_screen' => false, + 'show_in_list' => null, + 'description' => '', + 'create_screen_checked' => false, + 'labels' => array(), ), 'register_group_type' ); $group_type = sanitize_key( $group_type ); @@ -2166,6 +2197,32 @@ function bp_groups_register_group_type( $group_type, $args = array() ) { 'singular_name' => $default_name, ), $r['labels'] ); + // Directory slug. + if ( ! empty( $r['has_directory'] ) ) { + // A string value is intepreted as the directory slug. + if ( is_string( $r['has_directory'] ) ) { + $directory_slug = $r['has_directory']; + + // Otherwise fall back on group type. + } else { + $directory_slug = $group_type; + } + + // Sanitize for use in URLs. + $r['directory_slug'] = sanitize_title( $directory_slug ); + $r['has_directory'] = true; + } else { + $r['directory_slug'] = ''; + $r['has_directory'] = false; + } + + // Type lists. + if ( true === $r['show_in_create_screen'] && is_null( $r['show_in_list'] ) ) { + $r['show_in_list'] = true; + } else { + $r['show_in_list'] = (bool) $r['show_in_list']; + } + $bp->groups->types[ $group_type ] = $type = (object) $r; /** @@ -2245,19 +2302,31 @@ function bp_groups_get_group_type_object( $group_type ) { * Set type for a group. * * @since 2.6.0 + * @since 2.7.0 $group_type parameter also accepts an array of group types now. * - * @param int $group ID of the group. - * @param string $group_type Group type. - * @param bool $append Optional. True to append this to existing types for group, - * false to replace. Default: false. + * @param int $group ID of the group. + * @param string|array $group_type Group type or array of group types to set. + * @param bool $append Optional. True to append this to existing types for group, + * false to replace. Default: false. * @return array $retval See bp_set_object_terms(). */ function bp_groups_set_group_type( $group_id, $group_type, $append = false ) { // Pass an empty group type to remove group's type. - if ( ! empty( $group_type ) && ! bp_groups_get_group_type_object( $group_type ) ) { + if ( ! empty( $group_type ) && is_string( $group_type ) && ! bp_groups_get_group_type_object( $group_type ) ) { return false; } + // Cast as array. + $group_type = (array) $group_type; + + // Validate group types. + foreach ( $group_type as $type ) { + // Remove any invalid group types. + if ( is_null( bp_groups_get_group_type_object( $type ) ) ) { + unset( $group_type[ $type ] ); + } + } + $retval = bp_set_object_terms( $group_id, $group_type, 'bp_group_type', $append ); // Bust the cache if the type has been updated. @@ -2269,9 +2338,9 @@ function bp_groups_set_group_type( $group_id, $group_type, $append = false ) { * * @since 2.6.0 * - * @param int $group_id ID of the group whose group type has been updated. - * @param string $group_type Group type. - * @param bool $append Whether the type is being appended to existing types. + * @param int $group_id ID of the group whose group type has been updated. + * @param string|array $group_type Group type or array of group types. + * @param bool $append Whether the type is being appended to existing types. */ do_action( 'bp_groups_set_group_type', $group_id, $group_type, $append ); } @@ -2294,10 +2363,18 @@ function bp_groups_get_group_type( $group_id, $single = true ) { $types = wp_cache_get( $group_id, 'bp_groups_group_type' ); if ( false === $types ) { - $types = bp_get_object_terms( $group_id, 'bp_group_type' ); + $raw_types = bp_get_object_terms( $group_id, 'bp_group_type' ); + + if ( ! is_wp_error( $raw_types ) ) { + $types = array(); + + // Only include currently registered group types. + foreach ( $raw_types as $gtype ) { + if ( bp_groups_get_group_type_object( $gtype->name ) ) { + $types[] = $gtype->name; + } + } - if ( ! is_wp_error( $types ) ) { - $types = wp_list_pluck( $types, 'name' ); wp_cache_set( $group_id, $types, 'bp_groups_group_type' ); } } @@ -2318,7 +2395,7 @@ function bp_groups_get_group_type( $group_id, $single = true ) { * * @param string|array $type Group type. * @param int $group_id ID of the group. - * @param bool $single Whether to return a single type srting, or an array. + * @param bool $single Whether to return a single type string, or an array. */ return apply_filters( 'bp_groups_get_group_type', $type, $group_id, $single ); } @@ -2363,7 +2440,7 @@ function bp_groups_remove_group_type( $group_id, $group_type ) { * @since 2.6.0 * * @param int $group_id ID of the group. - * @param srting $group_type Group type. + * @param string $group_type Group type. * @return bool Whether the group has the give group type. */ function bp_groups_has_group_type( $group_id, $group_type ) { @@ -2381,6 +2458,25 @@ function bp_groups_has_group_type( $group_id, $group_type ) { return in_array( $group_type, $types ); } +/** + * Get the "current" group type, if one is provided, in group directories. + * + * @since 2.7.0 + * + * @return string + */ +function bp_get_current_group_directory_type() { + + /** + * Filters the "current" group type, if one is provided, in group directories. + * + * @since 2.7.0 + * + * @param string $value "Current" group type. + */ + return apply_filters( 'bp_get_current_group_directory_type', buddypress()->groups->current_directory_type ); +} + /** * Delete a group's type when the group is deleted. * diff --git a/wp-content/plugins/buddypress/bp-groups/bp-groups-loader.php b/wp-content/plugins/buddypress/bp-groups/bp-groups-loader.php index 3c72d149a398012e8b07eca5e79e01e6ccf473be..b4b25105dcac0ec86f6b876869178608cf17c6d2 100644 --- a/wp-content/plugins/buddypress/bp-groups/bp-groups-loader.php +++ b/wp-content/plugins/buddypress/bp-groups/bp-groups-loader.php @@ -19,7 +19,7 @@ if ( ! buddypress()->do_autoload ) { } /** - * Bootstrap the Notifications component. + * Set up the bp-groups component. * * @since 1.5.0 */ diff --git a/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php b/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php index 3ee37a2b0dd265366ed85556871470f7821d62e7..ac9e8c4a81ab3e20b18f546ed92dd67b105955fb 100644 --- a/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php +++ b/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php @@ -24,7 +24,7 @@ defined( 'ABSPATH' ) || exit; * @param BP_Groups_Group|null $old_group Group before new details were saved. */ function groups_notification_group_updated( $group_id = 0, $old_group = null ) { - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); if ( $old_group instanceof BP_Groups_Group ) { $changed = array(); @@ -68,6 +68,11 @@ function groups_notification_group_updated( $group_id = 0, $old_group = null ) { continue; } + $unsubscribe_args = array( + 'user_id' => $user_id, + 'notification_type' => 'groups-details-updated', + ); + $args = array( 'tokens' => array( 'changed_text' => $changed_text, @@ -75,6 +80,7 @@ function groups_notification_group_updated( $group_id = 0, $old_group = null ) { 'group.id' => $group_id, 'group.url' => esc_url( bp_get_group_permalink( $group ) ), 'group.name' => $group->name, + 'unsubscribe' => esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ), ), ); bp_send_email( 'groups-details-updated', (int) $user_id, $args ); @@ -115,7 +121,7 @@ function groups_notification_new_membership_request( $requesting_user_id = 0, $a 'item_id' => $group_id, 'secondary_item_id' => $requesting_user_id, 'component_name' => buddypress()->groups->id, - 'component_action' => 'new_membership_request' + 'component_action' => 'new_membership_request', ) ); } @@ -124,7 +130,12 @@ function groups_notification_new_membership_request( $requesting_user_id = 0, $a return; } - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $unsubscribe_args = array( + 'user_id' => $admin_id, + 'notification_type' => 'groups-membership-request', + ); + + $group = groups_get_group( $group_id ); $args = array( 'tokens' => array( 'admin.id' => $admin_id, @@ -136,6 +147,7 @@ function groups_notification_new_membership_request( $requesting_user_id = 0, $a 'profile.url' => esc_url( bp_core_get_user_domain( $requesting_user_id ) ), 'requesting-user.id' => $requesting_user_id, 'requesting-user.name' => bp_core_get_user_displayname( $requesting_user_id ), + 'unsubscribe' => esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ), ), ); bp_send_email( 'groups-membership-request', (int) $admin_id, $args ); @@ -172,7 +184,7 @@ function groups_notification_membership_request_completed( $requesting_user_id = return; } - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); $args = array( 'tokens' => array( 'group' => $group, @@ -184,8 +196,25 @@ function groups_notification_membership_request_completed( $requesting_user_id = ); if ( ! empty( $accepted ) ) { + + $unsubscribe_args = array( + 'user_id' => $requesting_user_id, + 'notification_type' => 'groups-membership-request-accepted', + ); + + $args['tokens']['unsubscribe'] = esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ); + bp_send_email( 'groups-membership-request-accepted', (int) $requesting_user_id, $args ); + } else { + + $unsubscribe_args = array( + 'user_id' => $requesting_user_id, + 'notification_type' => 'groups-membership-request-rejected', + ); + + $args['tokens']['unsubscribe'] = esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ); + bp_send_email( 'groups-membership-request-rejected', (int) $requesting_user_id, $args ); } } @@ -226,7 +255,12 @@ function groups_notification_promoted_member( $user_id = 0, $group_id = 0 ) { return; } - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $unsubscribe_args = array( + 'user_id' => $user_id, + 'notification_type' => 'groups-member-promoted', + ); + + $group = groups_get_group( $group_id ); $args = array( 'tokens' => array( 'group' => $group, @@ -235,6 +269,7 @@ function groups_notification_promoted_member( $user_id = 0, $group_id = 0 ) { 'group.name' => $group->name, 'promoted_to' => $promoted_to, 'user.id' => $user_id, + 'unsubscribe' => esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ), ), ); bp_send_email( 'groups-member-promoted', (int) $user_id, $args ); @@ -277,6 +312,12 @@ function groups_notification_group_invites( &$group, &$member, $inviter_user_id } $invited_link = bp_core_get_user_domain( $invited_user_id ) . bp_get_groups_slug(); + + $unsubscribe_args = array( + 'user_id' => $invited_user_id, + 'notification_type' => 'groups-invitation', + ); + $args = array( 'tokens' => array( 'group' => $group, @@ -286,6 +327,7 @@ function groups_notification_group_invites( &$group, &$member, $inviter_user_id 'inviter.url' => bp_core_get_user_domain( $inviter_user_id ), 'inviter.id' => $inviter_user_id, 'invites.url' => esc_url( $invited_link . '/invites/' ), + 'unsubscribe' => esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ), ), ); bp_send_email( 'groups-invitation', (int) $invited_user_id, $args ); @@ -314,7 +356,7 @@ function groups_format_notifications( $action, $item_id, $secondary_item_id, $to $group_id = $item_id; $requesting_user_id = $secondary_item_id; - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); $group_link = bp_get_group_permalink( $group ); $amount = 'single'; @@ -418,7 +460,7 @@ function groups_format_notifications( $action, $item_id, $secondary_item_id, $to case 'membership_request_accepted': $group_id = $item_id; - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); $group_link = bp_get_group_permalink( $group ); $amount = 'single'; @@ -507,7 +549,7 @@ function groups_format_notifications( $action, $item_id, $secondary_item_id, $to case 'membership_request_rejected': $group_id = $item_id; - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); $group_link = bp_get_group_permalink( $group ); $amount = 'single'; @@ -595,7 +637,7 @@ function groups_format_notifications( $action, $item_id, $secondary_item_id, $to case 'member_promoted_to_admin': $group_id = $item_id; - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); $group_link = bp_get_group_permalink( $group ); $amount = 'single'; @@ -677,7 +719,7 @@ function groups_format_notifications( $action, $item_id, $secondary_item_id, $to case 'member_promoted_to_mod': $group_id = $item_id; - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); $group_link = bp_get_group_permalink( $group ); $amount = 'single'; @@ -758,7 +800,7 @@ function groups_format_notifications( $action, $item_id, $secondary_item_id, $to case 'group_invite': $group_id = $item_id; - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); $group_link = bp_get_group_permalink( $group ); $amount = 'single'; diff --git a/wp-content/plugins/buddypress/bp-groups/bp-groups-screens.php b/wp-content/plugins/buddypress/bp-groups/bp-groups-screens.php index cbbc75893cb4592ecc811c25e22c6a5207c80a15..46b654f891596c0b091abebfd56f3b9b8d566ad5 100644 --- a/wp-content/plugins/buddypress/bp-groups/bp-groups-screens.php +++ b/wp-content/plugins/buddypress/bp-groups/bp-groups-screens.php @@ -25,6 +25,22 @@ if ( ! buddypress()->do_autoload ) { */ function groups_directory_groups_setup() { if ( bp_is_groups_directory() ) { + // Set group type if available. + if ( bp_is_current_action( bp_get_groups_group_type_base() ) && bp_action_variable() ) { + $matched_types = bp_groups_get_group_types( array( + 'has_directory' => true, + 'directory_slug' => bp_action_variable(), + ) ); + + // Redirect back to group directory if no match. + if ( empty( $matched_types ) ) { + bp_core_redirect( bp_get_groups_directory_permalink() ); + } + + // Set our global variable. + buddypress()->groups->current_directory_type = reset( $matched_types ); + } + bp_update_is_directory( true, 'groups' ); /** @@ -89,7 +105,7 @@ function groups_screen_group_invites() { bp_core_add_message( __('Group invite accepted', 'buddypress') ); // Record this in activity streams. - $group = groups_get_group( array( 'group_id' => $group_id ) ); + $group = groups_get_group( $group_id ); groups_record_activity( array( 'type' => 'joined_group', @@ -915,6 +931,32 @@ function groups_screen_group_admin_settings() { if ( !check_admin_referer( 'groups_edit_group_settings' ) ) return false; + /* + * Save group types. + * + * Ensure we keep types that have 'show_in_create_screen' set to false. + */ + $current_types = bp_groups_get_group_type( bp_get_current_group_id(), false ); + $current_types = array_intersect( bp_groups_get_group_types( array( 'show_in_create_screen' => false ) ), (array) $current_types ); + if ( isset( $_POST['group-types'] ) ) { + $current_types = array_merge( $current_types, $_POST['group-types'] ); + + // Set group types. + bp_groups_set_group_type( bp_get_current_group_id(), $current_types ); + + // No group types checked, so this means we want to wipe out all group types. + } else { + /* + * Passing a blank string will wipe out all types for the group. + * + * Ensure we keep types that have 'show_in_create_screen' set to false. + */ + $current_types = empty( $current_types ) ? '' : $current_types; + + // Set group types. + bp_groups_set_group_type( bp_get_current_group_id(), $current_types ); + } + if ( !groups_edit_group_settings( $_POST['group-id'], $enable_forum, $status, $invite_status ) ) { bp_core_add_message( __( 'There was an error updating group settings. Please try again.', 'buddypress' ), 'error' ); } else { diff --git a/wp-content/plugins/buddypress/bp-groups/bp-groups-template.php b/wp-content/plugins/buddypress/bp-groups/bp-groups-template.php index f8f7986894b44ffc66a4e43bfabdb31ce3919edc..35595a5a84318dc5b27bdef6d4e969c1c784a475 100644 --- a/wp-content/plugins/buddypress/bp-groups/bp-groups-template.php +++ b/wp-content/plugins/buddypress/bp-groups/bp-groups-template.php @@ -71,6 +71,36 @@ function bp_groups_root_slug() { return apply_filters( 'bp_get_groups_root_slug', buddypress()->groups->root_slug ); } +/** + * Output the group type base slug. + * + * @since 2.7.0 + */ +function bp_groups_group_type_base() { + echo esc_url( bp_get_groups_group_type_base() ); +} + /** + * Get the group type base slug. + * + * The base slug is the string used as the base prefix when generating group + * type directory URLs. For example, in example.com/groups/type/foo/, 'foo' is + * the group type and 'type' is the base slug. + * + * @since 2.7.0 + * + * @return string + */ + function bp_get_groups_group_type_base() { + /** + * Filters the group type URL base. + * + * @since 2.7.0 + * + * @param string $base + */ + return apply_filters( 'bp_groups_group_type_base', _x( 'type', 'group type URL base', 'buddypress' ) ); + } + /** * Output group directory permalink. * @@ -98,11 +128,178 @@ function bp_groups_directory_permalink() { return apply_filters( 'bp_get_groups_directory_permalink', trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() ) ); } +/** + * Output group type directory permalink. + * + * @since 2.7.0 + * + * @param string $group_type Optional. Group type. + */ +function bp_group_type_directory_permalink( $group_type = '' ) { + echo esc_url( bp_get_group_type_directory_permalink( $group_type ) ); +} + /** + * Return group type directory permalink. + * + * @since 2.7.0 + * + * @param string $group_type Optional. Group type. Defaults to current group type. + * @return string Group type directory URL on success, an empty string on failure. + */ + function bp_get_group_type_directory_permalink( $group_type = '' ) { + + if ( $group_type ) { + $_group_type = $group_type; + } else { + // Fall back on the current group type. + $_group_type = bp_get_current_group_directory_type(); + } + + $type = bp_groups_get_group_type_object( $_group_type ); + + // Bail when member type is not found or has no directory. + if ( ! $type || ! $type->has_directory ) { + return ''; + } + + /** + * Filters the group type directory permalink. + * + * @since 2.7.0 + * + * @param string $value Group type directory permalink. + * @param object $type Group type object. + * @param string $member_type Group type name, as passed to the function. + */ + return apply_filters( 'bp_get_group_type_directory_permalink', trailingslashit( bp_get_groups_directory_permalink() . bp_get_groups_group_type_base() . '/' . $type->directory_slug ), $type, $group_type ); + } + +/** + * Output group type directory link. + * + * @since 2.7.0 + * + * @param string $group_type Unique group type identifier as used in bp_groups_register_group_type(). + */ +function bp_group_type_directory_link( $group_type = '' ) { + echo bp_get_group_type_directory_link( $group_type ); +} + /** + * Return group type directory link. + * + * @since 2.7.0 + * + * @param string $group_type Unique group type identifier as used in bp_groups_register_group_type(). + * @return string + */ + function bp_get_group_type_directory_link( $group_type = '' ) { + if ( empty( $group_type ) ) { + return ''; + } + + return sprintf( '<a href="%s">%s</a>', esc_url( bp_get_group_type_directory_permalink( $group_type ) ), bp_groups_get_group_type_object( $group_type )->labels['name'] ); + } + +/** + * Output a comma-delimited list of group types. + * + * @since 2.7.0 + * @see bp_get_group_type_list() for parameter documentation. + */ +function bp_group_type_list( $group_id = 0, $r = array() ) { + echo bp_get_group_type_list( $group_id, $r ); +} + /** + * Return a comma-delimited list of group types. + * + * @since 2.7.0 + * + * @param int $group_id Group ID. Defaults to current group ID if on a group page. + * @param array|string $args { + * Array of parameters. All items are optional. + * @type string $parent_element Element to wrap around the list. Defaults to 'p'. + * @type array $parent_attr Element attributes for parent element. Defaults to + * array( 'class' => 'bp-group-type-list' ). + * @type string $label Label to add before the list. Defaults to 'Group Types:'. + * @type string $label_element Element to wrap around the label. Defaults to 'strong'. + * @type array $label_attr Element attributes for label element. Defaults to array(). + * @type bool $show_all Whether to show all registered group types. Defaults to 'false'. If + * 'false', only shows group types with the 'show_in_list' parameter set to + * true. See bp_groups_register_group_type() for more info. + * } + * @return string + */ + function bp_get_group_type_list( $group_id = 0, $r = array() ) { + if ( empty( $group_id ) ) { + $group_id = bp_get_current_group_id(); + } + + $r = bp_parse_args( $r, array( + 'parent_element' => 'p', + 'parent_attr' => array( + 'class' => 'bp-group-type-list', + ), + 'label' => __( 'Group Types:', 'buddypress' ), + 'label_element' => 'strong', + 'label_attr' => array(), + 'show_all' => false, + ), 'group_type_list' ); + + $retval = ''; + + if ( $types = bp_groups_get_group_type( $group_id, false ) ) { + // Make sure we can show the type in the list. + if ( false === $r['show_all'] ) { + $types = array_intersect( bp_groups_get_group_types( array( 'show_in_list' => true ) ), $types ); + if ( empty( $types ) ) { + return $retval; + } + } + + $before = $after = $label = ''; + + // Render parent element. + if ( ! empty( $r['parent_element'] ) ) { + $parent_elem = new BP_Core_HTML_Element( array( + 'element' => $r['parent_element'], + 'attr' => $r['parent_attr'] + ) ); + + // Set before and after. + $before = $parent_elem->get( 'open_tag' ); + $after = $parent_elem->get( 'close_tag' ); + } + + // Render label element. + if ( ! empty( $r['label_element'] ) ) { + $label = new BP_Core_HTML_Element( array( + 'element' => $r['label_element'], + 'attr' => $r['label_attr'], + 'inner_html' => esc_html( $r['label'] ) + ) ); + $label = $label->contents() . ' '; + + // No element, just the label. + } else { + $label = esc_html( $r['label'] ); + } + + // Comma-delimit each type into the group type directory link. + $label .= implode( ', ', array_map( 'bp_get_group_type_directory_link', $types ) ); + + // Retval time! + $retval = $before . $label . $after; + } + + return $retval; + } + /** * Start the Groups Template Loop. * * @since 1.0.0 * @since 2.6.0 Added `$group_type`, `$group_type__in`, and `$group_type__not_in` parameters. + * @since 2.7.0 Added `$update_admin_cache` parameter. * * @param array|string $args { * Array of parameters. All items are optional. @@ -133,11 +330,14 @@ function bp_groups_directory_permalink() { * See {@link WP_Meta_Query::queries} for description. * @type array|string $include Array or comma-separated list of group IDs. Results will be limited * to groups within the list. Default: false. - * @type bool $populate_extras Whether to fetch additional information (such as member count) - * about groups. Default: true. * @type array|string $exclude Array or comma-separated list of group IDs. Results will exclude * the listed groups. Default: false. + * @type array|string $parent_id Array or comma-separated list of group IDs. Results will include only + * child groups of the listed groups. Default: null. * @type bool $update_meta_cache Whether to fetch groupmeta for queried groups. Default: true. + * @type bool $update_admin_cache Whether to pre-fetch group admins for queried groups. + * Defaults to true when on a group directory, where this + * information is needed in the loop. Otherwise false. * } * @return bool True if there are groups to display that match the params */ @@ -169,6 +369,16 @@ function bp_has_groups( $args = '' ) { $slug = bp_get_current_group_slug(); } + $group_type = bp_get_current_group_directory_type(); + if ( ! $group_type && ! empty( $_GET['group_type'] ) ) { + if ( is_array( $_GET['group_type'] ) ) { + $group_type = $_GET['group_type']; + } else { + // Can be a comma-separated list. + $group_type = explode( ',', $_GET['group_type'] ); + } + } + // Default search string (too soon to escape here). $search_query_arg = bp_core_get_component_search_query_arg( 'groups' ); if ( ! empty( $_REQUEST[ $search_query_arg ] ) ) { @@ -192,14 +402,15 @@ function bp_has_groups( $args = '' ) { 'user_id' => bp_displayed_user_id(), 'slug' => $slug, 'search_terms' => $search_terms, - 'group_type' => '', + 'group_type' => $group_type, 'group_type__in' => '', 'group_type__not_in' => '', 'meta_query' => false, 'include' => false, 'exclude' => false, - 'populate_extras' => true, + 'parent_id' => null, 'update_meta_cache' => true, + 'update_admin_cache' => bp_is_groups_directory() || bp_is_user_groups(), ), 'has_groups' ); // Setup the Groups template global. @@ -221,8 +432,9 @@ function bp_has_groups( $args = '' ) { 'meta_query' => $r['meta_query'], 'include' => $r['include'], 'exclude' => $r['exclude'], - 'populate_extras' => (bool) $r['populate_extras'], + 'parent_id' => $r['parent_id'], 'update_meta_cache' => (bool) $r['update_meta_cache'], + 'update_admin_cache' => (bool) $r['update_admin_cache'], ) ); /** @@ -266,10 +478,10 @@ function bp_the_group() { * * @since 1.0.0 * - * @param object|bool $group Optional. Group object. Default: current group in loop. + * @param BP_Groups_Group $group Optional. Group object. Default: current group in loop. * @return bool */ -function bp_group_is_visible( $group = false ) { +function bp_group_is_visible( $group = null ) { global $groups_template; if ( bp_current_user_can( 'bp_moderate' ) ) { @@ -548,7 +760,7 @@ function bp_group_avatar( $args = '' ) { * @since 1.0.0 * * @see bp_core_fetch_avatar() For a description of arguments and return values. - + * * @param array|string $args { * Arguments are listed here with an explanation of their defaults. * For more information about the arguments, see {@link bp_core_fetch_avatar()}. @@ -684,41 +896,57 @@ function bp_group_use_cover_image_header() { * Output the 'last active' string for the current group in the loop. * * @since 1.0.0 + * @since 2.7.0 Added $args as a parameter. * - * @param object|bool $group Optional. Group object. - * Default: current group in loop. + * @param object|bool $group Optional. Group object. Default: current group in loop. + * @param array|string $args Optional. {@see bp_get_group_last_active()}. */ -function bp_group_last_active( $group = false ) { - echo bp_get_group_last_active( $group ); +function bp_group_last_active( $group = false, $args = array() ) { + echo bp_get_group_last_active( $group, $args ); } /** * Return the 'last active' string for the current group in the loop. * * @since 1.0.0 + * @since 2.7.0 Added $args as a parameter. * - * @param object|bool $group Optional. Group object. - * Default: current group in loop. + * @param object|bool $group Optional. Group object. Default: current group in loop. + * @param array|string $args { + * Array of optional parameters. + * + * @type bool $relative Optional. If true, returns relative activity date. eg. active 5 months ago. + * If false, returns active date value from database. Default: true. + * } * @return string */ - function bp_get_group_last_active( $group = false ) { + function bp_get_group_last_active( $group = false, $args = array() ) { global $groups_template; if ( empty( $group ) ) { $group =& $groups_template->group; } - $last_active = $group->last_activity; + $r = wp_parse_args( $args, array( + 'relative' => true, + ) ); - if ( !$last_active ) { + $last_active = $group->last_activity; + if ( ! $last_active ) { $last_active = groups_get_groupmeta( $group->id, 'last_activity' ); } + // We do not want relative time, so return now. + // @todo Should the 'bp_get_group_last_active' filter be applied here? + if ( ! $r['relative'] ) { + return esc_attr( $last_active ); + } + if ( empty( $last_active ) ) { return __( 'not yet active', 'buddypress' ); } else { /** - * Filters the 'last active' string for the current gorup in the loop. + * Filters the 'last active' string for the current group in the loop. * * @since 1.0.0 * @since 2.5.0 Added the `$group` parameter. @@ -735,10 +963,9 @@ function bp_group_last_active( $group = false ) { * * @since 1.0.0 * - * @param object|bool $group Optional. Group object. - * Default: current group in loop. + * @param BP_Groups_Group $group Optional. Group object. Default: current group in loop. */ -function bp_group_permalink( $group = false ) { +function bp_group_permalink( $group = null ) { echo bp_get_group_permalink( $group ); } /** @@ -746,11 +973,10 @@ function bp_group_permalink( $group = false ) { * * @since 1.0.0 * - * @param object|bool $group Optional. Group object. - * Default: current group in loop. + * @param BP_Groups_Group $group Optional. Group object. Default: current group in loop. * @return string */ - function bp_get_group_permalink( $group = false ) { + function bp_get_group_permalink( $group = null ) { global $groups_template; if ( empty( $group ) ) { @@ -1052,29 +1278,46 @@ function bp_group_is_public( $group = false ) { * Output the created date of the current group in the loop. * * @since 1.0.0 + * @since 2.7.0 Added $args as a parameter. * - * @param object|bool $group Optional. Group object. - * Default: current group in loop. + * @param object|bool $group Optional. Group object. Default: current group in loop. + * @param array|string $args {@see bp_get_group_date_created()}. */ -function bp_group_date_created( $group = false ) { - echo bp_get_group_date_created( $group ); +function bp_group_date_created( $group = false, $args = array() ) { + echo bp_get_group_date_created( $group, $args ); } /** * Return the created date of the current group in the loop. * * @since 1.0.0 + * @since 2.7.0 Added $args as a parameter. * - * @param object|bool $group Optional. Group object. - * Default: current group in loop. + * @param object|bool $group Optional. Group object. Default: current group in loop. + * @param array|string $args { + * Array of optional parameters. + * + * @type bool $relative Optional. If true, returns relative created date. eg. active 5 months ago. + * If false, returns created date value from database. Default: true. + * } * @return string */ - function bp_get_group_date_created( $group = false ) { + function bp_get_group_date_created( $group = false, $args = array() ) { global $groups_template; + $r = wp_parse_args( $args, array( + 'relative' => true, + ) ); + if ( empty( $group ) ) { $group =& $groups_template->group; } + // We do not want relative time, so return now. + // @todo Should the 'bp_get_group_date_created' filter be applied here? + if ( ! $r['relative'] ) { + return esc_attr( $group->date_created ); + } + /** * Filters the created date of the current group in the loop. * @@ -1084,7 +1327,7 @@ function bp_group_date_created( $group = false ) { * @param string $value Created date for the current group. * @param object $group Group object. */ - return apply_filters( 'bp_get_group_date_created', bp_core_time_since( strtotime( $group->date_created ) ), $group ); + return apply_filters( 'bp_get_group_date_created', bp_core_time_since( $group->date_created ), $group ); } /** @@ -1209,12 +1452,11 @@ function bp_group_creator_permalink( $group = false ) { * * @since 1.7.0 * - * @param object|bool $group Optional. Group object. - * Default: current group in loop. - * @param int $user_id ID of the user. + * @param BP_Groups_Group $group Optional. Group object. Default: current group in loop. + * @param int $user_id ID of the user. * @return bool */ -function bp_is_group_creator( $group = false, $user_id = 0 ) { +function bp_is_group_creator( $group = null, $user_id = 0 ) { global $groups_template; if ( empty( $group ) ) { @@ -1337,19 +1579,6 @@ function bp_group_list_admins( $group = false ) { $group =& $groups_template->group; } - // Fetch group admins if 'populate_extras' flag is false. - if ( empty( $group->args['populate_extras'] ) ) { - $query = new BP_Group_Member_Query( array( - 'group_id' => $group->id, - 'group_role' => 'admin', - 'type' => 'first_joined', - ) ); - - if ( ! empty( $query->results ) ) { - $group->admins = $query->results; - } - } - if ( ! empty( $group->admins ) ) { ?> <ul id="group-admins"> <?php foreach( (array) $group->admins as $admin ) { ?> @@ -1379,19 +1608,6 @@ function bp_group_list_mods( $group = false ) { $group =& $groups_template->group; } - // Fetch group mods if 'populate_extras' flag is false. - if ( empty( $group->args['populate_extras'] ) ) { - $query = new BP_Group_Member_Query( array( - 'group_id' => $group->id, - 'group_role' => 'mod', - 'type' => 'first_joined', - ) ); - - if ( ! empty( $query->results ) ) { - $group->mods = $query->results; - } - } - if ( ! empty( $group->mods ) ) : ?> <ul id="group-mods"> @@ -2248,7 +2464,7 @@ function bp_group_mod_memberlist( $admin_list = false, $group = false ) { <?php echo bp_core_get_userlink( $mod->user_id ); ?> <span class="small"> - <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => $mod->user_id ) ) ?>" class="button confirm mod-promote-to-admin" title="<?php esc_attr_e( 'Promote to Admin', 'buddypress' ); ?>"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a> + <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => $mod->user_id ) ) ?>" class="button confirm mod-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a> <a class="button confirm mod-demote-to-member" href="<?php bp_group_member_demote_link($mod->user_id) ?>"><?php _e( 'Demote to Member', 'buddypress' ) ?></a> </span> </h5> @@ -3162,7 +3378,6 @@ function bp_group_new_topic_button( $group = false ) { 'link_class' => 'group-button show-hide-new', 'link_id' => 'new-topic-button', 'link_text' => __( 'New Topic', 'buddypress' ), - 'link_title' => __( 'New Topic', 'buddypress' ), ); /** @@ -3193,7 +3408,7 @@ function bp_group_join_button( $group = false ) { * @since 1.0.0 * * @param object|bool $group Single group object. - * @return mixed + * @return false|string */ function bp_get_group_join_button( $group = false ) { global $groups_template; @@ -3232,7 +3447,6 @@ function bp_group_join_button( $group = false ) { 'wrapper_id' => 'groupbutton-' . $group->id, 'link_href' => wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ), 'link_text' => __( 'Leave Group', 'buddypress' ), - 'link_title' => __( 'Leave Group', 'buddypress' ), 'link_class' => 'group-button leave-group', ); @@ -3254,7 +3468,6 @@ function bp_group_join_button( $group = false ) { 'wrapper_id' => 'groupbutton-' . $group->id, 'link_href' => wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ), 'link_text' => __( 'Join Group', 'buddypress' ), - 'link_title' => __( 'Join Group', 'buddypress' ), 'link_class' => 'group-button join-group', ); break; @@ -3273,7 +3486,6 @@ function bp_group_join_button( $group = false ) { 'wrapper_id' => 'groupbutton-' . $group->id, 'link_href' => add_query_arg( 'redirect_to', bp_get_group_permalink( $group ), bp_get_group_accept_invite_link( $group ) ), 'link_text' => __( 'Accept Invitation', 'buddypress' ), - 'link_title' => __( 'Accept Invitation', 'buddypress' ), 'link_class' => 'group-button accept-invite', ); @@ -3289,7 +3501,6 @@ function bp_group_join_button( $group = false ) { 'wrapper_id' => 'groupbutton-' . $group->id, 'link_href' => bp_get_group_permalink( $group ), 'link_text' => __( 'Request Sent', 'buddypress' ), - 'link_title' => __( 'Request Sent', 'buddypress' ), 'link_class' => 'group-button pending membership-requested', ); @@ -3305,7 +3516,6 @@ function bp_group_join_button( $group = false ) { 'wrapper_id' => 'groupbutton-' . $group->id, 'link_href' => wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_request_membership' ), 'link_text' => __( 'Request Membership', 'buddypress' ), - 'link_title' => __( 'Request Membership', 'buddypress' ), 'link_class' => 'group-button request-membership', ); } @@ -3354,7 +3564,6 @@ function bp_group_create_button() { 'id' => 'create_group', 'component' => 'groups', 'link_text' => __( 'Create a Group', 'buddypress' ), - 'link_title' => __( 'Create a Group', 'buddypress' ), 'link_class' => 'group-create no-ajax', 'link_href' => trailingslashit( bp_get_groups_directory_permalink() . 'create' ), 'wrapper' => false, @@ -3977,20 +4186,44 @@ function bp_group_member_css_class() { } /** + * Output the joined date for the current member in the group member loop. + * * @since 1.0.0 + * @since 2.7.0 Added $args as a parameter. + * + * @param array|string $args {@see bp_get_group_member_joined_since()} + * @return string */ -function bp_group_member_joined_since() { - echo bp_get_group_member_joined_since(); +function bp_group_member_joined_since( $args = array() ) { + echo bp_get_group_member_joined_since( $args ); } - /** + * Return the joined date for the current member in the group member loop. + * * @since 1.0.0 + * @since 2.7.0 Added $args as a parameter. * - * @return mixed|void + * @param array|string $args { + * Array of optional parameters. + * + * @type bool $relative Optional. If true, returns relative joined date. eg. joined 5 months ago. + * If false, returns joined date value from database. Default: true. + * } + * @return string */ - function bp_get_group_member_joined_since() { + function bp_get_group_member_joined_since( $args = array() ) { global $members_template; + $r = wp_parse_args( $args, array( + 'relative' => true, + ) ); + + // We do not want relative time, so return now. + // @todo Should the 'bp_get_group_member_joined_since' filter be applied here? + if ( ! $r['relative'] ) { + return esc_attr( $members_template->member->date_modified ); + } + /** * Filters the joined since time for the current member in the loop. * @@ -4242,7 +4475,7 @@ function bp_groups_get_front_template( $group = null ) { */ function bp_groups_members_template_part() { ?> - <div class="item-list-tabs" id="subnav" role="navigation"> + <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <li class="groups-members-search" role="search"> <?php bp_directory_members_search_form(); ?> @@ -4263,6 +4496,11 @@ function bp_groups_members_template_part() { </ul> </div> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Members', 'buddypress' ); + ?></h2> + <div id="members-group-list" class="group_members dir-list"> <?php bp_get_template_part( 'groups/single/members' ); ?> @@ -4905,7 +5143,7 @@ function bp_new_group_invite_friend_list( $args = array() ) { * @since 1.0.0 * * @param array $args Array of arguments for friends list output. - * @return mixed HTML list of checkboxes, or false + * @return false|string HTML list of checkboxes, or false */ function bp_get_new_group_invite_friend_list( $args = array() ) { @@ -5049,6 +5287,36 @@ function bp_groups_filter_title() { do_action( 'bp_groups_filter_title' ); } +/** + * Echo the current group type message. + * + * @since 2.7.0 + */ +function bp_current_group_directory_type_message() { + echo bp_get_current_group_directory_type_message(); +} + /** + * Generate the current group type message. + * + * @since 2.7.0 + * + * @return string + */ + function bp_get_current_group_directory_type_message() { + $type_object = bp_groups_get_group_type_object( bp_get_current_group_directory_type() ); + + $message = sprintf( __( 'Viewing groups of the type: %s', 'buddypress' ), '<strong>' . $type_object->labels['singular_name'] . '</strong>' ); + + /** + * Filters the current group type message. + * + * @since 2.7.0 + * + * @param string $message Message to filter. + */ + return apply_filters( 'bp_get_current_group_type_message', $message ); + } + /** * Is the current page a specific group admin screen? * @@ -5384,7 +5652,7 @@ function bp_group_request_time_since_requested() { * * @param string $value Formatted time since membership was requested. */ - echo apply_filters( 'bp_group_request_time_since_requested', sprintf( __( 'requested %s', 'buddypress' ), bp_core_time_since( strtotime( $requests_template->request->date_modified ) ) ) ); + echo apply_filters( 'bp_group_request_time_since_requested', sprintf( __( 'requested %s', 'buddypress' ), bp_core_time_since( $requests_template->request->date_modified ) ) ); } /** diff --git a/wp-content/plugins/buddypress/bp-groups/bp-groups-widgets.php b/wp-content/plugins/buddypress/bp-groups/bp-groups-widgets.php index 46b7daf4086d81a75876161e7cf852e7a5e7a291..37911acd75d4e1ed0f10de329b0603a906eb6e24 100644 --- a/wp-content/plugins/buddypress/bp-groups/bp-groups-widgets.php +++ b/wp-content/plugins/buddypress/bp-groups/bp-groups-widgets.php @@ -65,17 +65,13 @@ function groups_ajax_widget_groups_list() { <div class="item"> <div class="item-title"><a href="<?php bp_group_permalink() ?>" title="<?php bp_group_name() ?>"><?php bp_group_name() ?></a></div> <div class="item-meta"> - <span class="activity"> - <?php - if ( 'newest-groups' == $_POST['filter'] ) { - printf( __( 'created %s', 'buddypress' ), bp_get_group_date_created() ); - } elseif ( 'recently-active-groups' == $_POST['filter'] ) { - printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); - } elseif ( 'popular-groups' == $_POST['filter'] ) { - bp_group_member_count(); - } - ?> - </span> + <?php if ( 'newest-groups' === $_POST['filter'] ) : ?> + <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_date_created( 0, array( 'relative' => false ) ) ); ?>"><?php printf( __( 'created %s', 'buddypress' ), bp_get_group_date_created() ); ?></span> + <?php elseif ( 'recently-active-groups' === $_POST['filter'] ) : ?> + <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> + <?php else : ?> + <span class="activity"><?php bp_group_member_count(); ?></span> + <?php endif; ?> </div> </div> </li> diff --git a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php index c0ae5df83a26aa7919e77f05f26ce4f5bf68d56f..208e2ffd556cbb9cd5407c46a59f97b4582cf5e4 100644 --- a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php +++ b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php @@ -583,9 +583,7 @@ class BP_Group_Extension { if ( false === $this->enable_nav_item ) { $this->params['access'] = 'noone'; } else { - $group = groups_get_group( array( - 'group_id' => $this->group_id, - ) ); + $group = groups_get_group( $this->group_id ); if ( ! empty( $group->status ) && 'public' === $group->status ) { // Tabs in public groups are accessible to anyone by default. @@ -668,9 +666,7 @@ class BP_Group_Extension { * @return bool */ protected function user_meets_access_condition( $access_condition ) { - $group = groups_get_group( array( - 'group_id' => $this->group_id, - ) ); + $group = groups_get_group( $this->group_id ); switch ( $access_condition ) { case 'admin' : @@ -763,7 +759,7 @@ class BP_Group_Extension { } // Hook the group home widget. - if ( ! bp_current_action() && bp_is_current_action( 'home' ) ) { + if ( bp_is_group_home() ) { add_action( $this->display_hook, array( &$this, 'widget_display' ) ); } } @@ -850,9 +846,7 @@ class BP_Group_Extension { $user_can_visit = $this->user_can_visit(); if ( ! $user_can_visit && is_user_logged_in() ) { - $current_group = groups_get_group( array( - 'group_id' => $this->group_id, - ) ); + $current_group = groups_get_group( $this->group_id ); $no_access_args['message'] = __( 'You do not have access to this content.', 'buddypress' ); $no_access_args['root'] = bp_get_group_permalink( $current_group ) . 'home/'; diff --git a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-component.php b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-component.php index 93bb9b7be53ebe892ccd6931266d40c9eedaf779..769aa2cb9fb6a99a65f2e17a48352f997c5d3ff7 100644 --- a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-component.php +++ b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-component.php @@ -84,6 +84,16 @@ class BP_Groups_Component extends BP_Component { */ public $types = array(); + /** + * Current directory group type. + * + * @see groups_directory_groups_setup() + * + * @since 2.7.0 + * @var string + */ + public $current_directory_type = ''; + /** * Start the groups component creation process. * @@ -168,13 +178,17 @@ class BP_Groups_Component extends BP_Component { 'group' => $bp->table_prefix . 'bp_groups_groupmeta', ); + // Fetch the default directory title. + $default_directory_titles = bp_core_get_directory_page_default_titles(); + $default_directory_title = $default_directory_titles[$this->id]; + // All globals for groups component. // Note that global_tables is included in this array. $args = array( 'slug' => BP_GROUPS_SLUG, 'root_slug' => isset( $bp->pages->groups->slug ) ? $bp->pages->groups->slug : BP_GROUPS_SLUG, 'has_directory' => true, - 'directory_title' => _x( 'Groups', 'component directory title', 'buddypress' ), + 'directory_title' => isset( $bp->pages->groups->title ) ? $bp->pages->groups->title : $default_directory_title, 'notification_callback' => 'groups_format_notifications', 'search_string' => _x( 'Search Groups...', 'Component directory search', 'buddypress' ), 'global_tables' => $global_tables, @@ -200,10 +214,7 @@ class BP_Groups_Component extends BP_Component { $current_group_class = apply_filters( 'bp_groups_current_group_class', 'BP_Groups_Group' ); if ( $current_group_class == 'BP_Groups_Group' ) { - $this->current_group = groups_get_group( array( - 'group_id' => $group_id, - 'populate_extras' => true, - ) ); + $this->current_group = groups_get_group( $group_id ); } else { @@ -249,17 +260,6 @@ class BP_Groups_Component extends BP_Component { $this->current_group->is_visible = false; } - // If this is a private or hidden group, does the user have access? - if ( 'private' == $this->current_group->status || 'hidden' == $this->current_group->status ) { - if ( $this->current_group->is_user_member && is_user_logged_in() || bp_current_user_can( 'bp_moderate' ) ) { - $this->current_group->user_has_access = true; - } else { - $this->current_group->user_has_access = false; - } - } else { - $this->current_group->user_has_access = true; - } - // Check once if the current group has a custom front template. $this->current_group->front_template = bp_groups_get_front_template( $this->current_group ); diff --git a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-group-members-template.php b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-group-members-template.php index 7d60913bdb1c983db27118071bc8bed18cecf90c..d2ac76c6a41d3a6251c939a8fb1bc57f89db2c56 100644 --- a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-group-members-template.php +++ b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-group-members-template.php @@ -136,7 +136,7 @@ class BP_Groups_Group_Members_Template { */ $current_group = groups_get_current_group(); if ( empty( $current_group ) || ( $current_group && $current_group->id !== bp_get_current_group_id() ) ) { - $current_group = groups_get_group( array( 'group_id' => $r['group_id'] ) ); + $current_group = groups_get_group( $r['group_id'] ); } // Assemble the base URL for pagination. @@ -239,10 +239,11 @@ class BP_Groups_Group_Members_Template { * * @since 1.0.0 * @since 2.3.0 `$this` parameter added. + * @since 2.7.0 Action renamed from `loop_end`. * * @param BP_Groups_Group_Members_Template $this Instance of the current Members template. */ - do_action( 'loop_end', $this ); + do_action( 'group_members_loop_end', $this ); // Do some cleaning up after the loop. $this->rewind_members(); @@ -269,10 +270,11 @@ class BP_Groups_Group_Members_Template { * * @since 1.0.0 * @since 2.3.0 `$this` parameter added. + * @since 2.7.0 Action renamed from `loop_start`. * * @param BP_Groups_Group_Members_Template $this Instance of the current Members template. */ - do_action( 'loop_start', $this ); + do_action( 'group_members_loop_start', $this ); } } } diff --git a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-group.php b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-group.php index 1acac6560a61f4f443b40b883a3dad2286439a23..bac2609d7349fedfa9230a952229a6ec932719fd 100644 --- a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-group.php +++ b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-group.php @@ -67,6 +67,16 @@ class BP_Groups_Group { */ public $status; + /** + * Parent ID. + * + * ID of parent group, if applicable. + * + * @since 2.7.0 + * @var int + */ + public $parent_id; + /** * Should (legacy) bbPress forums be enabled for this group? * @@ -89,7 +99,7 @@ class BP_Groups_Group { * @since 1.6.0 * @var array */ - public $admins; + protected $admins; /** * Data about the group's moderators. @@ -97,7 +107,7 @@ class BP_Groups_Group { * @since 1.6.0 * @var array */ - public $mods; + protected $mods; /** * Total count of group members. @@ -105,7 +115,7 @@ class BP_Groups_Group { * @since 1.6.0 * @var int */ - public $total_member_count; + protected $total_member_count; /** * Is the current user a member of this group? @@ -113,7 +123,7 @@ class BP_Groups_Group { * @since 1.2.0 * @var bool */ - public $is_member; + protected $is_member; /** * Does the current user have an outstanding invitation to this group? @@ -121,7 +131,7 @@ class BP_Groups_Group { * @since 1.9.0 * @var bool */ - public $is_invited; + protected $is_invited; /** * Does the current user have a pending membership request to this group? @@ -129,7 +139,7 @@ class BP_Groups_Group { * @since 1.9.0 * @var bool */ - public $is_pending; + protected $is_pending; /** * Timestamp of the last activity that happened in this group. @@ -137,7 +147,7 @@ class BP_Groups_Group { * @since 1.2.0 * @var string */ - public $last_activity; + protected $last_activity; /** * If this is a private or hidden group, does the current user have access? @@ -145,7 +155,7 @@ class BP_Groups_Group { * @since 1.6.0 * @var bool */ - public $user_has_access; + protected $user_has_access; /** * Raw arguments passed to the constructor. @@ -164,18 +174,12 @@ class BP_Groups_Group { * the object will be pre-populated with info about that group. * @param array $args { * Array of optional arguments. - * @type bool $populate_extras Whether to fetch "extra" data about the group - * (group admins/mods, access for the current user). - * Default: false. + * @type bool $populate_extras Deprecated. * } */ public function __construct( $id = null, $args = array() ) { - $this->args = wp_parse_args( $args, array( - 'populate_extras' => false, - ) ); - if ( !empty( $id ) ) { - $this->id = $id; + $this->id = (int) $id; $this->populate(); } } @@ -208,61 +212,15 @@ class BP_Groups_Group { } // Group found so setup the object variables. - $this->id = $group->id; - $this->creator_id = $group->creator_id; + $this->id = (int) $group->id; + $this->creator_id = (int) $group->creator_id; $this->name = stripslashes( $group->name ); $this->slug = $group->slug; $this->description = stripslashes( $group->description ); $this->status = $group->status; - $this->enable_forum = $group->enable_forum; + $this->parent_id = (int) $group->parent_id; + $this->enable_forum = (int) $group->enable_forum; $this->date_created = $group->date_created; - - // Are we getting extra group data? - if ( ! empty( $this->args['populate_extras'] ) ) { - - /** - * Filters the SQL prepared statement used to fetch group admins and mods. - * - * @since 1.5.0 - * - * @param string $value SQL select statement used to fetch admins and mods. - */ - $admin_mods = $wpdb->get_results( apply_filters( 'bp_group_admin_mods_user_join_filter', $wpdb->prepare( "SELECT u.ID as user_id, u.user_login, u.user_email, u.user_nicename, m.is_admin, m.is_mod FROM {$wpdb->users} u, {$bp->groups->table_name_members} m WHERE u.ID = m.user_id AND m.group_id = %d AND ( m.is_admin = 1 OR m.is_mod = 1 )", $this->id ) ) ); - - // Add admins and moderators to their respective arrays. - foreach ( (array) $admin_mods as $user ) { - if ( !empty( $user->is_admin ) ) { - $this->admins[] = $user; - } else { - $this->mods[] = $user; - } - } - - // Set up some specific group vars from meta. Excluded - // from the bp_groups cache because it's cached independently. - $this->last_activity = groups_get_groupmeta( $this->id, 'last_activity' ); - $this->total_member_count = groups_get_groupmeta( $this->id, 'total_member_count' ); - - // Set user-specific data. - $user_id = bp_loggedin_user_id(); - $this->is_member = groups_is_user_member( $user_id, $this->id ); - $this->is_invited = groups_check_user_has_invite( $user_id, $this->id ); - $this->is_pending = groups_check_for_membership_request( $user_id, $this->id ); - - // If this is a private or hidden group, does the current user have access? - if ( ( 'private' === $this->status ) || ( 'hidden' === $this->status ) ) { - - // Assume user does not have access to hidden/private groups. - $this->user_has_access = false; - - // Group members or community moderators have access. - if ( ( $this->is_member && is_user_logged_in() ) || bp_current_user_can( 'bp_moderate' ) ) { - $this->user_has_access = true; - } - } else { - $this->user_has_access = true; - } - } } /** @@ -282,6 +240,7 @@ class BP_Groups_Group { $this->slug = apply_filters( 'groups_group_slug_before_save', $this->slug, $this->id ); $this->description = apply_filters( 'groups_group_description_before_save', $this->description, $this->id ); $this->status = apply_filters( 'groups_group_status_before_save', $this->status, $this->id ); + $this->parent_id = apply_filters( 'groups_group_parent_id_before_save', $this->parent_id, $this->id ); $this->enable_forum = apply_filters( 'groups_group_enable_forum_before_save', $this->enable_forum, $this->id ); $this->date_created = apply_filters( 'groups_group_date_created_before_save', $this->date_created, $this->id ); @@ -324,6 +283,7 @@ class BP_Groups_Group { slug = %s, description = %s, status = %s, + parent_id = %d, enable_forum = %d, date_created = %s WHERE @@ -334,6 +294,7 @@ class BP_Groups_Group { $this->slug, $this->description, $this->status, + $this->parent_id, $this->enable_forum, $this->date_created, $this->id @@ -346,16 +307,18 @@ class BP_Groups_Group { slug, description, status, + parent_id, enable_forum, date_created ) VALUES ( - %d, %s, %s, %s, %s, %d, %s + %d, %s, %s, %s, %s, %d, %d, %s )", $this->creator_id, $this->name, $this->slug, $this->description, $this->status, + $this->parent_id, $this->enable_forum, $this->date_created ); @@ -425,6 +388,222 @@ class BP_Groups_Group { return true; } + /** + * Magic getter. + * + * @since 2.7.0 + * + * @param string $key Property name. + * @return mixed + */ + public function __get( $key ) { + switch ( $key ) { + case 'last_activity' : + case 'total_member_count' : + case 'forum_id' : + $retval = groups_get_groupmeta( $this->id, $key ); + + if ( 'last_activity' !== $key ) { + $retval = (int) $retval; + } + + return $retval; + + case 'admins' : + return $this->get_admins(); + + case 'mods' : + return $this->get_mods(); + + case 'is_member' : + return $this->get_is_member(); + + case 'is_invited' : + return groups_check_user_has_invite( bp_loggedin_user_id(), $this->id ); + + case 'is_pending' : + return groups_check_for_membership_request( bp_loggedin_user_id(), $this->id ); + + case 'user_has_access' : + return $this->get_user_has_access(); + + default : + return isset( $this->{$key} ) ? $this->{$key} : null; + } + } + + /** + * Magic issetter. + * + * Used to maintain backward compatibility for properties that are now + * accessible only via magic method. + * + * @since 2.7.0 + * + * @param string $key Property name. + * @return bool + */ + public function __isset( $key ) { + switch ( $key ) { + case 'admins' : + case 'is_invited' : + case 'is_member' : + case 'is_pending' : + case 'last_activity' : + case 'mods' : + case 'total_member_count' : + case 'user_has_access' : + case 'forum_id' : + return true; + + default : + return isset( $this->{$key} ); + } + } + + /** + * Magic setter. + * + * Used to maintain backward compatibility for properties that are now + * accessible only via magic method. + * + * @since 2.7.0 + * + * @param string $key Property name. + */ + public function __set( $key, $value ) { + switch ( $key ) { + case 'user_has_access' : + return $this->user_has_access = (bool) $value; + + default : + $this->{$key} = $value; + } + } + + /** + * Get a list of the group's admins. + * + * Used to provide cache-friendly access to the 'admins' property of + * the group object. + * + * @since 2.7.0 + * + * @return array + */ + protected function get_admins() { + if ( isset( $this->admins ) ) { + return $this->admins; + } + + $this->set_up_admins_and_mods(); + return $this->admins; + } + + /** + * Get a list of the group's mods. + * + * Used to provide cache-friendly access to the 'mods' property of + * the group object. + * + * @since 2.7.0 + * + * @return array + */ + protected function get_mods() { + if ( isset( $this->mods ) ) { + return $this->mods; + } + + $this->set_up_admins_and_mods(); + return $this->mods; + } + + /** + * Set up admins and mods for the current group object. + * + * Called only when the 'admins' or 'mods' property is accessed. + * + * @since 2.7.0 + */ + protected function set_up_admins_and_mods() { + $admin_ids = BP_Groups_Member::get_group_administrator_ids( $this->id ); + $admin_ids_plucked = wp_list_pluck( $admin_ids, 'user_id' ); + + $mod_ids = BP_Groups_Member::get_group_moderator_ids( $this->id ); + $mod_ids_plucked = wp_list_pluck( $mod_ids, 'user_id' ); + + $admin_mod_users = get_users( array( + 'include' => array_merge( $admin_ids_plucked, $mod_ids_plucked ), + ) ); + + $admin_objects = $mod_objects = array(); + foreach ( $admin_mod_users as $admin_mod_user ) { + $obj = new stdClass(); + $obj->user_id = $admin_mod_user->ID; + $obj->user_login = $admin_mod_user->user_login; + $obj->user_email = $admin_mod_user->user_email; + $obj->user_nicename = $admin_mod_user->user_nicename; + + if ( in_array( $admin_mod_user->ID, $admin_ids_plucked, true ) ) { + $obj->is_admin = 1; + $obj->is_mod = 0; + $admin_objects[] = $obj; + } else { + $obj->is_admin = 0; + $obj->is_mod = 1; + $mod_objects[] = $obj; + } + } + + $this->admins = $admin_objects; + $this->mods = $mod_objects; + } + + /** + * Checks whether the logged-in user is a member of the group. + * + * @since 2.7.0 + * + * @return bool + */ + protected function get_is_member() { + if ( isset( $this->is_member ) ) { + return $this->is_member; + } + + $this->is_member = groups_is_user_member( bp_loggedin_user_id(), $this->id ); + return $this->is_member; + } + + /** + * Checks whether the logged-in user has access to the group. + * + * @since 2.7.0 + * + * @return bool + */ + protected function get_user_has_access() { + if ( isset( $this->user_has_access ) ) { + return $this->user_has_access; + } + + if ( ( 'private' === $this->status ) || ( 'hidden' === $this->status ) ) { + + // Assume user does not have access to hidden/private groups. + $this->user_has_access = false; + + // Group members or community moderators have access. + if ( ( is_user_logged_in() && $this->get_is_member() ) || bp_current_user_can( 'bp_moderate' ) ) { + $this->user_has_access = true; + } + } else { + $this->user_has_access = true; + } + + return $this->user_has_access; + } + /** Static Methods ****************************************************/ /** @@ -435,7 +614,7 @@ class BP_Groups_Group { * @param string $slug Slug to check. * @param string|bool $table_name Optional. Name of the table to check * against. Default: $bp->groups->table_name. - * @return string|null ID of the group, if one is found, else null. + * @return int|null Group ID if found; null if not. */ public static function group_exists( $slug, $table_name = false ) { global $wpdb; @@ -446,7 +625,9 @@ class BP_Groups_Group { if ( empty( $slug ) ) return false; - return $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$table_name} WHERE slug = %s", strtolower( $slug ) ) ); + $query = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$table_name} WHERE slug = %s", strtolower( $slug ) ) ); + + return is_numeric( $query ) ? (int) $query : $query; } /** @@ -506,7 +687,7 @@ class BP_Groups_Group { if ( empty( $user_id ) ) $user_id = bp_displayed_user_id(); - $search_terms_like = bp_esc_like( $filter ) . '%'; + $search_terms_like = '%' . bp_esc_like( $filter ) . '%'; $pag_sql = $order_sql = $hidden_sql = ''; @@ -684,6 +865,7 @@ class BP_Groups_Group { * * @since 1.6.0 * @since 2.6.0 Added `$group_type`, `$group_type__in`, and `$group_type__not_in` parameters. + * @since 2.7.0 Added `$update_admin_cache` and `$parent_id` parameters. * * @param array $args { * Array of parameters. All items are optional. @@ -710,12 +892,14 @@ class BP_Groups_Group { * See {@link WP_Meta_Query::queries} for description. * @type array|string $value Optional. Array or comma-separated list of group IDs. Results * will be limited to groups within the list. Default: false. - * @type bool $populate_extras Whether to fetch additional information - * (such as member count) about groups. Default: true. + * @type array|string $parent_id Optional. Array or comma-separated list of group IDs. Results + * will be limited to children of the specified groups. Default: null. * @type array|string $exclude Optional. Array or comma-separated list of group IDs. * Results will exclude the listed groups. Default: false. * @type bool $update_meta_cache Whether to pre-fetch groupmeta for the returned groups. * Default: true. + * @type bool $update_admin_cache Whether to pre-fetch administrator IDs for the returned + * groups. Default: false. * @type bool $show_hidden Whether to include hidden groups in results. Default: false. * } * @return array { @@ -761,8 +945,9 @@ class BP_Groups_Group { 'group_type__not_in' => '', 'meta_query' => false, 'include' => false, - 'populate_extras' => true, + 'parent_id' => null, 'update_meta_cache' => true, + 'update_admin_cache' => false, 'exclude' => false, 'show_hidden' => false, ); @@ -771,31 +956,27 @@ class BP_Groups_Group { $bp = buddypress(); - $sql = array(); - $total_sql = array(); - - $sql['select'] = "SELECT DISTINCT g.id, g.*, gm1.meta_value AS total_member_count, gm2.meta_value AS last_activity"; - $sql['from'] = " FROM {$bp->groups->table_name_groupmeta} gm1, {$bp->groups->table_name_groupmeta} gm2,"; - - if ( ! empty( $r['user_id'] ) ) { - $sql['members_from'] = " {$bp->groups->table_name_members} m,"; - } - - $sql['group_from'] = " {$bp->groups->table_name} g WHERE"; + $sql = array( + 'select' => "SELECT DISTINCT g.id", + 'from' => "{$bp->groups->table_name} g", + 'where' => '', + 'orderby' => '', + 'pagination' => '', + ); if ( ! empty( $r['user_id'] ) ) { - $sql['user_where'] = " g.id = m.group_id AND"; + $sql['from'] .= " JOIN {$bp->groups->table_name_members} m ON ( g.id = m.group_id )"; } - $sql['where'] = " g.id = gm1.group_id AND g.id = gm2.group_id AND gm2.meta_key = 'last_activity' AND gm1.meta_key = 'total_member_count'"; + $where_conditions = array(); if ( empty( $r['show_hidden'] ) ) { - $sql['hidden'] = " AND g.status != 'hidden'"; + $where_conditions['hidden'] = "g.status != 'hidden'"; } if ( ! empty( $r['search_terms'] ) ) { $search_terms_like = '%' . bp_esc_like( $r['search_terms'] ) . '%'; - $sql['search'] = $wpdb->prepare( " AND ( g.name LIKE %s OR g.description LIKE %s )", $search_terms_like, $search_terms_like ); + $where_conditions['search'] = $wpdb->prepare( "( g.name LIKE %s OR g.description LIKE %s )", $search_terms_like, $search_terms_like ); } $meta_query_sql = self::get_meta_query_sql( $r['meta_query'] ); @@ -805,7 +986,7 @@ class BP_Groups_Group { } if ( ! empty( $meta_query_sql['where'] ) ) { - $sql['meta'] = $meta_query_sql['where']; + $where_conditions['meta'] = $meta_query_sql['where']; } // Only use 'group_type__in', if 'group_type' is not set. @@ -823,21 +1004,27 @@ class BP_Groups_Group { } if ( ! empty( $group_type_clause ) ) { - $sql['group_type'] = $group_type_clause; + $where_conditions['group_type'] = $group_type_clause; } if ( ! empty( $r['user_id'] ) ) { - $sql['user'] = $wpdb->prepare( " AND m.user_id = %d AND m.is_confirmed = 1 AND m.is_banned = 0", $r['user_id'] ); + $where_conditions['user'] = $wpdb->prepare( "m.user_id = %d AND m.is_confirmed = 1 AND m.is_banned = 0", $r['user_id'] ); } if ( ! empty( $r['include'] ) ) { $include = implode( ',', wp_parse_id_list( $r['include'] ) ); - $sql['include'] = " AND g.id IN ({$include})"; + $where_conditions['include'] = "g.id IN ({$include})"; + } + + if ( ! is_null( $r['parent_id'] ) ) { + // Note that `wp_parse_id_list()` converts `false` to 0. + $parent_id = implode( ',', wp_parse_id_list( $r['parent_id'] ) ); + $where_conditions['parent_id'] = "g.parent_id IN ({$parent_id})"; } if ( ! empty( $r['exclude'] ) ) { $exclude = implode( ',', wp_parse_id_list( $r['exclude'] ) ); - $sql['exclude'] = " AND g.id NOT IN ({$exclude})"; + $where_conditions['exclude'] = "g.id NOT IN ({$exclude})"; } /* Order/orderby ********************************************/ @@ -871,6 +1058,16 @@ class BP_Groups_Group { } } + // 'total_member_count' and 'last_activity' sorts require additional table joins. + if ( 'total_member_count' === $orderby ) { + $sql['from'] .= " JOIN {$bp->groups->table_name_groupmeta} gm_total_member_count ON ( g.id = gm_total_member_count.group_id )"; + $where_conditions['total_member_count'] = "gm_total_member_count.meta_key = 'total_member_count'"; + } elseif ( 'last_activity' === $orderby ) { + + $sql['from'] .= " JOIN {$bp->groups->table_name_groupmeta} gm_last_activity on ( g.id = gm_last_activity.group_id )"; + $where_conditions['last_activity'] = "gm_last_activity.meta_key = 'last_activity'"; + } + // Sanitize 'order'. $order = bp_esc_sql_order( $order ); @@ -887,15 +1084,23 @@ class BP_Groups_Group { // Random order is a special case. if ( 'rand()' === $orderby ) { - $sql[] = "ORDER BY rand()"; + $sql['orderby'] = "ORDER BY rand()"; } else { - $sql[] = "ORDER BY {$orderby} {$order}"; + $sql['orderby'] = "ORDER BY {$orderby} {$order}"; } if ( ! empty( $r['per_page'] ) && ! empty( $r['page'] ) && $r['per_page'] != -1 ) { $sql['pagination'] = $wpdb->prepare( "LIMIT %d, %d", intval( ( $r['page'] - 1 ) * $r['per_page']), intval( $r['per_page'] ) ); } + $where = ''; + if ( ! empty( $where_conditions ) ) { + $sql['where'] = implode( ' AND ', $where_conditions ); + $where = "WHERE {$sql['where']}"; + } + + $paged_groups_sql = "{$sql['select']} FROM {$sql['from']} {$where} {$sql['orderby']} {$sql['pagination']}"; + /** * Filters the pagination SQL statement. * @@ -905,61 +1110,31 @@ class BP_Groups_Group { * @param array $sql Array of SQL parts before concatenation. * @param array $r Array of parsed arguments for the get method. */ - $paged_groups_sql = apply_filters( 'bp_groups_get_paged_groups_sql', join( ' ', (array) $sql ), $sql, $r ); - $paged_groups = $wpdb->get_results( $paged_groups_sql ); - - $total_sql['select'] = "SELECT COUNT(DISTINCT g.id) FROM {$bp->groups->table_name} g, {$bp->groups->table_name_groupmeta} gm"; - - if ( ! empty( $r['user_id'] ) ) { - $total_sql['select'] .= ", {$bp->groups->table_name_members} m"; - } - - if ( ! empty( $sql['hidden'] ) ) { - $total_sql['where'][] = "g.status != 'hidden'"; - } + $paged_groups_sql = apply_filters( 'bp_groups_get_paged_groups_sql', $paged_groups_sql, $sql, $r ); - if ( ! empty( $sql['search'] ) ) { - $total_sql['where'][] = $wpdb->prepare( "( g.name LIKE %s OR g.description LIKE %s )", $search_terms_like, $search_terms_like ); - } - - if ( ! empty( $r['user_id'] ) ) { - $total_sql['where'][] = $wpdb->prepare( "m.group_id = g.id AND m.user_id = %d AND m.is_confirmed = 1 AND m.is_banned = 0", $r['user_id'] ); - } - - // Temporary implementation of meta_query for total count - // See #5099. - if ( ! empty( $meta_query_sql['where'] ) ) { - // Join the groupmeta table. - $total_sql['select'] .= ", ". substr( $meta_query_sql['join'], 0, -2 ); - - // Modify the meta_query clause from paged_sql for our syntax. - $meta_query_clause = preg_replace( '/^\s*AND/', '', $meta_query_sql['where'] ); - $total_sql['where'][] = $meta_query_clause; - } - - // Trim leading 'AND' to match `$total_sql` query style. - if ( ! empty( $group_type_clause ) ) { - $total_sql['where'][] = preg_replace( '/^\s*AND\s*/', '', $group_type_clause ); + $cached = bp_core_get_incremented_cache( $paged_groups_sql, 'bp_groups' ); + if ( false === $cached ) { + $paged_group_ids = $wpdb->get_col( $paged_groups_sql ); + bp_core_set_incremented_cache( $paged_groups_sql, 'bp_groups', $paged_group_ids ); + } else { + $paged_group_ids = $cached; } - // Already escaped in the paginated results block. - if ( ! empty( $include ) ) { - $total_sql['where'][] = "g.id IN ({$include})"; + $uncached_group_ids = bp_get_non_cached_ids( $paged_group_ids, 'bp_groups' ); + if ( $uncached_group_ids ) { + $group_ids_sql = implode( ',', array_map( 'intval', $uncached_group_ids ) ); + $group_data_objects = $wpdb->get_results( "SELECT g.* FROM {$bp->groups->table_name} g WHERE g.id IN ({$group_ids_sql})" ); + foreach ( $group_data_objects as $group_data_object ) { + wp_cache_set( $group_data_object->id, $group_data_object, 'bp_groups' ); + } } - // Already escaped in the paginated results block. - if ( ! empty( $exclude ) ) { - $total_sql['where'][] = "g.id NOT IN ({$exclude})"; + $paged_groups = array(); + foreach ( $paged_group_ids as $paged_group_id ) { + $paged_groups[] = new BP_Groups_Group( $paged_group_id ); } - $total_sql['where'][] = "g.id = gm.group_id"; - $total_sql['where'][] = "gm.meta_key = 'last_activity'"; - - $t_sql = $total_sql['select']; - - if ( ! empty( $total_sql['where'] ) ) { - $t_sql .= " WHERE " . join( ' AND ', (array) $total_sql['where'] ); - } + $total_groups_sql = "SELECT COUNT(DISTINCT g.id) FROM {$sql['from']} $where"; /** * Filters the SQL used to retrieve total group results. @@ -970,24 +1145,43 @@ class BP_Groups_Group { * @param array $total_sql Array of SQL parts for the query. * @param array $r Array of parsed arguments for the get method. */ - $total_groups_sql = apply_filters( 'bp_groups_get_total_groups_sql', $t_sql, $total_sql, $r ); - $total_groups = $wpdb->get_var( $total_groups_sql ); + $total_groups_sql = apply_filters( 'bp_groups_get_total_groups_sql', $total_groups_sql, $sql, $r ); + + $cached = bp_core_get_incremented_cache( $total_groups_sql, 'bp_groups' ); + if ( false === $cached ) { + $total_groups = (int) $wpdb->get_var( $total_groups_sql ); + bp_core_set_incremented_cache( $total_groups_sql, 'bp_groups', $total_groups ); + } else { + $total_groups = (int) $cached; + } $group_ids = array(); foreach ( (array) $paged_groups as $group ) { $group_ids[] = $group->id; } - // Populate some extra information instead of querying each time in the loop. - if ( !empty( $r['populate_extras'] ) ) { - $paged_groups = BP_Groups_Group::get_group_extras( $paged_groups, $group_ids, $r['type'] ); - } - // Grab all groupmeta. if ( ! empty( $r['update_meta_cache'] ) ) { bp_groups_update_meta_cache( $group_ids ); } + // Prefetch all administrator IDs, if requested. + if ( $r['update_admin_cache'] ) { + BP_Groups_Member::prime_group_admins_mods_cache( $group_ids ); + } + + // Set up integer properties needing casting. + $int_props = array( + 'id', 'creator_id', 'enable_forum' + ); + + // Integer casting. + foreach ( $paged_groups as $key => $g ) { + foreach ( $int_props as $int_prop ) { + $paged_groups[ $key ]->{$int_prop} = (int) $paged_groups[ $key ]->{$int_prop}; + } + } + unset( $sql, $total_sql ); return array( 'groups' => $paged_groups, 'total' => $total_groups ); @@ -997,10 +1191,7 @@ class BP_Groups_Group { * Get the SQL for the 'meta_query' param in BP_Activity_Activity::get() * * We use WP_Meta_Query to do the heavy lifting of parsing the - * meta_query array and creating the necessary SQL clauses. However, - * since BP_Activity_Activity::get() builds its SQL differently than - * WP_Query, we have to alter the return value (stripping the leading - * AND keyword from the 'where' clause). + * meta_query array and creating the necessary SQL clauses. * * @since 1.8.0 * @@ -1024,22 +1215,8 @@ class BP_Groups_Group { $wpdb->groupmeta = buddypress()->groups->table_name_groupmeta; $meta_sql = $groups_meta_query->get_sql( 'group', 'g', 'id' ); - - // BP_Groups_Group::get uses the comma syntax for table - // joins, which means that we have to do some regex to - // convert the INNER JOIN and move the ON clause to a - // WHERE condition - // - // @todo It may be better in the long run to refactor - // the more general query syntax to accord better with - // BP/WP convention. - preg_match_all( '/JOIN (.+?) ON/', $meta_sql['join'], $matches_a ); - preg_match_all( '/ON \((.+?)\)/', $meta_sql['join'], $matches_b ); - - if ( ! empty( $matches_a[1] ) && ! empty( $matches_b[1] ) ) { - $sql_array['join'] = implode( ',', $matches_a[1] ) . ', '; - $sql_array['where'] = $meta_sql['where'] . ' AND ' . implode( ' AND ', $matches_b[1] ); - } + $sql_array['join'] = $meta_sql['join']; + $sql_array['where'] = self::strip_leading_and( $meta_sql['where'] ); } return $sql_array; @@ -1179,11 +1356,11 @@ class BP_Groups_Group { break; case 'last_activity' : - $order_by_term = 'last_activity'; + $order_by_term = 'gm_last_activity.meta_value'; break; case 'total_member_count' : - $order_by_term = 'CONVERT(gm1.meta_value, SIGNED)'; + $order_by_term = 'CONVERT(gm_total_member_count.meta_value, SIGNED)'; break; case 'name' : @@ -1425,9 +1602,9 @@ class BP_Groups_Group { $user_id = bp_loggedin_user_id(); foreach ( $paged_groups as &$group ) { - $group->is_member = groups_is_user_member( $user_id, $group->id ) ? '1' : '0'; - $group->is_invited = groups_is_user_invited( $user_id, $group->id ) ? '1' : '0'; - $group->is_pending = groups_is_user_pending( $user_id, $group->id ) ? '1' : '0'; + $group->is_member = groups_is_user_member( $user_id, $group->id ) ? 1 : 0; + $group->is_invited = groups_is_user_invited( $user_id, $group->id ) ? 1 : 0; + $group->is_pending = groups_is_user_pending( $user_id, $group->id ) ? 1 : 0; $group->is_banned = (bool) groups_is_user_banned( $user_id, $group->id ); } @@ -1648,15 +1825,15 @@ class BP_Groups_Group { // The no_results clauses are the same between IN and NOT IN. if ( false !== strpos( $sql_clauses['where'], '0 = 1' ) ) { - $clause = $sql_clauses['where']; + $clause = self::strip_leading_and( $sql_clauses['where'] ); // The tax_query clause generated for NOT IN can be used almost as-is. } elseif ( 'NOT IN' === $operator ) { - $clause = $sql_clauses['where']; + $clause = self::strip_leading_and( $sql_clauses['where'] ); // IN clauses must be converted to a subquery. } elseif ( preg_match( '/' . $wpdb->term_relationships . '\.term_taxonomy_id IN \([0-9, ]+\)/', $sql_clauses['where'], $matches ) ) { - $clause = " AND g.id IN ( SELECT object_id FROM $wpdb->term_relationships WHERE {$matches[0]} )"; + $clause = " g.id IN ( SELECT object_id FROM $wpdb->term_relationships WHERE {$matches[0]} )"; } if ( $switched ) { @@ -1665,4 +1842,19 @@ class BP_Groups_Group { return $clause; } + + /** + * Strips the leading AND and any surrounding whitespace from a string. + * + * Used here to normalize SQL fragments generated by `WP_Meta_Query` and + * other utility classes. + * + * @since 2.7.0 + * + * @param string $s String. + * @return string + */ + protected static function strip_leading_and( $s ) { + return preg_replace( '/^\s*AND\s*/', '', $s ); + } } diff --git a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-invite-template.php b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-invite-template.php index 86c7a3c382dc4fa388a2d02f6df80b080f2543eb..b304f08d79b16485fb636f76fef3f7df396b237e 100644 --- a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-invite-template.php +++ b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-invite-template.php @@ -197,10 +197,11 @@ class BP_Groups_Invite_Template { * * @since 1.1.0 * @since 2.3.0 `$this` parameter added. + * @since 2.7.0 Action renamed from `loop_start`. * * @param BP_Groups_Invite_Template $this Instance of the current Invites template. */ - do_action( 'loop_end', $this ); + do_action( 'group_invitation_loop_end', $this ); // Do some cleaning up after the loop $this->rewind_invites(); @@ -261,10 +262,11 @@ class BP_Groups_Invite_Template { * * @since 1.1.0 * @since 2.3.0 `$this` parameter added. + * @since 2.7.0 Action renamed from `loop_start`. * * @param BP_Groups_Invite_Template $this Instance of the current Invites template. */ - do_action( 'loop_start', $this ); + do_action( 'group_invitation_loop_start', $this ); } } } diff --git a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-list-table.php b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-list-table.php index 7cca49d44a982afb295cf3abf9badec2b69a931a..e052da0bd2a03eb23c433d39804e8edb27d1fecf 100644 --- a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-list-table.php +++ b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-list-table.php @@ -39,7 +39,7 @@ class BP_Groups_List_Table extends WP_List_Table { public $group_counts = 0; /** - * Multidimensional array of group visibility types and their groups. + * Multidimensional array of group visibility (status) types and their groups. * * @link https://buddypress.trac.wordpress.org/ticket/6277 * @var array @@ -59,6 +59,15 @@ class BP_Groups_List_Table extends WP_List_Table { 'plural' => 'groups', 'singular' => 'group', ) ); + + // Add Group Type column and bulk change controls. + if ( bp_groups_get_group_types() ) { + // Add Group Type column. + add_filter( 'bp_groups_list_table_get_columns', array( $this, 'add_type_column' ) ); + add_filter( 'bp_groups_admin_get_group_custom_column', array( $this, 'column_content_group_type' ), 10, 3 ); + // Add the bulk change select. + add_action( 'bp_groups_list_table_after_bulk_actions', array( $this, 'add_group_type_bulk_change_select' ) ); + } } /** @@ -122,7 +131,7 @@ class BP_Groups_List_Table extends WP_List_Table { $this->view = $_GET['group_status']; } - // We'll use the ids of group types for the 'include' param. + // We'll use the ids of group status types for the 'include' param. $this->group_type_ids = BP_Groups_Group::get_group_type_ids(); // Pass a dummy array if there are no groups of this type. @@ -137,9 +146,15 @@ class BP_Groups_List_Table extends WP_List_Table { $this->group_counts[ $group_type ] = count( $group_ids ); } + // Group types + $group_type = false; + if ( isset( $_GET['bp-group-type'] ) && null !== bp_groups_get_group_type_object( $_GET['bp-group-type'] ) ) { + $group_type = $_GET['bp-group-type']; + } + // If we're viewing a specific group, flatten all activities into a single array. if ( $include_id ) { - $groups = array( (array) groups_get_group( 'group_id=' . $include_id ) ); + $groups = array( (array) groups_get_group( $include_id ) ); } else { $groups_args = array( 'include' => $include, @@ -149,6 +164,10 @@ class BP_Groups_List_Table extends WP_List_Table { 'order' => $order ); + if ( $group_type ) { + $groups_args['group_type'] = $group_type; + } + $groups = array(); if ( bp_has_groups( $groups_args ) ) { while ( bp_groups() ) { @@ -243,6 +262,25 @@ class BP_Groups_List_Table extends WP_List_Table { $this->display_tablenav( 'bottom' ); } + /** + * Extra controls to be displayed between bulk actions and pagination + * + * @since 2.7.0 + * @access protected + * + * @param string $which + */ + protected function extra_tablenav( $which ) { + /** + * Fires just after the bulk action controls in the WP Admin groups list table. + * + * @since 2.7.0 + * + * @param string $which The location of the extra table nav markup: 'top' or 'bottom'. + */ + do_action( 'bp_groups_list_table_after_bulk_actions', $which ); + } + /** * Generate content for a single row of the table. * @@ -645,4 +683,110 @@ class BP_Groups_List_Table extends WP_List_Table { */ return apply_filters( 'bp_groups_admin_get_group_custom_column', '', $column_name, $item ); } + + // Group Types + + /** + * Add group type column to the WordPress admin groups list table. + * + * @since 2.7.0 + * + * @param array $columns Groups table columns. + * + * @return array $columns + */ + public function add_type_column( $columns = array() ) { + $columns['bp_group_type'] = _x( 'Group Type', 'Label for the WP groups table group type column', 'buddypress' ); + + return $columns; + } + + /** + * Markup for the Group Type column. + * + * @since 2.7.0 + * + * @param string $value Empty string. + * @param string $column_name Name of the column being rendered. + * @param array $item The current group item in the loop. + */ + public function column_content_group_type( $retval = '', $column_name, $item ) { + if ( 'bp_group_type' !== $column_name ) { + return $retval; + } + + add_filter( 'bp_get_group_type_directory_permalink', array( $this, 'group_type_permalink_use_admin_filter' ), 10, 2 ); + $retval = bp_get_group_type_list( $item['id'], array( + 'parent_element' => '', + 'label_element' => '', + 'label' => '', + 'show_all' => true + ) ); + remove_filter( 'bp_get_group_type_directory_permalink', array( $this, 'group_type_permalink_use_admin_filter' ), 10, 2 ); + + /** + * Filters the markup for the Group Type column. + * + * @since 2.7.0 + * + * @param string $retval Markup for the Group Type column. + * @parma array $item The current group item in the loop. + */ + echo apply_filters_ref_array( 'bp_groups_admin_get_group_type_column', array( $retval, $item ) ); + } + + /** + * Filters the group type list permalink in the Group Type column. + * + * Changes the group type permalink to use the admin URL. + * + * @since 2.7.0 + * + * @param string $retval Current group type permalink. + * @param object $type Group type object. + * @return string + */ + public function group_type_permalink_use_admin_filter( $retval, $type ) { + return add_query_arg( array( 'bp-group-type' => urlencode( $type->name ) ) ); + } + + /** + * Markup for the Group Type bulk change select. + * + * @since 2.7.0 + * + * @param string $which The location of the extra table nav markup: 'top' or 'bottom'. + */ + public function add_group_type_bulk_change_select( $which ) { + // `$which` is only passed in WordPress 4.6+. Avoid duplicating controls in earlier versions. + static $displayed = false; + if ( version_compare( bp_get_major_wp_version(), '4.6', '<' ) && $displayed ) { + return; + } + $displayed = true; + $id_name = 'bottom' === $which ? 'bp_change_type2' : 'bp_change_type'; + + $types = bp_groups_get_group_types( array(), 'objects' ); + ?> + <div class="alignleft actions"> + <label class="screen-reader-text" for="<?php echo $id_name; ?>"><?php _e( 'Change group type to…', 'buddypress' ) ?></label> + <select name="<?php echo $id_name; ?>" id="<?php echo $id_name; ?>" style="display:inline-block;float:none;"> + <option value=""><?php _e( 'Change group type to…', 'buddypress' ) ?></option> + + <?php foreach( $types as $type ) : ?> + + <option value="<?php echo esc_attr( $type->name ); ?>"><?php echo esc_html( $type->labels['singular_name'] ); ?></option> + + <?php endforeach; ?> + + <option value="remove_group_type"><?php _e( 'No Group Type', 'buddypress' ) ?></option> + + </select> + <?php + wp_nonce_field( 'bp-bulk-groups-change-type-' . bp_loggedin_user_id(), 'bp-bulk-groups-change-type-nonce' ); + submit_button( __( 'Change', 'buddypress' ), 'button', 'bp_change_group_type', false ); + ?> + </div> + <?php + } } diff --git a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member-suggestions.php b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member-suggestions.php index f008e0c62262997bc7428fb0439fa8f7f33664b8..2aade7b0859bac742ba1ada764a0ebb6dd1ce970 100644 --- a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member-suggestions.php +++ b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member-suggestions.php @@ -65,10 +65,7 @@ class BP_Groups_Member_Suggestions extends BP_Members_Suggestions { } // Check that the specified group_id exists, and that the current user can access it. - $the_group = groups_get_group( array( - 'group_id' => absint( $this->args['group_id'] ), - 'populate_extras' => true, - ) ); + $the_group = groups_get_group( absint( $this->args['group_id'] ) ); if ( $the_group->id === 0 || ! $the_group->user_has_access ) { return new WP_Error( 'access_denied' ); @@ -95,7 +92,6 @@ class BP_Groups_Member_Suggestions extends BP_Members_Suggestions { public function get_suggestions() { $user_query = array( 'count_total' => '', // Prevents total count. - 'populate_extras' => false, 'type' => 'alphabetical', 'group_role' => array( 'admin', 'member', 'mod' ), @@ -118,7 +114,6 @@ class BP_Groups_Member_Suggestions extends BP_Members_Suggestions { } else { $group_query = array( 'count_total' => '', // Prevents total count. - 'populate_extras' => false, 'type' => 'alphabetical', 'group_id' => absint( $this->args['group_id'] ), diff --git a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php index bfb1a765a0fcbfc59c3066c76659b291a7371ef0..a71d7fa9ec05595d2a7fec2aac17d89ef01a4b5a 100644 --- a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php +++ b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-member.php @@ -185,18 +185,18 @@ class BP_Groups_Member { $member = $wpdb->get_row($sql); if ( !empty( $member ) ) { - $this->id = $member->id; - $this->group_id = $member->group_id; - $this->user_id = $member->user_id; - $this->inviter_id = $member->inviter_id; - $this->is_admin = $member->is_admin; - $this->is_mod = $member->is_mod; - $this->is_banned = $member->is_banned; + $this->id = (int) $member->id; + $this->group_id = (int) $member->group_id; + $this->user_id = (int) $member->user_id; + $this->inviter_id = (int) $member->inviter_id; + $this->is_admin = (int) $member->is_admin; + $this->is_mod = (int) $member->is_mod; + $this->is_banned = (int) $member->is_banned; $this->user_title = $member->user_title; $this->date_modified = $member->date_modified; - $this->is_confirmed = $member->is_confirmed; + $this->is_confirmed = (int) $member->is_confirmed; $this->comments = $member->comments; - $this->invite_sent = $member->invite_sent; + $this->invite_sent = (int) $member->invite_sent; $this->user = new BP_Core_User( $this->user_id ); } @@ -678,7 +678,7 @@ class BP_Groups_Member { if ( $limit && $page ) { $pag_sql = $wpdb->prepare( " LIMIT %d, %d", intval( ( $page - 1 ) * $limit ), intval( $limit ) ); - } + } if ( $filter ) { $search_terms_like = '%' . bp_esc_like( $filter ) . '%'; @@ -786,7 +786,7 @@ class BP_Groups_Member { * @param int $group_id ID of the group. * @param string $type If 'sent', results are limited to those invitations * that have actually been sent (non-draft). Default: 'sent'. - * @return int|null The ID of the invitation if found, otherwise null. + * @return int|null The ID of the invitation if found; null if not found. */ public static function check_has_invite( $user_id, $group_id, $type = 'sent' ) { global $wpdb; @@ -800,7 +800,9 @@ class BP_Groups_Member { if ( 'sent' == $type ) $sql .= " AND invite_sent = 1"; - return $wpdb->get_var( $wpdb->prepare( $sql, $user_id, $group_id ) ); + $query = $wpdb->get_var( $wpdb->prepare( $sql, $user_id, $group_id ) ); + + return is_numeric( $query ) ? (int) $query : $query; } /** @@ -931,7 +933,8 @@ class BP_Groups_Member { * * @param int $user_id ID of the user. * @param int $group_id ID of the group. - * @return mixed + * @return int|null int 1 if user is banned; int 0 if user is not banned; + * null if user is not part of the group or if group doesn't exist. */ public static function check_is_banned( $user_id, $group_id ) { global $wpdb; @@ -941,7 +944,9 @@ class BP_Groups_Member { $bp = buddypress(); - return $wpdb->get_var( $wpdb->prepare( "SELECT is_banned FROM {$bp->groups->table_name_members} WHERE user_id = %d AND group_id = %d", $user_id, $group_id ) ); + $query = $wpdb->get_var( $wpdb->prepare( "SELECT is_banned FROM {$bp->groups->table_name_members} WHERE user_id = %d AND group_id = %d", $user_id, $group_id ) ); + + return is_numeric( $query ) ? (int) $query : $query; } /** @@ -951,8 +956,7 @@ class BP_Groups_Member { * * @param int $user_id ID of the user. * @param int $group_id ID of the group. - * @return int|null ID of the group if the user is the creator, - * otherwise false. + * @return int|null int of group ID if user is the creator; null on failure. */ public static function check_is_creator( $user_id, $group_id ) { global $wpdb; @@ -962,7 +966,9 @@ class BP_Groups_Member { $bp = buddypress(); - return $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->groups->table_name} WHERE creator_id = %d AND id = %d", $user_id, $group_id ) ); + $query = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->groups->table_name} WHERE creator_id = %d AND id = %d", $user_id, $group_id ) ); + + return is_numeric( $query ) ? (int) $query : $query; } /** @@ -972,7 +978,7 @@ class BP_Groups_Member { * * @param int $user_id ID of the user. * @param int $group_id ID of the group. - * @return int|null ID of the membership if found, otherwise false. + * @return int Database ID of the membership if found; int 0 on failure. */ public static function check_for_membership_request( $user_id, $group_id ) { global $wpdb; @@ -1001,9 +1007,9 @@ class BP_Groups_Member { // If the user is logged in and viewing their random groups, we can show hidden and private groups. if ( bp_is_my_profile() ) { - return $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT group_id FROM {$bp->groups->table_name_members} WHERE user_id = %d AND is_confirmed = 1 AND is_banned = 0 ORDER BY rand() LIMIT %d", $user_id, $total_groups ) ); + return array_map( 'intval', $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT group_id FROM {$bp->groups->table_name_members} WHERE user_id = %d AND is_confirmed = 1 AND is_banned = 0 ORDER BY rand() LIMIT %d", $user_id, $total_groups ) ) ); } else { - return $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT m.group_id FROM {$bp->groups->table_name_members} m, {$bp->groups->table_name} g WHERE m.group_id = g.id AND g.status != 'hidden' AND m.user_id = %d AND m.is_confirmed = 1 AND m.is_banned = 0 ORDER BY rand() LIMIT %d", $user_id, $total_groups ) ); + return array_map( 'intval', $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT m.group_id FROM {$bp->groups->table_name_members} m, {$bp->groups->table_name} g WHERE m.group_id = g.id AND g.status != 'hidden' AND m.user_id = %d AND m.is_confirmed = 1 AND m.is_banned = 0 ORDER BY rand() LIMIT %d", $user_id, $total_groups ) ) ); } } @@ -1020,7 +1026,7 @@ class BP_Groups_Member { $bp = buddypress(); - return $wpdb->get_col( $wpdb->prepare( "SELECT user_id FROM {$bp->groups->table_name_members} WHERE group_id = %d AND is_confirmed = 1 AND is_banned = 0", $group_id ) ); + return array_map( 'intval', $wpdb->get_col( $wpdb->prepare( "SELECT user_id FROM {$bp->groups->table_name_members} WHERE group_id = %d AND is_confirmed = 1 AND is_banned = 0", $group_id ) ) ); } /** @@ -1037,15 +1043,62 @@ class BP_Groups_Member { $group_admins = wp_cache_get( $group_id, 'bp_group_admins' ); if ( false === $group_admins ) { - $bp = buddypress(); - $group_admins = $wpdb->get_results( $wpdb->prepare( "SELECT user_id, date_modified FROM {$bp->groups->table_name_members} WHERE group_id = %d AND is_admin = 1 AND is_banned = 0", $group_id ) ); + self::prime_group_admins_mods_cache( array( $group_id ) ); + $group_admins = wp_cache_get( $group_id, 'bp_group_admins' ); + } - wp_cache_set( $group_id, $group_admins, 'bp_group_admins' ); + // Integer casting. + foreach ( (array) $group_admins as $key => $data ) { + $group_admins[ $key ]->user_id = (int) $group_admins[ $key ]->user_id; } return $group_admins; } + /** + * Prime the bp_group_admins cache for one or more groups. + * + * @since 2.7.0 + * + * @param array $group_ids IDs of the groups. + * @return bool True on success. + */ + public static function prime_group_admins_mods_cache( $group_ids ) { + global $wpdb; + + $uncached = bp_get_non_cached_ids( $group_ids, 'bp_group_admins' ); + + if ( $uncached ) { + $bp = buddypress(); + $uncached_sql = implode( ',', array_map( 'intval', $uncached ) ); + $group_admin_mods = $wpdb->get_results( "SELECT user_id, group_id, date_modified, is_admin, is_mod FROM {$bp->groups->table_name_members} WHERE group_id IN ({$uncached_sql}) AND ( is_admin = 1 OR is_mod = 1 ) AND is_banned = 0" ); + + $admins = $mods = array(); + if ( $group_admin_mods ) { + foreach ( $group_admin_mods as $group_admin_mod ) { + $obj = new stdClass(); + $obj->user_id = $group_admin_mod->user_id; + $obj->date_modified = $group_admin_mod->date_modified; + + if ( $group_admin_mod->is_admin ) { + $admins[ $group_admin_mod->group_id ][] = $obj; + } else { + $mods[ $group_admin_mod->group_id ][] = $obj; + } + } + } + + // Prime cache for all groups, even those with no matches. + foreach ( $uncached as $group_id ) { + $group_admins = isset( $admins[ $group_id ] ) ? $admins[ $group_id ] : array(); + wp_cache_set( $group_id, $group_admins, 'bp_group_admins' ); + + $group_mods = isset( $mods[ $group_id ] ) ? $mods[ $group_id ] : array(); + wp_cache_set( $group_id, $group_mods, 'bp_group_mods' ); + } + } + } + /** * Get a list of all a given group's moderators. * @@ -1057,9 +1110,19 @@ class BP_Groups_Member { public static function get_group_moderator_ids( $group_id ) { global $wpdb; - $bp = buddypress(); + $group_mods = wp_cache_get( $group_id, 'bp_group_mods' ); + + if ( false === $group_mods ) { + self::prime_group_admins_mods_cache( array( $group_id ) ); + $group_mods = wp_cache_get( $group_id, 'bp_group_mods' ); + } + + // Integer casting. + foreach ( (array) $group_mods as $key => $data ) { + $group_mods[ $key ]->user_id = (int) $group_mods[ $key ]->user_id; + } - return $wpdb->get_results( $wpdb->prepare( "SELECT user_id, date_modified FROM {$bp->groups->table_name_members} WHERE group_id = %d AND is_mod = 1 AND is_banned = 0", $group_id ) ); + return $group_mods; } /** @@ -1092,7 +1155,7 @@ class BP_Groups_Member { $bp = buddypress(); - return $wpdb->get_col( $wpdb->prepare( "SELECT user_id FROM {$bp->groups->table_name_members} WHERE group_id = %d AND is_confirmed = 0 AND inviter_id = 0", $group_id ) ); + return array_map( 'intval', $wpdb->get_col( $wpdb->prepare( "SELECT user_id FROM {$bp->groups->table_name_members} WHERE group_id = %d AND is_confirmed = 0 AND inviter_id = 0", $group_id ) ) ); } /** diff --git a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-template.php b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-template.php index 043d8f4b57acec652c5040d552f4c8b7878b7389..971d66974ceede262c1dea3a14f2354ac847168b 100644 --- a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-template.php +++ b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-template.php @@ -165,13 +165,14 @@ class BP_Groups_Template { 'slug' => false, 'include' => false, 'exclude' => false, + 'parent_id' => null, 'search_terms' => '', 'group_type' => '', 'group_type__in' => '', 'group_type__not_in' => '', 'meta_query' => false, - 'populate_extras' => true, 'update_meta_cache' => true, + 'update_admin_cache' => false, ); $r = wp_parse_args( $args, $defaults ); @@ -194,10 +195,7 @@ class BP_Groups_Template { $group = groups_get_current_group(); } else { - $group = groups_get_group( array( - 'group_id' => BP_Groups_Group::get_id_from_slug( $r['slug'] ), - 'populate_extras' => $r['populate_extras'], - ) ); + $group = groups_get_group( BP_Groups_Group::get_id_from_slug( $r['slug'] ) ); } // Backwards compatibility - the 'group_id' variable is not part of the @@ -226,8 +224,9 @@ class BP_Groups_Template { 'group_type__not_in' => $group_type__not_in, 'include' => $include, 'exclude' => $exclude, - 'populate_extras' => $populate_extras, + 'parent_id' => $parent_id, 'update_meta_cache' => $update_meta_cache, + 'update_admin_cache' => $update_admin_cache, 'show_hidden' => $show_hidden, ) ); } diff --git a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-theme-compat.php b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-theme-compat.php index cf201933c3c985428268a722bc921d482f094c06..0f9f113c4d77408aabe91012ea3c9a71dca19b65 100644 --- a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-theme-compat.php +++ b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-theme-compat.php @@ -40,7 +40,7 @@ class BP_Groups_Theme_Compat { return; // Group Directory. - if ( ! bp_current_action() && ! bp_current_item() ) { + if ( bp_is_groups_directory() ) { bp_update_is_directory( true, 'groups' ); /** @@ -83,6 +83,12 @@ class BP_Groups_Theme_Compat { * @return array $templates Array of custom templates to look for. */ public function directory_template_hierarchy( $templates ) { + // Set up the template hierarchy. + $new_templates = array(); + if ( '' !== bp_get_current_group_directory_type() ) { + $new_templates[] = 'groups/index-directory-type-' . sanitize_file_name( bp_get_current_group_directory_type() ) . '.php'; + } + $new_templates[] = 'groups/index-directory.php'; /** * Filters the Groups directory page template hierarchy based on priority. @@ -91,9 +97,7 @@ class BP_Groups_Theme_Compat { * * @param array $value Array of default template files to use. */ - $new_templates = apply_filters( 'bp_template_hierarchy_groups_directory', array( - 'groups/index-directory.php' - ) ); + $new_templates = apply_filters( 'bp_template_hierarchy_groups_directory', $new_templates ); // Merge new templates with existing stack. // @see bp_get_theme_compat_templates(). diff --git a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-widget.php b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-widget.php index e25cc83c8eea76dbfd37643c0ed6e5eca23605be..d0fda5f886bf6d65d33ddba8af13522f7b0800eb 100644 --- a/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-widget.php +++ b/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-widget.php @@ -125,7 +125,7 @@ class BP_Groups_Widget extends WP_Widget { <a href="<?php bp_groups_directory_permalink(); ?>" id="popular-groups" <?php if ( $instance['group_default'] == 'popular' ) : ?> class="selected"<?php endif; ?>><?php _e("Popular", 'buddypress') ?></a> </div> - <ul id="groups-list" class="item-list"> + <ul id="groups-list" class="item-list" aria-live="polite" aria-relevant="all" aria-atomic="true"> <?php while ( bp_groups() ) : bp_the_group(); ?> <li <?php bp_group_class(); ?>> <div class="item-avatar"> diff --git a/wp-content/plugins/buddypress/bp-loader.php b/wp-content/plugins/buddypress/bp-loader.php index c4bc8beafe912aa1690203a0919201829ebaa079..103569cd8a44cc423bc3765c3a57c6f2e533f44c 100644 --- a/wp-content/plugins/buddypress/bp-loader.php +++ b/wp-content/plugins/buddypress/bp-loader.php @@ -12,10 +12,10 @@ /** * Plugin Name: BuddyPress * Plugin URI: https://buddypress.org/ - * Description: BuddyPress helps you build any type of community website using WordPress, with member profiles, activity streams, user groups, messaging, and more. + * Description: BuddyPress helps site builders and WordPress developers add community features to their websites, with user profile fields, activity streams, messaging, and notifications. * Author: The BuddyPress Community * Author URI: https://buddypress.org/ - * Version: 2.6.2 + * Version: 2.7.3 * Text Domain: buddypress * Domain Path: /bp-languages/ * License: GPLv2 or later (license.txt) @@ -330,13 +330,13 @@ class BuddyPress { /** Versions **********************************************************/ - $this->version = '2.6.2'; - $this->db_version = 10469; + $this->version = '2.7.3'; + $this->db_version = 11105; /** Loading ***********************************************************/ /** - * Filters the load_deprecated property value. + * Whether to load deprecated code or not. * * @since 2.0.0 * @@ -509,7 +509,7 @@ class BuddyPress { } // Skip or load deprecated content - if ( false !== $this->load_deprecated ) { + if ( true === $this->load_deprecated ) { require( $this->plugin_dir . 'bp-core/deprecated/1.2.php' ); require( $this->plugin_dir . 'bp-core/deprecated/1.5.php' ); require( $this->plugin_dir . 'bp-core/deprecated/1.6.php' ); @@ -522,6 +522,7 @@ class BuddyPress { require( $this->plugin_dir . 'bp-core/deprecated/2.4.php' ); require( $this->plugin_dir . 'bp-core/deprecated/2.5.php' ); require( $this->plugin_dir . 'bp-core/deprecated/2.6.php' ); + require( $this->plugin_dir . 'bp-core/deprecated/2.7.php' ); } } diff --git a/wp-content/plugins/buddypress/bp-members/bp-members-cache.php b/wp-content/plugins/buddypress/bp-members/bp-members-cache.php index 49b4b503460872920947fb6417bce5da2405645a..54185a4549aeffb21fe0407fb2b215737a5cb818 100644 --- a/wp-content/plugins/buddypress/bp-members/bp-members-cache.php +++ b/wp-content/plugins/buddypress/bp-members/bp-members-cache.php @@ -20,7 +20,7 @@ defined( 'ABSPATH' ) || exit; function bp_members_prefetch_member_type( BP_User_Query $bp_user_query ) { $uncached_member_ids = bp_get_non_cached_ids( $bp_user_query->user_ids, 'bp_member_member_type' ); - $member_types = bp_get_object_terms( $uncached_member_ids, 'bp_member_type', array( + $member_types = bp_get_object_terms( $uncached_member_ids, bp_get_member_type_tax_name(), array( 'fields' => 'all_with_object_id', ) ); @@ -61,3 +61,15 @@ function bp_members_clear_member_type_cache( $user_id ) { } add_action( 'wpmu_delete_user', 'bp_members_clear_member_type_cache' ); add_action( 'delete_user', 'bp_members_clear_member_type_cache' ); + +/** + * Invalidate activity caches when a user's last_activity value is changed. + * + * @since 2.7.0 + * + * @return bool True on success, false on failure. + */ +function bp_members_reset_activity_cache_incrementor() { + return bp_core_reset_incrementor( 'bp_activity_with_last_activity' ); +} +add_action( 'bp_core_user_updated_last_activity', 'bp_members_reset_activity_cache_incrementor' ); diff --git a/wp-content/plugins/buddypress/bp-members/bp-members-functions.php b/wp-content/plugins/buddypress/bp-members/bp-members-functions.php index 8ee5a6d13ab8d2cf814c3c1a1d2083d145395bf7..ea268e5d1eaa0371e071cd05d4158ab1eccc9d9c 100644 --- a/wp-content/plugins/buddypress/bp-members/bp-members-functions.php +++ b/wp-content/plugins/buddypress/bp-members/bp-members-functions.php @@ -2505,6 +2505,33 @@ function bp_get_displayed_user() { /** Member Types *************************************************************/ +/** + * Output the slug of the member type taxonomy. + * + * @since 2.7.0 + */ +function bp_member_type_tax_name() { + echo bp_get_member_type_tax_name(); +} + + /** + * Return the slug of the member type taxonomy. + * + * @since 2.7.0 + * + * @return string The unique member taxonomy slug. + */ + function bp_get_member_type_tax_name() { + /** + * Filters the slug of the member type taxonomy. + * + * @since 2.7.0 + * + * @param string $value Member type taxonomy slug. + */ + return apply_filters( 'bp_get_member_type_tax_name', 'bp_member_type' ); + } + /** * Register a member type. * @@ -2676,7 +2703,7 @@ function bp_set_member_type( $user_id, $member_type, $append = false ) { return false; } - $retval = bp_set_object_terms( $user_id, $member_type, 'bp_member_type', $append ); + $retval = bp_set_object_terms( $user_id, $member_type, bp_get_member_type_tax_name(), $append ); // Bust the cache if the type has been updated. if ( ! is_wp_error( $retval ) ) { @@ -2712,7 +2739,7 @@ function bp_remove_member_type( $user_id, $member_type ) { return false; } - $deleted = bp_remove_object_terms( $user_id, $member_type, 'bp_member_type' ); + $deleted = bp_remove_object_terms( $user_id, $member_type, bp_get_member_type_tax_name() ); // Bust the cache if the type has been removed. if ( ! is_wp_error( $deleted ) ) { @@ -2747,10 +2774,18 @@ function bp_get_member_type( $user_id, $single = true ) { $types = wp_cache_get( $user_id, 'bp_member_member_type' ); if ( false === $types ) { - $types = bp_get_object_terms( $user_id, 'bp_member_type' ); + $raw_types = bp_get_object_terms( $user_id, bp_get_member_type_tax_name() ); + + if ( ! is_wp_error( $raw_types ) ) { + $types = array(); + + // Only include currently registered group types. + foreach ( $raw_types as $mtype ) { + if ( bp_get_member_type_object( $mtype->name ) ) { + $types[] = $mtype->name; + } + } - if ( ! is_wp_error( $types ) ) { - $types = wp_list_pluck( $types, 'name' ); wp_cache_set( $user_id, $types, 'bp_member_member_type' ); } } diff --git a/wp-content/plugins/buddypress/bp-members/bp-members-screens.php b/wp-content/plugins/buddypress/bp-members/bp-members-screens.php index 969bcd2fd4c5e1209a3fe94eb0ffdd4f97b4b961..d90c24058a431eecb90486de03fe031642d1e53a 100644 --- a/wp-content/plugins/buddypress/bp-members/bp-members-screens.php +++ b/wp-content/plugins/buddypress/bp-members/bp-members-screens.php @@ -110,7 +110,7 @@ function bp_core_screen_signup() { // If the signup page is submitted, validate and save. } elseif ( isset( $_POST['signup_submit'] ) && bp_verify_nonce_request( 'bp_new_signup' ) ) { - /** + /** * Fires before the validation of a new signup. * * @since 2.0.0 @@ -181,7 +181,7 @@ function bp_core_screen_signup() { } } - /** + /** * Fires after the validation of a new signup. * * @since 1.1.0 diff --git a/wp-content/plugins/buddypress/bp-members/bp-members-template.php b/wp-content/plugins/buddypress/bp-members/bp-members-template.php index 0f694304b63c2476e55b15fa3d2a6640f656cd90..140f5d8104e53a00ff0ccab29b5fd7936c73ddae 100644 --- a/wp-content/plugins/buddypress/bp-members/bp-members-template.php +++ b/wp-content/plugins/buddypress/bp-members/bp-members-template.php @@ -610,7 +610,7 @@ function bp_member_class( $classes = array() ) { if ( ! empty( $members_template->member->last_activity ) ) { // Calculate some times. - $current_time = strtotime( bp_core_current_time() ); + $current_time = bp_core_current_time( true, 'timestamp' ); $last_activity = strtotime( $members_template->member->last_activity ); $still_online = strtotime( '+5 minutes', $last_activity ); @@ -829,7 +829,7 @@ function bp_member_avatar( $args = '' ) { * @since 1.2.0 */ function bp_member_permalink() { - echo bp_get_member_permalink(); + echo esc_url( bp_get_member_permalink() ); } /** * Get the permalink for the current member in the loop. @@ -856,7 +856,7 @@ function bp_member_permalink() { * * @since 1.2.0 */ - function bp_member_link() { echo bp_get_member_permalink(); } + function bp_member_link() { echo esc_url( bp_get_member_permalink() ); } /** * Alias of {@link bp_get_member_permalink()}. @@ -933,7 +933,7 @@ function bp_member_name() { * * @since 1.2.0 * - * @param array $args See {@link bp_get_member_last_active()}. + * @param array $args {@see bp_get_member_last_active()}. */ function bp_member_last_active( $args = array() ) { echo bp_get_member_last_active( $args ); @@ -942,13 +942,14 @@ function bp_member_last_active( $args = array() ) { * Return the current member's last active time. * * @since 1.2.0 + * @since 2.7.0 Added 'relative' as a parameter to $args. * * @param array $args { * Array of optional arguments. - * @type mixed $active_format If true, formatted "active 5 minutes - * ago". If false, formatted "5 minutes ago". - * If string, should be sprintf'able like - * 'last seen %s ago'. + * @type mixed $active_format If true, formatted "active 5 minutes ago". If false, formatted "5 minutes + * ago". If string, should be sprintf'able like 'last seen %s ago'. + * @type bool $relative If true, will return relative time "5 minutes ago". If false, will return + * date from database. Default: true. * } * @return string */ @@ -957,7 +958,8 @@ function bp_member_last_active( $args = array() ) { // Parse the activity format. $r = bp_parse_args( $args, array( - 'active_format' => true + 'active_format' => true, + 'relative' => true, ) ); // Backwards compatibility for anyone forcing a 'true' active_format. @@ -967,13 +969,18 @@ function bp_member_last_active( $args = array() ) { // Member has logged in at least one time. if ( isset( $members_template->member->last_activity ) ) { + // We do not want relative time, so return now. + // @todo Should the 'bp_member_last_active' filter be applied here? + if ( ! $r['relative'] ) { + return esc_attr( $members_template->member->last_activity ); + } // Backwards compatibility for pre 1.5 'ago' strings. $last_activity = ! empty( $r['active_format'] ) ? bp_core_get_last_activity( $members_template->member->last_activity, $r['active_format'] ) : bp_core_time_since( $members_template->member->last_activity ); - // Member has never logged in or been active. + // Member has never logged in or been active. } else { $last_activity = __( 'Never active', 'buddypress' ); } @@ -1144,27 +1151,62 @@ function bp_member_profile_data( $args = '' ) { * @param string|bool $data Profile data if found, otherwise false. * @param array $r Array of parsed arguments. */ - return apply_filters( 'bp_get_member_profile_data', $data, $r ); + $data = apply_filters( 'bp_get_member_profile_data', $data, $r ); + + /** + * Filters the resulting piece of member profile data by field type. + * + * This is a dynamic filter based on field type of the current field requested. + * + * @since 2.7.0 + * + * @param string|bool $data Profile data if found, otherwise false. + * @param array $r Array of parsed arguments. + */ + $data = apply_filters( 'bp_get_member_profile_data_' . $profile_data[ $r['field'] ]['field_type'], $data, $r ); + + return $data; } /** * Output the 'registered [x days ago]' string for the current member. * * @since 1.2.0 + * @since 2.7.0 Added $args as a parameter. + * + * @param array $args Optional. {@see bp_get_member_registered()} */ -function bp_member_registered() { - echo bp_get_member_registered(); +function bp_member_registered( $args = array() ) { + echo bp_get_member_registered( $args ); } /** * Get the 'registered [x days ago]' string for the current member. * * @since 1.2.0 + * @since 2.7.0 Added $args as a parameter. + * + * @param array $args { + * Array of optional parameters. + * + * @type bool $relative Optional. If true, returns relative registered date. eg. registered 5 months ago. + * If false, returns registered date value from database. + * } * * @return string */ - function bp_get_member_registered() { + function bp_get_member_registered( $args = array() ) { global $members_template; + $r = wp_parse_args( $args, array( + 'relative' => true, + ) ); + + // We do not want relative time, so return now. + // @todo Should the 'bp_member_registered' filter be applied here? + if ( ! $r['relative'] ) { + return esc_attr( $members_template->member->user_registered ); + } + $registered = esc_attr( bp_core_get_last_activity( $members_template->member->user_registered, _x( 'registered %s', 'Records the timestamp that the user registered into the activity stream', 'buddypress' ) ) ); /** @@ -1715,7 +1757,7 @@ function bp_user_firstname() { * @since 1.2.4 */ function bp_loggedin_user_link() { - echo bp_get_loggedin_user_link(); + echo esc_url( bp_get_loggedin_user_link() ); } /** * Get the link for the logged-in user's profile. @@ -1742,7 +1784,7 @@ function bp_loggedin_user_link() { * @since 1.2.4 */ function bp_displayed_user_link() { - echo bp_get_displayed_user_link(); + echo esc_url( bp_get_displayed_user_link() ); } /** * Get the link for the displayed user's profile. @@ -1948,6 +1990,7 @@ function bp_loggedin_user_username() { */ return apply_filters( 'bp_get_loggedin_user_username', $username ); } + /** * Echo the current member type message. * @@ -2464,23 +2507,6 @@ function bp_signup_allowed() { * @return bool */ function bp_get_signup_allowed() { - $bp = buddypress(); - - $signup_allowed = false; - - if ( is_multisite() ) { - $registration = bp_core_get_root_option( 'registration' ); - - if ( in_array( $registration, array( 'all', 'user' ) ) ) { - $signup_allowed = true; - } - - } else { - if ( bp_get_option( 'users_can_register') ) { - $signup_allowed = true; - } - } - /** * Filters whether or not new signups are allowed. * @@ -2488,7 +2514,7 @@ function bp_signup_allowed() { * * @param bool $signup_allowed Whether or not new signups are allowed. */ - return apply_filters( 'bp_get_signup_allowed', $signup_allowed ); + return apply_filters( 'bp_get_signup_allowed', (bool) bp_get_option( 'users_can_register' ) ); } /** diff --git a/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-members-widget.php b/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-members-widget.php index b501e62a39d2ec29499ddfa42dbf913039baf5a8..6a49de9fac2bde3058d3aa0df15307c9fc85a43a 100644 --- a/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-members-widget.php +++ b/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-members-widget.php @@ -88,10 +88,7 @@ class BP_Core_Members_Widget extends WP_Widget { $separator = apply_filters( 'bp_members_widget_separator', '|' ); // Output before widget HTMl, title (and maybe content before & after it). - echo $args['before_widget'] - . $args['before_title'] - . $title - . $args['after_title']; + echo $args['before_widget'] . $args['before_title'] . $title . $args['after_title']; // Setup args for querying members. $members_args = array( @@ -123,7 +120,7 @@ class BP_Core_Members_Widget extends WP_Widget { </div> - <ul id="members-list" class="item-list"> + <ul id="members-list" class="item-list" aria-live="polite" aria-relevant="all" aria-atomic="true"> <?php while ( bp_members() ) : bp_the_member(); ?> @@ -135,14 +132,13 @@ class BP_Core_Members_Widget extends WP_Widget { <div class="item"> <div class="item-title fn"><a href="<?php bp_member_permalink(); ?>" title="<?php bp_member_name(); ?>"><?php bp_member_name(); ?></a></div> <div class="item-meta"> - <span class="activity"><?php - if ( 'newest' === $settings['member_default'] ) : - bp_member_registered(); - elseif ( 'active' === $settings['member_default'] ) : - bp_member_last_active(); - elseif ( 'popular' === $settings['member_default'] ) : - bp_member_total_friend_count(); - endif; ?></span> + <?php if ( 'newest' == $settings['member_default'] ) : ?> + <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_registered( array( 'relative' => false ) ) ); ?>"><?php bp_member_registered(); ?></span> + <?php elseif ( 'active' == $settings['member_default'] ) : ?> + <span class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_member_last_active( array( 'relative' => false ) ) ); ?>"><?php bp_member_last_active(); ?></span> + <?php else : ?> + <span class="activity"><?php bp_member_total_friend_count(); ?></span> + <?php endif; ?> </div> </div> </li> diff --git a/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-recently-active-widget.php b/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-recently-active-widget.php index 11239d141c00a9c1da35e3bf92168945a8630ed1..9affc7bd0712a73dacf15ef47b8252da23da6b8e 100644 --- a/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-recently-active-widget.php +++ b/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-recently-active-widget.php @@ -61,9 +61,7 @@ class BP_Core_Recently_Active_Widget extends WP_Widget { $title = apply_filters( 'widget_title', $settings['title'], $settings, $this->id_base ); echo $args['before_widget']; - echo $args['before_title'] - . $title - . $args['after_title']; + echo $args['before_title'] . $title . $args['after_title']; // Setup args for querying members. $members_args = array( diff --git a/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-whos-online-widget.php b/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-whos-online-widget.php index 7a70b301cc2bfac0270336230dfc6874860ac5e5..a7d89f2283adf13049f4f8a416d553c5bf3231f6 100644 --- a/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-whos-online-widget.php +++ b/wp-content/plugins/buddypress/bp-members/classes/class-bp-core-whos-online-widget.php @@ -60,10 +60,7 @@ class BP_Core_Whos_Online_Widget extends WP_Widget { */ $title = apply_filters( 'widget_title', $settings['title'], $settings, $this->id_base ); - echo $args['before_widget'] - . $args['before_title'] - . $title - . $args['after_title']; + echo $args['before_widget'] . $args['before_title'] . $title . $args['after_title']; // Setup args for querying members. $members_args = array( diff --git a/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php b/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php index 14930875ae623448261ac5fc919a0c679ddfffa6..a0f19317e921ec02ffb87c9d1d0899d0fa38a2af 100644 --- a/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php +++ b/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-admin.php @@ -214,6 +214,62 @@ class BP_Members_Admin { add_filter( "views_{$user_screen}", array( $this, 'signup_filter_view' ), 10, 1 ); add_filter( 'set-screen-option', array( $this, 'signup_screen_options' ), 10, 3 ); } + + // Registration is turned on. + add_action( 'update_site_option_registration', array( $this, 'multisite_registration_on' ), 10, 2 ); + add_action( 'update_option_users_can_register', array( $this, 'single_site_registration_on' ), 10, 2 ); + } + + /** Users List - Members Types *************************************** + */ + + if ( is_admin() && bp_get_member_types() ) { + + // Add "Change type" <select> to WP admin users list table and process bulk members type changes. + add_action( 'restrict_manage_users', array( $this, 'users_table_output_type_change_select' ) ); + add_action( 'load-users.php', array( $this, 'users_table_process_bulk_type_change' ) ); + + // Add the member type column to the WP admin users list table. + add_filter( 'manage_users_columns', array( $this, 'users_table_add_type_column' ) ); + add_filter( 'manage_users_custom_column', array( $this, 'users_table_populate_type_cell' ), 10, 3 ); + + // Filter WP admin users list table to include users of the specified type. + add_filter( 'pre_get_users', array( $this, 'users_table_filter_by_type' ) ); + } + } + + /** + * Create registration pages when multisite user registration is turned on. + * + * @since 2.7.0 + * + * @param string $option_name Current option name; value is always 'registration'. + * @param string $value + */ + public function multisite_registration_on( $option_name, $value ) { + if ( 'user' === $value || 'all' === $value ) { + bp_core_add_page_mappings( array( + 'register' => 1, + 'activate' => 1 + ) ); + } + } + + /** + * Create registration pages when single site registration is turned on. + * + * @since 2.7.0 + * + * @param string $old_value + * @param string $value + */ + public function single_site_registration_on( $old_value, $value ) { + // Single site. + if ( ! is_multisite() && ! empty( $value ) ) { + bp_core_add_page_mappings( array( + 'register' => 1, + 'activate' => 1 + ) ); } } @@ -1905,6 +1961,7 @@ class BP_Members_Admin { * @since 2.0.0 * * @param string $action Delete, activate, or resend activation link. + * * @return string */ public function signups_admin_manage( $action = '' ) { @@ -2032,5 +2089,225 @@ class BP_Members_Admin { <?php } + + /** Users List Management ****************************************************/ + + /** + * Display a dropdown to bulk change the member type of selected user(s). + * + * @since 2.7.0 + * + * @param string $which Where this dropdown is displayed - top or bottom. + */ + public function users_table_output_type_change_select( $which = 'top' ) { + + // Bail if current user cannot promote users. + if ( ! bp_current_user_can( 'promote_users' ) ) { + return; + } + + // `$which` is only passed in WordPress 4.6+. Avoid duplicating controls in earlier versions. + static $displayed = false; + if ( version_compare( bp_get_major_wp_version(), '4.6', '<' ) && $displayed ) { + return; + } + $displayed = true; + + $id_name = 'bottom' === $which ? 'bp_change_type2' : 'bp_change_type'; + + $types = bp_get_member_types( array(), 'objects' ); ?> + + <label class="screen-reader-text" for="<?php echo $id_name; ?>"><?php _e( 'Change member type to…', 'buddypress' ) ?></label> + <select name="<?php echo $id_name; ?>" id="<?php echo $id_name; ?>" style="display:inline-block;float:none;"> + <option value=""><?php _e( 'Change member type to…', 'buddypress' ) ?></option> + + <?php foreach( $types as $type ) : ?> + + <option value="<?php echo esc_attr( $type->name ); ?>"><?php echo esc_html( $type->labels['singular_name'] ); ?></option> + + <?php endforeach; ?> + + <option value="remove_member_type"><?php _e( 'No Member Type', 'buddypress' ) ?></option> + + </select> + <?php + wp_nonce_field( 'bp-bulk-users-change-type-' . bp_loggedin_user_id(), 'bp-bulk-users-change-type-nonce' ); + submit_button( __( 'Change', 'buddypress' ), 'button', 'bp_change_member_type', false ); + } + + /** + * Process bulk member type change submission from the WP admin users list table. + * + * @since 2.7.0 + */ + public function users_table_process_bulk_type_change() { + // Output the admin notice. + $this->users_type_change_notice(); + + // Bail if no users are specified or if this isn't a BuddyPress action. + if ( empty( $_REQUEST['users'] ) + || ( empty( $_REQUEST['bp_change_type'] ) && empty( $_REQUEST['bp_change_type2'] ) ) + || empty( $_REQUEST['bp_change_member_type'] ) + ) { + return; + } + + // Bail if nonce check fails. + check_admin_referer( 'bp-bulk-users-change-type-' . bp_loggedin_user_id(), 'bp-bulk-users-change-type-nonce' ); + + // Bail if current user cannot promote users. + if ( ! bp_current_user_can( 'promote_users' ) ) { + return; + } + + $new_type = ''; + if ( ! empty( $_REQUEST['bp_change_type2'] ) ) { + $new_type = sanitize_text_field( $_REQUEST['bp_change_type2'] ); + } elseif ( ! empty( $_REQUEST['bp_change_type'] ) ) { + $new_type = sanitize_text_field( $_REQUEST['bp_change_type'] ); + } + + // Check that the selected type actually exists. + if ( 'remove_member_type' != $new_type && null === bp_get_member_type_object( $new_type ) ) { + $error = true; + } else { + // Run through user ids. + $error = false; + foreach ( (array) $_REQUEST['users'] as $user_id ) { + $user_id = (int) $user_id; + + // Get the old member type to check against. + $member_type = bp_get_member_type( $user_id ); + + if ( 'remove_member_type' === $new_type ) { + // Remove the current member type, if there's one to remove. + if ( $member_type ) { + $removed = bp_remove_member_type( $user_id, $member_type ); + if ( false === $removed || is_wp_error( $removed ) ) { + $error = true; + } + } + } else { + // Set the new member type. + if ( $new_type !== $member_type ) { + $set = bp_set_member_type( $user_id, $new_type ); + if ( false === $set || is_wp_error( $set ) ) { + $error = true; + } + } + } + } + } + + // If there were any errors, show the error message. + if ( $error ) { + $redirect = add_query_arg( array( 'updated' => 'member-type-change-error' ), wp_get_referer() ); + } else { + $redirect = add_query_arg( array( 'updated' => 'member-type-change-success' ), wp_get_referer() ); + } + + wp_redirect( $redirect ); + exit(); + } + + /** + * Display an admin notice upon member type bulk update. + * + * @since 2.7.0 + */ + public function users_type_change_notice() { + $updated = isset( $_REQUEST['updated'] ) ? $_REQUEST['updated'] : false; + + // Display feedback. + if ( $updated && in_array( $updated, array( 'member-type-change-error', 'member-type-change-success' ), true ) ) { + + if ( 'member-type-change-error' === $updated ) { + $notice = __( 'There was an error while changing member type. Please try again.', 'buddypress' ); + $type = 'error'; + } else { + $notice = __( 'Member type was changed successfully.', 'buddypress' ); + $type = 'updated'; + } + + bp_core_add_admin_notice( $notice, $type ); + } + } + + /** + * Add member type column to the WordPress admin users list table. + * + * @since 2.7.0 + * + * @param array $columns Users table columns. + * + * @return array $columns + */ + public function users_table_add_type_column( $columns = array() ) { + $columns[ bp_get_member_type_tax_name() ] = _x( 'Member Type', 'Label for the WP users table member type column' , 'buddypress' ); + + return $columns; + } + + /** + * Return member's type for display in the WP admin users list table. + * + * @since 2.7.0 + * + * @param string $retval + * @param string $column_name + * @param int $user_id + * + * @return string Member type as a link to filter all users. + */ + public function users_table_populate_type_cell( $retval = '', $column_name = '', $user_id = 0 ) { + // Only looking for member type column. + if ( bp_get_member_type_tax_name() !== $column_name ) { + return $retval; + } + + // Get the member type. + $type = bp_get_member_type( $user_id ); + + // Output the + if ( $type_obj = bp_get_member_type_object( $type ) ) { + $url = add_query_arg( array( 'bp-member-type' => urlencode( $type ) ) ); + $retval = '<a href="' . esc_url( $url ) . '">' . esc_html( $type_obj->labels['singular_name'] ) . '</a>'; + } + + return $retval; + } + + /** + * Filter WP Admin users list table to include users of the specified type. + * + * @param WP_Query $query + * + * @since 2.7.0 + */ + public function users_table_filter_by_type( $query ) { + global $pagenow; + + if ( is_admin() && 'users.php' === $pagenow && ! empty( $_REQUEST['bp-member-type'] ) ) { + $type_slug = sanitize_text_field( $_REQUEST['bp-member-type'] ); + + // Check that the type is registered. + if ( null == bp_get_member_type_object( $type_slug ) ) { + return; + } + + // Get the list of users that are assigned to this member type. + $type = bp_get_term_by( 'slug', $type_slug, bp_get_member_type_tax_name() ); + + if ( empty( $type->term_id ) ) { + return; + } + + $user_ids = bp_get_objects_in_term( $type->term_id, bp_get_member_type_tax_name() ); + + if ( $user_ids && ! is_wp_error( $user_ids ) ) { + $query->set( 'include', (array) $user_ids ); + } + } + } } endif; // End class_exists check. diff --git a/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php b/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php index 73b45e0346e60820bb88ee154e54b05535aad838..712f80d0fb66390434174d2db50580f991effe36 100644 --- a/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php +++ b/wp-content/plugins/buddypress/bp-members/classes/class-bp-members-component.php @@ -108,12 +108,16 @@ class BP_Members_Component extends BP_Component { define( 'BP_MEMBERS_SLUG', $this->id ); } + // Fetch the default directory title. + $default_directory_titles = bp_core_get_directory_page_default_titles(); + $default_directory_title = $default_directory_titles[$this->id]; + // Override any passed args. $args = array( 'slug' => BP_MEMBERS_SLUG, 'root_slug' => isset( $bp->pages->members->slug ) ? $bp->pages->members->slug : BP_MEMBERS_SLUG, 'has_directory' => true, - 'directory_title' => _x( 'Members', 'component directory title', 'buddypress' ), + 'directory_title' => isset( $bp->pages->members->title ) ? $bp->pages->members->title : $default_directory_title, 'search_string' => __( 'Search Members...', 'buddypress' ), 'global_tables' => array( 'table_name_last_activity' => bp_core_get_table_prefix() . 'bp_activity', diff --git a/wp-content/plugins/buddypress/bp-messages/bp-messages-functions.php b/wp-content/plugins/buddypress/bp-messages/bp-messages-functions.php index 9bc68d54e9bd90039c53426a9066597d5d3c8945..69e523fb0049eb4774276c1ff234cf88b2521ad4 100644 --- a/wp-content/plugins/buddypress/bp-messages/bp-messages-functions.php +++ b/wp-content/plugins/buddypress/bp-messages/bp-messages-functions.php @@ -236,26 +236,41 @@ function messages_send_notice( $subject, $message ) { } /** - * Delete message thread(s). + * Deletes message thread(s) for a given user. + * + * Note that "deleting" a thread for a user means removing it from the user's + * message boxes. A thread is not deleted from the database until it's been + * "deleted" by all recipients. + * + * @since 2.7.0 The $user_id parameter was added. Previously the current user + * was always assumed. * * @param int|array $thread_ids Thread ID or array of thread IDs. + * @param int $user_id ID of the user to delete the threads for. Defaults + * to the current logged-in user. * @return bool True on success, false on failure. */ -function messages_delete_thread( $thread_ids ) { +function messages_delete_thread( $thread_ids, $user_id = 0 ) { + + if ( empty( $user_id ) ) { + $user_id = bp_loggedin_user_id(); + } /** * Fires before specified thread IDs have been deleted. * * @since 1.5.0 + * @since 2.7.0 The $user_id parameter was added. * - * @param int|array Thread ID or array of thread IDs that were deleted. + * @param int|array $thread_ids Thread ID or array of thread IDs to be deleted. + * @param int $user_id ID of the user the threads are being deleted for. */ - do_action( 'messages_before_delete_thread', $thread_ids ); + do_action( 'messages_before_delete_thread', $thread_ids, $user_id ); if ( is_array( $thread_ids ) ) { $error = 0; for ( $i = 0, $count = count( $thread_ids ); $i < $count; ++$i ) { - if ( ! BP_Messages_Thread::delete( $thread_ids[$i] ) ) { + if ( ! BP_Messages_Thread::delete( $thread_ids[$i], $user_id ) ) { $error = 1; } } @@ -268,19 +283,21 @@ function messages_delete_thread( $thread_ids ) { * Fires after specified thread IDs have been deleted. * * @since 1.0.0 + * @since 2.7.0 The $user_id parameter was added. * * @param int|array Thread ID or array of thread IDs that were deleted. + * @param int ID of the user that the threads were deleted for. */ - do_action( 'messages_delete_thread', $thread_ids ); + do_action( 'messages_delete_thread', $thread_ids, $user_id ); return true; } else { - if ( ! BP_Messages_Thread::delete( $thread_ids ) ) { + if ( ! BP_Messages_Thread::delete( $thread_ids, $user_id ) ) { return false; } /** This action is documented in bp-messages/bp-messages-functions.php */ - do_action( 'messages_delete_thread', $thread_ids ); + do_action( 'messages_delete_thread', $thread_ids, $user_id ); return true; } @@ -524,3 +541,84 @@ function bp_messages_add_meta( $message_id, $meta_key, $meta_value, $unique = fa return $retval; } + +/** Email *********************************************************************/ + +/** + * Email message recipients to alert them of a new unread private message. + * + * @since 1.0.0 + * + * @param array|BP_Messages_Message $raw_args { + * Array of arguments. Also accepts a BP_Messages_Message object. + * @type array $recipients User IDs of recipients. + * @type string $email_subject Subject line of message. + * @type string $email_content Content of message. + * @type int $sender_id User ID of sender. + * } + */ +function messages_notification_new_message( $raw_args = array() ) { + if ( is_object( $raw_args ) ) { + $args = (array) $raw_args; + } else { + $args = $raw_args; + } + + // These should be extracted below. + $recipients = array(); + $email_subject = $email_content = ''; + $sender_id = 0; + + // Barf. + extract( $args ); + + if ( empty( $recipients ) ) { + return; + } + + $sender_name = bp_core_get_user_displayname( $sender_id ); + + // Send an email to each recipient. + foreach ( $recipients as $recipient ) { + if ( $sender_id == $recipient->user_id || 'no' == bp_get_user_meta( $recipient->user_id, 'notification_messages_new_message', true ) ) { + continue; + } + + // User data and links. + $ud = get_userdata( $recipient->user_id ); + if ( empty( $ud ) ) { + continue; + } + + $unsubscribe_args = array( + 'user_id' => $recipient->user_id, + 'notification_type' => 'messages-unread', + ); + + $args = array( + 'tokens' => array( + 'usermessage' => wp_strip_all_tags( stripslashes( $message ) ), + 'message.url' => esc_url( bp_core_get_user_domain( $recipient->user_id ) . bp_get_messages_slug() . '/view/' . $thread_id . '/' ), + 'sender.name' => $sender_name, + 'usersubject' => sanitize_text_field( stripslashes( $subject ) ), + 'unsubscribe' => esc_url( bp_email_get_unsubscribe_link( $unsubscribe_args ) ), + ), + ); + bp_send_email( 'messages-unread', $ud, $args ); + } + + /** + * Fires after the sending of a new message email notification. + * + * @since 1.5.0 + * @deprecated 2.5.0 Use the filters in BP_Email. + * $email_subject and $email_content arguments unset and deprecated. + * + * @param array $recipients User IDs of recipients. + * @param string $email_subject Deprecated in 2.5; now an empty string. + * @param string $email_content Deprecated in 2.5; now an empty string. + * @param array $args Array of originally provided arguments. + */ + do_action( 'bp_messages_sent_notification_email', $recipients, '', '', $args ); +} +add_action( 'messages_message_sent', 'messages_notification_new_message', 10 ); diff --git a/wp-content/plugins/buddypress/bp-messages/bp-messages-loader.php b/wp-content/plugins/buddypress/bp-messages/bp-messages-loader.php index f80af947b1ad66d2800dbb28650172179d2ebf0b..aad87f7bfba6d94d3b0f07931e993b752523cdb2 100644 --- a/wp-content/plugins/buddypress/bp-messages/bp-messages-loader.php +++ b/wp-content/plugins/buddypress/bp-messages/bp-messages-loader.php @@ -17,7 +17,9 @@ if ( ! buddypress()->do_autoload ) { } /** - * Bootstrap the Messages component. + * Set up the bp-messages component. + * + * @since 1.5.0 */ function bp_setup_messages() { buddypress()->messages = new BP_Messages_Component(); diff --git a/wp-content/plugins/buddypress/bp-messages/bp-messages-notifications.php b/wp-content/plugins/buddypress/bp-messages/bp-messages-notifications.php index 0a0bca108743492b43a59d927f21a61e8effe96c..4a6b025cf5bab44af91af421c34e11ccf05c9652 100644 --- a/wp-content/plugins/buddypress/bp-messages/bp-messages-notifications.php +++ b/wp-content/plugins/buddypress/bp-messages/bp-messages-notifications.php @@ -10,83 +10,6 @@ // Exit if accessed directly. defined( 'ABSPATH' ) || exit; -/** Email *********************************************************************/ - -/** - * Email message recipients to alert them of a new unread private message. - * - * @since 1.0.0 - * - * @param array|BP_Messages_Message $raw_args { - * Array of arguments. Also accepts a BP_Messages_Message object. - * @type array $recipients User IDs of recipients. - * @type string $email_subject Subject line of message. - * @type string $email_content Content of message. - * @type int $sender_id User ID of sender. - * } - */ -function messages_notification_new_message( $raw_args = array() ) { - if ( is_object( $raw_args ) ) { - $args = (array) $raw_args; - } else { - $args = $raw_args; - } - - // These should be extracted below. - $recipients = array(); - $email_subject = $email_content = ''; - $sender_id = 0; - - // Barf. - extract( $args ); - - if ( empty( $recipients ) ) { - return; - } - - $sender_name = bp_core_get_user_displayname( $sender_id ); - - // Send an email to each recipient. - foreach ( $recipients as $recipient ) { - if ( $sender_id == $recipient->user_id || 'no' == bp_get_user_meta( $recipient->user_id, 'notification_messages_new_message', true ) ) { - continue; - } - - // User data and links. - $ud = get_userdata( $recipient->user_id ); - if ( empty( $ud ) ) { - continue; - } - - $args = array( - 'tokens' => array( - 'usermessage' => wp_strip_all_tags( stripslashes( $message ) ), - 'message.url' => esc_url( bp_core_get_user_domain( $recipient->user_id ) . bp_get_messages_slug() . '/view/' . $thread_id . '/' ), - 'sender.name' => $sender_name, - 'usersubject' => sanitize_text_field( stripslashes( $subject ) ), - ), - ); - bp_send_email( 'messages-unread', $ud, $args ); - } - - /** - * Fires after the sending of a new message email notification. - * - * @since 1.5.0 - * @deprecated 2.5.0 Use the filters in BP_Email. - * $email_subject and $email_content arguments unset and deprecated. - * - * @param array $recipients User IDs of recipients. - * @param string $email_subject Deprecated in 2.5; now an empty string. - * @param string $email_content Deprecated in 2.5; now an empty string. - * @param array $args Array of originally provided arguments. - */ - do_action( 'bp_messages_sent_notification_email', $recipients, '', '', $args ); -} -add_action( 'messages_message_sent', 'messages_notification_new_message', 10 ); - -/** Notifications *************************************************************/ - /** * Format notifications for the Messages component. * @@ -224,7 +147,7 @@ function messages_format_notifications( $action, $item_id, $secondary_item_id, $ * @param BP_Messages_Message $message Message object. */ function bp_messages_message_sent_add_notification( $message ) { - if ( bp_is_active( 'notifications' ) && ! empty( $message->recipients ) ) { + if ( ! empty( $message->recipients ) ) { foreach ( (array) $message->recipients as $recipient ) { bp_notifications_add_notification( array( 'user_id' => $recipient->user_id, @@ -246,30 +169,28 @@ add_action( 'messages_message_sent', 'bp_messages_message_sent_add_notification' * @since 1.9.0 */ function bp_messages_screen_conversation_mark_notifications() { - if ( bp_is_active( 'notifications' ) ) { - global $thread_template; - - // Get unread PM notifications for the user. - $new_pm_notifications = BP_Notifications_Notification::get( array( - 'user_id' => bp_loggedin_user_id(), - 'component_name' => buddypress()->messages->id, - 'component_action' => 'new_message', - 'is_new' => 1, - ) ); - $unread_message_ids = wp_list_pluck( $new_pm_notifications, 'item_id' ); - - // No unread PMs, so stop! - if ( empty( $unread_message_ids ) ) { - return; - } + global $thread_template; + + // Get unread PM notifications for the user. + $new_pm_notifications = BP_Notifications_Notification::get( array( + 'user_id' => bp_loggedin_user_id(), + 'component_name' => buddypress()->messages->id, + 'component_action' => 'new_message', + 'is_new' => 1, + ) ); + $unread_message_ids = wp_list_pluck( $new_pm_notifications, 'item_id' ); + + // No unread PMs, so stop! + if ( empty( $unread_message_ids ) ) { + return; + } - // Get the unread message ids for this thread only. - $message_ids = array_intersect( $unread_message_ids, wp_list_pluck( $thread_template->thread->messages, 'id' ) ); + // Get the unread message ids for this thread only. + $message_ids = array_intersect( $unread_message_ids, wp_list_pluck( $thread_template->thread->messages, 'id' ) ); - // Mark each notification for each PM message as read. - foreach ( $message_ids as $message_id ) { - bp_notifications_mark_notifications_by_item_id( bp_loggedin_user_id(), (int) $message_id, buddypress()->messages->id, 'new_message' ); - } + // Mark each notification for each PM message as read. + foreach ( $message_ids as $message_id ) { + bp_notifications_mark_notifications_by_item_id( bp_loggedin_user_id(), (int) $message_id, buddypress()->messages->id, 'new_message' ); } } add_action( 'thread_loop_start', 'bp_messages_screen_conversation_mark_notifications', 10 ); @@ -283,10 +204,6 @@ add_action( 'thread_loop_start', 'bp_messages_screen_conversation_mark_notificat * @param array $message_ids IDs of the messages. */ function bp_messages_message_delete_notifications( $thread_id, $message_ids ) { - if ( ! bp_is_active( 'notifications' ) ) { - return; - } - // For each recipient, delete notifications corresponding to each message. $thread = new BP_Messages_Thread( $thread_id ); foreach ( $thread->get_recipients() as $recipient ) { diff --git a/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php b/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php index 7515e076a0f1e726f73d2ebbad4642c63c8edfa4..9f94e0962dabd9ec5db455a683c6436012370d8b 100644 --- a/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php +++ b/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php @@ -1345,7 +1345,6 @@ function bp_send_message_button() { 'block_self' => true, 'wrapper_id' => 'send-private-message', 'link_href' => bp_get_send_private_message_link(), - 'link_title' => __( 'Send a private message to this user.', 'buddypress' ), 'link_text' => __( 'Private Message', 'buddypress' ), 'link_class' => 'send-message', ) ) ) diff --git a/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-component.php b/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-component.php index 334f90effa45323badfdcf4c1d3afb00d8fe775f..d3b8b56689d9ce089d0432bc49c12c768e6f8d02 100644 --- a/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-component.php +++ b/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-component.php @@ -63,7 +63,6 @@ class BP_Messages_Component extends BP_Component { 'filters', 'template', 'functions', - 'notifications', 'widgets', ); @@ -72,6 +71,9 @@ class BP_Messages_Component extends BP_Component { } // Conditional includes. + if ( bp_is_active( 'notifications' ) ) { + $includes[] = 'notifications'; + } if ( bp_is_active( $this->id, 'star' ) ) { $includes[] = 'star'; } diff --git a/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-message.php b/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-message.php index 1f0ebdb3391651ddf9a5a83cac45ab60a77379bc..42f16fddc8575cc2cbed07c9eb6ea34874e32fe8 100644 --- a/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-message.php +++ b/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-message.php @@ -88,9 +88,9 @@ class BP_Messages_Message { $bp = buddypress(); if ( $message = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$bp->messages->table_name_messages} WHERE id = %d", $id ) ) ) { - $this->id = $message->id; - $this->thread_id = $message->thread_id; - $this->sender_id = $message->sender_id; + $this->id = (int) $message->id; + $this->thread_id = (int) $message->thread_id; + $this->sender_id = (int) $message->sender_id; $this->subject = $message->subject; $this->message = $message->message; $this->date_sent = $message->date_sent; @@ -220,7 +220,9 @@ class BP_Messages_Message { $bp = buddypress(); - return $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->messages->table_name_messages} WHERE sender_id = %d AND thread_id = %d ORDER BY date_sent DESC LIMIT 1", bp_loggedin_user_id(), $thread_id ) ); + $query = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->messages->table_name_messages} WHERE sender_id = %d AND thread_id = %d ORDER BY date_sent DESC LIMIT 1", bp_loggedin_user_id(), $thread_id ) ); + + return is_numeric( $query ) ? (int) $query : $query; } /** @@ -236,7 +238,9 @@ class BP_Messages_Message { $bp = buddypress(); - return $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->messages->table_name_messages} WHERE sender_id = %d AND id = %d", $user_id, $message_id ) ); + $query = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->messages->table_name_messages} WHERE sender_id = %d AND id = %d", $user_id, $message_id ) ); + + return is_numeric( $query ) ? (int) $query : $query; } /** @@ -250,6 +254,8 @@ class BP_Messages_Message { $bp = buddypress(); - return $wpdb->get_var( $wpdb->prepare( "SELECT sender_id FROM {$bp->messages->table_name_messages} WHERE id = %d", $message_id ) ); + $query = $wpdb->get_var( $wpdb->prepare( "SELECT sender_id FROM {$bp->messages->table_name_messages} WHERE id = %d", $message_id ) ); + + return is_numeric( $query ) ? (int) $query : $query; } } diff --git a/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-notice.php b/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-notice.php index 36aa932445cdc6b08041b546a38b5092d575b1e6..c228b9421bfcee4167d66f49fb638484079429dd 100644 --- a/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-notice.php +++ b/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-notice.php @@ -62,7 +62,7 @@ class BP_Messages_Notice { */ public function __construct( $id = null ) { if ( $id ) { - $this->id = $id; + $this->id = (int) $id; $this->populate(); } } @@ -85,7 +85,7 @@ class BP_Messages_Notice { $this->subject = $notice->subject; $this->message = $notice->message; $this->date_sent = $notice->date_sent; - $this->is_active = $notice->is_active; + $this->is_active = (int) $notice->is_active; } } @@ -232,6 +232,12 @@ class BP_Messages_Notice { $notices = $wpdb->get_results( "SELECT * FROM {$bp->messages->table_name_notices} ORDER BY date_sent DESC {$limit_sql}" ); + // Integer casting. + foreach ( (array) $notices as $key => $data ) { + $notices[ $key ]->id = (int) $notices[ $key ]->id; + $notices[ $key ]->is_active = (int) $notices[ $key ]->is_active; + } + return $notices; } diff --git a/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-thread.php b/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-thread.php index 113ee20762e7744ea79812cd6b5d132ab6f535c2..61cefa84c0a24f0e5bb29d18482a3a2159060045 100644 --- a/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-thread.php +++ b/wp-content/plugins/buddypress/bp-messages/classes/class-bp-messages-thread.php @@ -254,6 +254,11 @@ class BP_Messages_Thread { wp_cache_set( 'thread_recipients_' . $thread_id, $recipients, 'bp_messages' ); } + // Cast all items from the messages DB table as integers. + foreach ( (array) $recipients as $key => $data ) { + $recipients[ $key ] = (object) array_map( 'intval', (array) $data ); + } + /** * Filters the recipients of a message thread. * @@ -291,6 +296,13 @@ class BP_Messages_Thread { wp_cache_set( $thread_id, (array) $messages, 'bp_messages_threads' ); } + // Integer casting. + foreach ( $messages as $key => $data ) { + $messages[ $key ]->id = (int) $messages[ $key ]->id; + $messages[ $key ]->thread_id = (int) $messages[ $key ]->thread_id; + $messages[ $key ]->sender_id = (int) $messages[ $key ]->sender_id; + } + return $messages; } @@ -314,31 +326,40 @@ class BP_Messages_Thread { * has marked the thread as deleted. * * @since 1.0.0 + * @since 2.7.0 The $user_id parameter was added. Previously the current user + * was always assumed. * * @param int $thread_id The message thread ID. + * @param int $user_id The ID of the user in the thread to mark messages as + * deleted for. Defaults to the current logged-in user. + * * @return bool */ - public static function delete( $thread_id = 0 ) { + public static function delete( $thread_id = 0, $user_id = 0 ) { global $wpdb; $thread_id = (int) $thread_id; + $user_id = (int) $user_id; + + if ( empty( $user_id ) ) { + $user_id = bp_loggedin_user_id(); + } /** * Fires before a message thread is marked as deleted. * * @since 2.2.0 + * @since 2.7.0 The $user_id parameter was added. * * @param int $thread_id ID of the thread being deleted. + * @param int $user_id ID of the user that the thread is being deleted for. */ - do_action( 'bp_messages_thread_before_mark_delete', $thread_id ); + do_action( 'bp_messages_thread_before_mark_delete', $thread_id, $user_id ); $bp = buddypress(); // Mark messages as deleted - // - // @todo the reliance on bp_loggedin_user_id() sucks for plugins - // refactor this method to accept a $user_id parameter. - $wpdb->query( $wpdb->prepare( "UPDATE {$bp->messages->table_name_recipients} SET is_deleted = 1 WHERE thread_id = %d AND user_id = %d", $thread_id, bp_loggedin_user_id() ) ); + $wpdb->query( $wpdb->prepare( "UPDATE {$bp->messages->table_name_recipients} SET is_deleted = 1 WHERE thread_id = %d AND user_id = %d", $thread_id, $user_id ) ); // Get the message ids in order to pass to the action. $message_ids = $wpdb->get_col( $wpdb->prepare( "SELECT id FROM {$bp->messages->table_name_messages} WHERE thread_id = %d", $thread_id ) ); @@ -386,11 +407,13 @@ class BP_Messages_Thread { * Fires after a message thread is either marked as deleted or deleted. * * @since 2.2.0 + * @since 2.7.0 The $user_id parameter was added. * * @param int $thread_id ID of the thread being deleted. * @param array $message_ids IDs of messages being deleted. + * @param int $user_id ID of the user the threads were deleted for. */ - do_action( 'bp_messages_thread_after_delete', $thread_id, $message_ids ); + do_action( 'bp_messages_thread_after_delete', $thread_id, $message_ids, $user_id ); return true; } diff --git a/wp-content/plugins/buddypress/bp-messages/js/autocomplete/jquery.autocomplete.min.js b/wp-content/plugins/buddypress/bp-messages/js/autocomplete/jquery.autocomplete.min.js index aa86f984c8b12214dc8156c090ff3c9028e9e111..330df78e5837c1c99f7259624e34cd50699950ee 100644 --- a/wp-content/plugins/buddypress/bp-messages/js/autocomplete/jquery.autocomplete.min.js +++ b/wp-content/plugins/buddypress/bp-messages/js/autocomplete/jquery.autocomplete.min.js @@ -1 +1 @@ -!function(a){a.fn.extend({autocompletebp:function(b,c){var d="string"==typeof b;return c=a.extend({},a.Autocompleter.defaults,{url:d?b:null,data:d?null:b,delay:d?a.Autocompleter.defaults.delay:10,max:c&&!c.scroll?10:150},c),c.highlight=c.highlight||function(a){return a},this.each(function(){new a.Autocompleter(this,c)})},result:function(a){return this.bind("result",a)},search:function(a){return this.trigger("search",[a])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(a){return this.trigger("setOptions",[a])},unautocomplete:function(){return this.trigger("unautocomplete")}}),a.Autocompleter=function(b,c){function d(){var a=x.selected();if(!a)return!1;var b=a.result;if(t=b,c.multiple){var d=f(s.val());d.length>1&&(b=d.slice(0,d.length-1).join(c.multipleSeparator)+c.multipleSeparator+b),b+=c.multipleSeparator}return s.val(b),j(),s.trigger("result",[a.data,a.value]),!0}function e(a,b){if(q==r.DEL)return void x.hide();var d=s.val();(b||d!=t)&&(t=d,d=g(d),d.length>=c.minChars?(s.addClass(c.loadingClass),jQuery("#send-to-input").addClass("loading"),c.matchCase||(d=d.toLowerCase()),l(d,k,j)):(n(),x.hide()))}function f(b){if(!b)return[""];var d=b.split(a.trim(c.multipleSeparator)),e=[];return a.each(d,function(b,c){a.trim(c)&&(e[b]=a.trim(c))}),e}function g(a){if(!c.multiple)return a;var b=f(a);return b[b.length-1]}function h(d,e){c.autoFill&&g(s.val()).toLowerCase()==d.toLowerCase()&&8!=q&&(s.val(s.val()+e.substring(g(t).length)),a.Autocompleter.Selection(b,t.length,t.length+e.length))}function i(){clearTimeout(p),p=setTimeout(j,200)}function j(){x.hide(),clearTimeout(p),n(),c.mustMatch&&s.search(function(a){a||s.val("")})}function k(a,b){if(b&&b.length&&v){n(),x.display(b,a);var c=b[0].value.split(";");b.value=c[0],h(a,b.value),x.show()}else j()}function l(d,e,f){c.matchCase||(d=d.toLowerCase());var h=u.load(d);if(h&&h.length)e(d,h);else if("string"==typeof c.url&&c.url.length>0){var i={};a.each(c.extraParams,function(a,b){i[a]="function"==typeof b?b():b}),a.ajax({mode:"abort",port:"autocomplete"+b.name,dataType:c.dataType,url:c.url,data:a.extend({q:g(d),limit:c.max,action:"messages_autocomplete_results",cookie:o()},i),success:function(a){var b=c.parse&&c.parse(a)||m(a);u.add(d,b),e(d,b)}})}else f(d)}function m(b){for(var d=[],e=b.split("\n"),f=0;f<e.length;f++){var g=a.trim(e[f]);g&&(g=g.split("|"),d[d.length]={data:g,value:g[0],result:c.formatResult&&c.formatResult(g,g[0])||g[0]})}return d}function n(){s.removeClass(c.loadingClass),jQuery("#send-to-input").removeClass("loading")}function o(){var a,b,c,d,e,f=document.cookie.split(";"),g={},h="bp-";for(a=0;a<f.length;a++)b=f[a],c=b.indexOf("="),d=jq.trim(unescape(b.slice(0,c))),e=unescape(b.slice(c+1)),0===d.indexOf(h)&&(g[d]=e);return encodeURIComponent(jq.param(g))}var p,q,r={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34},s=a(b).attr("autocomplete","off").addClass(c.inputClass),t="",u=a.Autocompleter.Cache(c),v=0,w={mouseDownOnSelect:!1},x=a.Autocompleter.Select(c,b,d,w);s.keydown(function(b){switch(q=b.keyCode,b.keyCode){case r.UP:b.preventDefault(),x.visible()?x.prev():e(0,!0);break;case r.DOWN:b.preventDefault(),x.visible()?x.next():e(0,!0);break;case r.PAGEUP:b.preventDefault(),x.visible()?x.pageUp():e(0,!0);break;case r.PAGEDOWN:b.preventDefault(),x.visible()?x.pageDown():e(0,!0);break;case c.multiple&&","==a.trim(c.multipleSeparator)&&r.COMMA:case r.TAB:case r.RETURN:d()&&(c.multiple||s.blur(),b.preventDefault(),s.focus());break;case r.ESC:x.hide();break;default:clearTimeout(p),p=setTimeout(e,c.delay)}}).keypress(function(){}).focus(function(){v++}).blur(function(){v=0,w.mouseDownOnSelect||i()}).click(function(){v++>1&&!x.visible()&&e(0,!0)}).bind("search",function(){function b(a,b){var d;if(b&&b.length)for(var e=0;e<b.length;e++)if(b[e].result.toLowerCase()==a.toLowerCase()){d=b[e];break}"function"==typeof c?c(d):s.trigger("result",d&&[d.data,d.value])}var c=arguments.length>1?arguments[1]:null;a.each(f(s.val()),function(a,c){l(c,b,b)})}).bind("flushCache",function(){u.flush()}).bind("setOptions",function(){a.extend(c,arguments[1]),"data"in arguments[1]&&u.populate()}).bind("unautocomplete",function(){x.unbind(),s.unbind()})},a.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:!1,matchSubset:!0,matchContains:!1,cacheLength:10,max:100,mustMatch:!1,extraParams:{},selectFirst:!0,formatItem:function(a){return a[0]},autoFill:!1,width:0,multiple:!1,multipleSeparator:", ",highlight:function(a,b){return a.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+b.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:!0,scrollHeight:250,attachTo:"body"},a.Autocompleter.Cache=function(b){function c(a,c){b.matchCase||(a=a.toLowerCase());var d=a.indexOf(c);return-1==d?!1:0==d||b.matchContains}function d(a,c){h>b.cacheLength&&f(),g[a]||h++,g[a]=c}function e(){if(!b.data)return!1;var c={},e=0;b.url||(b.cacheLength=1),c[""]=[];for(var f=0,g=b.data.length;g>f;f++){var h=b.data[f];h="string"==typeof h?[h]:h;var i=b.formatItem(h,f+1,b.data.length);if(i!==!1){var j=i.charAt(0).toLowerCase();c[j]||(c[j]=[]);var k={value:i,data:h,result:b.formatResult&&b.formatResult(h)||i};c[j].push(k),e++<b.max&&c[""].push(k)}}a.each(c,function(a,c){b.cacheLength++,d(a,c)})}function f(){g={},h=0}var g={},h=0;return setTimeout(e,25),{flush:f,add:d,populate:e,load:function(d){if(!b.cacheLength||!h)return null;if(!b.url&&b.matchContains){var e=[];for(var f in g)if(f.length>0){var i=g[f];a.each(i,function(a,b){c(b.value,d)&&e.push(b)})}return e}if(g[d])return g[d];if(b.matchSubset)for(var j=d.length-1;j>=b.minChars;j--){var i=g[d.substr(0,j)];if(i){var e=[];return a.each(i,function(a,b){c(b.value,d)&&(e[e.length]=b)}),e}}return null}}},a.Autocompleter.Select=function(b,c,d,e){function f(){s&&(n=a("<div/>").hide().addClass(b.resultsClass).css("position","absolute").appendTo(b.attachTo),o=a("<ul>").appendTo(n).mouseover(function(b){g(b).nodeName&&"LI"==g(b).nodeName.toUpperCase()&&(q=a("li",o).removeClass(p.ACTIVE).index(g(b)),a(g(b)).addClass(p.ACTIVE))}).click(function(b){return a(g(b)).addClass(p.ACTIVE),d(),c.focus(),!1}).mousedown(function(){e.mouseDownOnSelect=!0}).mouseup(function(){e.mouseDownOnSelect=!1}),b.width>0&&n.css("width",b.width),s=!1)}function g(a){for(var b=a.target;b&&"LI"!=b.tagName;)b=b.parentNode;return b?b:[]}function h(a){l.slice(q,q+1).removeClass(),i(a);var c=l.slice(q,q+1).addClass(p.ACTIVE);if(b.scroll){var d=0;l.slice(0,q).each(function(){d+=this.offsetHeight}),d+c[0].offsetHeight-o.scrollTop()>o[0].clientHeight?o.scrollTop(d+c[0].offsetHeight-o.innerHeight()):d<o.scrollTop()&&o.scrollTop(d)}}function i(a){q+=a,0>q?q=l.size()-1:q>=l.size()&&(q=0)}function j(a){return b.max&&b.max<a?b.max:a}function k(){o.empty();for(var c=j(m.length),d=0;c>d;d++)if(m[d]){var e=b.formatItem(m[d].data,d+1,c,m[d].value,r);if(e!==!1){var f=a("<li>").html(b.highlight(e,r)).addClass(d%2==0?"ac_event":"ac_odd").appendTo(o)[0];a.data(f,"ac_data",m[d])}}l=o.find("li"),b.selectFirst&&(l.slice(0,1).addClass(p.ACTIVE),q=0),o.bgiframe()}var l,m,n,o,p={ACTIVE:"ac_over"},q=-1,r="",s=!0;return{display:function(a,b){f(),m=a,r=b,k()},next:function(){h(1)},prev:function(){h(-1)},pageUp:function(){h(0!=q&&0>q-8?-q:-8)},pageDown:function(){h(q!=l.size()-1&&q+8>l.size()?l.size()-1-q:8)},hide:function(){n&&n.hide(),q=-1},visible:function(){return n&&n.is(":visible")},current:function(){return this.visible()&&(l.filter("."+p.ACTIVE)[0]||b.selectFirst&&l[0])},show:function(){var d=a(c).offset();if(n.css({width:"string"==typeof b.width||b.width>0?b.width:a(c).width(),top:d.top+c.offsetHeight,left:d.left}).show(),b.scroll&&(o.scrollTop(0),o.css({maxHeight:b.scrollHeight,overflow:"auto"}),a.browser.msie&&"undefined"==typeof document.body.style.maxHeight)){var e=0;l.each(function(){e+=this.offsetHeight});var f=e>b.scrollHeight;o.css("height",f?b.scrollHeight:e),f||l.width(o.width()-parseInt(l.css("padding-left"))-parseInt(l.css("padding-right")))}},selected:function(){var b=l&&l.filter("."+p.ACTIVE).removeClass(p.ACTIVE);return b&&b.length&&a.data(b[0],"ac_data")},unbind:function(){n&&n.remove()}}},a.Autocompleter.Selection=function(a,b,c){if(a.createTextRange){var d=a.createTextRange();d.collapse(!0),d.moveStart("character",b),d.moveEnd("character",c),d.select()}else a.setSelectionRange?a.setSelectionRange(b,c):a.selectionStart&&(a.selectionStart=b,a.selectionEnd=c);a.focus()}}(jQuery); \ No newline at end of file +!function(a){a.fn.extend({autocompletebp:function(b,c){var d="string"==typeof b;return c=a.extend({},a.Autocompleter.defaults,{url:d?b:null,data:d?null:b,delay:d?a.Autocompleter.defaults.delay:10,max:c&&!c.scroll?10:150},c),c.highlight=c.highlight||function(a){return a},this.each(function(){new a.Autocompleter(this,c)})},result:function(a){return this.bind("result",a)},search:function(a){return this.trigger("search",[a])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(a){return this.trigger("setOptions",[a])},unautocomplete:function(){return this.trigger("unautocomplete")}}),a.Autocompleter=function(b,c){function d(){var a=x.selected();if(!a)return!1;var b=a.result;if(t=b,c.multiple){var d=f(s.val());d.length>1&&(b=d.slice(0,d.length-1).join(c.multipleSeparator)+c.multipleSeparator+b),b+=c.multipleSeparator}return s.val(b),j(),s.trigger("result",[a.data,a.value]),!0}function e(a,b){if(q==r.DEL)return void x.hide();var d=s.val();(b||d!=t)&&(t=d,d=g(d),d.length>=c.minChars?(s.addClass(c.loadingClass),jQuery("#send-to-input").addClass("loading"),c.matchCase||(d=d.toLowerCase()),l(d,k,j)):(n(),x.hide()))}function f(b){if(!b)return[""];var d=b.split(a.trim(c.multipleSeparator)),e=[];return a.each(d,function(b,c){a.trim(c)&&(e[b]=a.trim(c))}),e}function g(a){if(!c.multiple)return a;var b=f(a);return b[b.length-1]}function h(d,e){c.autoFill&&g(s.val()).toLowerCase()==d.toLowerCase()&&8!=q&&(s.val(s.val()+e.substring(g(t).length)),a.Autocompleter.Selection(b,t.length,t.length+e.length))}function i(){clearTimeout(p),p=setTimeout(j,200)}function j(){x.hide(),clearTimeout(p),n(),c.mustMatch&&s.search(function(a){a||s.val("")})}function k(a,b){if(b&&b.length&&v){n(),x.display(b,a);var c=b[0].value.split(";");b.value=c[0],h(a,b.value),x.show()}else j()}function l(d,e,f){c.matchCase||(d=d.toLowerCase());var h=u.load(d);if(h&&h.length)e(d,h);else if("string"==typeof c.url&&c.url.length>0){var i={};a.each(c.extraParams,function(a,b){i[a]="function"==typeof b?b():b}),a.ajax({mode:"abort",port:"autocomplete"+b.name,dataType:c.dataType,url:c.url,data:a.extend({q:g(d),limit:c.max,action:"messages_autocomplete_results",cookie:o()},i),success:function(a){var b=c.parse&&c.parse(a)||m(a);u.add(d,b),e(d,b)}})}else f(d)}function m(b){for(var d=[],e=b.split("\n"),f=0;f<e.length;f++){var g=a.trim(e[f]);g&&(g=g.split("|"),d[d.length]={data:g,value:g[0],result:c.formatResult&&c.formatResult(g,g[0])||g[0]})}return d}function n(){s.removeClass(c.loadingClass),jQuery("#send-to-input").removeClass("loading")}function o(){var a,b,c,d,e,f=document.cookie.split(";"),g={},h="bp-";for(a=0;a<f.length;a++)b=f[a],c=b.indexOf("="),d=jq.trim(unescape(b.slice(0,c))),e=unescape(b.slice(c+1)),0===d.indexOf(h)&&(g[d]=e);return encodeURIComponent(jq.param(g))}var p,q,r={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34},s=a(b).attr("autocomplete","off").addClass(c.inputClass),t="",u=a.Autocompleter.Cache(c),v=0,w={mouseDownOnSelect:!1},x=a.Autocompleter.Select(c,b,d,w);s.keydown(function(b){switch(q=b.keyCode,b.keyCode){case r.UP:b.preventDefault(),x.visible()?x.prev():e(0,!0);break;case r.DOWN:b.preventDefault(),x.visible()?x.next():e(0,!0);break;case r.PAGEUP:b.preventDefault(),x.visible()?x.pageUp():e(0,!0);break;case r.PAGEDOWN:b.preventDefault(),x.visible()?x.pageDown():e(0,!0);break;case c.multiple&&","==a.trim(c.multipleSeparator)&&r.COMMA:case r.TAB:case r.RETURN:d()&&(c.multiple||s.blur(),b.preventDefault(),s.focus());break;case r.ESC:x.hide();break;default:clearTimeout(p),p=setTimeout(e,c.delay)}}).keypress(function(){}).focus(function(){v++}).blur(function(){v=0,w.mouseDownOnSelect||i()}).click(function(){v++>1&&!x.visible()&&e(0,!0)}).bind("search",function(){function b(a,b){var d;if(b&&b.length)for(var e=0;e<b.length;e++)if(b[e].result.toLowerCase()==a.toLowerCase()){d=b[e];break}"function"==typeof c?c(d):s.trigger("result",d&&[d.data,d.value])}var c=arguments.length>1?arguments[1]:null;a.each(f(s.val()),function(a,c){l(c,b,b)})}).bind("flushCache",function(){u.flush()}).bind("setOptions",function(){a.extend(c,arguments[1]),"data"in arguments[1]&&u.populate()}).bind("unautocomplete",function(){x.unbind(),s.unbind()})},a.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:!1,matchSubset:!0,matchContains:!1,cacheLength:10,max:100,mustMatch:!1,extraParams:{},selectFirst:!0,formatItem:function(a){return a[0]},autoFill:!1,width:0,multiple:!1,multipleSeparator:", ",highlight:function(a,b){return a.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+b.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:!0,scrollHeight:250,attachTo:"body"},a.Autocompleter.Cache=function(b){function c(a,c){b.matchCase||(a=a.toLowerCase());var d=a.indexOf(c);return d!=-1&&(0==d||b.matchContains)}function d(a,c){h>b.cacheLength&&f(),g[a]||h++,g[a]=c}function e(){if(!b.data)return!1;var c={},e=0;b.url||(b.cacheLength=1),c[""]=[];for(var f=0,g=b.data.length;f<g;f++){var h=b.data[f];h="string"==typeof h?[h]:h;var i=b.formatItem(h,f+1,b.data.length);if(i!==!1){var j=i.charAt(0).toLowerCase();c[j]||(c[j]=[]);var k={value:i,data:h,result:b.formatResult&&b.formatResult(h)||i};c[j].push(k),e++<b.max&&c[""].push(k)}}a.each(c,function(a,c){b.cacheLength++,d(a,c)})}function f(){g={},h=0}var g={},h=0;return setTimeout(e,25),{flush:f,add:d,populate:e,load:function(d){if(!b.cacheLength||!h)return null;if(!b.url&&b.matchContains){var e=[];for(var f in g)if(f.length>0){var i=g[f];a.each(i,function(a,b){c(b.value,d)&&e.push(b)})}return e}if(g[d])return g[d];if(b.matchSubset)for(var j=d.length-1;j>=b.minChars;j--){var i=g[d.substr(0,j)];if(i){var e=[];return a.each(i,function(a,b){c(b.value,d)&&(e[e.length]=b)}),e}}return null}}},a.Autocompleter.Select=function(b,c,d,e){function f(){s&&(n=a("<div/>").hide().addClass(b.resultsClass).css("position","absolute").appendTo(b.attachTo),o=a("<ul>").appendTo(n).mouseover(function(b){g(b).nodeName&&"LI"==g(b).nodeName.toUpperCase()&&(q=a("li",o).removeClass(p.ACTIVE).index(g(b)),a(g(b)).addClass(p.ACTIVE))}).click(function(b){return a(g(b)).addClass(p.ACTIVE),d(),c.focus(),!1}).mousedown(function(){e.mouseDownOnSelect=!0}).mouseup(function(){e.mouseDownOnSelect=!1}),b.width>0&&n.css("width",b.width),s=!1)}function g(a){for(var b=a.target;b&&"LI"!=b.tagName;)b=b.parentNode;return b?b:[]}function h(a){l.slice(q,q+1).removeClass(),i(a);var c=l.slice(q,q+1).addClass(p.ACTIVE);if(b.scroll){var d=0;l.slice(0,q).each(function(){d+=this.offsetHeight}),d+c[0].offsetHeight-o.scrollTop()>o[0].clientHeight?o.scrollTop(d+c[0].offsetHeight-o.innerHeight()):d<o.scrollTop()&&o.scrollTop(d)}}function i(a){q+=a,q<0?q=l.size()-1:q>=l.size()&&(q=0)}function j(a){return b.max&&b.max<a?b.max:a}function k(){o.empty();for(var c=j(m.length),d=0;d<c;d++)if(m[d]){var e=b.formatItem(m[d].data,d+1,c,m[d].value,r);if(e!==!1){var f=a("<li>").html(b.highlight(e,r)).addClass(d%2==0?"ac_event":"ac_odd").appendTo(o)[0];a.data(f,"ac_data",m[d])}}l=o.find("li"),b.selectFirst&&(l.slice(0,1).addClass(p.ACTIVE),q=0),o.bgiframe()}var l,m,n,o,p={ACTIVE:"ac_over"},q=-1,r="",s=!0;return{display:function(a,b){f(),m=a,r=b,k()},next:function(){h(1)},prev:function(){h(-1)},pageUp:function(){h(0!=q&&q-8<0?-q:-8)},pageDown:function(){h(q!=l.size()-1&&q+8>l.size()?l.size()-1-q:8)},hide:function(){n&&n.hide(),q=-1},visible:function(){return n&&n.is(":visible")},current:function(){return this.visible()&&(l.filter("."+p.ACTIVE)[0]||b.selectFirst&&l[0])},show:function(){var d=a(c).offset();if(n.css({width:"string"==typeof b.width||b.width>0?b.width:a(c).width(),top:d.top+c.offsetHeight,left:d.left}).show(),b.scroll&&(o.scrollTop(0),o.css({maxHeight:b.scrollHeight,overflow:"auto"}),a.browser.msie&&"undefined"==typeof document.body.style.maxHeight)){var e=0;l.each(function(){e+=this.offsetHeight});var f=e>b.scrollHeight;o.css("height",f?b.scrollHeight:e),f||l.width(o.width()-parseInt(l.css("padding-left"))-parseInt(l.css("padding-right")))}},selected:function(){var b=l&&l.filter("."+p.ACTIVE).removeClass(p.ACTIVE);return b&&b.length&&a.data(b[0],"ac_data")},unbind:function(){n&&n.remove()}}},a.Autocompleter.Selection=function(a,b,c){if(a.createTextRange){var d=a.createTextRange();d.collapse(!0),d.moveStart("character",b),d.moveEnd("character",c),d.select()}else a.setSelectionRange?a.setSelectionRange(b,c):a.selectionStart&&(a.selectionStart=b,a.selectionEnd=c);a.focus()}}(jQuery); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-messages/js/autocomplete/jquery.dimensions.min.js b/wp-content/plugins/buddypress/bp-messages/js/autocomplete/jquery.dimensions.min.js index 809bfa254931fdc2f04c482c2d09e05c3e103432..43f845a05b9598e068660fee74d6ae4aaa262fb4 100644 --- a/wp-content/plugins/buddypress/bp-messages/js/autocomplete/jquery.dimensions.min.js +++ b/wp-content/plugins/buddypress/bp-messages/js/autocomplete/jquery.dimensions.min.js @@ -1 +1 @@ -!function(a){a.dimensions={version:"@VERSION"},a.each(["Height","Width"],function(c,d){a.fn["inner"+d]=function(){if(this[0]){var a="Height"==d?"Top":"Left",c="Height"==d?"Bottom":"Right";return this[d.toLowerCase()]()+b(this,"padding"+a)+b(this,"padding"+c)}},a.fn["outer"+d]=function(c){if(this[0]){var e="Height"==d?"Top":"Left",f="Height"==d?"Bottom":"Right";return c=a.extend({margin:!1},c||{}),this[d.toLowerCase()]()+b(this,"border"+e+"Width")+b(this,"border"+f+"Width")+b(this,"padding"+e)+b(this,"padding"+f)+(c.margin?b(this,"margin"+e)+b(this,"margin"+f):0)}}}),a.each(["Left","Top"],function(b,c){a.fn["scroll"+c]=function(b){return this[0]?void 0!=b?this.each(function(){this==window||this==document?window.scrollTo("Left"==c?b:a(window).scrollLeft(),"Top"==c?b:a(window).scrollTop()):this["scroll"+c]=b}):this[0]==window||this[0]==document?self["Left"==c?"pageXOffset":"pageYOffset"]||a.boxModel&&document.documentElement["scroll"+c]||document.body["scroll"+c]:this[0]["scroll"+c]:void 0}}),a.fn.extend({position:function(){var a,c,d,e,f=this[0];return f&&(d=this.offsetParent(),a=this.offset(),c=d.offset(),a.top-=b(f,"marginTop"),a.left-=b(f,"marginLeft"),c.top+=b(d,"borderTopWidth"),c.left+=b(d,"borderLeftWidth"),e={top:a.top-c.top,left:a.left-c.left}),e},offsetParent:function(){for(var b=this[0].offsetParent;b&&!/^body|html$/i.test(b.tagName)&&"static"==a.css(b,"position");)b=b.offsetParent;return a(b)}});var b=function(b,c){return parseInt(a.css(b.jquery?b[0]:b,c))||0}}(jQuery); \ No newline at end of file +!function(a){a.dimensions={version:"@VERSION"},a.each(["Height","Width"],function(c,d){a.fn["inner"+d]=function(){if(this[0]){var a="Height"==d?"Top":"Left",c="Height"==d?"Bottom":"Right";return this[d.toLowerCase()]()+b(this,"padding"+a)+b(this,"padding"+c)}},a.fn["outer"+d]=function(c){if(this[0]){var e="Height"==d?"Top":"Left",f="Height"==d?"Bottom":"Right";return c=a.extend({margin:!1},c||{}),this[d.toLowerCase()]()+b(this,"border"+e+"Width")+b(this,"border"+f+"Width")+b(this,"padding"+e)+b(this,"padding"+f)+(c.margin?b(this,"margin"+e)+b(this,"margin"+f):0)}}}),a.each(["Left","Top"],function(b,c){a.fn["scroll"+c]=function(b){if(this[0])return void 0!=b?this.each(function(){this==window||this==document?window.scrollTo("Left"==c?b:a(window).scrollLeft(),"Top"==c?b:a(window).scrollTop()):this["scroll"+c]=b}):this[0]==window||this[0]==document?self["Left"==c?"pageXOffset":"pageYOffset"]||a.boxModel&&document.documentElement["scroll"+c]||document.body["scroll"+c]:this[0]["scroll"+c]}}),a.fn.extend({position:function(){var a,c,d,e,f=this[0];return f&&(d=this.offsetParent(),a=this.offset(),c=d.offset(),a.top-=b(f,"marginTop"),a.left-=b(f,"marginLeft"),c.top+=b(d,"borderTopWidth"),c.left+=b(d,"borderLeftWidth"),e={top:a.top-c.top,left:a.left-c.left}),e},offsetParent:function(){for(var b=this[0].offsetParent;b&&!/^body|html$/i.test(b.tagName)&&"static"==a.css(b,"position");)b=b.offsetParent;return a(b)}});var b=function(b,c){return parseInt(a.css(b.jquery?b[0]:b,c))||0}}(jQuery); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-notifications/bp-notifications-functions.php b/wp-content/plugins/buddypress/bp-notifications/bp-notifications-functions.php index 3bf0020db5b1589743ef4de1f3729ce9a00424b9..9a9c576eb9e13617cc19592749baaa0c880cc1a4 100644 --- a/wp-content/plugins/buddypress/bp-notifications/bp-notifications-functions.php +++ b/wp-content/plugins/buddypress/bp-notifications/bp-notifications-functions.php @@ -614,10 +614,12 @@ function bp_notifications_get_unread_notification_count( $user_id = 0 ) { * Filters the count of unread notification items for a user. * * @since 1.9.0 + * @since 2.7.0 Added user ID parameter. * - * @param int $count Count of unread notification items for a user. + * @param int $count Count of unread notification items for a user. + * @param int $user_id User ID for notifications count. */ - return apply_filters( 'bp_notifications_get_total_notification_count', (int) $count ); + return apply_filters( 'bp_notifications_get_total_notification_count', (int) $count, $user_id ); } /** diff --git a/wp-content/plugins/buddypress/bp-notifications/bp-notifications-loader.php b/wp-content/plugins/buddypress/bp-notifications/bp-notifications-loader.php index 319e376e1eb0fad161834deb391694338275009d..d178006a7b38fa697d84d3004da77517b1ede04c 100644 --- a/wp-content/plugins/buddypress/bp-notifications/bp-notifications-loader.php +++ b/wp-content/plugins/buddypress/bp-notifications/bp-notifications-loader.php @@ -17,7 +17,7 @@ if ( ! buddypress()->do_autoload ) { } /** - * Bootstrap the Notifications component. + * Set up the bp-notifications component. * * @since 1.9.0 */ diff --git a/wp-content/plugins/buddypress/bp-notifications/classes/class-bp-notifications-notification.php b/wp-content/plugins/buddypress/bp-notifications/classes/class-bp-notifications-notification.php index 9fce40330a0839b23302b1262ddef89ceea67407..0fd117ded811cace09bc24e4da6479be3e63f5e5 100644 --- a/wp-content/plugins/buddypress/bp-notifications/classes/class-bp-notifications-notification.php +++ b/wp-content/plugins/buddypress/bp-notifications/classes/class-bp-notifications-notification.php @@ -97,7 +97,7 @@ class BP_Notifications_Notification { */ public function __construct( $id = 0 ) { if ( ! empty( $id ) ) { - $this->id = $id; + $this->id = (int) $id; $this->populate(); } } @@ -112,22 +112,8 @@ class BP_Notifications_Notification { * @return bool True on success, false on failure. */ public function save() { - - // Return value. $retval = false; - // Default data and format. - $data = array( - 'user_id' => $this->user_id, - 'item_id' => $this->item_id, - 'secondary_item_id' => $this->secondary_item_id, - 'component_name' => $this->component_name, - 'component_action' => $this->component_action, - 'date_notified' => $this->date_notified, - 'is_new' => $this->is_new, - ); - $data_format = array( '%d', '%d', '%d', '%s', '%s', '%s', '%d' ); - /** * Fires before the current notification item gets saved. * @@ -139,6 +125,17 @@ class BP_Notifications_Notification { */ do_action_ref_array( 'bp_notification_before_save', array( &$this ) ); + $data = array( + 'user_id' => $this->user_id, + 'item_id' => $this->item_id, + 'secondary_item_id' => $this->secondary_item_id, + 'component_name' => $this->component_name, + 'component_action' => $this->component_action, + 'date_notified' => $this->date_notified, + 'is_new' => $this->is_new, + ); + $data_format = array( '%d', '%d', '%d', '%s', '%s', '%s', '%d' ); + // Update. if ( ! empty( $this->id ) ) { $result = self::_update( $data, array( 'ID' => $this->id ), $data_format, array( '%d' ) ); @@ -188,13 +185,13 @@ class BP_Notifications_Notification { // Setup the notification data. if ( ! empty( $notification ) && ! is_wp_error( $notification ) ) { - $this->item_id = $notification->item_id; - $this->secondary_item_id = $notification->secondary_item_id; - $this->user_id = $notification->user_id; + $this->item_id = (int) $notification->item_id; + $this->secondary_item_id = (int) $notification->secondary_item_id; + $this->user_id = (int) $notification->user_id; $this->component_name = $notification->component_name; $this->component_action = $notification->component_action; $this->date_notified = $notification->date_notified; - $this->is_new = $notification->is_new; + $this->is_new = (int) $notification->is_new; } } @@ -687,6 +684,15 @@ class BP_Notifications_Notification { $results = $wpdb->get_results( $sql ); + // Integer casting. + foreach ( $results as $key => $result ) { + $results[$key]->id = (int) $results[$key]->id; + $results[$key]->user_id = (int) $results[$key]->user_id; + $results[$key]->item_id = (int) $results[$key]->item_id; + $results[$key]->secondary_item_id = (int) $results[$key]->secondary_item_id; + $results[$key]->is_new = (int) $results[$key]->is_new; + } + // Update meta cache. if ( true === $r['update_meta_cache'] ) { bp_notifications_update_meta_cache( wp_list_pluck( $results, 'id' ) ); @@ -743,7 +749,7 @@ class BP_Notifications_Notification { $sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql}"; // Return the queried results. - return $wpdb->get_var( $sql ); + return (int) $wpdb->get_var( $sql ); } /** diff --git a/wp-content/plugins/buddypress/bp-settings/bp-settings-actions.php b/wp-content/plugins/buddypress/bp-settings/bp-settings-actions.php index ffcd508f6ffd590036223748cc0f8d212f8cc73e..a9c620d0d5a2cb59df075a80ebdbc900a3cde080 100644 --- a/wp-content/plugins/buddypress/bp-settings/bp-settings-actions.php +++ b/wp-content/plugins/buddypress/bp-settings/bp-settings-actions.php @@ -472,7 +472,7 @@ function bp_settings_verify_email_change(){ // Email change is being dismissed. } elseif ( ! empty( $_GET['dismiss_email_change'] ) ) { - bp_delete_user_meta( bp_displayed_user_id(), 'pending_email_change' ); + bp_delete_user_meta( bp_displayed_user_id(), 'pending_email_change' ); bp_core_add_message( __( 'You have successfully dismissed your pending email change.', 'buddypress' ) ); bp_core_redirect( $redirect_to ); diff --git a/wp-content/plugins/buddypress/bp-settings/bp-settings-loader.php b/wp-content/plugins/buddypress/bp-settings/bp-settings-loader.php index 730b993c18819d809007145a9a449210acd8d4af..9687980b4a1264567f22388a2c2edf2136164717 100644 --- a/wp-content/plugins/buddypress/bp-settings/bp-settings-loader.php +++ b/wp-content/plugins/buddypress/bp-settings/bp-settings-loader.php @@ -15,7 +15,7 @@ if ( ! buddypress()->do_autoload ) { } /** - * Instantiates the settings component. + * Set up the bp-settings component. * * @since 1.6.0 */ diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php index b5fbcd4d770c6004e49eb808f334421f75273403..175f6095625d571ec30d73796541ec22bc2ec4a9 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php @@ -105,10 +105,12 @@ class BP_Legacy extends BP_Theme_Compat { // Group buttons. if ( bp_is_active( 'groups' ) ) { - add_action( 'bp_group_header_actions', 'bp_group_join_button', 5 ); - add_action( 'bp_group_header_actions', 'bp_group_new_topic_button', 20 ); - add_action( 'bp_directory_groups_actions', 'bp_group_join_button' ); - add_action( 'bp_groups_directory_group_filter', 'bp_legacy_theme_group_create_nav', 999 ); + add_action( 'bp_group_header_actions', 'bp_group_join_button', 5 ); + add_action( 'bp_group_header_actions', 'bp_group_new_topic_button', 20 ); + add_action( 'bp_directory_groups_actions', 'bp_group_join_button' ); + add_action( 'bp_groups_directory_group_filter', 'bp_legacy_theme_group_create_nav', 999 ); + add_action( 'bp_after_group_admin_content', 'bp_legacy_groups_admin_screen_hidden_input' ); + add_action( 'bp_before_group_admin_form', 'bp_legacy_theme_group_manage_members_add_search' ); } // Blog button. @@ -605,6 +607,19 @@ function bp_legacy_theme_group_create_nav() { bp_group_create_nav_item(); } +/** + * Renders the group ID hidden input on group admin screens. + * + * @since 2.7.0 + * + * @return string html + */ +function bp_legacy_groups_admin_screen_hidden_input() { + ?> + <input type="hidden" name="group-id" id="group-id" value="<?php bp_group_id(); ?>" /> + <?php +} + /** * Add the Create a Site button to the Sites directory title. * @@ -1344,7 +1359,7 @@ function bp_legacy_theme_ajax_addremove_friend() { if ( ! friends_remove_friend( bp_loggedin_user_id(), $friend_id ) ) { echo __( 'Friendship could not be canceled.', 'buddypress' ); } else { - echo '<a id="friend-' . esc_attr( $friend_id ) . '" class="add" rel="add" title="' . __( 'Add Friend', 'buddypress' ) . '" href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $friend_id, 'friends_add_friend' ) . '">' . __( 'Add Friend', 'buddypress' ) . '</a>'; + echo '<a id="friend-' . esc_attr( $friend_id ) . '" class="add" rel="add" href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $friend_id, 'friends_add_friend' ) . '">' . __( 'Add Friend', 'buddypress' ) . '</a>'; } // Trying to request friendship. @@ -1354,7 +1369,7 @@ function bp_legacy_theme_ajax_addremove_friend() { if ( ! friends_add_friend( bp_loggedin_user_id(), $friend_id ) ) { echo __(' Friendship could not be requested.', 'buddypress' ); } else { - echo '<a id="friend-' . esc_attr( $friend_id ) . '" class="remove" rel="remove" title="' . __( 'Cancel Friendship Request', 'buddypress' ) . '" href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/cancel/' . $friend_id . '/', 'friends_withdraw_friendship' ) . '" class="requested">' . __( 'Cancel Friendship Request', 'buddypress' ) . '</a>'; + echo '<a id="friend-' . esc_attr( $friend_id ) . '" class="remove" rel="remove" href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/requests/cancel/' . $friend_id . '/', 'friends_withdraw_friendship' ) . '" class="requested">' . __( 'Cancel Friendship Request', 'buddypress' ) . '</a>'; } // Trying to cancel pending request. @@ -1362,7 +1377,7 @@ function bp_legacy_theme_ajax_addremove_friend() { check_ajax_referer( 'friends_withdraw_friendship' ); if ( friends_withdraw_friendship( bp_loggedin_user_id(), $friend_id ) ) { - echo '<a id="friend-' . esc_attr( $friend_id ) . '" class="add" rel="add" title="' . __( 'Add Friend', 'buddypress' ) . '" href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $friend_id, 'friends_add_friend' ) . '">' . __( 'Add Friend', 'buddypress' ) . '</a>'; + echo '<a id="friend-' . esc_attr( $friend_id ) . '" class="add" rel="add" href="' . wp_nonce_url( bp_loggedin_user_domain() . bp_get_friends_slug() . '/add-friend/' . $friend_id, 'friends_add_friend' ) . '">' . __( 'Add Friend', 'buddypress' ) . '</a>'; } else { echo __("Friendship request could not be cancelled.", 'buddypress'); } @@ -1433,7 +1448,7 @@ function bp_legacy_theme_ajax_joinleave_group() { if ( groups_is_user_banned( bp_loggedin_user_id(), $group_id ) ) return; - if ( ! $group = groups_get_group( array( 'group_id' => $group_id ) ) ) + if ( ! $group = groups_get_group( $group_id ) ) return; if ( ! groups_is_user_member( bp_loggedin_user_id(), $group->id ) ) { @@ -1443,7 +1458,7 @@ function bp_legacy_theme_ajax_joinleave_group() { if ( ! groups_join_group( $group->id ) ) { _e( 'Error joining group', 'buddypress' ); } else { - 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>'; + echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button leave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>'; } } elseif ( 'private' == $group->status ) { @@ -1456,7 +1471,7 @@ function bp_legacy_theme_ajax_joinleave_group() { if ( ! groups_accept_invite( bp_loggedin_user_id(), $group->id ) ) { _e( 'Error requesting membership', 'buddypress' ); } else { - 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>'; + echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button leave-group" rel="leave" title="' . __( 'Leave Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'leave-group', 'groups_leave_group' ) . '">' . __( 'Leave Group', 'buddypress' ) . '</a>'; } // Otherwise, it's a Request Membership button. @@ -1477,9 +1492,9 @@ function bp_legacy_theme_ajax_joinleave_group() { if ( ! groups_leave_group( $group->id ) ) { _e( 'Error leaving group', 'buddypress' ); } elseif ( 'public' == $group->status ) { - 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>'; + echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button join-group" rel="join" title="' . __( 'Join Group', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'join', 'groups_join_group' ) . '">' . __( 'Join Group', 'buddypress' ) . '</a>'; } elseif ( 'private' == $group->status ) { - 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>'; + echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button request-membership" rel="join" title="' . __( 'Request Membership', 'buddypress' ) . '" href="' . wp_nonce_url( bp_get_group_permalink( $group ) . 'request-membership', 'groups_request_membership' ) . '">' . __( 'Request Membership', 'buddypress' ) . '</a>'; } } @@ -1899,3 +1914,20 @@ function bp_legacy_theme_cover_image( $params = array() ) { } '; } + +/** + * Add a search box to a single group's manage members screen. + * + * @since 2.7.0 + * + * @return string HTML for the search form. + */ +function bp_legacy_theme_group_manage_members_add_search() { + if ( bp_is_action_variable( 'manage-members' ) ) : + ?> + <div id="members-dir-search" class="dir-search no-ajax" role="search"> + <?php bp_directory_members_search_form(); ?> + </div> + <?php + endif; +} diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/comment.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/comment.php index 9b3089cd3fd4c719e0a58573b36a5056ac137c14..7751afeaef945de31e1fe5574214d46eaee1ef00 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/comment.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/comment.php @@ -25,8 +25,8 @@ do_action( 'bp_before_activity_comment' ); ?> <div class="acomment-meta"> <?php - /* translators: 1: user profile link, 2: user name, 3: activity permalink, 4: activity timestamp */ - 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() ); + /* translators: 1: user profile link, 2: user name, 3: activity permalink, 4: ISO8601 timestamp, 5: activity relative timestamp */ + 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() ); ?> </div> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/entry.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/entry.php index 92872dbc694d21f4edd720000bac45824937d696..7e7dd4e732d90b32cc7c21303cb81d80073d96b0 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/entry.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/entry.php @@ -72,11 +72,11 @@ do_action( 'bp_before_activity_entry' ); ?> <?php if ( !bp_get_activity_is_favorite() ) : ?> - <a href="<?php bp_activity_favorite_link(); ?>" class="button fav bp-secondary-action" title="<?php esc_attr_e( 'Mark as Favorite', 'buddypress' ); ?>"><?php _e( 'Favorite', 'buddypress' ); ?></a> + <a href="<?php bp_activity_favorite_link(); ?>" class="button fav bp-secondary-action"><?php _e( 'Favorite', 'buddypress' ); ?></a> <?php else : ?> - <a href="<?php bp_activity_unfavorite_link(); ?>" class="button unfav bp-secondary-action" title="<?php esc_attr_e( 'Remove Favorite', 'buddypress' ); ?>"><?php _e( 'Remove Favorite', 'buddypress' ); ?></a> + <a href="<?php bp_activity_unfavorite_link(); ?>" class="button unfav bp-secondary-action"><?php _e( 'Remove Favorite', 'buddypress' ); ?></a> <?php endif; ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php index 8dcdf737df3b35b728e8b08067a047be972ae41f..69c6c4a639996d5aa699115e6110f34ac752ce5c 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/index.php @@ -32,16 +32,19 @@ do_action( 'bp_before_directory_activity' ); ?> <?php endif; ?> - <?php + <div id="template-notices" role="alert" aria-atomic="true"> + <?php - /** - * Fires towards the top of template pages for notice display. - * - * @since 1.0.0 - */ - do_action( 'template_notices' ); ?> + /** + * Fires towards the top of template pages for notice display. + * + * @since 1.0.0 + */ + do_action( 'template_notices' ); ?> + + </div> - <div class="item-list-tabs activity-type-tabs" role="navigation"> + <div class="item-list-tabs activity-type-tabs" aria-label="<?php esc_attr_e( 'Sitewide activities navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php @@ -52,7 +55,7 @@ do_action( 'bp_before_directory_activity' ); ?> */ do_action( 'bp_before_activity_type_tab_all' ); ?> - <li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( __( 'All Members %s', 'buddypress' ), '<span>' . bp_get_total_member_count() . '</span>' ); ?></a></li> + <li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>"><?php printf( __( 'All Members %s', 'buddypress' ), '<span>' . bp_get_total_member_count() . '</span>' ); ?></a></li> <?php if ( is_user_logged_in() ) : ?> @@ -69,7 +72,7 @@ do_action( 'bp_before_directory_activity' ); ?> <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> - <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of my friends only.', 'buddypress' ); ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li> + <li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li> <?php endif; ?> @@ -88,7 +91,7 @@ do_action( 'bp_before_directory_activity' ); ?> <?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?> - <li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of groups I am a member of.', 'buddypress' ); ?>"><?php printf( __( 'My Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li> + <li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/'; ?>"><?php printf( __( 'My Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li> <?php endif; ?> @@ -105,7 +108,7 @@ do_action( 'bp_before_directory_activity' ); ?> <?php if ( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) : ?> - <li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>" title="<?php esc_attr_e( "The activity I've marked as a favorite.", 'buddypress' ); ?>"><?php printf( __( 'My Favorites %s', 'buddypress' ), '<span>' . bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li> + <li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>"><?php printf( __( 'My Favorites %s', 'buddypress' ), '<span>' . bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li> <?php endif; ?> @@ -120,7 +123,7 @@ do_action( 'bp_before_directory_activity' ); ?> */ do_action( 'bp_before_activity_type_tab_mentions' ); ?> - <li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/'; ?>" title="<?php esc_attr_e( 'Activity that I have been mentioned in.', 'buddypress' ); ?>"><?php _e( 'Mentions', 'buddypress' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><span><?php printf( _nx( '%s new', '%s new', bp_get_total_mention_count_for_user( bp_loggedin_user_id() ), 'Number of new activity mentions', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?></span></strong><?php endif; ?></a></li> + <li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/mentions/'; ?>"><?php _e( 'Mentions', 'buddypress' ); ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><span><?php printf( _nx( '%s new', '%s new', bp_get_total_mention_count_for_user( bp_loggedin_user_id() ), 'Number of new activity mentions', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?></span></strong><?php endif; ?></a></li> <?php endif; ?> @@ -137,7 +140,7 @@ do_action( 'bp_before_directory_activity' ); ?> </ul> </div><!-- .item-list-tabs --> - <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> + <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Activity secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <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> @@ -180,7 +183,7 @@ do_action( 'bp_before_directory_activity' ); ?> */ do_action( 'bp_before_directory_activity_list' ); ?> - <div class="activity"> + <div class="activity" aria-live="polite" aria-atomic="true" aria-relevant="all"> <?php bp_get_template_part( 'activity/activity-loop' ); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/single/home.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/single/home.php index 54cff31d6e1de85262fb34e0f7e6dda7323737f8..7a4b9326b0800cba26587337e36ed839a11809fd 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/single/home.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/single/home.php @@ -8,10 +8,14 @@ ?> <div id="buddypress"> - <?php - /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ - do_action( 'template_notices' ); ?> + <div id="template-notices" role="alert" aria-atomic="true"> + <?php + + /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ + do_action( 'template_notices' ); ?> + + </div> <div class="activity no-ajax"> <?php if ( bp_has_activities( 'display_comments=threaded&show_hidden=true&include=' . bp_current_action() ) ) : ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/index.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/index.php index e7ba87910d34d4e115fd08210c814282c88103e3..edd76fc1de01847607212580119a986a37b04d74 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/index.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/index.php @@ -35,10 +35,10 @@ do_action( 'bp_attachments_avatar_check_template' ); <script id="tmpl-bp-avatar-delete" type="text/html"> <# if ( 'user' === data.object ) { #> <p><?php _e( "If you'd like to delete your current profile photo but not upload a new one, please use the delete profile photo button.", 'buddypress' ); ?></p> - <p><a class="button edit" id="bp-delete-avatar" href="#" title="<?php esc_attr_e( 'Delete Profile Photo', 'buddypress' ); ?>"><?php esc_html_e( 'Delete My Profile Photo', 'buddypress' ); ?></a></p> + <p><a class="button edit" id="bp-delete-avatar" href="#"><?php esc_html_e( 'Delete My Profile Photo', 'buddypress' ); ?></a></p> <# } else if ( 'group' === data.object ) { #> <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> - <p><a class="button edit" id="bp-delete-avatar" href="#" title="<?php esc_attr_e( 'Delete Group Profile Photo', 'buddypress' ); ?>"><?php esc_html_e( 'Delete Group Profile Photo', 'buddypress' ); ?></a></p> + <p><a class="button edit" id="bp-delete-avatar" href="#"><?php esc_html_e( 'Delete Group Profile Photo', 'buddypress' ); ?></a></p> <# } else { #> <?php do_action( 'bp_attachments_avatar_delete_template' ); ?> <# } #> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/assets/_attachments/cover-images/index.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/assets/_attachments/cover-images/index.php index ae8294b0d8b64d0b53ac77a0a493393036e54939..9bc18bee42834483938879fad023314807eff733 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/assets/_attachments/cover-images/index.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/assets/_attachments/cover-images/index.php @@ -24,10 +24,10 @@ <script id="tmpl-bp-cover-image-delete" type="text/html"> <# if ( 'user' === data.object ) { #> <p><?php _e( "If you'd like to delete your current cover image but not upload a new one, please use the delete Cover Image button.", 'buddypress' ); ?></p> - <p><a class="button edit" id="bp-delete-cover-image" href="#" title="<?php esc_attr_e( 'Delete Cover Image', 'buddypress' ); ?>"><?php esc_html_e( 'Delete My Cover Image', 'buddypress' ); ?></a></p> + <p><a class="button edit" id="bp-delete-cover-image" href="#"><?php esc_html_e( 'Delete My Cover Image', 'buddypress' ); ?></a></p> <# } else if ( 'group' === data.object ) { #> <p><?php _e( "If you'd like to remove the existing group cover image but not upload a new one, please use the delete group cover image button.", 'buddypress' ); ?></p> - <p><a class="button edit" id="bp-delete-cover-image" href="#" title="<?php esc_attr_e( 'Delete Cover Image', 'buddypress' ); ?>"><?php esc_html_e( 'Delete Group Cover Image', 'buddypress' ); ?></a></p> + <p><a class="button edit" id="bp-delete-cover-image" href="#"><?php esc_html_e( 'Delete Group Cover Image', 'buddypress' ); ?></a></p> <# } else { #> <?php do_action( 'bp_attachments_cover_image_delete_template' ); ?> <# } #> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/blogs/create.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/blogs/create.php index 7b563718da9cd39e70feb5de23e034883c42b3e8..1e6743536fdeeead9cbb32ae3669dce637c372c8 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/blogs/create.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/blogs/create.php @@ -13,10 +13,13 @@ */ do_action( 'bp_before_create_blog_content_template' ); ?> -<?php +<div id="template-notices" role="alert" aria-atomic="true"> + <?php + + /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ + do_action( 'template_notices' ); ?> -/** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ -do_action( 'template_notices' ); ?> +</div> <?php diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/blogs/index.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/blogs/index.php index c8460d9d6b84d1e444e0842c449c9ea638efadab..0447dfe0228837f5004526bd5f6651e40a808071 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/blogs/index.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/blogs/index.php @@ -33,9 +33,18 @@ do_action( 'bp_before_directory_blogs_page' ); ?> */ do_action( 'bp_before_directory_blogs_content' ); ?> - <div id="blog-dir-search" class="dir-search" role="search"> - <?php bp_directory_blogs_search_form(); ?> - </div><!-- #blog-dir-search --> + <?php /* Backward compatibility for inline search form. Use template part instead. */ ?> + <?php if ( has_filter( 'bp_directory_blogs_search_form' ) ) : ?> + + <div id="blog-dir-search" class="dir-search" role="search"> + <?php bp_directory_blogs_search_form(); ?> + </div><!-- #blog-dir-search --> + + <?php else : ?> + + <?php bp_get_template_part( 'common/search/dir-search-form' ); ?> + + <?php endif; ?> <?php @@ -48,7 +57,7 @@ do_action( 'bp_before_directory_blogs_page' ); ?> <form action="" method="post" id="blogs-directory-form" class="dir-form"> - <div class="item-list-tabs" role="navigation"> + <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Sites directory main navigation', 'buddypress' ); ?>" role="navigation"> <ul> <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> @@ -70,7 +79,7 @@ do_action( 'bp_before_directory_blogs_page' ); ?> </ul> </div><!-- .item-list-tabs --> - <div class="item-list-tabs" id="subnav" role="navigation"> + <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Sites directory secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php @@ -104,6 +113,11 @@ do_action( 'bp_before_directory_blogs_page' ); ?> </ul> </div> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Sites directory', 'buddypress' ); + ?></h2> + <div id="blogs-dir-list" class="blogs dir-list"> <?php bp_get_template_part( 'blogs/blogs-loop' ); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/common/search/dir-search-form.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/common/search/dir-search-form.php new file mode 100644 index 0000000000000000000000000000000000000000..f59ef5e15f70a0a92b321c96743464d9b8e77e60 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/common/search/dir-search-form.php @@ -0,0 +1,16 @@ +<?php +/** + * Output the search form markup. + * + * @since 2.7.0 + */ +?> + +<div id="<?php echo esc_attr( bp_current_component() ); ?>-dir-search" class="dir-search" role="search"> + <form action="" method="get" id="search-<?php echo esc_attr( bp_current_component() ); ?>-form"> + <label for="<?php bp_search_input_name(); ?>" class="bp-screen-reader-text"><?php bp_search_placeholder(); ?></label> + <input type="text" name="<?php echo esc_attr( bp_core_get_component_search_query_arg() ); ?>" id="<?php bp_search_input_name(); ?>" placeholder="<?php bp_search_placeholder(); ?>" /> + + <input type="submit" id="<?php echo esc_attr( bp_get_search_input_name() ); ?>_submit" name="<?php bp_search_input_name(); ?>_submit" value="<?php esc_attr_e( 'Search', 'buddypress' ); ?>" /> + </form> +</div><!-- #<?php echo esc_attr( bp_current_component() ); ?>-dir-search --> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/forums/index.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/forums/index.php index 3508f30e9db0c091f9b526e0291d77c0675ef880..9c3a5433f61ee36d67ab3709d8ced5556ea643ed 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/forums/index.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/forums/index.php @@ -29,11 +29,19 @@ */ do_action( 'bp_before_directory_forums_content' ); ?> - <div id="forums-dir-search" class="dir-search" role="search"> + <?php /* Backward compatibility for inline search form. Use template part instead. */ ?> + <?php if ( has_filter( 'bp_directory_forums_search_form' ) ) : ?> - <?php bp_directory_forums_search_form(); ?> + <div id="forums-dir-search" class="dir-search" role="search"> + <?php bp_directory_forums_search_form(); ?> + </div> + + <?php else: ?> + + <?php bp_get_template_part( 'common/search/dir-search-form' ); ?> + + <?php endif; ?> - </div> </form> <?php @@ -47,7 +55,7 @@ <form action="" method="post" id="forums-directory-form" class="dir-form"> - <div class="item-list-tabs" role="navigation"> + <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Forums directory main navigation', 'buddypress' ); ?>" role="navigation"> <ul> <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> @@ -69,7 +77,7 @@ </ul> </div> - <div class="item-list-tabs" id="subnav" role="navigation"> + <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php @@ -160,10 +168,13 @@ <a name="post-new"></a> <h5><?php _e( 'Create New Topic:', 'buddypress' ); ?></h5> + <div id="template-notices" role="alert" aria-atomic="true"> <?php - /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ - do_action( 'template_notices' ); ?> + /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ + do_action( 'template_notices' ); ?> + + </div> <label for="topic_title"><?php _e( 'Title:', 'buddypress' ); ?></label> <input type="text" name="topic_title" id="topic_title" value="" maxlength="100" /> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/create.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/create.php index 244b0fc0420c582425b0c28544ed4e211f5461bb..692028a415976c08e2faa938a968db6184cb6871 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/create.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/create.php @@ -35,7 +35,7 @@ do_action( 'bp_before_create_group_page' ); ?> */ do_action( 'bp_before_create_group' ); ?> - <div class="item-list-tabs no-ajax" id="group-create-tabs" role="navigation"> + <div class="item-list-tabs no-ajax" id="group-create-tabs"> <ul> <?php bp_group_creation_tabs(); ?> @@ -43,16 +43,24 @@ do_action( 'bp_before_create_group_page' ); ?> </ul> </div> - <?php + <div id="template-notices" role="alert" aria-atomic="true"> + <?php - /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ - do_action( 'template_notices' ); ?> + /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ + do_action( 'template_notices' ); ?> + + </div> <div class="item-body" id="group-create-body"> <?php /* Group creation step 1: Basic group details */ ?> <?php if ( bp_is_group_creation_step( 'group-details' ) ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Group Details', 'buddypress' ); + ?></h2> + <?php /** @@ -89,6 +97,11 @@ do_action( 'bp_before_create_group_page' ); ?> <?php /* Group creation step 2: Group settings */ ?> <?php if ( bp_is_group_creation_step( 'group-settings' ) ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Group Settings', 'buddypress' ); + ?></h2> + <?php /** @@ -98,51 +111,83 @@ do_action( 'bp_before_create_group_page' ); ?> */ do_action( 'bp_before_group_settings_creation_step' ); ?> - <h4><?php _e( 'Privacy Options', 'buddypress' ); ?></h4> + <fieldset class="group-create-privacy"> - <div class="radio"> + <legend><?php _e( 'Privacy Options', 'buddypress' ); ?></legend> - <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> + <div class="radio"> - <ul id="public-group-description"> - <li><?php _e( 'Any site member can join this group.', 'buddypress' ); ?></li> - <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> - <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li> - </ul> + <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> + <ul id="public-group-description"> + <li><?php _e( 'Any site member can join this group.', 'buddypress' ); ?></li> + <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> + <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li> + </ul> - <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> + <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> - <ul id="private-group-description"> - <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li> - <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> - <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> - </ul> + <ul id="private-group-description"> + <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li> + <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> + <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> + </ul> + <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> - <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> + <ul id="hidden-group-description"> + <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li> + <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li> + <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> + </ul> - <ul id="hidden-group-description"> - <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li> - <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li> - <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> - </ul> + </div> - </div> + </fieldset> - <h4><?php _e( 'Group Invitations', 'buddypress' ); ?></h4> + <?php // Group type selection ?> + <?php if ( $group_types = bp_groups_get_group_types( array( 'show_in_create_screen' => true ), 'objects' ) ): ?> - <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p> + <fieldset class="group-create-types"> + <legend><?php _e( 'Group Types', 'buddypress' ); ?></legend> - <div class="radio"> + <p><?php _e( 'Select the types this group should be a part of.', 'buddypress' ); ?></p> - <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> + <?php foreach ( $group_types as $type ) : ?> + <div class="checkbox"> + <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'] ); ?> + <?php + if ( ! empty( $type->description ) ) { + /* translators: Group type description shown when creating a group. */ + printf( __( '– %s', 'buddypress' ), '<span class="bp-group-type-desc">' . esc_html( $type->description ) . '</span>' ); + } + ?> + </label> + </div> - <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> + <?php endforeach; ?> - <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> + </fieldset> - </div> + <?php endif; ?> + + <fieldset class="group-create-invitations"> + + <legend><?php _e( 'Group Invitations', 'buddypress' ); ?></legend> + + <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p> + + <div class="radio"> + + <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> + + <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> + + <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> + + </div> + + </fieldset> <?php if ( bp_is_active( 'forums' ) ) : ?> @@ -179,6 +224,11 @@ do_action( 'bp_before_create_group_page' ); ?> <?php /* Group creation step 3: Avatar Uploads */ ?> <?php if ( bp_is_group_creation_step( 'group-avatar' ) ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Group Avatar', 'buddypress' ); + ?></h2> + <?php /** @@ -259,6 +309,11 @@ do_action( 'bp_before_create_group_page' ); ?> <?php /* Group creation step 4: Cover image */ ?> <?php if ( bp_is_group_creation_step( 'group-cover-image' ) ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Cover Image', 'buddypress' ); + ?></h2> + <?php /** @@ -290,6 +345,11 @@ do_action( 'bp_before_create_group_page' ); ?> <?php /* Group creation step 5: Invite friends to group */ ?> <?php if ( bp_is_group_creation_step( 'group-invites' ) ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Group Invites', 'buddypress' ); + ?></h2> + <?php /** diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/groups-loop.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/groups-loop.php index a988259eeac673943ef5e1f2ce1fe48af3f7a373..ddc518b034fbd15b7c81a54ad69ea0759b59acc6 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/groups-loop.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/groups-loop.php @@ -19,6 +19,10 @@ */ do_action( 'bp_before_groups_loop' ); ?> +<?php if ( bp_get_current_group_directory_type() ) : ?> + <p class="current-group-type"><?php bp_current_group_directory_type_message() ?></p> +<?php endif; ?> + <?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) ) ) : ?> <div id="pag-top" class="pagination"> @@ -46,7 +50,7 @@ do_action( 'bp_before_groups_loop' ); ?> */ do_action( 'bp_before_directory_groups_list' ); ?> - <ul id="groups-list" class="item-list"> + <ul id="groups-list" class="item-list" aria-live="assertive" aria-atomic="true" aria-relevant="all"> <?php while ( bp_groups() ) : bp_the_group(); ?> @@ -59,7 +63,7 @@ do_action( 'bp_before_groups_loop' ); ?> <div class="item"> <div class="item-title"><a href="<?php bp_group_permalink(); ?>"><?php bp_group_name(); ?></a></div> - <div class="item-meta"><span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span></div> + <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> <div class="item-desc"><?php bp_group_description_excerpt(); ?></div> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/index.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/index.php index 1379734000e77bd07d8099068e46de01ec27edd1..bea025ab40cc69a8cbfc3834e52cd5d7289d9cac 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/index.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/index.php @@ -33,18 +33,30 @@ do_action( 'bp_before_directory_groups_page' ); ?> */ do_action( 'bp_before_directory_groups_content' ); ?> - <div id="group-dir-search" class="dir-search" role="search"> - <?php bp_directory_groups_search_form(); ?> - </div><!-- #group-dir-search --> + <?php /* Backward compatibility for inline search form. Use template part instead. */ ?> + <?php if ( has_filter( 'bp_directory_groups_search_form' ) ) : ?> + + <div id="group-dir-search" class="dir-search" role="search"> + <?php bp_directory_groups_search_form(); ?> + </div><!-- #group-dir-search --> + + <?php else: ?> + + <?php bp_get_template_part( 'common/search/dir-search-form' ); ?> + + <?php endif; ?> <form action="" method="post" id="groups-directory-form" class="dir-form"> - <?php + <div id="template-notices" role="alert" aria-atomic="true"> + <?php + + /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ + do_action( 'template_notices' ); ?> - /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ - do_action( 'template_notices' ); ?> + </div> - <div class="item-list-tabs" role="navigation"> + <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Groups directory main navigation', 'buddypress' ); ?>"> <ul> <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> @@ -64,7 +76,7 @@ do_action( 'bp_before_directory_groups_page' ); ?> </ul> </div><!-- .item-list-tabs --> - <div class="item-list-tabs" id="subnav" role="navigation"> + <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Groups directory secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php @@ -98,6 +110,11 @@ do_action( 'bp_before_directory_groups_page' ); ?> </ul> </div> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Groups directory', 'buddypress' ); + ?></h2> + <div id="groups-dir-list" class="groups dir-list"> <?php bp_get_template_part( 'groups/groups-loop' ); ?> </div><!-- #groups-dir-list --> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/activity.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/activity.php index 80443eb4baf2b29380c8799a914285f63b7c19fa..8c5569955e5f6e46dce41832e602053fae6e6a73 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/activity.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/activity.php @@ -7,7 +7,7 @@ */ ?> -<div class="item-list-tabs no-ajax" id="subnav" role="navigation"> +<div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <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> @@ -72,7 +72,7 @@ do_action( 'bp_after_group_activity_post_form' ); ?> */ do_action( 'bp_before_group_activity_content' ); ?> -<div class="activity single-group"> +<div class="activity single-group" aria-live="polite" aria-atomic="true" aria-relevant="all"> <?php bp_get_template_part( 'activity/activity-loop' ); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin.php index 6f436bfbd3357c95ba652596f1a1a40a00a872dd..c376186d172b4da0d2ee1ad678b91b36798d83a6 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin.php @@ -7,501 +7,64 @@ */ ?> -<div class="item-list-tabs no-ajax" id="subnav" role="navigation"> +<div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php bp_group_admin_tabs(); ?> </ul> </div><!-- .item-list-tabs --> -<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"> - <?php - /** - * Fires inside the group admin form and before the content. + * Fires before the group admin form and content. * - * @since 1.1.0 + * @since 2.7.0 */ -do_action( 'bp_before_group_admin_content' ); ?> - -<?php /* Edit Group Details */ ?> -<?php if ( bp_is_group_admin_screen( 'edit-details' ) ) : ?> - - <?php - - /** - * Fires before the display of group admin details. - * - * @since 1.1.0 - */ - do_action( 'bp_before_group_details_admin' ); ?> - - <label for="group-name"><?php _e( 'Group Name (required)', 'buddypress' ); ?></label> - <input type="text" name="group-name" id="group-name" value="<?php bp_group_name(); ?>" aria-required="true" /> - - <label for="group-desc"><?php _e( 'Group Description (required)', 'buddypress' ); ?></label> - <textarea name="group-desc" id="group-desc" aria-required="true"><?php bp_group_description_editable(); ?></textarea> - - <?php - - /** - * Fires after the group description admin details. - * - * @since 1.0.0 - */ - do_action( 'groups_custom_group_fields_editable' ); ?> - - <p> - <label for="group-notify-members"> - <input type="checkbox" name="group-notify-members" id="group-notify-members" value="1" /> <?php _e( 'Notify group members of these changes via email', 'buddypress' ); ?> - </label> - </p> - - <?php - - /** - * Fires after the display of group admin details. - * - * @since 1.1.0 - */ - do_action( 'bp_after_group_details_admin' ); ?> - - <p><input type="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="save" name="save" /></p> - <?php wp_nonce_field( 'groups_edit_group_details' ); ?> - -<?php endif; ?> - -<?php /* Manage Group Settings */ ?> -<?php if ( bp_is_group_admin_screen( 'group-settings' ) ) : ?> - - <?php - - /** - * Fires before the group settings admin display. - * - * @since 1.1.0 - */ - do_action( 'bp_before_group_settings_admin' ); ?> - - <?php if ( bp_is_active( 'forums' ) ) : ?> - - <?php if ( bp_forums_is_installed_correctly() ) : ?> - - <div class="checkbox"> - <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> - </div> - - <hr /> - - <?php endif; ?> - - <?php endif; ?> - - <h4><?php _e( 'Privacy Options', 'buddypress' ); ?></h4> - - <div class="radio"> - - <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> - - <ul id="public-group-description"> - <li><?php _e( 'Any site member can join this group.', 'buddypress' ); ?></li> - <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> - <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li> - </ul> - - <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> - - <ul id="private-group-description"> - <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li> - <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> - <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> - </ul> +do_action( 'bp_before_group_admin_form' ); ?> - <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> - - <ul id="hidden-group-description"> - <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li> - <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li> - <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> - </ul> - - </div> - - <hr /> - - <h4><?php _e( 'Group Invitations', 'buddypress' ); ?></h4> - - <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p> - - <div class="radio"> - - <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> - - <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> - - <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> - - </div> - - <hr /> +<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"> <?php - /** - * Fires after the group settings admin display. + * Fires inside the group admin form and before the content. * * @since 1.1.0 */ - do_action( 'bp_after_group_settings_admin' ); ?> + do_action( 'bp_before_group_admin_content' ); ?> - <p><input type="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="save" name="save" /></p> - <?php wp_nonce_field( 'groups_edit_group_settings' ); ?> + <?php /* Fetch the template for the current admin screen being viewed */ ?> -<?php endif; ?> + <?php if ( bp_is_group_admin_screen( bp_action_variable() ) ) : ?> -<?php /* Group Avatar Settings */ ?> -<?php if ( bp_is_group_admin_screen( 'group-avatar' ) ) : ?> - - <?php if ( 'upload-image' == bp_get_avatar_admin_step() ) : ?> - - <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> - - <p> - <label for="file" class="bp-screen-reader-text"><?php - /* translators: accessibility text */ - _e( 'Select an image', 'buddypress' ); - ?></label> - <input type="file" name="file" id="file" /> - <input type="submit" name="upload" id="upload" value="<?php esc_attr_e( 'Upload Image', 'buddypress' ); ?>" /> - <input type="hidden" name="action" id="action" value="bp_avatar_upload" /> - </p> - - <?php if ( bp_get_group_has_avatar() ) : ?> - - <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> - - <?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_title' => __( 'Delete Group Profile Photo', 'buddypress' ), 'link_text' => __( 'Delete Group Profile Photo', 'buddypress' ) ) ); ?> - - <?php endif; ?> - - <?php - /** - * Load the Avatar UI templates - * - * @since 2.3.0 - */ - bp_avatar_get_templates(); ?> - - <?php wp_nonce_field( 'bp_avatar_upload' ); ?> + <?php bp_get_template_part( 'groups/single/admin/' . bp_action_variable() ); ?> <?php endif; ?> - <?php if ( 'crop-image' == bp_get_avatar_admin_step() ) : ?> - - <h4><?php _e( 'Crop Profile Photo', 'buddypress' ); ?></h4> - - <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile photo to crop', 'buddypress' ); ?>" /> - - <div id="avatar-crop-pane"> - <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-crop-preview" class="avatar" alt="<?php esc_attr_e( 'Profile photo preview', 'buddypress' ); ?>" /> - </div> - - <input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php esc_attr_e( 'Crop Image', 'buddypress' ); ?>" /> - - <input type="hidden" name="image_src" id="image_src" value="<?php bp_avatar_to_crop_src(); ?>" /> - <input type="hidden" id="x" name="x" /> - <input type="hidden" id="y" name="y" /> - <input type="hidden" id="w" name="w" /> - <input type="hidden" id="h" name="h" /> - - <?php wp_nonce_field( 'bp_avatar_cropstore' ); ?> - - <?php endif; ?> - -<?php endif; ?> - -<?php /* Group Cover image Settings */ ?> -<?php if ( bp_is_group_admin_screen( 'group-cover-image' ) ) : ?> - - <h4><?php _e( 'Change Cover Image', 'buddypress' ); ?></h4> - - <?php - - /** - * Fires before the display of profile cover image upload content. - * - * @since 2.4.0 - */ - do_action( 'bp_before_group_settings_cover_image' ); ?> - - <p><?php _e( 'The Cover Image will be used to customize the header of your group.', 'buddypress' ); ?></p> - - <?php bp_attachments_get_template_part( 'cover-images/index' ); ?> - <?php /** - * Fires after the display of group cover image upload content. + * Fires inside the group admin template. * - * @since 2.4.0 - */ - do_action( 'bp_after_group_settings_cover_image' ); ?> - -<?php endif; ?> - -<?php /* Manage Group Members */ ?> -<?php if ( bp_is_group_admin_screen( 'manage-members' ) ) : ?> - - <?php - - /** - * Fires before the group manage members admin display. + * Allows plugins to add custom group edit screens. * * @since 1.1.0 */ - do_action( 'bp_before_group_manage_members_admin' ); ?> - - <div class="bp-widget"> - <h4><?php _e( 'Administrators', 'buddypress' ); ?></h4> - - <?php if ( bp_has_members( '&include='. bp_group_admin_ids() ) ) : ?> - - <ul id="admins-list" class="item-list single-line"> - - <?php while ( bp_members() ) : bp_the_member(); ?> - <li> - <?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() ) ) ); ?> - <h5> - <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a> - <?php if ( count( bp_group_admin_ids( false, 'array' ) ) > 1 ) : ?> - <span class="small"> - <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> - </span> - <?php endif; ?> - </h5> - </li> - <?php endwhile; ?> - - </ul> - - <?php endif; ?> - - </div> - - <?php if ( bp_group_has_moderators() ) : ?> - <div class="bp-widget"> - <h4><?php _e( 'Moderators', 'buddypress' ); ?></h4> - - <?php if ( bp_has_members( '&include=' . bp_group_mod_ids() ) ) : ?> - <ul id="mods-list" class="item-list single-line"> - - <?php while ( bp_members() ) : bp_the_member(); ?> - <li> - <?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() ) ) ); ?> - <h5> - <a href="<?php bp_member_permalink(); ?>"> <?php bp_member_name(); ?></a> - <span class="small"> - <a href="<?php bp_group_member_promote_admin_link( array( 'user_id' => bp_get_member_user_id() ) ); ?>" class="button confirm mod-promote-to-admin" title="<?php esc_attr_e( 'Promote to Admin', 'buddypress' ); ?>"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a> - <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> - </span> - </h5> - </li> - <?php endwhile; ?> - - </ul> - - <?php endif; ?> - </div> - <?php endif ?> - - - <div class="bp-widget"> - <h4><?php _e( "Members", 'buddypress' ); ?></h4> - - <?php if ( bp_group_has_members( 'per_page=15&exclude_banned=0' ) ) : ?> - - <?php if ( bp_group_member_needs_pagination() ) : ?> - - <div class="pagination no-ajax"> - - <div id="member-count" class="pag-count"> - <?php bp_group_member_pagination_count(); ?> - </div> - - <div id="member-admin-pagination" class="pagination-links"> - <?php bp_group_member_admin_pagination(); ?> - </div> - - </div> - - <?php endif; ?> - - <ul id="members-list" class="item-list single-line"> - <?php while ( bp_group_members() ) : bp_group_the_member(); ?> - - <li class="<?php bp_group_member_css_class(); ?>"> - <?php bp_group_member_avatar_mini(); ?> - - <h5> - <?php bp_group_member_link(); ?> - - <?php if ( bp_get_group_member_is_banned() ) _e( '(banned)', 'buddypress' ); ?> - - <span class="small"> - - <?php if ( bp_get_group_member_is_banned() ) : ?> - - <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> - - <?php else : ?> - - <a href="<?php bp_group_member_ban_link(); ?>" class="button confirm member-ban" title="<?php esc_attr_e( 'Kick and ban this member', 'buddypress' ); ?>"><?php _e( 'Kick & Ban', 'buddypress' ); ?></a> - <a href="<?php bp_group_member_promote_mod_link(); ?>" class="button confirm member-promote-to-mod" title="<?php esc_attr_e( 'Promote to Mod', 'buddypress' ); ?>"><?php _e( 'Promote to Mod', 'buddypress' ); ?></a> - <a href="<?php bp_group_member_promote_admin_link(); ?>" class="button confirm member-promote-to-admin" title="<?php esc_attr_e( 'Promote to Admin', 'buddypress' ); ?>"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a> - - <?php endif; ?> - - <a href="<?php bp_group_member_remove_link(); ?>" class="button confirm" title="<?php esc_attr_e( 'Remove this member', 'buddypress' ); ?>"><?php _e( 'Remove from group', 'buddypress' ); ?></a> - - <?php - - /** - * Fires inside the display of a member admin item in group management area. - * - * @since 1.1.0 - */ - do_action( 'bp_group_manage_members_admin_item' ); ?> - - </span> - </h5> - </li> - - <?php endwhile; ?> - </ul> - - <?php if ( bp_group_member_needs_pagination() ) : ?> - - <div class="pagination no-ajax"> - - <div id="member-count" class="pag-count"> - <?php bp_group_member_pagination_count(); ?> - </div> - - <div id="member-admin-pagination" class="pagination-links"> - <?php bp_group_member_admin_pagination(); ?> - </div> - - </div> - - <?php endif; ?> - - <?php else: ?> - - <div id="message" class="info"> - <p><?php _e( 'This group has no members.', 'buddypress' ); ?></p> - </div> - - <?php endif; ?> - - </div> - - <?php - - /** - * Fires after the group manage members admin display. - * - * @since 1.1.0 - */ - do_action( 'bp_after_group_manage_members_admin' ); ?> - -<?php endif; ?> - -<?php /* Manage Membership Requests */ ?> -<?php if ( bp_is_group_admin_screen( 'membership-requests' ) ) : ?> + do_action( 'groups_custom_edit_steps' ); ?> <?php /** - * Fires before the display of group membership requests admin. + * Fires inside the group admin form and after the content. * * @since 1.1.0 */ - do_action( 'bp_before_group_membership_requests_admin' ); ?> - - <div class="requests"> - - <?php bp_get_template_part( 'groups/single/requests-loop' ); ?> - - </div> - - <?php - - /** - * Fires after the display of group membership requests admin. - * - * @since 1.1.0 - */ - do_action( 'bp_after_group_membership_requests_admin' ); ?> - -<?php endif; ?> - -<?php - -/** - * Fires inside the group admin template. - * - * Allows plugins to add custom group edit screens. - * - * @since 1.1.0 - */ -do_action( 'groups_custom_edit_steps' ); ?> - -<?php /* Delete Group Option */ ?> -<?php if ( bp_is_group_admin_screen( 'delete-group' ) ) : ?> + do_action( 'bp_after_group_admin_content' ); ?> - <?php - - /** - * Fires before the display of group delete admin. - * - * @since 1.1.0 - */ - do_action( 'bp_before_group_delete_admin' ); ?> - - <div id="message" class="info"> - <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> - </div> - - <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> - - <?php - - /** - * Fires after the display of group delete admin. - * - * @since 1.1.0 - */ - do_action( 'bp_after_group_delete_admin' ); ?> - - <div class="submit"> - <input type="submit" disabled="disabled" value="<?php esc_attr_e( 'Delete Group', 'buddypress' ); ?>" id="delete-group-button" name="delete-group-button" /> - </div> - - <?php wp_nonce_field( 'groups_delete_group' ); ?> - -<?php endif; ?> - -<?php /* This is important, don't forget it */ ?> - <input type="hidden" name="group-id" id="group-id" value="<?php bp_group_id(); ?>" /> +</form><!-- #group-settings-form --> <?php - /** - * Fires inside the group admin form and after the content. + * Fires after the group admin form and content. * - * @since 1.1.0 + * @since 2.7.0 */ -do_action( 'bp_after_group_admin_content' ); ?> - -</form><!-- #group-settings-form --> - +do_action( 'bp_after_group_admin_form' ); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php new file mode 100644 index 0000000000000000000000000000000000000000..081b4154e2be2aaad564cb1022415fda781ee4c4 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php @@ -0,0 +1,41 @@ +<?php +/** + * BuddyPress - Groups Admin - Delete Group + * + * @package BuddyPress + * @subpackage bp-legacy + */ + +?> + +<h2 class="bp-screen-reader-text"><?php _e( 'Delete Group', 'buddypress' ); ?></h2> + +<?php + +/** + * Fires before the display of group delete admin. + * + * @since 1.1.0 + */ +do_action( 'bp_before_group_delete_admin' ); ?> + +<div id="message" class="info"> + <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> +</div> + +<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> + +<?php + +/** + * Fires after the display of group delete admin. + * + * @since 1.1.0 + */ +do_action( 'bp_after_group_delete_admin' ); ?> + +<div class="submit"> + <input type="submit" disabled="disabled" value="<?php esc_attr_e( 'Delete Group', 'buddypress' ); ?>" id="delete-group-button" name="delete-group-button" /> +</div> + +<?php wp_nonce_field( 'groups_delete_group' ); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php new file mode 100644 index 0000000000000000000000000000000000000000..0f8d98f97c9763e2e3ee189a64430725536676ec --- /dev/null +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php @@ -0,0 +1,53 @@ +<?php +/** + * BuddyPress - Groups Admin - Edit Details + * + * @package BuddyPress + * @subpackage bp-legacy + */ + +?> + +<h2 class="bp-screen-reader-text"><?php _e( 'Manage Group Details', 'buddypress' ); ?></h2> + +<?php + +/** + * Fires before the display of group admin details. + * + * @since 1.1.0 + */ +do_action( 'bp_before_group_details_admin' ); ?> + +<label for="group-name"><?php _e( 'Group Name (required)', 'buddypress' ); ?></label> +<input type="text" name="group-name" id="group-name" value="<?php bp_group_name(); ?>" aria-required="true" /> + +<label for="group-desc"><?php _e( 'Group Description (required)', 'buddypress' ); ?></label> +<textarea name="group-desc" id="group-desc" aria-required="true"><?php bp_group_description_editable(); ?></textarea> + +<?php + +/** + * Fires after the group description admin details. + * + * @since 1.0.0 + */ +do_action( 'groups_custom_group_fields_editable' ); ?> + +<p> + <label for="group-notify-members"> + <input type="checkbox" name="group-notify-members" id="group-notify-members" value="1" /> <?php _e( 'Notify group members of these changes via email', 'buddypress' ); ?> + </label> +</p> + +<?php + +/** + * Fires after the display of group admin details. + * + * @since 1.1.0 + */ +do_action( 'bp_after_group_details_admin' ); ?> + +<p><input type="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="save" name="save" /></p> +<?php wp_nonce_field( 'groups_edit_group_details' ); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php new file mode 100644 index 0000000000000000000000000000000000000000..74f22d062131a2b1b31eb6351d8979be82927c36 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php @@ -0,0 +1,67 @@ +<?php +/** + * BuddyPress - Groups Admin - Group Avatar + * + * @package BuddyPress + * @subpackage bp-legacy + */ + +?> + +<h2 class="bp-screen-reader-text"><?php _e( 'Group Avatar', 'buddypress' ); ?></h2> + +<?php if ( 'upload-image' == bp_get_avatar_admin_step() ) : ?> + + <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> + + <p> + <label for="file" class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Select an image', 'buddypress' ); + ?></label> + <input type="file" name="file" id="file" /> + <input type="submit" name="upload" id="upload" value="<?php esc_attr_e( 'Upload Image', 'buddypress' ); ?>" /> + <input type="hidden" name="action" id="action" value="bp_avatar_upload" /> + </p> + + <?php if ( bp_get_group_has_avatar() ) : ?> + + <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> + + <?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' ) ) ); ?> + + <?php endif; ?> + + <?php + /** + * Load the Avatar UI templates + * + * @since 2.3.0 + */ + bp_avatar_get_templates(); ?> + + <?php wp_nonce_field( 'bp_avatar_upload' ); ?> + +<?php endif; ?> + +<?php if ( 'crop-image' == bp_get_avatar_admin_step() ) : ?> + + <h4><?php _e( 'Crop Profile Photo', 'buddypress' ); ?></h4> + + <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile photo to crop', 'buddypress' ); ?>" /> + + <div id="avatar-crop-pane"> + <img src="<?php bp_avatar_to_crop(); ?>" id="avatar-crop-preview" class="avatar" alt="<?php esc_attr_e( 'Profile photo preview', 'buddypress' ); ?>" /> + </div> + + <input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php esc_attr_e( 'Crop Image', 'buddypress' ); ?>" /> + + <input type="hidden" name="image_src" id="image_src" value="<?php bp_avatar_to_crop_src(); ?>" /> + <input type="hidden" id="x" name="x" /> + <input type="hidden" id="y" name="y" /> + <input type="hidden" id="w" name="w" /> + <input type="hidden" id="h" name="h" /> + + <?php wp_nonce_field( 'bp_avatar_cropstore' ); ?> + +<?php endif; ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/group-cover-image.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/group-cover-image.php new file mode 100644 index 0000000000000000000000000000000000000000..5c0807e0b444f84b5ea555e73212354a998de282 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/group-cover-image.php @@ -0,0 +1,33 @@ +<?php +/** + * BuddyPress - Groups Admin - Group Cover Image Settings + * + * @package BuddyPress + * @subpackage bp-legacy + */ + +?> + +<h2><?php _e( 'Cover Image', 'buddypress' ); ?></h2> + +<?php + +/** + * Fires before the display of profile cover image upload content. + * + * @since 2.4.0 + */ +do_action( 'bp_before_group_settings_cover_image' ); ?> + +<p><?php _e( 'The Cover Image will be used to customize the header of your group.', 'buddypress' ); ?></p> + +<?php bp_attachments_get_template_part( 'cover-images/index' ); ?> + +<?php + +/** + * Fires after the display of group cover image upload content. + * + * @since 2.4.0 + */ +do_action( 'bp_after_group_settings_cover_image' ); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php new file mode 100644 index 0000000000000000000000000000000000000000..ac29e5be6eca1d9cdb015c83d69f63475dfdf25e --- /dev/null +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php @@ -0,0 +1,124 @@ +<?php +/** + * BuddyPress - Groups Admin - Group Settings + * + * @package BuddyPress + * @subpackage bp-legacy + */ + +?> + +<h2 class="bp-screen-reader-text"><?php _e( 'Manage Group Settings', 'buddypress' ); ?></h2> + +<?php + +/** + * Fires before the group settings admin display. + * + * @since 1.1.0 + */ +do_action( 'bp_before_group_settings_admin' ); ?> + +<?php if ( bp_is_active( 'forums' ) ) : ?> + + <?php if ( bp_forums_is_installed_correctly() ) : ?> + + <div class="checkbox"> + <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> + </div> + + <hr /> + + <?php endif; ?> + +<?php endif; ?> + +<fieldset class="group-create-privacy"> + + <legend><?php _e( 'Privacy Options', 'buddypress' ); ?></legend> + + <div class="radio"> + + <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> + + <ul id="public-group-description"> + <li><?php _e( 'Any site member can join this group.', 'buddypress' ); ?></li> + <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> + <li><?php _e( 'Group content and activity will be visible to any site member.', 'buddypress' ); ?></li> + </ul> + + <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> + + <ul id="private-group-description"> + <li><?php _e( 'Only users who request membership and are accepted can join the group.', 'buddypress' ); ?></li> + <li><?php _e( 'This group will be listed in the groups directory and in search results.', 'buddypress' ); ?></li> + <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> + </ul> + + <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> + + <ul id="hidden-group-description"> + <li><?php _e( 'Only users who are invited can join the group.', 'buddypress' ); ?></li> + <li><?php _e( 'This group will not be listed in the groups directory or search results.', 'buddypress' ); ?></li> + <li><?php _e( 'Group content and activity will only be visible to members of the group.', 'buddypress' ); ?></li> + </ul> + + </div> + +</fieldset> + +<?php // Group type selection ?> +<?php if ( $group_types = bp_groups_get_group_types( array( 'show_in_create_screen' => true ), 'objects' ) ): ?> + + <fieldset class="group-create-types"> + <legend><?php _e( 'Group Types', 'buddypress' ); ?></legend> + + <p><?php _e( 'Select the types this group should be a part of.', 'buddypress' ); ?></p> + + <?php foreach ( $group_types as $type ) : ?> + <div class="checkbox"> + <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( bp_groups_has_group_type( bp_get_current_group_id(), $type->name ) ); ?>/> <?php echo esc_html( $type->labels['name'] ); ?> + <?php + if ( ! empty( $type->description ) ) { + printf( __( '– %s', 'buddypress' ), '<span class="bp-group-type-desc">' . esc_html( $type->description ) . '</span>' ); + } + ?> + </label> + </div> + + <?php endforeach; ?> + + </fieldset> + +<?php endif; ?> + +<fieldset class="group-create-invitations"> + + <legend><?php _e( 'Group Invitations', 'buddypress' ); ?></legend> + + <p><?php _e( 'Which members of this group are allowed to invite others?', 'buddypress' ); ?></p> + + <div class="radio"> + + <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> + + <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> + + <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> + + </div> + +</fieldset> + +<?php + +/** + * Fires after the group settings admin display. + * + * @since 1.1.0 + */ +do_action( 'bp_after_group_settings_admin' ); ?> + +<p><input type="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="save" name="save" /></p> +<?php wp_nonce_field( 'groups_edit_group_settings' ); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php new file mode 100644 index 0000000000000000000000000000000000000000..e546eab5ef88c747a26bbd94abc7e71ee3b72f44 --- /dev/null +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php @@ -0,0 +1,332 @@ +<?php +/** + * BuddyPress - Groups Admin - Manage Members + * + * @package BuddyPress + * @subpackage bp-legacy + */ + +?> + +<h2 class="bp-screen-reader-text"><?php _e( 'Manage Members', 'buddypress' ); ?></h2> + +<?php + +/** + * Fires before the group manage members admin display. + * + * @since 1.1.0 + */ +do_action( 'bp_before_group_manage_members_admin' ); ?> + +<div aria-live="polite" aria-relevant="all" aria-atomic="true"> + + <div class="bp-widget group-members-list group-admins-list"> + <h3 class="section-header"><?php _e( 'Administrators', 'buddypress' ); ?></h3> + + <?php if ( bp_group_has_members( array( 'per_page' => 15, 'group_role' => array( 'admin' ), 'page_arg' => 'mlpage-admin' ) ) ) : ?> + + <?php if ( bp_group_member_needs_pagination() ) : ?> + + <div class="pagination no-ajax"> + + <div id="member-count" class="pag-count"> + <?php bp_group_member_pagination_count(); ?> + </div> + + <div id="member-admin-pagination" class="pagination-links"> + <?php bp_group_member_admin_pagination(); ?> + </div> + + </div> + + <?php endif; ?> + + <ul id="admins-list" class="item-list"> + <?php while ( bp_group_members() ) : bp_group_the_member(); ?> + <li> + <div class="item-avatar"> + <?php bp_group_member_avatar_thumb(); ?> + </div> + + <div class="item"> + <div class="item-title"> + <?php bp_group_member_link(); ?> + </div> + <p class="joined item-meta"> + <?php bp_group_member_joined_since(); ?> + </p> + <?php + + /** + * Fires inside the item section of a member admin item in group management area. + * + * @since 1.1.0 + * @since 2.7.0 Added $section parameter. + * + * @param $section Which list contains this item. + */ + do_action( 'bp_group_manage_members_admin_item', 'admins-list' ); ?> + </div> + + <div class="action"> + <?php if ( count( bp_group_admin_ids( false, 'array' ) ) > 1 ) : ?> + <a class="button confirm admin-demote-to-member" href="<?php bp_group_member_demote_link(); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a> + <?php endif; ?> + + <?php + + /** + * Fires inside the action section of a member admin item in group management area. + * + * @since 2.7.0 + * + * @param $section Which list contains this item. + */ + do_action( 'bp_group_manage_members_admin_actions', 'admins-list' ); ?> + </div> + </li> + <?php endwhile; ?> + </ul> + + <?php if ( bp_group_member_needs_pagination() ) : ?> + + <div class="pagination no-ajax"> + + <div id="member-count" class="pag-count"> + <?php bp_group_member_pagination_count(); ?> + </div> + + <div id="member-admin-pagination" class="pagination-links"> + <?php bp_group_member_admin_pagination(); ?> + </div> + + </div> + + <?php endif; ?> + + <?php else: ?> + + <div id="message" class="info"> + <p><?php _e( 'No group administrators were found.', 'buddypress' ); ?></p> + </div> + + <?php endif; ?> + </div> + + <div class="bp-widget group-members-list group-mods-list"> + <h3 class="section-header"><?php _e( 'Moderators', 'buddypress' ); ?></h3> + + <?php if ( bp_group_has_members( array( 'per_page' => 15, 'group_role' => array( 'mod' ), 'page_arg' => 'mlpage-mod' ) ) ) : ?> + + <?php if ( bp_group_member_needs_pagination() ) : ?> + + <div class="pagination no-ajax"> + + <div id="member-count" class="pag-count"> + <?php bp_group_member_pagination_count(); ?> + </div> + + <div id="member-admin-pagination" class="pagination-links"> + <?php bp_group_member_admin_pagination(); ?> + </div> + + </div> + + <?php endif; ?> + + <ul id="mods-list" class="item-list"> + + <?php while ( bp_group_members() ) : bp_group_the_member(); ?> + <li> + <div class="item-avatar"> + <?php bp_group_member_avatar_thumb(); ?> + </div> + + <div class="item"> + <div class="item-title"> + <?php bp_group_member_link(); ?> + </div> + <p class="joined item-meta"> + <?php bp_group_member_joined_since(); ?> + </p> + <?php + + /** + * Fires inside the item section of a member admin item in group management area. + * + * @since 1.1.0 + * @since 2.7.0 Added $section parameter. + * + * @param $section Which list contains this item. + */ + do_action( 'bp_group_manage_members_admin_item', 'admins-list' ); ?> + </div> + + <div class="action"> + <a href="<?php bp_group_member_promote_admin_link(); ?>" class="button confirm mod-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a> + <a class="button confirm mod-demote-to-member" href="<?php bp_group_member_demote_link(); ?>"><?php _e( 'Demote to Member', 'buddypress' ); ?></a> + + <?php + + /** + * Fires inside the action section of a member admin item in group management area. + * + * @since 2.7.0 + * + * @param $section Which list contains this item. + */ + do_action( 'bp_group_manage_members_admin_actions', 'mods-list' ); ?> + + </div> + </li> + <?php endwhile; ?> + + </ul> + + <?php if ( bp_group_member_needs_pagination() ) : ?> + + <div class="pagination no-ajax"> + + <div id="member-count" class="pag-count"> + <?php bp_group_member_pagination_count(); ?> + </div> + + <div id="member-admin-pagination" class="pagination-links"> + <?php bp_group_member_admin_pagination(); ?> + </div> + + </div> + + <?php endif; ?> + + <?php else: ?> + + <div id="message" class="info"> + <p><?php _e( 'No group moderators were found.', 'buddypress' ); ?></p> + </div> + + <?php endif; ?> + </div> + + <div class="bp-widget group-members-list"> + <h3 class="section-header"><?php _e( "Members", 'buddypress' ); ?></h3> + + <?php if ( bp_group_has_members( array( 'per_page' => 15, 'exclude_banned' => 0 ) ) ) : ?> + + <?php if ( bp_group_member_needs_pagination() ) : ?> + + <div class="pagination no-ajax"> + + <div id="member-count" class="pag-count"> + <?php bp_group_member_pagination_count(); ?> + </div> + + <div id="member-admin-pagination" class="pagination-links"> + <?php bp_group_member_admin_pagination(); ?> + </div> + + </div> + + <?php endif; ?> + + <ul id="members-list" class="item-list" aria-live="assertive" aria-relevant="all"> + <?php while ( bp_group_members() ) : bp_group_the_member(); ?> + + <li class="<?php bp_group_member_css_class(); ?>"> + <div class="item-avatar"> + <?php bp_group_member_avatar_thumb(); ?> + </div> + + <div class="item"> + <div class="item-title"> + <?php bp_group_member_link(); ?> + <?php + if ( bp_get_group_member_is_banned() ) { + echo ' <span class="banned">'; + _e( '(banned)', 'buddypress' ); + echo '</span>'; + } ?> + </div> + <p class="joined item-meta"> + <?php bp_group_member_joined_since(); ?> + </p> + <?php + + /** + * Fires inside the item section of a member admin item in group management area. + * + * @since 1.1.0 + * @since 2.7.0 Added $section parameter. + * + * @param $section Which list contains this item. + */ + do_action( 'bp_group_manage_members_admin_item', 'admins-list' ); ?> + </div> + + <div class="action"> + <?php if ( bp_get_group_member_is_banned() ) : ?> + + <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> + + <?php else : ?> + + <a href="<?php bp_group_member_ban_link(); ?>" class="button confirm member-ban"><?php _e( 'Kick & Ban', 'buddypress' ); ?></a> + <a href="<?php bp_group_member_promote_mod_link(); ?>" class="button confirm member-promote-to-mod"><?php _e( 'Promote to Mod', 'buddypress' ); ?></a> + <a href="<?php bp_group_member_promote_admin_link(); ?>" class="button confirm member-promote-to-admin"><?php _e( 'Promote to Admin', 'buddypress' ); ?></a> + + <?php endif; ?> + + <a href="<?php bp_group_member_remove_link(); ?>" class="button confirm"><?php _e( 'Remove from group', 'buddypress' ); ?></a> + + <?php + + /** + * Fires inside the action section of a member admin item in group management area. + * + * @since 2.7.0 + * + * @param $section Which list contains this item. + */ + do_action( 'bp_group_manage_members_admin_actions', 'members-list' ); ?> + </div> + </li> + + <?php endwhile; ?> + </ul> + + <?php if ( bp_group_member_needs_pagination() ) : ?> + + <div class="pagination no-ajax"> + + <div id="member-count" class="pag-count"> + <?php bp_group_member_pagination_count(); ?> + </div> + + <div id="member-admin-pagination" class="pagination-links"> + <?php bp_group_member_admin_pagination(); ?> + </div> + + </div> + + <?php endif; ?> + + <?php else: ?> + + <div id="message" class="info"> + <p><?php _e( 'No group members were found.', 'buddypress' ); ?></p> + </div> + + <?php endif; ?> + </div> + +</div> + +<?php + +/** + * Fires after the group manage members admin display. + * + * @since 1.1.0 + */ +do_action( 'bp_after_group_manage_members_admin' ); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/membership-requests.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/membership-requests.php new file mode 100644 index 0000000000000000000000000000000000000000..9589675b36938142501d52684986ecd23787f49f --- /dev/null +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/admin/membership-requests.php @@ -0,0 +1,35 @@ +<?php +/** + * BuddyPress - Groups Admin - Membership Requests + * + * @package BuddyPress + * @subpackage bp-legacy + */ + +?> + +<h2 class="bp-screen-reader-text"><?php _e( 'Manage Membership Requests', 'buddypress' ); ?></h2> + +<?php + +/** + * Fires before the display of group membership requests admin. + * + * @since 1.1.0 + */ +do_action( 'bp_before_group_membership_requests_admin' ); ?> + + <div class="requests"> + + <?php bp_get_template_part( 'groups/single/requests-loop' ); ?> + + </div> + +<?php + +/** + * Fires after the display of group membership requests admin. + * + * @since 1.1.0 + */ +do_action( 'bp_after_group_membership_requests_admin' ); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php index 8c903563979e04755874559ae633d366f3cf7ff8..29482353b7d5d63a7a55419911e47ea3ce66015a 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php @@ -59,10 +59,11 @@ do_action( 'bp_before_group_header' ); ?> do_action( 'bp_group_header_meta' ); ?> <span class="highlight"><?php bp_group_type(); ?></span> - <span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span> + <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> <?php bp_group_description(); ?> + <?php bp_group_type_list(); ?> </div> </div><!-- #item-header-content --> @@ -70,7 +71,7 @@ do_action( 'bp_before_group_header' ); ?> <?php if ( bp_group_is_visible() ) : ?> - <h3><?php _e( 'Group Admins', 'buddypress' ); ?></h3> + <h2><?php _e( 'Group Admins', 'buddypress' ); ?></h2> <?php bp_group_list_admins(); @@ -90,7 +91,7 @@ do_action( 'bp_before_group_header' ); ?> */ do_action( 'bp_before_group_menu_mods' ); ?> - <h3><?php _e( 'Group Mods' , 'buddypress' ); ?></h3> + <h2><?php _e( 'Group Mods' , 'buddypress' ); ?></h2> <?php bp_group_list_mods(); @@ -117,7 +118,12 @@ do_action( 'bp_before_group_header' ); ?> * * @since 1.2.0 */ -do_action( 'bp_after_group_header' ); +do_action( 'bp_after_group_header' ); ?> -/** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ -do_action( 'template_notices' ); ?> +<div id="template-notices" role="alert" aria-atomic="true"> + <?php + + /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ + do_action( 'template_notices' ); ?> + +</div> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/forum.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/forum.php index 5e5014f16bf3f37d286db5f6cadf46f44a122c90..598ff669ceb6dff15fbe522f384208ba2d0a5bac 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/forum.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/forum.php @@ -21,7 +21,7 @@ elseif ( bp_is_group_forum_topic() ) : else : ?> - <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> + <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Group secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php if ( is_user_logged_in() ) : ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php index 6c1f9258f1bb8bf98af03564afb26d5bb62e540e..8cf55b2f2cdb13b08475ed80ca4d82575e1be0cb 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php @@ -17,7 +17,7 @@ do_action( 'bp_before_group_forum_edit_form' ); ?> <form action="<?php bp_forum_topic_action(); ?>" method="post" id="forum-topic-form" class="standard-form"> - <div class="item-list-tabs" id="subnav" role="navigation"> + <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <li> <a href="#post-topic-reply"><?php _e( 'Reply', 'buddypress' ); ?></a> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/forum/topic.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/forum/topic.php index 30c030e9f17ed79d5d617e640ba9ed2226c4a0d6..84015a1a8b8bb59dafe036360e59335ef917debe 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/forum/topic.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/forum/topic.php @@ -14,7 +14,7 @@ do_action( 'bp_before_group_forum_topic' ); ?> <form action="<?php bp_forum_topic_action(); ?>" method="post" id="forum-topic-form" class="standard-form"> - <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> + <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Forums secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php if ( is_user_logged_in() ) : ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/group-header.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/group-header.php index 458576dac5dd944def115318f48034b848dbefef..e67e583cafa8011ab6b1d1ad535da92065b068c2 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/group-header.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/group-header.php @@ -19,7 +19,7 @@ do_action( 'bp_before_group_header' ); <?php if ( bp_group_is_visible() ) : ?> - <h3><?php _e( 'Group Admins', 'buddypress' ); ?></h3> + <h2><?php _e( 'Group Admins', 'buddypress' ); ?></h2> <?php bp_group_list_admins(); @@ -39,7 +39,7 @@ do_action( 'bp_before_group_header' ); */ do_action( 'bp_before_group_menu_mods' ); ?> - <h3><?php _e( 'Group Mods' , 'buddypress' ); ?></h3> + <h2><?php _e( 'Group Mods' , 'buddypress' ); ?></h2> <?php bp_group_list_mods(); @@ -68,7 +68,7 @@ do_action( 'bp_before_group_header' ); <div id="item-header-content"> <span class="highlight"><?php bp_group_type(); ?></span> - <span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span> + <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> <?php @@ -83,6 +83,8 @@ do_action( 'bp_before_group_header' ); <?php bp_group_description(); ?> + <?php bp_group_type_list(); ?> + <div id="item-buttons"> <?php @@ -115,8 +117,12 @@ do_action( 'bp_before_group_header' ); * * @since 1.2.0 */ -do_action( 'bp_after_group_header' ); +do_action( 'bp_after_group_header' ); ?> -/** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ -do_action( 'template_notices' ); -?> +<div id="template-notices" role="alert" aria-atomic="true"> + <?php + + /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ + do_action( 'template_notices' ); ?> + +</div> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/home.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/home.php index 4fe26b8d766a0ad64dc5818e9e2df4472232207a..c8063b3a6d945e065741171358119c0f678ba3c3 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/home.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/home.php @@ -36,7 +36,7 @@ </div><!-- #item-header --> <div id="item-nav"> - <div class="item-list-tabs no-ajax" id="object-nav" role="navigation"> + <div class="item-list-tabs no-ajax" id="object-nav" aria-label="<?php esc_attr_e( 'Group primary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php bp_get_options_nav(); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php index c9db92fa528c3666166aad006bcfbfd424dea732..5c7887d9fe7ab153191c3ae4840fcff245ebed7a 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php @@ -58,7 +58,7 @@ <li id="<?php bp_group_invite_item_id(); ?>"> <?php bp_group_invite_user_avatar(); ?> - <h4><?php bp_group_invite_user_link(); ?></h4> + <h3><?php bp_group_invite_user_link(); ?></h3> <span class="activity"><?php bp_group_invite_user_last_active(); ?></span> <?php diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/members.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/members.php index 71ac12d686c9fdcd0e8acde612fe829448a64ae3..100f053456bc84261daa4d83df9465459cab2b7f 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/members.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/members.php @@ -56,7 +56,7 @@ </a> <h5><?php bp_group_member_link(); ?></h5> - <span class="activity"><?php bp_group_member_joined_since(); ?></span> + <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> <?php diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/request-membership.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/request-membership.php index c05ac09c83fc5c81c7b2756d5830b240a9d422a1..bc5d74f8e452298284825fe9ade0e824827c0b7c 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/request-membership.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/request-membership.php @@ -14,6 +14,11 @@ do_action( 'bp_before_group_request_membership_content' ); ?> <?php if ( !bp_group_has_requested_membership() ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Request form', 'buddypress' ); + ?></h2> + <p><?php printf( __( "You are requesting to become a member of the group '%s'.", 'buddypress' ), bp_get_group_name( false ) ); ?></p> <form action="<?php bp_group_form_action('request-membership' ); ?>" method="post" name="request-membership-form" id="request-membership-form" class="standard-form"> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php index 31b37c45efe5f14f55449f2f1d63bcae490c4661..0db644931cbcae22c08dcdc4040f8eb194c9e453 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php @@ -54,9 +54,9 @@ <div class="action"> - <?php bp_button( array( 'id' => 'group_membership_accept', 'component' => 'groups', 'wrapper_class' => 'accept', 'link_href' => bp_get_group_request_accept_link(), 'link_title' => __( 'Accept', 'buddypress' ), 'link_text' => __( 'Accept', 'buddypress' ) ) ); ?> + <?php bp_button( array( 'id' => 'group_membership_accept', 'component' => 'groups', 'wrapper_class' => 'accept', 'link_href' => bp_get_group_request_accept_link(), 'link_text' => __( 'Accept', 'buddypress' ) ) ); ?> - <?php bp_button( array( 'id' => 'group_membership_reject', 'component' => 'groups', 'wrapper_class' => 'reject', 'link_href' => bp_get_group_request_reject_link(), 'link_title' => __( 'Reject', 'buddypress' ), 'link_text' => __( 'Reject', 'buddypress' ) ) ); ?> + <?php bp_button( array( 'id' => 'group_membership_reject', 'component' => 'groups', 'wrapper_class' => 'reject', 'link_href' => bp_get_group_request_reject_link(), 'link_text' => __( 'Reject', 'buddypress' ) ) ); ?> <?php diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/send-invites.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/send-invites.php index 64ac6906e34ad852af171c15db485d2af267ca0d..6aba15a99534d094eaf04226ada21c2c6988d07f 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/send-invites.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/send-invites.php @@ -17,10 +17,12 @@ do_action( 'bp_before_group_send_invites_content' ); ?> /* Does the user have friends that could be invited to the group? */ if ( bp_get_new_group_invite_friend_list() ) : ?> + <h2 class="bp-screen-reader-text"><?php _e( 'Send invites', 'buddypress' ); ?></h2> + <?php /* 'send-invite-form' is important for AJAX support */ ?> <form action="<?php bp_group_send_invite_form_action(); ?>" method="post" id="send-invite-form" class="standard-form"> - <div class="invite"> + <div class="invite" aria-live="polite" aria-atomic="false" aria-relevant="all"> <?php bp_get_template_part( 'groups/single/invites-loop' ); ?> </div> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/activate.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/activate.php index 1e600a645f3e4c7b8690596a506754193b042595..975006d0a08a1fbd5a1f32d046a2282dc120d4a3 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/activate.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/activate.php @@ -21,10 +21,13 @@ <div class="page" id="activate-page"> - <?php + <div id="template-notices" role="alert" aria-atomic="true"> + <?php + + /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ + do_action( 'template_notices' ); ?> - /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ - do_action( 'template_notices' ); ?> + </div> <?php diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/index.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/index.php index 3c1a560ce51968e4079b0fc38ebf2c47a9fb6b66..eb11d37600f25787f0146e1eec7dd95a50ab740d 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/index.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/index.php @@ -33,12 +33,20 @@ do_action( 'bp_before_directory_members_page' ); ?> */ do_action( 'bp_before_directory_members_content' ); ?> - <div id="members-dir-search" class="dir-search" role="search"> - <?php bp_directory_members_search_form(); ?> - </div><!-- #members-dir-search --> + <?php /* Backward compatibility for inline search form. Use template part instead. */ ?> + <?php if ( has_filter( 'bp_directory_members_search_form' ) ) : ?> - <?php + <div id="members-dir-search" class="dir-search" role="search"> + <?php bp_directory_members_search_form(); ?> + </div><!-- #members-dir-search --> + + <?php else: ?> + + <?php bp_get_template_part( 'common/search/dir-search-form' ); ?> + <?php endif; ?> + + <?php /** * Fires before the display of the members list tabs. * @@ -48,12 +56,12 @@ do_action( 'bp_before_directory_members_page' ); ?> <form action="" method="post" id="members-directory-form" class="dir-form"> - <div class="item-list-tabs" role="navigation"> + <div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Members directory main navigation', 'buddypress' ); ?>" role="navigation"> <ul> <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> <?php if ( is_user_logged_in() && bp_is_active( 'friends' ) && bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> - <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> + <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> <?php endif; ?> <?php @@ -68,7 +76,7 @@ do_action( 'bp_before_directory_members_page' ); ?> </ul> </div><!-- .item-list-tabs --> - <div class="item-list-tabs" id="subnav" role="navigation"> + <div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Members directory secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php @@ -102,6 +110,11 @@ do_action( 'bp_before_directory_members_page' ); ?> </ul> </div> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Members directory', 'buddypress' ); + ?></h2> + <div id="members-dir-list" class="members dir-list"> <?php bp_get_template_part( 'members/members-loop' ); ?> </div><!-- #members-dir-list --> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php index f7ede463361257450b76410334c543a283aee7a9..61258c5a120bb14532b26470dc3eb7a42cdcd597 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php @@ -46,7 +46,7 @@ do_action( 'bp_before_members_loop' ); ?> */ do_action( 'bp_before_directory_members_list' ); ?> - <ul id="members-list" class="item-list"> + <ul id="members-list" class="item-list" aria-live="assertive" aria-relevant="all"> <?php while ( bp_members() ) : bp_the_member(); ?> @@ -67,7 +67,7 @@ do_action( 'bp_before_members_loop' ); ?> </div> - <div class="item-meta"><span class="activity"><?php bp_member_last_active(); ?></span></div> + <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> <?php diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php index 34c558ef293fe92ef5110f0684b9e95d93da57ac..795d338e2fcfbf07d802122bb202dc2bcf4b75d7 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/register.php @@ -24,10 +24,15 @@ <form action="" name="signup_form" id="signup_form" class="standard-form" method="post" enctype="multipart/form-data"> <?php if ( 'registration-disabled' == bp_get_current_signup_step() ) : ?> - <?php - /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ - do_action( 'template_notices' ); ?> + <div id="template-notices" role="alert" aria-atomic="true"> + <?php + + /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ + do_action( 'template_notices' ); ?> + + </div> + <?php /** @@ -51,10 +56,13 @@ <?php if ( 'request-details' == bp_get_current_signup_step() ) : ?> - <?php + <div id="template-notices" role="alert" aria-atomic="true"> + <?php + + /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ + do_action( 'template_notices' ); ?> - /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ - do_action( 'template_notices' ); ?> + </div> <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> @@ -71,7 +79,7 @@ <?php /***** Basic Account Details ******/ ?> - <h4><?php _e( 'Account Details', 'buddypress' ); ?></h4> + <h2><?php _e( 'Account Details', 'buddypress' ); ?></h2> <label for="signup_username"><?php _e( 'Username', 'buddypress' ); ?> <?php _e( '(required)', 'buddypress' ); ?></label> <?php @@ -153,7 +161,7 @@ <div class="register-section" id="profile-details-section"> - <h4><?php _e( 'Profile Details', 'buddypress' ); ?></h4> + <h2><?php _e( 'Profile Details', 'buddypress' ); ?></h2> <?php /* Use the profile field loop to render input fields for the 'base' profile field group */ ?> <?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( array( 'profile_group_id' => 1, 'fetch_field_data' => false ) ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?> @@ -261,7 +269,7 @@ <div class="register-section" id="blog-details-section"> - <h4><?php _e( 'Blog Details', 'buddypress' ); ?></h4> + <h2><?php _e( 'Blog Details', 'buddypress' ); ?></h2> <p><label for="signup_with_blog"><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1"<?php if ( (int) bp_get_signup_with_blog_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Yes, I\'d like to create a new site', 'buddypress' ); ?></label></p> @@ -294,18 +302,20 @@ do_action( 'bp_signup_blog_title_errors' ); ?> <input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php bp_signup_blog_title_value(); ?>" /> - <span class="label"><?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?></span> - <?php + <fieldset class="register-site"> + <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> + <?php - /** - * Fires and displays any member registration blog privacy errors. - * - * @since 1.1.0 - */ - do_action( 'bp_signup_blog_privacy_errors' ); ?> + /** + * Fires and displays any member registration blog privacy errors. + * + * @since 1.1.0 + */ + do_action( 'bp_signup_blog_privacy_errors' ); ?> - <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> - <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> + <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> + <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> + </fieldset> <?php @@ -359,10 +369,14 @@ <?php if ( 'completed-confirmation' == bp_get_current_signup_step() ) : ?> - <?php + <div id="template-notices" role="alert" aria-atomic="true"> + <?php + + /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ + do_action( 'template_notices' ); ?> + + </div> - /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ - do_action( 'template_notices' ); ?> <?php /** @@ -372,11 +386,13 @@ */ do_action( 'bp_before_registration_confirmed' ); ?> - <?php if ( bp_registration_needs_activation() ) : ?> - <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> - <?php else : ?> - <p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p> - <?php endif; ?> + <div id="template-notices" role="alert" aria-atomic="true"> + <?php if ( bp_registration_needs_activation() ) : ?> + <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> + <?php else : ?> + <p><?php _e( 'You have successfully created your account! Please log in using the username and password you have just created.', 'buddypress' ); ?></p> + <?php endif; ?> + </div> <?php diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/activity.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/activity.php index b80ec0201459596a3e3e24ff805227f1dd3f9bdd..8bc7a363fe141f49334ca28176d6d4354f201bb1 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/activity.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/activity.php @@ -8,7 +8,7 @@ ?> -<div class="item-list-tabs no-ajax" id="subnav" role="navigation"> +<div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php bp_get_options_nav(); ?> @@ -61,7 +61,7 @@ do_action( 'bp_after_member_activity_post_form' ); */ do_action( 'bp_before_member_activity_content' ); ?> -<div class="activity"> +<div class="activity" aria-live="polite" aria-atomic="true" aria-relevant="all"> <?php bp_get_template_part( 'activity/activity-loop' ) ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/blogs.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/blogs.php index bad9c4b2817431bf3e45cb3164684a39c721ca56..16095114d8d66de0714481142c7e8380ced11e76 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/blogs.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/blogs.php @@ -8,7 +8,7 @@ ?> -<div class="item-list-tabs" id="subnav" role="navigation"> +<div class="item-list-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php bp_get_options_nav(); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php index 806568864ebe7935d72235ce01ce68a2b1465699..292957c5d84ad7e99c8468d7478424c00dab849c 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php @@ -44,7 +44,7 @@ do_action( 'bp_before_member_header' ); ?> */ do_action( 'bp_member_header_actions' ); ?></div><!-- #item-buttons --> - <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span> + <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> <?php @@ -97,7 +97,10 @@ do_action( 'bp_before_member_header' ); ?> */ do_action( 'bp_after_member_header' ); ?> -<?php +<div id="template-notices" role="alert" aria-atomic="true"> + <?php + + /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ + do_action( 'template_notices' ); ?> -/** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ -do_action( 'template_notices' ); ?> +</div> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/forums.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/forums.php index 0c943c2a2a7d4f71f1c3b1e984e4c7622c4d26ed..18ec723742bed47af987a680426b8caa25e4518e 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/forums.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/forums.php @@ -8,7 +8,7 @@ ?> -<div class="item-list-tabs no-ajax" id="subnav" role="navigation"> +<div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php bp_get_options_nav(); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/friends.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/friends.php index c6c2f291d450f97aa4a45aed35419d1de560bcc0..d62106d15c1a35b21e3e708a01382fc4236bc886 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/friends.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/friends.php @@ -8,7 +8,7 @@ ?> -<div class="item-list-tabs no-ajax" id="subnav" role="navigation"> +<div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?> @@ -52,6 +52,18 @@ switch ( bp_current_action() ) : */ do_action( 'bp_before_member_friends_content' ); ?> + <?php if (is_user_logged_in() ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'My friends', 'buddypress' ); + ?></h2> + <?php else : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Friends', 'buddypress' ); + ?></h2> + <?php endif ?> + <div class="members friends"> <?php bp_get_template_part( 'members/members-loop' ) ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/friends/requests.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/friends/requests.php index 78501c6c36a20f232f1498470856dbc42c3ccf85..380f04edc5b7337cd744bcfea6d450ffae0c5ce0 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/friends/requests.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/friends/requests.php @@ -15,6 +15,11 @@ do_action( 'bp_before_member_friend_requests_content' ); ?> <?php if ( bp_has_members( 'type=alphabetical&include=' . bp_get_friendship_requests() ) ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Friendship requests', 'buddypress' ); + ?></h2> + <div id="pag-top" class="pagination no-ajax"> <div class="pag-count" id="member-dir-count-top"> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/groups.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/groups.php index fcaab670725dc69f2e5838470d1b1c32cc386ac9..edb7a5d0a039260f144ba0f3574a66bd675ece74 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/groups.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/groups.php @@ -8,7 +8,7 @@ ?> -<div class="item-list-tabs no-ajax" id="subnav" role="navigation"> +<div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php if ( bp_is_my_profile() ) bp_get_options_nav(); ?> @@ -54,6 +54,18 @@ switch ( bp_current_action() ) : */ do_action( 'bp_before_member_groups_content' ); ?> + <?php if ( is_user_logged_in() ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'My groups', 'buddypress' ); + ?></h2> + <?php else : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Member\'s groups', 'buddypress' ); + ?></h2> + <?php endif; ?> + <div class="groups mygroups"> <?php bp_get_template_part( 'groups/groups-loop' ); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/groups/invites.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/groups/invites.php index 5f77a7ee4444340c42e627f9d547d3cc18ae6082..edc4621ab56ef564009ebe8243745aaa4d69eefb 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/groups/invites.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/groups/invites.php @@ -15,6 +15,11 @@ do_action( 'bp_before_group_invites_content' ); ?> <?php if ( bp_has_groups( 'type=invites&user_id=' . bp_loggedin_user_id() ) ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Group invitations', 'buddypress' ); + ?></h2> + <ul id="group-list" class="invites item-list"> <?php while ( bp_groups() ) : bp_the_group(); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/home.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/home.php index b28063e1d6e1d492156d6891c4fcc2ce07c1d0d2..e4454f218ef3e139d979f3995aa496d9160a5ff8 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/home.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/home.php @@ -35,7 +35,7 @@ </div><!-- #item-header --> <div id="item-nav"> - <div class="item-list-tabs no-ajax" id="object-nav" role="navigation"> + <div class="item-list-tabs no-ajax" id="object-nav" aria-label="<?php esc_attr_e( 'Member primary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php bp_get_displayed_user_nav(); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.php index 6cf201cf851fa719729701a6fc53b354bcde508c..f965ba4e334d6e8fed4307255662a3d8684c51a4 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.php @@ -31,7 +31,7 @@ do_action( 'bp_before_member_header' ); ?> <h2 class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></h2> <?php endif; ?> - <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span> + <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> <?php @@ -94,7 +94,10 @@ do_action( 'bp_before_member_header' ); ?> */ do_action( 'bp_after_member_header' ); ?> -<?php +<div id="template-notices" role="alert" aria-atomic="true"> + <?php + + /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ + do_action( 'template_notices' ); ?> -/** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */ -do_action( 'template_notices' ); ?> +</div> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages.php index ff97870639a3a90cca5ec39bab246aa8f3aa076a..ed67c17d0a0bd2b2dc0a4b99fcda9f7e51b48c79 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages.php @@ -8,7 +8,7 @@ ?> -<div class="item-list-tabs no-ajax" id="subnav" role="navigation"> +<div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php bp_get_options_nav(); ?> @@ -37,6 +37,18 @@ switch ( bp_current_action() ) : */ do_action( 'bp_before_member_messages_content' ); ?> + <?php if ( bp_is_messages_inbox() ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Messages inbox', 'buddypress' ); + ?></h2> + <?php elseif ( bp_is_messages_sentbox() ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Sent Messages', 'buddypress' ); + ?></h2> + <?php endif; ?> + <div class="messages"> <?php bp_get_template_part( 'members/single/messages/messages-loop' ); ?> </div><!-- .messages --> @@ -71,6 +83,11 @@ switch ( bp_current_action() ) : */ do_action( 'bp_before_member_messages_content' ); ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Sitewide Notices', 'buddypress' ); + ?></h2> + <div class="messages"> <?php bp_get_template_part( 'members/single/messages/notices-loop' ); ?> </div><!-- .messages --> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php index 3eebb16fcfd18b34bf4265a5d8cae8630c8539dc..5c88961876076e034b9bf2288c5c806ecfb1fe4c 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/compose.php @@ -7,6 +7,11 @@ */ ?> +<h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Compose Message', 'buddypress' ); +?></h2> + <form action="<?php bp_messages_form_action('compose' ); ?>" method="post" id="send_message_form" class="standard-form" enctype="multipart/form-data"> <?php diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php index b8baa76b2ca5be8d91d39e70c18a637fe96ea992..4b37ead39e4040e40002be9e174dd059ddf46e33 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php @@ -15,6 +15,11 @@ do_action( 'bp_before_member_messages_loop' ); ?> <?php if ( bp_has_message_threads( bp_ajax_querystring( 'messages' ) ) ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Starred messages', 'buddypress' ); + ?></h2> + <div class="pagination no-ajax" id="user-pag"> <div class="pag-count" id="messages-dir-count"> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/single.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/single.php index ab0f73399a8616b6c2963f37d186d999db69366c..1b31bbeba8da8223bbdedf987595ccd701d609be 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/single.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/messages/single.php @@ -20,7 +20,7 @@ <?php if ( bp_thread_has_messages() ) : ?> - <h3 id="message-subject"><?php bp_the_thread_subject(); ?></h3> + <h2 id="message-subject"><?php bp_the_thread_subject(); ?></h2> <p id="message-recipients"> <span class="highlight"> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications.php index bbe872206dc0d21425dbcb80bf9ce7fee7c1f0d4..f8adc477b6c4b11e8d475e2fa1e5613bec5851bb 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications.php @@ -8,7 +8,7 @@ ?> -<div class="item-list-tabs no-ajax" id="subnav" role="navigation"> +<div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php bp_get_options_nav(); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications/read.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications/read.php index ba03d82eda929acaa410822071f690a9a2e5ddbf..563077f386a7fca518c2ade7b4e17b869a17cbb1 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications/read.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications/read.php @@ -10,6 +10,11 @@ <?php if ( bp_has_notifications() ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Notifications', 'buddypress' ); + ?></h2> + <div id="pag-top" class="pagination no-ajax"> <div class="pag-count" id="notifications-count-top"> <?php bp_notifications_pagination_count(); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications/unread.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications/unread.php index 62aa1a25b69e7c291427a96cac1b3204a961f86a..002d30ee790ecdedf06acf5ba736fead87ee8dc3 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications/unread.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/notifications/unread.php @@ -10,6 +10,11 @@ <?php if ( bp_has_notifications() ) : ?> + <h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Unread notifications', 'buddypress' ); + ?></h2> + <div id="pag-top" class="pagination no-ajax"> <div class="pag-count" id="notifications-count-top"> <?php bp_notifications_pagination_count(); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/plugins.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/plugins.php index 07444b7691eb06d2bb253d5aedc0014fede4d146..5789f83b453115e5ab021255fd75b6d22d953bd9 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/plugins.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/plugins.php @@ -18,7 +18,7 @@ <?php if ( ! bp_is_current_component_core() ) : ?> - <div class="item-list-tabs no-ajax" id="subnav"> + <div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php bp_get_options_nav(); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile.php index 0be493557128eb2cd4c655704ffdb03b1a69e667..2e8820a613f04bef25d8f08fa34dd94bd4b9f6e8 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile.php @@ -8,7 +8,7 @@ ?> -<div class="item-list-tabs no-ajax" id="subnav" role="navigation"> +<div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php bp_get_options_nav(); ?> </ul> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php index b249e9277320118f50c941e8a1f8ef53e3ead45c..ff9776ec52dbcb15840f6b0f45234f863133381b 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php @@ -8,7 +8,7 @@ ?> -<h4><?php _e( 'Change Profile Photo', 'buddypress' ); ?></h4> +<h2><?php _e( 'Change Profile Photo', 'buddypress' ); ?></h2> <?php @@ -42,7 +42,7 @@ do_action( 'bp_before_profile_avatar_upload_content' ); ?> <?php if ( bp_get_user_has_avatar() ) : ?> <p><?php _e( "If you'd like to delete your current profile photo but not upload a new one, please use the delete profile photo button.", 'buddypress' ); ?></p> - <p><a class="button edit" href="<?php bp_avatar_delete_link(); ?>" title="<?php esc_attr_e( 'Delete Profile Photo', 'buddypress' ); ?>"><?php _e( 'Delete My Profile Photo', 'buddypress' ); ?></a></p> + <p><a class="button edit" href="<?php bp_avatar_delete_link(); ?>"><?php _e( 'Delete My Profile Photo', 'buddypress' ); ?></a></p> <?php endif; ?> <?php endif; ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/change-cover-image.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/change-cover-image.php index d1f9f91ffae8132901e23a6d562bb35802832d76..6233ac874213d7356b9078e1dcc306061bc90936 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/change-cover-image.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/change-cover-image.php @@ -8,7 +8,7 @@ ?> -<h4><?php _e( 'Change Cover Image', 'buddypress' ); ?></h4> +<h2><?php _e( 'Change Cover Image', 'buddypress' ); ?></h2> <?php diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php index d820b8daeefec7085b97054707f27ff6336f88b0..7bfacf3b383558435661f7225b6a5e94244b4227 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php @@ -23,10 +23,10 @@ if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() ) ) /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */ do_action( 'bp_before_profile_field_content' ); ?> - <h4><?php printf( __( "Editing '%s' Profile Group", 'buddypress' ), bp_get_the_profile_group_name() ); ?></h4> + <h2><?php printf( __( "Editing '%s' Profile Group", 'buddypress' ), bp_get_the_profile_group_name() ); ?></h2> <?php if ( bp_profile_has_multiple_groups() ) : ?> - <ul class="button-nav"> + <ul class="button-nav" aria-label="<?php esc_attr_e( 'Profile field groups', 'buddypress' ); ?>" role="navigation"> <?php bp_profile_group_tabs(); ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php index c9483df87943cf33dc3b2c4be41f4a5e0d26edca..bca56efafb6ddd8f0e391d25ecb456f4cb5951d2 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php @@ -22,7 +22,7 @@ do_action( 'bp_before_profile_loop_content' ); ?> <div class="bp-widget <?php bp_the_profile_group_slug(); ?>"> - <h4><?php bp_the_profile_group_name(); ?></h4> + <h2><?php bp_the_profile_group_name(); ?></h2> <table class="profile-fields"> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php index 59137b401c70f6e42101475bc70e02c86a0fb241..49c8c5e5a58808e5eb97c1bc853645d952e67909 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php @@ -25,7 +25,7 @@ do_action( 'bp_before_profile_loop_content' ); ?> do_action( 'bp_before_profile_field_content' ); ?> <div class="bp-widget wp-profile"> - <h4><?php bp_is_my_profile() ? _e( 'My Profile', 'buddypress' ) : printf( __( "%s's Profile", 'buddypress' ), bp_get_displayed_user_fullname() ); ?></h4> + <h2><?php bp_is_my_profile() ? _e( 'My Profile', 'buddypress' ) : printf( __( "%s's Profile", 'buddypress' ), bp_get_displayed_user_fullname() ); ?></h2> <table class="wp-profile-fields"> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings.php index bad78ebd5b7813c3baaebb0e92401e24d7597651..496816872797dbc8d8a294b926b804a978e0919e 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings.php @@ -8,7 +8,7 @@ ?> -<div class="item-list-tabs no-ajax" id="subnav" role="navigation"> +<div class="item-list-tabs no-ajax" id="subnav" aria-label="<?php esc_attr_e( 'Member secondary navigation', 'buddypress' ); ?>" role="navigation"> <ul> <?php if ( bp_core_can_edit_settings() ) : ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings/general.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings/general.php index 749202496ef0ff57f9dca12957334e8ef680ac6a..67b4b30c97dfbf088cce551ade66db5f91f9ddb6 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings/general.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings/general.php @@ -9,6 +9,11 @@ /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */ do_action( 'bp_before_member_settings_template' ); ?> +<h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Account settings', 'buddypress' ); +?></h2> + <form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/general'; ?>" method="post" class="standard-form" id="settings-form"> <?php if ( !is_super_admin() ) : ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php index 3c736fccc857b74eaf54a5c867f443db9306a762..f922cb1eb8cb06644bf351d7a3a38a65a6f5bac2 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php @@ -9,6 +9,11 @@ /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */ do_action( 'bp_before_member_settings_template' ); ?> +<h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Notification settings', 'buddypress' ); +?></h2> + <form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/notifications'; ?>" method="post" class="standard-form" id="settings-form"> <p><?php _e( 'Send an email notice when:', 'buddypress' ); ?></p> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings/profile.php b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings/profile.php index f8d447469e382d45a1ceff6dc1d8858f888e3b9d..3b2032ec8169bab6951f7d29b6da9779a7136a58 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings/profile.php +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/settings/profile.php @@ -13,6 +13,11 @@ */ do_action( 'bp_before_member_settings_template' ); ?> +<h2 class="bp-screen-reader-text"><?php + /* translators: accessibility text */ + _e( 'Profile visibility settings', 'buddypress' ); +?></h2> + <form action="<?php echo trailingslashit( bp_displayed_user_domain() . bp_get_settings_slug() . '/profile' ); ?>" method="post" class="standard-form" id="settings-form"> <?php if ( bp_xprofile_get_settings_fields() ) : ?> diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress-rtl.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress-rtl.css index 0348d4771dfa6ddddf61aef2d15938a861f9305f..7b78bc36a9fc3274764a0dfb8453ebca7c8aec49 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress-rtl.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress-rtl.css @@ -624,7 +624,6 @@ body.activity-permalink #buddypress div.activity-comments div.acomment-content { #buddypress .standard-form textarea, #buddypress .standard-form input[type=text], -#buddypress .standard-form input[type=text], #buddypress .standard-form input[type=color], #buddypress .standard-form input[type=date], #buddypress .standard-form input[type=datetime], @@ -647,7 +646,7 @@ body.activity-permalink #buddypress div.activity-comments div.acomment-content { border: 1px solid #ccc; background: #fafafa; border-radius: 0; - color: #767676; + color: #737373; font: inherit; font-size: 100%; padding: 6px; @@ -786,7 +785,7 @@ body.no-js #buddypress #messages-bulk-management #select-all-messages { padding: 5px; width: 160px; } -#buddypress button, +#buddypress .standard-form button, #buddypress a.button, #buddypress input[type=submit], #buddypress input[type=button], @@ -805,7 +804,7 @@ a.bp-title-button { text-align: center; text-decoration: none; } -#buddypress button:hover, +#buddypress .standard-form button:hover, #buddypress a.button:hover, #buddypress a.button:focus, #buddypress input[type=submit]:hover, @@ -844,6 +843,7 @@ a.bp-title-button { float: right; } +#buddypress form.standard-form .main-column ul#friend-list h3, #buddypress form.standard-form .main-column ul#friend-list h4 { clear:none; } @@ -863,6 +863,22 @@ a.bp-title-button { opacity: .4; } +fieldset.register-site { + margin-top: 1em; +} + +fieldset.create-site { + margin-bottom: 2em; +} + +fieldset.create-site legend { + margin-bottom: 1em; +} + +fieldset.create-site label { + margin-left: 3em; +} + .bp-screen-reader-text { position: absolute; margin: -1px; @@ -1071,6 +1087,7 @@ a.bp-title-button { #buddypress table.messages-notices tr.alt td, #buddypress table.forum tr.alt td { background: #f5f5f5; + color: #707070; } #buddypress table.notification-settings { margin-bottom: 20px; @@ -1169,7 +1186,6 @@ a.bp-title-button { #buddypress span.activity { display: inline-block; font-size: small; - opacity: 0.8; padding: 0; } #buddypress span.user-nicename { @@ -1244,6 +1260,7 @@ a.bp-title-button { text-align: left; width: 20%; } +#buddypress div#item-header div#item-actions h2, #buddypress div#item-header div#item-actions h3 { margin: 0 0 5px 0; } @@ -1304,6 +1321,7 @@ body.activity-permalink #buddypress ul.item-list li.activity-item { margin: 0 0 0 10px; } #buddypress ul.item-list li div.item-title, +#buddypress ul.item-list li h3, #buddypress ul.item-list li h4 { font-weight: normal; font-size: 90%; @@ -1389,7 +1407,7 @@ body.activity-permalink #buddypress ul.item-list li.activity-item { #buddypress div.item-list-tabs ul li.current a { background-color: #eee; color: #555; - opacity: .8; + opacity: .9; font-weight: bold; } #buddypress div.item-list-tabs ul li.selected a span, @@ -1418,6 +1436,12 @@ body.activity-permalink #buddypress ul.item-list li.activity-item { overflow: auto; list-style: none; } +#buddypress .group-members-list { + width: 100%; + margin-top: 1em; + clear: both; + overflow: auto; +} #buddypress #item-buttons:empty { display: none; } @@ -1558,7 +1582,7 @@ a.message-action-star:hover { 3.10 - Extended Profiles --------------------------------------------------------------*/ -#buddypress div.profile h4 { +#buddypress div.profile h2 { margin-bottom: auto; margin-top: 15px; } @@ -1583,7 +1607,7 @@ body.no-js #buddypress .field-visibility-settings-close { #buddypress .field-visibility-settings, #buddypress .field-visibility-settings-toggle, #buddypress .field-visibility-settings-notoggle { - color: #767676; + color: #707070; } #buddypress .field-visibility-settings-toggle a, #buddypress .field-visibility-settings a { @@ -1615,12 +1639,14 @@ body.register #buddypress div.page ul { border-bottom-right-radius: 0; border-bottom-left-radius: 0; background: #f5f5f5; + color: #707070; } #buddypress .tmce-active button.switch-tmce { border-bottom-color: transparent; border-bottom-right-radius: 0; border-bottom-left-radius: 0; background: #f5f5f5; + color: #707070; } #buddypress .standard-form .wp-editor-container textarea { width: 100%; @@ -1640,7 +1666,6 @@ body.register #buddypress div.page ul { .widget.buddypress span.activity { display: inline-block; font-size: small; - opacity: 0.8; padding: 0; } @@ -1742,6 +1767,7 @@ body.register #buddypress div.page ul { position: relative; margin-bottom:1em; } + #buddypress form.standard-form .main-column ul#friend-list h3, #buddypress form.standard-form .main-column ul#friend-list h4{ width:100%; } diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress-rtl.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress-rtl.min.css index 02fbd035ae539f10cfadacdce256f61e7c7221a3..e0e9ef1edfad77fda70a853c8986294748b9a304 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress-rtl.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress-rtl.min.css @@ -1 +1 @@ -#buddypress div.pagination .pagination-links a:hover,#buddypress ul.button-nav li.current a{font-weight:700}#buddypress div.pagination{background:0 0;border:none;color:#767676;font-size:small;margin:0;position:relative;display:block;float:right;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:right;margin-right:10px}#buddypress div.pagination .pagination-links{float:left;margin-left:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:right}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:right}#buddypress form#whats-new-form #whats-new-content{margin-right:55px;padding:0 20px 20px 0}#buddypress form#whats-new-form p.activity-greeting{line-height:.5em;margin-bottom:15px;margin-right:75px}#buddypress form#whats-new-form textarea{background:#fff;box-sizing:border-box;color:#555;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:left;margin-top:12px}#buddypress #whats-new-options:after{clear:both;content:"";display:table}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:right}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-right:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-right:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#767676;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 70px 0 0}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:150%;margin-right:170px;margin-left:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#767676;line-height:220%}#buddypress .activity-header{margin-left:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 0 -8px 5px!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-left:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 0 5px 10px;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-right:2px solid #EAEAEA;margin-right:5px;padding-right:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-right:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner,#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:right;margin:0 0 5px 10px}#buddypress .activity-read-more{margin-right:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4D4D4D}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#767676;text-decoration:none}#buddypress a.activity-time-since:hover{color:#767676;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-left:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#767676;color:#fff;font-size:90%;margin-right:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 70px 0 0;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-right:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 10px 0 0}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-right:30px;margin-top:0;padding-right:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 15px 0 10px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:right;height:25px;margin-left:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 40px 0 0}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#767676;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-left:15px;clear:both}#buddypress div.activity-comments form.root{margin-right:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:right}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#767676;margin-right:50px;padding-right:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:right;margin:5px 40px 5px 0}#buddypress .acomment-options a{color:#767676}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:left;margin:-39px 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .current-member-type{font-style:italic}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:right;color:#800}#buddypress div#message.warning p{background-color:#ffe0af;border:1px solid #ffd087;clear:right;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 0 5px 5px;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:right;margin-right:10px}#buddypress ul.button-nav li{float:right;margin:0 0 10px 10px;list-style:none}#sitewide-notice #message{right:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}#buddypress form fieldset{border:0;padding:0}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#767676;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form legend,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress .standard-form #invite-list label,#buddypress .standard-form p label{font-weight:400;margin:auto}#buddypress .standard-form .checkbox label,#buddypress .standard-form .radio label{color:#767676;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form .checkbox label input,#buddypress .standard-form .radio label input{margin-left:3px}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:left}#buddypress div#signup-avatar img{margin:0 0 10px 15px}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#767676;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-left:15px}#buddypress .standard-form div.radio ul{margin:10px 38px 15px 0;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon,body.no-js #buddypress #delete_inbox_messages,body.no-js #buddypress #delete_sentbox_messages,body.no-js #buddypress #message-type-select,body.no-js #buddypress #messages-bulk-management #select-all-messages,body.no-js #buddypress #notifications-bulk-management #select-all-notifications,body.no-js #buddypress label[for=message-type-select]{display:none}#buddypress .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:right;width:48%}#buddypress .standard-form #profile-details-section{float:left}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:right}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress .generic-button a,#buddypress a.button,#buddypress button,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#767676;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:right}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 1% 0 0}#buddypress form.standard-form .main-column{margin-right:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:right}#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 8px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}.bp-screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@-webkit-keyframes loader-pulsate{from{border-color:#aaa;-webkit-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-webkit-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@-moz-keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#767676}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled],#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#767676;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-right:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#767676;font-size:80%;position:absolute;top:15px;left:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{left:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table tr td.thread-info p,#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-left:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p.thread-excerpt{color:#767676;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5}#buddypress table.notification-settings{margin-bottom:20px;text-align:right}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-right:35px}#buddypress table.forum td p.topic-text{color:#767676;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-right:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-left:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:right}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#767676}#buddypress table.forum td img.avatar{float:none;margin:0 0 -8px 5px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}#buddypress span.user-nicename{color:#767676;display:inline-block;font-size:120%;font-weight:700}#buddypress div#message p,#sitewide-notice p{font-weight:400;margin-top:3px;text-decoration:none;background-color:#ffd;border:1px solid #cb2;color:#440}#buddypress #item-header:after{clear:both;content:"";display:table}#buddypress div#item-header div#item-header-content{float:right;margin-right:0}#buddypress div#item-header h2{line-height:120%;margin:0 0 15px}#buddypress div#item-header h2 a{color:#767676;text-decoration:none}#buddypress div#item-header img.avatar{float:right;margin:0 0 19px 15px}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:170%;vertical-align:middle;display:inline-block}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span,body.no-js #buddypress div#item-header .js-self-profile-button{display:none}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;left:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#767676;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:left;margin:0 15px 15px 0;text-align:left;width:20%}#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header ul{margin-bottom:15px;overflow:hidden}#buddypress div#item-header ul li{float:left;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:right;margin:10px 0 0 10px}#buddypress div#item-header div#message.info{line-height:80%}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:right;margin:0 0 0 10px}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#767676;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#767676;font-size:80%;margin:10px 60px 0 0;width:50%}#buddypress ul.item-list li.group-no-avatar div.item-desc{margin-right:0}#buddypress ul.item-list li div.action{position:absolute;top:15px;left:0;text-align:left}#buddypress ul.item-list li div.meta{color:#767676;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:left;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:right;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:right;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:left;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#6c6c6c;display:inline;font-size:70%;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.8;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:12% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress div#message-thread div.message-metadata,.widget.buddypress div.avatar-block{overflow:hidden}#buddypress #item-buttons:empty{display:none}#buddypress #cover-image-container{position:relative;z-index:0}#buddypress #header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#buddypress #item-header-cover-image{padding:0 1em;position:relative;z-index:2}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:right;margin:0 0 0 10px;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-content{margin-right:45px}#buddypress div#message-thread div.message-options{text-align:left}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:left;margin:0 20px}.message-metadata{position:relative}.message-star-actions{position:absolute;left:0;top:0}#buddypress a.message-action-star,#buddypress a.message-action-unstar{border-bottom:0;text-decoration:none;outline:0}a.message-action-star{opacity:.7}a.message-action-star:hover{opacity:1}.message-action-star span.icon:before,.message-action-unstar span.icon:before{font-family:dashicons;font-size:18px}.message-action-star span.icon:before{color:#767676;content:"\f154"}.message-action-unstar span.icon:before{color:#fcdd77;content:"\f155"}#buddypress div.profile h4{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#767676}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}#buddypress .wp-editor-container{border:1px solid #dedede}#buddypress .html-active button.switch-html,#buddypress .tmce-active button.switch-tmce{border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0;background:#f5f5f5}#buddypress .standard-form .wp-editor-container textarea{width:100%;padding-top:0;padding-bottom:0}.widget.buddypress div.item-avatar img.avatar{float:right;margin:0 0 15px 10px}.widget.buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-right:50px}.widget.buddypress ul.item-list img.avatar{height:40px;margin-left:10px;width:40px}.widget.buddypress div.item-avatar img{height:40px;margin:1px;width:40px}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-left:10px}.widget.buddypress .bp-login-widget-user-avatar{float:right}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-right:60px;margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-right:0;padding-right:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{clear:both;list-style-type:none}@media only screen and (max-width:480px){#buddypress div.dir-search{float:left;margin-top:-50px;text-align:left}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-right:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search,#buddypress ul.item-list li div.action{margin-top:0;text-align:right;clear:right;float:right}#buddypress li#groups-order-select{clear:right;float:right}#buddypress ul.item-list li div.action{margin-right:70px;position:relative;top:0;left:0}#buddypress ul.item-list li div.item-desc{clear:right;float:right;margin:10px 0 0;width:auto}#buddypress li div.item{margin-right:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-right:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:right;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:right}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-right:45px}h1 a.bp-title-button{clear:right;float:right;margin:10px 0 20px}} \ No newline at end of file +#buddypress div.pagination .pagination-links a:hover,#buddypress ul.button-nav li.current a{font-weight:700}#buddypress div.pagination{background:0 0;border:none;color:#767676;font-size:small;margin:0;position:relative;display:block;float:right;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:right;margin-right:10px}#buddypress div.pagination .pagination-links{float:left;margin-left:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:right}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:right}#buddypress form#whats-new-form #whats-new-content{margin-right:55px;padding:0 20px 20px 0}#buddypress form#whats-new-form p.activity-greeting{line-height:.5em;margin-bottom:15px;margin-right:75px}#buddypress form#whats-new-form textarea{background:#fff;box-sizing:border-box;color:#555;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:left;margin-top:12px}#buddypress #whats-new-options:after{clear:both;content:"";display:table}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:right}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-right:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-right:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#767676;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 70px 0 0}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:150%;margin-right:170px;margin-left:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#767676;line-height:220%}#buddypress .activity-header{margin-left:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 0 -8px 5px!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-left:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 0 5px 10px;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-right:2px solid #EAEAEA;margin-right:5px;padding-right:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-right:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner,#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:right;margin:0 0 5px 10px}#buddypress .activity-read-more{margin-right:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4D4D4D}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#767676;text-decoration:none}#buddypress a.activity-time-since:hover{color:#767676;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-left:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#767676;color:#fff;font-size:90%;margin-right:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 70px 0 0;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-right:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 10px 0 0}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-right:30px;margin-top:0;padding-right:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 15px 0 10px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:right;height:25px;margin-left:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 40px 0 0}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#767676;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-left:15px;clear:both}#buddypress div.activity-comments form.root{margin-right:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:right}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#767676;margin-right:50px;padding-right:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:right;margin:5px 40px 5px 0}#buddypress .acomment-options a{color:#767676}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:left;margin:-39px 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .current-member-type{font-style:italic}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:right;color:#800}#buddypress div#message.warning p{background-color:#ffe0af;border:1px solid #ffd087;clear:right;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 0 5px 5px;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:right;margin-right:10px}#buddypress ul.button-nav li{float:right;margin:0 0 10px 10px;list-style:none}#sitewide-notice #message{right:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}#buddypress form fieldset{border:0;padding:0}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#737373;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form legend,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress .standard-form #invite-list label,#buddypress .standard-form p label{font-weight:400;margin:auto}#buddypress .standard-form .checkbox label,#buddypress .standard-form .radio label{color:#767676;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form .checkbox label input,#buddypress .standard-form .radio label input{margin-left:3px}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:left}#buddypress div#signup-avatar img{margin:0 0 10px 15px}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#767676;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-left:15px}#buddypress .standard-form div.radio ul{margin:10px 38px 15px 0;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon,body.no-js #buddypress #delete_inbox_messages,body.no-js #buddypress #delete_sentbox_messages,body.no-js #buddypress #message-type-select,body.no-js #buddypress #messages-bulk-management #select-all-messages,body.no-js #buddypress #notifications-bulk-management #select-all-notifications,body.no-js #buddypress label[for=message-type-select]{display:none}#buddypress .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:right;width:48%}#buddypress .standard-form #profile-details-section{float:left}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:right}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress .generic-button a,#buddypress .standard-form button,#buddypress a.button,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#767676;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress .standard-form button:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:right}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 1% 0 0}#buddypress form.standard-form .main-column{margin-right:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:right}#buddypress form.standard-form .main-column ul#friend-list h3,#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 8px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}fieldset.register-site{margin-top:1em}fieldset.create-site{margin-bottom:2em}fieldset.create-site legend{margin-bottom:1em}fieldset.create-site label{margin-left:3em}.bp-screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@-webkit-keyframes loader-pulsate{from{border-color:#aaa;-webkit-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-webkit-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@-moz-keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#767676}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled],#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#767676;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-right:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#767676;font-size:80%;position:absolute;top:15px;left:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{left:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table tr td.thread-info p,#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-left:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p.thread-excerpt{color:#767676;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5;color:#707070}#buddypress table.notification-settings{margin-bottom:20px;text-align:right}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-right:35px}#buddypress table.forum td p.topic-text{color:#767676;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-right:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-left:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:right}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#767676}#buddypress table.forum td img.avatar{float:none;margin:0 0 -8px 5px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;padding:0}#buddypress span.user-nicename{color:#767676;display:inline-block;font-size:120%;font-weight:700}#buddypress div#message p,#sitewide-notice p{font-weight:400;margin-top:3px;text-decoration:none;background-color:#ffd;border:1px solid #cb2;color:#440}#buddypress #item-header:after{clear:both;content:"";display:table}#buddypress div#item-header div#item-header-content{float:right;margin-right:0}#buddypress div#item-header h2{line-height:120%;margin:0 0 15px}#buddypress div#item-header h2 a{color:#767676;text-decoration:none}#buddypress div#item-header img.avatar{float:right;margin:0 0 19px 15px}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:170%;vertical-align:middle;display:inline-block}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span,body.no-js #buddypress div#item-header .js-self-profile-button{display:none}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;left:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#767676;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:left;margin:0 15px 15px 0;text-align:left;width:20%}#buddypress div#item-header div#item-actions h2,#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header ul{margin-bottom:15px;overflow:hidden}#buddypress div#item-header ul li{float:left;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:right;margin:10px 0 0 10px}#buddypress div#item-header div#message.info{line-height:80%}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:right;margin:0 0 0 10px}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h3,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#767676;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#767676;font-size:80%;margin:10px 60px 0 0;width:50%}#buddypress ul.item-list li.group-no-avatar div.item-desc{margin-right:0}#buddypress ul.item-list li div.action{position:absolute;top:15px;left:0;text-align:left}#buddypress ul.item-list li div.meta{color:#767676;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:left;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:right;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:right;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:left;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#6c6c6c;display:inline;font-size:70%;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.9;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:12% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress .group-members-list{width:100%;margin-top:1em;clear:both;overflow:auto}#buddypress div#message-thread div.message-metadata,.widget.buddypress div.avatar-block{overflow:hidden}#buddypress #item-buttons:empty{display:none}#buddypress #cover-image-container{position:relative;z-index:0}#buddypress #header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#buddypress #item-header-cover-image{padding:0 1em;position:relative;z-index:2}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:right;margin:0 0 0 10px;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-content{margin-right:45px}#buddypress div#message-thread div.message-options{text-align:left}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:left;margin:0 20px}.message-metadata{position:relative}.message-star-actions{position:absolute;left:0;top:0}#buddypress a.message-action-star,#buddypress a.message-action-unstar{border-bottom:0;text-decoration:none;outline:0}a.message-action-star{opacity:.7}a.message-action-star:hover{opacity:1}.message-action-star span.icon:before,.message-action-unstar span.icon:before{font-family:dashicons;font-size:18px}.message-action-star span.icon:before{color:#767676;content:"\f154"}.message-action-unstar span.icon:before{color:#fcdd77;content:"\f155"}#buddypress div.profile h2{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#707070}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}#buddypress .wp-editor-container{border:1px solid #dedede}#buddypress .html-active button.switch-html,#buddypress .tmce-active button.switch-tmce{border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0;background:#f5f5f5;color:#707070}#buddypress .standard-form .wp-editor-container textarea{width:100%;padding-top:0;padding-bottom:0}.widget.buddypress div.item-avatar img.avatar{float:right;margin:0 0 15px 10px}.widget.buddypress span.activity{display:inline-block;font-size:small;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-right:50px}.widget.buddypress ul.item-list img.avatar{height:40px;margin-left:10px;width:40px}.widget.buddypress div.item-avatar img{height:40px;margin:1px;width:40px}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-left:10px}.widget.buddypress .bp-login-widget-user-avatar{float:right}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-right:60px;margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-right:0;padding-right:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{clear:both;list-style-type:none}@media only screen and (max-width:480px){#buddypress div.dir-search{float:left;margin-top:-50px;text-align:left}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-right:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h3,#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search,#buddypress ul.item-list li div.action{margin-top:0;text-align:right;clear:right;float:right}#buddypress li#groups-order-select{clear:right;float:right}#buddypress ul.item-list li div.action{margin-right:70px;position:relative;top:0;left:0}#buddypress ul.item-list li div.item-desc{clear:right;float:right;margin:10px 0 0;width:auto}#buddypress li div.item{margin-right:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-right:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:right;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:right}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-right:45px}h1 a.bp-title-button{clear:right;float:right;margin:10px 0 20px}} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress.css index 8dd381a3a369af5363406bc936fc4941d01006f3..46a9dd265e01de38972ee920a0379a487c8b9dda 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress.css @@ -624,7 +624,6 @@ body.activity-permalink #buddypress div.activity-comments div.acomment-content { #buddypress .standard-form textarea, #buddypress .standard-form input[type=text], -#buddypress .standard-form input[type=text], #buddypress .standard-form input[type=color], #buddypress .standard-form input[type=date], #buddypress .standard-form input[type=datetime], @@ -647,7 +646,7 @@ body.activity-permalink #buddypress div.activity-comments div.acomment-content { border: 1px solid #ccc; background: #fafafa; border-radius: 0; - color: #767676; + color: #737373; font: inherit; font-size: 100%; padding: 6px; @@ -786,7 +785,7 @@ body.no-js #buddypress #messages-bulk-management #select-all-messages { padding: 5px; width: 160px; } -#buddypress button, +#buddypress .standard-form button, #buddypress a.button, #buddypress input[type=submit], #buddypress input[type=button], @@ -805,7 +804,7 @@ a.bp-title-button { text-align: center; text-decoration: none; } -#buddypress button:hover, +#buddypress .standard-form button:hover, #buddypress a.button:hover, #buddypress a.button:focus, #buddypress input[type=submit]:hover, @@ -844,6 +843,7 @@ a.bp-title-button { float: left; } +#buddypress form.standard-form .main-column ul#friend-list h3, #buddypress form.standard-form .main-column ul#friend-list h4 { clear:none; } @@ -863,6 +863,22 @@ a.bp-title-button { opacity: .4; } +fieldset.register-site { + margin-top: 1em; +} + +fieldset.create-site { + margin-bottom: 2em; +} + +fieldset.create-site legend { + margin-bottom: 1em; +} + +fieldset.create-site label { + margin-right: 3em; +} + .bp-screen-reader-text { position: absolute; margin: -1px; @@ -1071,6 +1087,7 @@ a.bp-title-button { #buddypress table.messages-notices tr.alt td, #buddypress table.forum tr.alt td { background: #f5f5f5; + color: #707070; } #buddypress table.notification-settings { margin-bottom: 20px; @@ -1169,7 +1186,6 @@ a.bp-title-button { #buddypress span.activity { display: inline-block; font-size: small; - opacity: 0.8; padding: 0; } #buddypress span.user-nicename { @@ -1244,6 +1260,7 @@ a.bp-title-button { text-align: right; width: 20%; } +#buddypress div#item-header div#item-actions h2, #buddypress div#item-header div#item-actions h3 { margin: 0 0 5px 0; } @@ -1304,6 +1321,7 @@ body.activity-permalink #buddypress ul.item-list li.activity-item { margin: 0 10px 0 0; } #buddypress ul.item-list li div.item-title, +#buddypress ul.item-list li h3, #buddypress ul.item-list li h4 { font-weight: normal; font-size: 90%; @@ -1389,7 +1407,7 @@ body.activity-permalink #buddypress ul.item-list li.activity-item { #buddypress div.item-list-tabs ul li.current a { background-color: #eee; color: #555; - opacity: .8; + opacity: .9; font-weight: bold; } #buddypress div.item-list-tabs ul li.selected a span, @@ -1418,6 +1436,12 @@ body.activity-permalink #buddypress ul.item-list li.activity-item { overflow: auto; list-style: none; } +#buddypress .group-members-list { + width: 100%; + margin-top: 1em; + clear: both; + overflow: auto; +} #buddypress #item-buttons:empty { display: none; } @@ -1558,7 +1582,7 @@ a.message-action-star:hover { 3.10 - Extended Profiles --------------------------------------------------------------*/ -#buddypress div.profile h4 { +#buddypress div.profile h2 { margin-bottom: auto; margin-top: 15px; } @@ -1583,7 +1607,7 @@ body.no-js #buddypress .field-visibility-settings-close { #buddypress .field-visibility-settings, #buddypress .field-visibility-settings-toggle, #buddypress .field-visibility-settings-notoggle { - color: #767676; + color: #707070; } #buddypress .field-visibility-settings-toggle a, #buddypress .field-visibility-settings a { @@ -1615,12 +1639,14 @@ body.register #buddypress div.page ul { border-bottom-left-radius: 0; border-bottom-right-radius: 0; background: #f5f5f5; + color: #707070; } #buddypress .tmce-active button.switch-tmce { border-bottom-color: transparent; border-bottom-left-radius: 0; border-bottom-right-radius: 0; background: #f5f5f5; + color: #707070; } #buddypress .standard-form .wp-editor-container textarea { width: 100%; @@ -1640,7 +1666,6 @@ body.register #buddypress div.page ul { .widget.buddypress span.activity { display: inline-block; font-size: small; - opacity: 0.8; padding: 0; } @@ -1742,6 +1767,7 @@ body.register #buddypress div.page ul { position: relative; margin-bottom:1em; } + #buddypress form.standard-form .main-column ul#friend-list h3, #buddypress form.standard-form .main-column ul#friend-list h4{ width:100%; } diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress.min.css index 9c34dcd7b42eb19153901035c3c330534007f7cc..cdec06de01b270181debbbacb478f9a0da854728 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/buddypress.min.css @@ -1 +1 @@ -#buddypress div.pagination .pagination-links a:hover,#buddypress ul.button-nav li.current a{font-weight:700}#buddypress div.pagination{background:0 0;border:none;color:#767676;font-size:small;margin:0;position:relative;display:block;float:left;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:left;margin-left:10px}#buddypress div.pagination .pagination-links{float:right;margin-right:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:left}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:left}#buddypress form#whats-new-form #whats-new-content{margin-left:55px;padding:0 0 20px 20px}#buddypress form#whats-new-form p.activity-greeting{line-height:.5em;margin-bottom:15px;margin-left:75px}#buddypress form#whats-new-form textarea{background:#fff;box-sizing:border-box;color:#555;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:right;margin-top:12px}#buddypress #whats-new-options:after{clear:both;content:"";display:table}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:left}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-left:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-left:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#767676;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 0 0 70px}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:150%;margin-left:170px;margin-right:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#767676;line-height:220%}#buddypress .activity-header{margin-right:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 5px -8px 0!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-right:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 10px 5px 0;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-left:2px solid #EAEAEA;margin-left:5px;padding-left:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-left:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner,#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:left;margin:0 10px 5px 0}#buddypress .activity-read-more{margin-left:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4D4D4D}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#767676;text-decoration:none}#buddypress a.activity-time-since:hover{color:#767676;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-right:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#767676;color:#fff;font-size:90%;margin-left:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 0 0 70px;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-left:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 0 0 10px}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-left:30px;margin-top:0;padding-left:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 10px 0 15px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:left;height:25px;margin-right:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 0 0 40px}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#767676;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-right:15px;clear:both}#buddypress div.activity-comments form.root{margin-left:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:left}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#767676;margin-left:50px;padding-left:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:left;margin:5px 0 5px 40px}#buddypress .acomment-options a{color:#767676}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:right;margin:-39px 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .current-member-type{font-style:italic}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:left;color:#800}#buddypress div#message.warning p{background-color:#ffe0af;border:1px solid #ffd087;clear:left;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 5px 5px 0;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:left;margin-left:10px}#buddypress ul.button-nav li{float:left;margin:0 10px 10px 0;list-style:none}#sitewide-notice #message{left:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}#buddypress form fieldset{border:0;padding:0}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#767676;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form legend,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress .standard-form #invite-list label,#buddypress .standard-form p label{font-weight:400;margin:auto}#buddypress .standard-form .checkbox label,#buddypress .standard-form .radio label{color:#767676;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form .checkbox label input,#buddypress .standard-form .radio label input{margin-right:3px}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:right}#buddypress div#signup-avatar img{margin:0 15px 10px 0}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#767676;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-right:15px}#buddypress .standard-form div.radio ul{margin:10px 0 15px 38px;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon,body.no-js #buddypress #delete_inbox_messages,body.no-js #buddypress #delete_sentbox_messages,body.no-js #buddypress #message-type-select,body.no-js #buddypress #messages-bulk-management #select-all-messages,body.no-js #buddypress #notifications-bulk-management #select-all-notifications,body.no-js #buddypress label[for=message-type-select]{display:none}#buddypress .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:left;width:48%}#buddypress .standard-form #profile-details-section{float:right}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:left}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress .generic-button a,#buddypress a.button,#buddypress button,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#767676;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:left}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 0 0 1%}#buddypress form.standard-form .main-column{margin-left:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:left}#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 8px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}.bp-screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@-webkit-keyframes loader-pulsate{from{border-color:#aaa;-webkit-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-webkit-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@-moz-keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#767676}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled],#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#767676;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-left:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#767676;font-size:80%;position:absolute;top:15px;right:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{right:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table tr td.thread-info p,#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-right:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p.thread-excerpt{color:#767676;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5}#buddypress table.notification-settings{margin-bottom:20px;text-align:left}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-left:35px}#buddypress table.forum td p.topic-text{color:#767676;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-left:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-right:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:left}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#767676}#buddypress table.forum td img.avatar{float:none;margin:0 5px -8px 0}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}#buddypress span.user-nicename{color:#767676;display:inline-block;font-size:120%;font-weight:700}#buddypress div#message p,#sitewide-notice p{font-weight:400;margin-top:3px;text-decoration:none;background-color:#ffd;border:1px solid #cb2;color:#440}#buddypress #item-header:after{clear:both;content:"";display:table}#buddypress div#item-header div#item-header-content{float:left;margin-left:0}#buddypress div#item-header h2{line-height:120%;margin:0 0 15px}#buddypress div#item-header h2 a{color:#767676;text-decoration:none}#buddypress div#item-header img.avatar{float:left;margin:0 15px 19px 0}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:170%;vertical-align:middle;display:inline-block}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span,body.no-js #buddypress div#item-header .js-self-profile-button{display:none}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;right:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#767676;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:right;margin:0 0 15px 15px;text-align:right;width:20%}#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header ul{margin-bottom:15px;overflow:hidden}#buddypress div#item-header ul li{float:right;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:left;margin:10px 10px 0 0}#buddypress div#item-header div#message.info{line-height:80%}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:left;margin:0 10px 0 0}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#767676;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#767676;font-size:80%;margin:10px 0 0 60px;width:50%}#buddypress ul.item-list li.group-no-avatar div.item-desc{margin-left:0}#buddypress ul.item-list li div.action{position:absolute;top:15px;right:0;text-align:right}#buddypress ul.item-list li div.meta{color:#767676;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:right;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:left;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:left;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:right;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#6c6c6c;display:inline;font-size:70%;margin-left:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.8;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:88% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress div#message-thread div.message-metadata,.widget.buddypress div.avatar-block{overflow:hidden}#buddypress #item-buttons:empty{display:none}#buddypress #cover-image-container{position:relative;z-index:0}#buddypress #header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#buddypress #item-header-cover-image{padding:0 1em;position:relative;z-index:2}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:left;margin:0 10px 0 0;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-content{margin-left:45px}#buddypress div#message-thread div.message-options{text-align:right}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:right;margin:0 20px}.message-metadata{position:relative}.message-star-actions{position:absolute;right:0;top:0}#buddypress a.message-action-star,#buddypress a.message-action-unstar{border-bottom:0;text-decoration:none;outline:0}a.message-action-star{opacity:.7}a.message-action-star:hover{opacity:1}.message-action-star span.icon:before,.message-action-unstar span.icon:before{font-family:dashicons;font-size:18px}.message-action-star span.icon:before{color:#767676;content:"\f154"}.message-action-unstar span.icon:before{color:#fcdd77;content:"\f155"}#buddypress div.profile h4{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#767676}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}#buddypress .wp-editor-container{border:1px solid #dedede}#buddypress .html-active button.switch-html,#buddypress .tmce-active button.switch-tmce{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0;background:#f5f5f5}#buddypress .standard-form .wp-editor-container textarea{width:100%;padding-top:0;padding-bottom:0}.widget.buddypress div.item-avatar img.avatar{float:left;margin:0 10px 15px 0}.widget.buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-left:50px}.widget.buddypress ul.item-list img.avatar{height:40px;margin-right:10px;width:40px}.widget.buddypress div.item-avatar img{height:40px;margin:1px;width:40px}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-right:10px}.widget.buddypress .bp-login-widget-user-avatar{float:left}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-left:60px;margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-left:0;padding-left:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{clear:both;list-style-type:none}@media only screen and (max-width:480px){#buddypress div.dir-search{float:right;margin-top:-50px;text-align:right}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-left:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search,#buddypress ul.item-list li div.action{margin-top:0;text-align:left;clear:left;float:left}#buddypress li#groups-order-select{clear:left;float:left}#buddypress ul.item-list li div.action{margin-left:70px;position:relative;top:0;right:0}#buddypress ul.item-list li div.item-desc{clear:left;float:left;margin:10px 0 0;width:auto}#buddypress li div.item{margin-left:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-left:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:left;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:left}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-left:45px}h1 a.bp-title-button{clear:left;float:left;margin:10px 0 20px}} \ No newline at end of file +#buddypress div.pagination .pagination-links a:hover,#buddypress ul.button-nav li.current a{font-weight:700}#buddypress div.pagination{background:0 0;border:none;color:#767676;font-size:small;margin:0;position:relative;display:block;float:left;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:left;margin-left:10px}#buddypress div.pagination .pagination-links{float:right;margin-right:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:left}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:left}#buddypress form#whats-new-form #whats-new-content{margin-left:55px;padding:0 0 20px 20px}#buddypress form#whats-new-form p.activity-greeting{line-height:.5em;margin-bottom:15px;margin-left:75px}#buddypress form#whats-new-form textarea{background:#fff;box-sizing:border-box;color:#555;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:right;margin-top:12px}#buddypress #whats-new-options:after{clear:both;content:"";display:table}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:left}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-left:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-left:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#767676;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 0 0 70px}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:150%;margin-left:170px;margin-right:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#767676;line-height:220%}#buddypress .activity-header{margin-right:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 5px -8px 0!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-right:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 10px 5px 0;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-left:2px solid #EAEAEA;margin-left:5px;padding-left:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-left:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner,#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:left;margin:0 10px 5px 0}#buddypress .activity-read-more{margin-left:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4D4D4D}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#767676;text-decoration:none}#buddypress a.activity-time-since:hover{color:#767676;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-right:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#767676;color:#fff;font-size:90%;margin-left:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 0 0 70px;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-left:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 0 0 10px}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-left:30px;margin-top:0;padding-left:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 10px 0 15px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:left;height:25px;margin-right:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 0 0 40px}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#767676;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-right:15px;clear:both}#buddypress div.activity-comments form.root{margin-left:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:left}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#767676;margin-left:50px;padding-left:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:left;margin:5px 0 5px 40px}#buddypress .acomment-options a{color:#767676}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:right;margin:-39px 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .current-member-type{font-style:italic}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:left;color:#800}#buddypress div#message.warning p{background-color:#ffe0af;border:1px solid #ffd087;clear:left;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 5px 5px 0;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:left;margin-left:10px}#buddypress ul.button-nav li{float:left;margin:0 10px 10px 0;list-style:none}#sitewide-notice #message{left:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}#buddypress form fieldset{border:0;padding:0}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#737373;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form legend,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress .standard-form #invite-list label,#buddypress .standard-form p label{font-weight:400;margin:auto}#buddypress .standard-form .checkbox label,#buddypress .standard-form .radio label{color:#767676;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form .checkbox label input,#buddypress .standard-form .radio label input{margin-right:3px}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:right}#buddypress div#signup-avatar img{margin:0 15px 10px 0}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#767676;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-right:15px}#buddypress .standard-form div.radio ul{margin:10px 0 15px 38px;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon,body.no-js #buddypress #delete_inbox_messages,body.no-js #buddypress #delete_sentbox_messages,body.no-js #buddypress #message-type-select,body.no-js #buddypress #messages-bulk-management #select-all-messages,body.no-js #buddypress #notifications-bulk-management #select-all-notifications,body.no-js #buddypress label[for=message-type-select]{display:none}#buddypress .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:left;width:48%}#buddypress .standard-form #profile-details-section{float:right}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:left}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress .generic-button a,#buddypress .standard-form button,#buddypress a.button,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#767676;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress .standard-form button:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:left}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 0 0 1%}#buddypress form.standard-form .main-column{margin-left:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:left}#buddypress form.standard-form .main-column ul#friend-list h3,#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 8px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}fieldset.register-site{margin-top:1em}fieldset.create-site{margin-bottom:2em}fieldset.create-site legend{margin-bottom:1em}fieldset.create-site label{margin-right:3em}.bp-screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@-webkit-keyframes loader-pulsate{from{border-color:#aaa;-webkit-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-webkit-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@-moz-keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#767676}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled],#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#767676;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-left:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#767676;font-size:80%;position:absolute;top:15px;right:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{right:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table tr td.thread-info p,#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-right:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p.thread-excerpt{color:#767676;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5;color:#707070}#buddypress table.notification-settings{margin-bottom:20px;text-align:left}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-left:35px}#buddypress table.forum td p.topic-text{color:#767676;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-left:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-right:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:left}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#767676}#buddypress table.forum td img.avatar{float:none;margin:0 5px -8px 0}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;padding:0}#buddypress span.user-nicename{color:#767676;display:inline-block;font-size:120%;font-weight:700}#buddypress div#message p,#sitewide-notice p{font-weight:400;margin-top:3px;text-decoration:none;background-color:#ffd;border:1px solid #cb2;color:#440}#buddypress #item-header:after{clear:both;content:"";display:table}#buddypress div#item-header div#item-header-content{float:left;margin-left:0}#buddypress div#item-header h2{line-height:120%;margin:0 0 15px}#buddypress div#item-header h2 a{color:#767676;text-decoration:none}#buddypress div#item-header img.avatar{float:left;margin:0 15px 19px 0}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:170%;vertical-align:middle;display:inline-block}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span,body.no-js #buddypress div#item-header .js-self-profile-button{display:none}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;right:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#767676;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:right;margin:0 0 15px 15px;text-align:right;width:20%}#buddypress div#item-header div#item-actions h2,#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header ul{margin-bottom:15px;overflow:hidden}#buddypress div#item-header ul li{float:right;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:left;margin:10px 10px 0 0}#buddypress div#item-header div#message.info{line-height:80%}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:left;margin:0 10px 0 0}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h3,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#767676;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#767676;font-size:80%;margin:10px 0 0 60px;width:50%}#buddypress ul.item-list li.group-no-avatar div.item-desc{margin-left:0}#buddypress ul.item-list li div.action{position:absolute;top:15px;right:0;text-align:right}#buddypress ul.item-list li div.meta{color:#767676;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:right;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:left;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:left;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:right;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#6c6c6c;display:inline;font-size:70%;margin-left:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.9;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:88% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress .group-members-list{width:100%;margin-top:1em;clear:both;overflow:auto}#buddypress div#message-thread div.message-metadata,.widget.buddypress div.avatar-block{overflow:hidden}#buddypress #item-buttons:empty{display:none}#buddypress #cover-image-container{position:relative;z-index:0}#buddypress #header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#buddypress #item-header-cover-image{padding:0 1em;position:relative;z-index:2}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:left;margin:0 10px 0 0;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-content{margin-left:45px}#buddypress div#message-thread div.message-options{text-align:right}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:right;margin:0 20px}.message-metadata{position:relative}.message-star-actions{position:absolute;right:0;top:0}#buddypress a.message-action-star,#buddypress a.message-action-unstar{border-bottom:0;text-decoration:none;outline:0}a.message-action-star{opacity:.7}a.message-action-star:hover{opacity:1}.message-action-star span.icon:before,.message-action-unstar span.icon:before{font-family:dashicons;font-size:18px}.message-action-star span.icon:before{color:#767676;content:"\f154"}.message-action-unstar span.icon:before{color:#fcdd77;content:"\f155"}#buddypress div.profile h2{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#707070}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}#buddypress .wp-editor-container{border:1px solid #dedede}#buddypress .html-active button.switch-html,#buddypress .tmce-active button.switch-tmce{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0;background:#f5f5f5;color:#707070}#buddypress .standard-form .wp-editor-container textarea{width:100%;padding-top:0;padding-bottom:0}.widget.buddypress div.item-avatar img.avatar{float:left;margin:0 10px 15px 0}.widget.buddypress span.activity{display:inline-block;font-size:small;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-left:50px}.widget.buddypress ul.item-list img.avatar{height:40px;margin-right:10px;width:40px}.widget.buddypress div.item-avatar img{height:40px;margin:1px;width:40px}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-right:10px}.widget.buddypress .bp-login-widget-user-avatar{float:left}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-left:60px;margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-left:0;padding-left:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{clear:both;list-style-type:none}@media only screen and (max-width:480px){#buddypress div.dir-search{float:right;margin-top:-50px;text-align:right}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-left:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h3,#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search,#buddypress ul.item-list li div.action{margin-top:0;text-align:left;clear:left;float:left}#buddypress li#groups-order-select{clear:left;float:left}#buddypress ul.item-list li div.action{margin-left:70px;position:relative;top:0;right:0}#buddypress ul.item-list li div.item-desc{clear:left;float:left;margin:10px 0 0;width:auto}#buddypress li div.item{margin-left:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-left:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:left;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:left}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-left:45px}h1 a.bp-title-button{clear:left;float:left;margin:10px 0 20px}} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven-rtl.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven-rtl.css index 23b31d554a093d16151fb1bd37c4913150fab80d..60a3b40a63475768dbdf1d58fe3e76bc3967cd0a 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven-rtl.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven-rtl.css @@ -977,7 +977,7 @@ body.buddypress:not(.page-template-sidebar-page) #content .entry-content { .single-item.groups #buddypress div#item-header #item-actions { order: 3; } - .single-item.groups #buddypress div#item-header #item-actions h3 { + .single-item.groups #buddypress div#item-header #item-actions h2 { border-bottom: 1px solid #eaeaea; text-align: center; } @@ -1019,7 +1019,7 @@ body.buddypress:not(.page-template-sidebar-page) #content .entry-content { padding-right: 0; } -.single-item.groups #buddypress div#item-header div#item-actions h3 { +.single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 14px; font-size: 0.9333333333rem; font-weight: bold; @@ -1072,7 +1072,7 @@ body.buddypress:not(.page-template-sidebar-page) #content .entry-content { padding-top: 0 !important; width: auto; } - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h3 { + .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2 { border-bottom: 1px solid #eaeaea; } } @@ -1130,7 +1130,7 @@ body.buddypress:not(.page-template-sidebar-page) #content .entry-content { * @subsection 6.2.1.1 - Group Management *----------------------------------------- */ -.groups #group-settings-form h4 { +.groups #group-settings-form h3 { background: #555; color: #fff; padding: 0.2em; @@ -1342,7 +1342,7 @@ body.buddypress:not(.page-template-sidebar-page) #content .entry-content { * @subsection 6.2.2.2 - Extended Profiles *------------------------------------------- */ -.bp-user #buddypress .profile .bp-widget h4 { +.bp-user #buddypress .profile .bp-widget h2 { background: #6f6f6f; color: #fff; margin-bottom: 0; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven-rtl.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven-rtl.min.css index b99aa6ecc4b0061b95be8ff3c03be4b17f16d603..f2490216b4989eb1402c34b590a4a30f932bdc5b 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven-rtl.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";.buddypress div.clear{display:none}body.buddypress:not(.page-template-sidebar-page) #content{margin:0 10%;width:auto}body.buddypress:not(.page-template-sidebar-page) #content .entry-content,body.buddypress:not(.page-template-sidebar-page) #content .entry-header{width:auto}.buddypress.singular.page .hentry{padding-top:0}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a:focus,#buddypress div.item-list-tabs ul li a:hover{color:#555}#buddypress div.item-list-tabs ul li a:visited{color:#21759b}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:450px){.bp-user #buddypress #object-nav{border:1px solid #eaeaea;overflow:visible;padding:5px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:active:before,.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:active ul,.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{min-height:320px;opacity:1;visibility:visible}.bp-user #buddypress #subnav{clear:both}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:650px){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f2f2f2}}@media screen and (min-width:650px){#buddypress #object-nav ul li{float:right}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{border-bottom:0;border-top:1px solid #d4d0ba;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;float:left;margin-top:0;padding:5px 0;text-align:left;width:230px}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.9333333333rem}#buddypress div#subnav.item-list-tabs ul li.last select{font-style:italic}#buddypress div#subnav.item-list-tabs ul li.last select option{font-style:normal}#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress div#subnav.item-list-tabs li.last{margin-right:0;text-align:left}@media screen and (max-width:450px){#buddypress div#subnav.item-list-tabs ul li.last{float:none;width:auto}.bp-user #buddypress div#subnav.item-list-tabs li.last{clear:right;float:none;margin-right:10px;text-align:right}}@media screen and (min-width:800px){body.bp-user #buddypress #item-body,body.bp-user #buddypress #item-header{background:#fff}body.bp-user #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body.bp-user #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.bp-user #buddypress #object-nav ul li{float:none;overflow:hidden}body.bp-user #buddypress #object-nav ul li.selected{background:#ddd}body.bp-user #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body.bp-user #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 25px 0 0;width:auto}body.bp-user #buddypress #item-body #subnav{margin:0 -25px 0 0}body.bp-user #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:650px){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#373737;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream li .activity-header a:visited,#buddypress ul.item-list li .item .item-title>a:visited{color:#21759b}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress ul.item-list{border-top:0}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:15px;text-align:center}@media screen and (min-width:650px){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:15px}#buddypress ul.item-list li .item{margin-right:0;overflow:hidden}#buddypress ul.item-list li .item .item-meta{text-align:center}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item .item-meta{text-align:right}}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:16px;font-size:1.0666666667rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-width:450px){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}#buddypress ul.item-list li .item .item-title{text-align:right}}#buddypress ul.item-list li .item .item-title>a{text-decoration:none}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.8rem;padding:15px 0;text-align:right}@media screen and (min-width:650px){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.9333333333rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:5%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.2rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin:0;padding:15px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:650px){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:5px 0;width:100%}#buddypress #activity-stream li.load-newest a,#buddypress ul.item-list li div.action div a{display:block}@media screen and (min-width:37em){#buddypress ul.item-list li div.action div{margin:0 0 5px 15px;width:auto}}@media screen and (min-width:650px){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 15px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:650px){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:15px 0 25px;padding:15px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;font-size:12px;font-size:.8rem;line-height:1.6;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;max-width:220px;min-height:1.5em;padding:0 .4em 0 0}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{font-size:12px;font-size:.8rem;float:left}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input{padding:0 6px}}#buddypress #item-body form#whats-new-form{margin:50px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:25px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-comments,#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li .activity-inner img{height:auto}@media screen and (min-width:650px){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:15px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.0666666667rem}#buddypress #activity-stream li .activity-comments{margin-right:70px}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li.mini .activity-content .activity-meta a{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{border-bottom:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;font-size:14px;font-size:.9333333333rem;margin-bottom:5px;padding:.2em .5em}@media screen and (min-width:650px){#buddypress #activity-stream .activity-content .activity-meta a{float:right;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:15px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:25px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.0666666667rem;margin-bottom:50px}@media screen and (min-width:650px){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.3333333333rem}#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}.activity-permalink #buddypress #activity-stream .activity-comments{margin-right:0}#buddypress #activity-stream .activity-comments{position:relative}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}#buddypress #activity-stream .activity-comments>ul>li:hover *{color:#555}#buddypress #activity-stream .activity-comments>ul>li .acomment-content,#buddypress #activity-stream .activity-comments>ul>li .acomment-meta{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-comments .ac-form{border:1px solid #d4d0ba;box-sizing:border-box;margin:15px 0;width:100%}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(55,55,55,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.8rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:37.5em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user #buddypress a:visited{color:#21759b}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.9333333333rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:37.5em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.bp-user #buddypress #item-header-content .user-nicename,.single-item.groups #buddypress #item-header-content .user-nicename{color:#555}}@media screen and (max-width:800px){#buddypress #item-header-cover-image #item-header-content .user-nicename{color:#555;text-shadow:none}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}.single-item.groups #buddypress #item-header #item-meta{margin-bottom:25px}}@media screen and (max-width:50em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:50px}.single-item.groups #buddypress div#item-header #item-header-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.single-item.groups #buddypress div#item-header div#item-actions{margin:0!important;width:100%}@media screen and (min-width:50em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions{width:40%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.9333333333rem;font-weight:700;line-height:1.4}.single-item.groups #buddypress div#item-header div#item-actions #group-admins li,.single-item.groups #buddypress div#item-header div#item-actions #group-mods li{margin:0}@media screen and (min-width:650px){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:2%;padding:0 .5em}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}@media screen and (min-width:64em){.single-item.groups #buddypress div#item-header #item-header-content{width:40%}}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{margin-top:225px!important}@media screen and (min-width:50em) and (max-width:60em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content{max-width:60%!important;width:60%!important}}@media screen and (max-width:64em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{border:0;clear:both;margin-top:0!important;max-width:100%!important;padding-top:0!important;width:auto}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h3{border-bottom:1px solid #eaeaea}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button{margin-left:5px}@media screen and (min-width:650px){.bp-user #buddypress #item-header #item-header-avatar,.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:0;width:69%}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.9333333333rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{font-weight:700;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(55,55,55,.6);font-size:14px;font-size:.9333333333rem}.groups.group-avatar form>p{margin-top:25px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:15px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:block;margin:5px 0}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0}.groups.group-members #subnav li #search-members-form label input[type=text]{box-shadow:none}@media screen and (max-width:450px){.groups.group-members #subnav li{background:#fff;padding:25px 0}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user #buddypress table th{font-size:13px;font-size:.8666666667rem}.bp-user #buddypress table td{font-size:12px;font-size:.8rem}@media screen and (min-width:650px){.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block}.bp-user #buddypress table th{font-size:16px;font-size:1.0666666667rem}.bp-user #buddypress table td{font-size:14px;font-size:.9333333333rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:right;width:100%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:40%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:.9333333333rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:49%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:auto}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;margin-right:1%;width:50%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{width:auto}}.bp-user #buddypress .messages-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .messages-options-nav input[disabled=disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:hover{background:0 0}.bp-user #buddypress .profile .bp-widget h4{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.2rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{margin:5px 0 25px}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#6f6f6f;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box;color:#eee;font-weight:700;padding:.1em .5em;text-decoration:none}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover{color:#fff}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread #message-recipients .highlight{font-size:100%}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:15px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;box-sizing:border-box;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom:1px solid #ccc;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star{vertical-align:middle}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star,.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar{line-height:1.2}.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.8rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.8rem;line-height:1.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:37.5em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.7333333333rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{border-color:#eaeaea}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress #send_message_form input,.bp-user #buddypress #send_message_form textarea{box-sizing:border-box}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-right:15px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices tr{margin:3em 0}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-right:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td a.button{border:1px solid #d4d0ba;line-height:initial;padding:.4em .3em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{line-height:1;padding-bottom:1em;text-align:left}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-right:15px}.bp-user .ac_results li{margin:15px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user .ac_results li img{vertical-align:bottom}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.3333333333rem;margin:25px 0 15px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:15px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{border:0;border-radius:0;box-shadow:none;box-sizing:border-box;font-size:14px;font-size:.9333333333rem;line-height:1.8;min-height:2rem}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{border-left:1px solid rgba(212,208,186,.6);float:right;margin:0;padding:0 .2em;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:0 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:37.5em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:800px){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress table{font-size:14px;font-size:.9333333333rem;margin:25px 0}.bp-user #buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff;font-size:16px;font-size:1.0666666667rem;padding:0 8px;text-transform:capitalize}.bp-user #buddypress table tr td{padding:8px}.bp-user #buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){.bp-user #buddypress table{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress .messages-notices th,.bp-user #buddypress .notifications th{width:30%}.bp-user #buddypress .messages-notices th.bulk-select-all,.bp-user #buddypress .notifications th.bulk-select-all{text-align:center;width:10%}.bp-user #buddypress .messages-notices .bulk-select-check,.bp-user #buddypress .messages-notices .notification-actions,.bp-user #buddypress .messages-notices .thread-star,.bp-user #buddypress .messages-notices td.thread-options,.bp-user #buddypress .messages-notices th.actions,.bp-user #buddypress .notifications .bulk-select-check,.bp-user #buddypress .notifications .notification-actions,.bp-user #buddypress .notifications .thread-star,.bp-user #buddypress .notifications td.thread-options,.bp-user #buddypress .notifications th.actions{text-align:center}.bp-user #buddypress .messages-notices .notification-actions a,.bp-user #buddypress .messages-notices td.thread-options a,.bp-user #buddypress .notifications .notification-actions a,.bp-user #buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}.bp-user #buddypress .messages-notices td .button,.bp-user #buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.2rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file +@charset "UTF-8";.buddypress div.clear{display:none}body.buddypress:not(.page-template-sidebar-page) #content{margin:0 10%;width:auto}body.buddypress:not(.page-template-sidebar-page) #content .entry-content,body.buddypress:not(.page-template-sidebar-page) #content .entry-header{width:auto}.buddypress.singular.page .hentry{padding-top:0}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a:focus,#buddypress div.item-list-tabs ul li a:hover{color:#555}#buddypress div.item-list-tabs ul li a:visited{color:#21759b}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:450px){.bp-user #buddypress #object-nav{border:1px solid #eaeaea;overflow:visible;padding:5px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:active:before,.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:active ul,.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{min-height:320px;opacity:1;visibility:visible}.bp-user #buddypress #subnav{clear:both}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:650px){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f2f2f2}}@media screen and (min-width:650px){#buddypress #object-nav ul li{float:right}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{border-bottom:0;border-top:1px solid #d4d0ba;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;float:left;margin-top:0;padding:5px 0;text-align:left;width:230px}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.9333333333rem}#buddypress div#subnav.item-list-tabs ul li.last select{font-style:italic}#buddypress div#subnav.item-list-tabs ul li.last select option{font-style:normal}#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress div#subnav.item-list-tabs li.last{margin-right:0;text-align:left}@media screen and (max-width:450px){#buddypress div#subnav.item-list-tabs ul li.last{float:none;width:auto}.bp-user #buddypress div#subnav.item-list-tabs li.last{clear:right;float:none;margin-right:10px;text-align:right}}@media screen and (min-width:800px){body.bp-user #buddypress #item-body,body.bp-user #buddypress #item-header{background:#fff}body.bp-user #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body.bp-user #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.bp-user #buddypress #object-nav ul li{float:none;overflow:hidden}body.bp-user #buddypress #object-nav ul li.selected{background:#ddd}body.bp-user #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body.bp-user #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 25px 0 0;width:auto}body.bp-user #buddypress #item-body #subnav{margin:0 -25px 0 0}body.bp-user #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:650px){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#373737;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream li .activity-header a:visited,#buddypress ul.item-list li .item .item-title>a:visited{color:#21759b}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress ul.item-list{border-top:0}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:15px;text-align:center}@media screen and (min-width:650px){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:15px}#buddypress ul.item-list li .item{margin-right:0;overflow:hidden}#buddypress ul.item-list li .item .item-meta{text-align:center}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item .item-meta{text-align:right}}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:16px;font-size:1.0666666667rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-width:450px){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}#buddypress ul.item-list li .item .item-title{text-align:right}}#buddypress ul.item-list li .item .item-title>a{text-decoration:none}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.8rem;padding:15px 0;text-align:right}@media screen and (min-width:650px){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.9333333333rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:5%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.2rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin:0;padding:15px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:650px){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:5px 0;width:100%}#buddypress #activity-stream li.load-newest a,#buddypress ul.item-list li div.action div a{display:block}@media screen and (min-width:37em){#buddypress ul.item-list li div.action div{margin:0 0 5px 15px;width:auto}}@media screen and (min-width:650px){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 15px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:650px){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:15px 0 25px;padding:15px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;font-size:12px;font-size:.8rem;line-height:1.6;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;max-width:220px;min-height:1.5em;padding:0 .4em 0 0}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{font-size:12px;font-size:.8rem;float:left}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input{padding:0 6px}}#buddypress #item-body form#whats-new-form{margin:50px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:25px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-comments,#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li .activity-inner img{height:auto}@media screen and (min-width:650px){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:15px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.0666666667rem}#buddypress #activity-stream li .activity-comments{margin-right:70px}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li.mini .activity-content .activity-meta a{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{border-bottom:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;font-size:14px;font-size:.9333333333rem;margin-bottom:5px;padding:.2em .5em}@media screen and (min-width:650px){#buddypress #activity-stream .activity-content .activity-meta a{float:right;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:15px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:25px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.0666666667rem;margin-bottom:50px}@media screen and (min-width:650px){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.3333333333rem}#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}.activity-permalink #buddypress #activity-stream .activity-comments{margin-right:0}#buddypress #activity-stream .activity-comments{position:relative}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}#buddypress #activity-stream .activity-comments>ul>li:hover *{color:#555}#buddypress #activity-stream .activity-comments>ul>li .acomment-content,#buddypress #activity-stream .activity-comments>ul>li .acomment-meta{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-comments .ac-form{border:1px solid #d4d0ba;box-sizing:border-box;margin:15px 0;width:100%}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(55,55,55,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.8rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:37.5em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user #buddypress a:visited{color:#21759b}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.9333333333rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:37.5em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.bp-user #buddypress #item-header-content .user-nicename,.single-item.groups #buddypress #item-header-content .user-nicename{color:#555}}@media screen and (max-width:800px){#buddypress #item-header-cover-image #item-header-content .user-nicename{color:#555;text-shadow:none}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}.single-item.groups #buddypress #item-header #item-meta{margin-bottom:25px}}@media screen and (max-width:50em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h2{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:50px}.single-item.groups #buddypress div#item-header #item-header-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.single-item.groups #buddypress div#item-header div#item-actions{margin:0!important;width:100%}@media screen and (min-width:50em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions{width:40%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:14px;font-size:.9333333333rem;font-weight:700;line-height:1.4}.single-item.groups #buddypress div#item-header div#item-actions #group-admins li,.single-item.groups #buddypress div#item-header div#item-actions #group-mods li{margin:0}@media screen and (min-width:650px){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:2%;padding:0 .5em}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}@media screen and (min-width:64em){.single-item.groups #buddypress div#item-header #item-header-content{width:40%}}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{margin-top:225px!important}@media screen and (min-width:50em) and (max-width:60em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content{max-width:60%!important;width:60%!important}}@media screen and (max-width:64em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{border:0;clear:both;margin-top:0!important;max-width:100%!important;padding-top:0!important;width:auto}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2{border-bottom:1px solid #eaeaea}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button{margin-left:5px}@media screen and (min-width:650px){.bp-user #buddypress #item-header #item-header-avatar,.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:0;width:69%}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}}.groups #group-settings-form h3{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.9333333333rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{font-weight:700;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(55,55,55,.6);font-size:14px;font-size:.9333333333rem}.groups.group-avatar form>p{margin-top:25px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:15px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:block;margin:5px 0}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0}.groups.group-members #subnav li #search-members-form label input[type=text]{box-shadow:none}@media screen and (max-width:450px){.groups.group-members #subnav li{background:#fff;padding:25px 0}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user #buddypress table th{font-size:13px;font-size:.8666666667rem}.bp-user #buddypress table td{font-size:12px;font-size:.8rem}@media screen and (min-width:650px){.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block}.bp-user #buddypress table th{font-size:16px;font-size:1.0666666667rem}.bp-user #buddypress table td{font-size:14px;font-size:.9333333333rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:right;width:100%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:40%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:.9333333333rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:49%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:auto}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;margin-right:1%;width:50%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{width:auto}}.bp-user #buddypress .messages-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .messages-options-nav input[disabled=disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:hover{background:0 0}.bp-user #buddypress .profile .bp-widget h2{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.2rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{margin:5px 0 25px}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#6f6f6f;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box;color:#eee;font-weight:700;padding:.1em .5em;text-decoration:none}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover{color:#fff}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread #message-recipients .highlight{font-size:100%}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:15px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;box-sizing:border-box;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom:1px solid #ccc;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star{vertical-align:middle}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star,.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar{line-height:1.2}.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.8rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.8rem;line-height:1.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:37.5em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.7333333333rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{border-color:#eaeaea}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress #send_message_form input,.bp-user #buddypress #send_message_form textarea{box-sizing:border-box}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-right:15px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices tr{margin:3em 0}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-right:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td a.button{border:1px solid #d4d0ba;line-height:initial;padding:.4em .3em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{line-height:1;padding-bottom:1em;text-align:left}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-right:15px}.bp-user .ac_results li{margin:15px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user .ac_results li img{vertical-align:bottom}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.3333333333rem;margin:25px 0 15px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:15px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{border:0;border-radius:0;box-shadow:none;box-sizing:border-box;font-size:14px;font-size:.9333333333rem;line-height:1.8;min-height:2rem}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{border-left:1px solid rgba(212,208,186,.6);float:right;margin:0;padding:0 .2em;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:0 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:37.5em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:800px){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress table{font-size:14px;font-size:.9333333333rem;margin:25px 0}.bp-user #buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff;font-size:16px;font-size:1.0666666667rem;padding:0 8px;text-transform:capitalize}.bp-user #buddypress table tr td{padding:8px}.bp-user #buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){.bp-user #buddypress table{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress .messages-notices th,.bp-user #buddypress .notifications th{width:30%}.bp-user #buddypress .messages-notices th.bulk-select-all,.bp-user #buddypress .notifications th.bulk-select-all{text-align:center;width:10%}.bp-user #buddypress .messages-notices .bulk-select-check,.bp-user #buddypress .messages-notices .notification-actions,.bp-user #buddypress .messages-notices .thread-star,.bp-user #buddypress .messages-notices td.thread-options,.bp-user #buddypress .messages-notices th.actions,.bp-user #buddypress .notifications .bulk-select-check,.bp-user #buddypress .notifications .notification-actions,.bp-user #buddypress .notifications .thread-star,.bp-user #buddypress .notifications td.thread-options,.bp-user #buddypress .notifications th.actions{text-align:center}.bp-user #buddypress .messages-notices .notification-actions a,.bp-user #buddypress .messages-notices td.thread-options a,.bp-user #buddypress .notifications .notification-actions a,.bp-user #buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}.bp-user #buddypress .messages-notices td .button,.bp-user #buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.2rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven.css index d87c0aad2b29bdbaa7598282ecd1bf19c48e4e00..7382262ff0eea4febd762f64db607c2e416c02e4 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven.css @@ -977,7 +977,7 @@ body.buddypress:not(.page-template-sidebar-page) #content .entry-content { .single-item.groups #buddypress div#item-header #item-actions { order: 3; } - .single-item.groups #buddypress div#item-header #item-actions h3 { + .single-item.groups #buddypress div#item-header #item-actions h2 { border-bottom: 1px solid #eaeaea; text-align: center; } @@ -1019,7 +1019,7 @@ body.buddypress:not(.page-template-sidebar-page) #content .entry-content { padding-left: 0; } -.single-item.groups #buddypress div#item-header div#item-actions h3 { +.single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 14px; font-size: 0.9333333333rem; font-weight: bold; @@ -1072,7 +1072,7 @@ body.buddypress:not(.page-template-sidebar-page) #content .entry-content { padding-top: 0 !important; width: auto; } - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h3 { + .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2 { border-bottom: 1px solid #eaeaea; } } @@ -1130,7 +1130,7 @@ body.buddypress:not(.page-template-sidebar-page) #content .entry-content { * @subsection 6.2.1.1 - Group Management *----------------------------------------- */ -.groups #group-settings-form h4 { +.groups #group-settings-form h3 { background: #555; color: #fff; padding: 0.2em; @@ -1342,7 +1342,7 @@ body.buddypress:not(.page-template-sidebar-page) #content .entry-content { * @subsection 6.2.2.2 - Extended Profiles *------------------------------------------- */ -.bp-user #buddypress .profile .bp-widget h4 { +.bp-user #buddypress .profile .bp-widget h2 { background: #6f6f6f; color: #fff; margin-bottom: 0; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven.min.css index c04c72aaa9b94ed4ae946dc09db1649293ac9e38..8a721c45d8ced7fb87bddfd5981b9b30bc722ae5 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven.min.css @@ -1 +1 @@ -@charset "UTF-8";.buddypress div.clear{display:none}body.buddypress:not(.page-template-sidebar-page) #content{margin:0 10%;width:auto}body.buddypress:not(.page-template-sidebar-page) #content .entry-content,body.buddypress:not(.page-template-sidebar-page) #content .entry-header{width:auto}.buddypress.singular.page .hentry{padding-top:0}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a:focus,#buddypress div.item-list-tabs ul li a:hover{color:#555}#buddypress div.item-list-tabs ul li a:visited{color:#21759b}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:450px){.bp-user #buddypress #object-nav{border:1px solid #eaeaea;overflow:visible;padding:5px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:active:before,.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:active ul,.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{min-height:320px;opacity:1;visibility:visible}.bp-user #buddypress #subnav{clear:both}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:650px){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f2f2f2}}@media screen and (min-width:650px){#buddypress #object-nav ul li{float:left}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{border-bottom:0;border-top:1px solid #d4d0ba;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;float:right;margin-top:0;padding:5px 0;text-align:right;width:230px}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.9333333333rem}#buddypress div#subnav.item-list-tabs ul li.last select{font-style:italic}#buddypress div#subnav.item-list-tabs ul li.last select option{font-style:normal}#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress div#subnav.item-list-tabs li.last{margin-left:0;text-align:right}@media screen and (max-width:450px){#buddypress div#subnav.item-list-tabs ul li.last{float:none;width:auto}.bp-user #buddypress div#subnav.item-list-tabs li.last{clear:left;float:none;margin-left:10px;text-align:left}}@media screen and (min-width:800px){body.bp-user #buddypress #item-body,body.bp-user #buddypress #item-header{background:#fff}body.bp-user #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body.bp-user #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.bp-user #buddypress #object-nav ul li{float:none;overflow:hidden}body.bp-user #buddypress #object-nav ul li.selected{background:#ddd}body.bp-user #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body.bp-user #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 25px;width:auto}body.bp-user #buddypress #item-body #subnav{margin:0 0 0 -25px}body.bp-user #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:650px){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#373737;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream li .activity-header a:visited,#buddypress ul.item-list li .item .item-title>a:visited{color:#21759b}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress ul.item-list{border-top:0}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:15px;text-align:center}@media screen and (min-width:650px){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:15px}#buddypress ul.item-list li .item{margin-left:0;overflow:hidden}#buddypress ul.item-list li .item .item-meta{text-align:center}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item .item-meta{text-align:left}}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:16px;font-size:1.0666666667rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-width:450px){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}#buddypress ul.item-list li .item .item-title{text-align:left}}#buddypress ul.item-list li .item .item-title>a{text-decoration:none}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.8rem;padding:15px 0;text-align:left}@media screen and (min-width:650px){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.9333333333rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:5%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.2rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin:0;padding:15px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:650px){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:5px 0;width:100%}#buddypress #activity-stream li.load-newest a,#buddypress ul.item-list li div.action div a{display:block}@media screen and (min-width:37em){#buddypress ul.item-list li div.action div{margin:0 15px 5px 0;width:auto}}@media screen and (min-width:650px){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 15px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:650px){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:15px 0 25px;padding:15px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;font-size:12px;font-size:.8rem;line-height:1.6;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;max-width:220px;min-height:1.5em;padding:0 0 0 .4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{font-size:12px;font-size:.8rem;float:right}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input{padding:0 6px}}#buddypress #item-body form#whats-new-form{margin:50px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:25px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-comments,#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li .activity-inner img{height:auto}@media screen and (min-width:650px){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:15px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.0666666667rem}#buddypress #activity-stream li .activity-comments{margin-left:70px}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li.mini .activity-content .activity-meta a{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{border-bottom:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;font-size:14px;font-size:.9333333333rem;margin-bottom:5px;padding:.2em .5em}@media screen and (min-width:650px){#buddypress #activity-stream .activity-content .activity-meta a{float:left;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:15px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:25px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.0666666667rem;margin-bottom:50px}@media screen and (min-width:650px){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.3333333333rem}#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}.activity-permalink #buddypress #activity-stream .activity-comments{margin-left:0}#buddypress #activity-stream .activity-comments{position:relative}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}#buddypress #activity-stream .activity-comments>ul>li:hover *{color:#555}#buddypress #activity-stream .activity-comments>ul>li .acomment-content,#buddypress #activity-stream .activity-comments>ul>li .acomment-meta{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-comments .ac-form{border:1px solid #d4d0ba;box-sizing:border-box;margin:15px 0;width:100%}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(55,55,55,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.8rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:37.5em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user #buddypress a:visited{color:#21759b}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.9333333333rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:37.5em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.bp-user #buddypress #item-header-content .user-nicename,.single-item.groups #buddypress #item-header-content .user-nicename{color:#555}}@media screen and (max-width:800px){#buddypress #item-header-cover-image #item-header-content .user-nicename{color:#555;text-shadow:none}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}.single-item.groups #buddypress #item-header #item-meta{margin-bottom:25px}}@media screen and (max-width:50em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:50px}.single-item.groups #buddypress div#item-header #item-header-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.single-item.groups #buddypress div#item-header div#item-actions{margin:0!important;width:100%}@media screen and (min-width:50em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions{width:40%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.9333333333rem;font-weight:700;line-height:1.4}.single-item.groups #buddypress div#item-header div#item-actions #group-admins li,.single-item.groups #buddypress div#item-header div#item-actions #group-mods li{margin:0}@media screen and (min-width:650px){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:2%;padding:0 .5em}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}@media screen and (min-width:64em){.single-item.groups #buddypress div#item-header #item-header-content{width:40%}}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{margin-top:225px!important}@media screen and (min-width:50em) and (max-width:60em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content{max-width:60%!important;width:60%!important}}@media screen and (max-width:64em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{border:0;clear:both;margin-top:0!important;max-width:100%!important;padding-top:0!important;width:auto}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h3{border-bottom:1px solid #eaeaea}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button{margin-right:5px}@media screen and (min-width:650px){.bp-user #buddypress #item-header #item-header-avatar,.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:0;width:69%}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.9333333333rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{font-weight:700;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(55,55,55,.6);font-size:14px;font-size:.9333333333rem}.groups.group-avatar form>p{margin-top:25px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:15px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:block;margin:5px 0}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 0 0}.groups.group-members #subnav li #search-members-form label input[type=text]{box-shadow:none}@media screen and (max-width:450px){.groups.group-members #subnav li{background:#fff;padding:25px 0}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user #buddypress table th{font-size:13px;font-size:.8666666667rem}.bp-user #buddypress table td{font-size:12px;font-size:.8rem}@media screen and (min-width:650px){.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block}.bp-user #buddypress table th{font-size:16px;font-size:1.0666666667rem}.bp-user #buddypress table td{font-size:14px;font-size:.9333333333rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:left;width:100%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:40%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:.9333333333rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:49%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:auto}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;margin-left:1%;width:50%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{width:auto}}.bp-user #buddypress .messages-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .messages-options-nav input[disabled=disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:hover{background:0 0}.bp-user #buddypress .profile .bp-widget h4{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.2rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{margin:5px 0 25px}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#6f6f6f;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box;color:#eee;font-weight:700;padding:.1em .5em;text-decoration:none}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover{color:#fff}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread #message-recipients .highlight{font-size:100%}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:15px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;box-sizing:border-box;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom:1px solid #ccc;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star{vertical-align:middle}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star,.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar{line-height:1.2}.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.8rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.8rem;line-height:1.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:37.5em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.7333333333rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{border-color:#eaeaea}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress #send_message_form input,.bp-user #buddypress #send_message_form textarea{box-sizing:border-box}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-left:15px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices tr{margin:3em 0}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-left:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td a.button{border:1px solid #d4d0ba;line-height:initial;padding:.4em .3em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{line-height:1;padding-bottom:1em;text-align:right}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-left:15px}.bp-user .ac_results li{margin:15px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user .ac_results li img{vertical-align:bottom}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.3333333333rem;margin:25px 0 15px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:15px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{border:0;border-radius:0;box-shadow:none;box-sizing:border-box;font-size:14px;font-size:.9333333333rem;line-height:1.8;min-height:2rem}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{border-right:1px solid rgba(212,208,186,.6);float:left;margin:0;padding:0 .2em;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:0 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:37.5em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:800px){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress table{font-size:14px;font-size:.9333333333rem;margin:25px 0}.bp-user #buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff;font-size:16px;font-size:1.0666666667rem;padding:0 8px;text-transform:capitalize}.bp-user #buddypress table tr td{padding:8px}.bp-user #buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){.bp-user #buddypress table{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress .messages-notices th,.bp-user #buddypress .notifications th{width:30%}.bp-user #buddypress .messages-notices th.bulk-select-all,.bp-user #buddypress .notifications th.bulk-select-all{text-align:center;width:10%}.bp-user #buddypress .messages-notices .bulk-select-check,.bp-user #buddypress .messages-notices .notification-actions,.bp-user #buddypress .messages-notices .thread-star,.bp-user #buddypress .messages-notices td.thread-options,.bp-user #buddypress .messages-notices th.actions,.bp-user #buddypress .notifications .bulk-select-check,.bp-user #buddypress .notifications .notification-actions,.bp-user #buddypress .notifications .thread-star,.bp-user #buddypress .notifications td.thread-options,.bp-user #buddypress .notifications th.actions{text-align:center}.bp-user #buddypress .messages-notices .notification-actions a,.bp-user #buddypress .messages-notices td.thread-options a,.bp-user #buddypress .notifications .notification-actions a,.bp-user #buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}.bp-user #buddypress .messages-notices td .button,.bp-user #buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.2rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file +@charset "UTF-8";.buddypress div.clear{display:none}body.buddypress:not(.page-template-sidebar-page) #content{margin:0 10%;width:auto}body.buddypress:not(.page-template-sidebar-page) #content .entry-content,body.buddypress:not(.page-template-sidebar-page) #content .entry-header{width:auto}.buddypress.singular.page .hentry{padding-top:0}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a:focus,#buddypress div.item-list-tabs ul li a:hover{color:#555}#buddypress div.item-list-tabs ul li a:visited{color:#21759b}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:450px){.bp-user #buddypress #object-nav{border:1px solid #eaeaea;overflow:visible;padding:5px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:active:before,.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:active ul,.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{min-height:320px;opacity:1;visibility:visible}.bp-user #buddypress #subnav{clear:both}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:650px){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f2f2f2}}@media screen and (min-width:650px){#buddypress #object-nav ul li{float:left}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{border-bottom:0;border-top:1px solid #d4d0ba;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;float:right;margin-top:0;padding:5px 0;text-align:right;width:230px}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.9333333333rem}#buddypress div#subnav.item-list-tabs ul li.last select{font-style:italic}#buddypress div#subnav.item-list-tabs ul li.last select option{font-style:normal}#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress div#subnav.item-list-tabs li.last{margin-left:0;text-align:right}@media screen and (max-width:450px){#buddypress div#subnav.item-list-tabs ul li.last{float:none;width:auto}.bp-user #buddypress div#subnav.item-list-tabs li.last{clear:left;float:none;margin-left:10px;text-align:left}}@media screen and (min-width:800px){body.bp-user #buddypress #item-body,body.bp-user #buddypress #item-header{background:#fff}body.bp-user #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body.bp-user #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.bp-user #buddypress #object-nav ul li{float:none;overflow:hidden}body.bp-user #buddypress #object-nav ul li.selected{background:#ddd}body.bp-user #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body.bp-user #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 25px;width:auto}body.bp-user #buddypress #item-body #subnav{margin:0 0 0 -25px}body.bp-user #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:650px){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#373737;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream li .activity-header a:visited,#buddypress ul.item-list li .item .item-title>a:visited{color:#21759b}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress ul.item-list{border-top:0}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:15px;text-align:center}@media screen and (min-width:650px){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:15px}#buddypress ul.item-list li .item{margin-left:0;overflow:hidden}#buddypress ul.item-list li .item .item-meta{text-align:center}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item .item-meta{text-align:left}}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:16px;font-size:1.0666666667rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-width:450px){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}#buddypress ul.item-list li .item .item-title{text-align:left}}#buddypress ul.item-list li .item .item-title>a{text-decoration:none}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.8rem;padding:15px 0;text-align:left}@media screen and (min-width:650px){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.9333333333rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:5%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.2rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin:0;padding:15px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:650px){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:5px 0;width:100%}#buddypress #activity-stream li.load-newest a,#buddypress ul.item-list li div.action div a{display:block}@media screen and (min-width:37em){#buddypress ul.item-list li div.action div{margin:0 15px 5px 0;width:auto}}@media screen and (min-width:650px){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 15px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:650px){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:15px 0 25px;padding:15px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;font-size:12px;font-size:.8rem;line-height:1.6;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;max-width:220px;min-height:1.5em;padding:0 0 0 .4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{font-size:12px;font-size:.8rem;float:right}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input{padding:0 6px}}#buddypress #item-body form#whats-new-form{margin:50px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:25px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-comments,#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li .activity-inner img{height:auto}@media screen and (min-width:650px){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:15px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.0666666667rem}#buddypress #activity-stream li .activity-comments{margin-left:70px}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li.mini .activity-content .activity-meta a{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{border-bottom:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;font-size:14px;font-size:.9333333333rem;margin-bottom:5px;padding:.2em .5em}@media screen and (min-width:650px){#buddypress #activity-stream .activity-content .activity-meta a{float:left;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:15px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:25px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.0666666667rem;margin-bottom:50px}@media screen and (min-width:650px){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.3333333333rem}#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}.activity-permalink #buddypress #activity-stream .activity-comments{margin-left:0}#buddypress #activity-stream .activity-comments{position:relative}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}#buddypress #activity-stream .activity-comments>ul>li:hover *{color:#555}#buddypress #activity-stream .activity-comments>ul>li .acomment-content,#buddypress #activity-stream .activity-comments>ul>li .acomment-meta{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-comments .ac-form{border:1px solid #d4d0ba;box-sizing:border-box;margin:15px 0;width:100%}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(55,55,55,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.8rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:37.5em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user #buddypress a:visited{color:#21759b}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.9333333333rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:37.5em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.bp-user #buddypress #item-header-content .user-nicename,.single-item.groups #buddypress #item-header-content .user-nicename{color:#555}}@media screen and (max-width:800px){#buddypress #item-header-cover-image #item-header-content .user-nicename{color:#555;text-shadow:none}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}.single-item.groups #buddypress #item-header #item-meta{margin-bottom:25px}}@media screen and (max-width:50em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h2{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:50px}.single-item.groups #buddypress div#item-header #item-header-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.single-item.groups #buddypress div#item-header div#item-actions{margin:0!important;width:100%}@media screen and (min-width:50em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions{width:40%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:14px;font-size:.9333333333rem;font-weight:700;line-height:1.4}.single-item.groups #buddypress div#item-header div#item-actions #group-admins li,.single-item.groups #buddypress div#item-header div#item-actions #group-mods li{margin:0}@media screen and (min-width:650px){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:2%;padding:0 .5em}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}@media screen and (min-width:64em){.single-item.groups #buddypress div#item-header #item-header-content{width:40%}}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{margin-top:225px!important}@media screen and (min-width:50em) and (max-width:60em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content{max-width:60%!important;width:60%!important}}@media screen and (max-width:64em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{border:0;clear:both;margin-top:0!important;max-width:100%!important;padding-top:0!important;width:auto}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2{border-bottom:1px solid #eaeaea}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button{margin-right:5px}@media screen and (min-width:650px){.bp-user #buddypress #item-header #item-header-avatar,.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:0;width:69%}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}}.groups #group-settings-form h3{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.9333333333rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{font-weight:700;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(55,55,55,.6);font-size:14px;font-size:.9333333333rem}.groups.group-avatar form>p{margin-top:25px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:15px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:block;margin:5px 0}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 0 0}.groups.group-members #subnav li #search-members-form label input[type=text]{box-shadow:none}@media screen and (max-width:450px){.groups.group-members #subnav li{background:#fff;padding:25px 0}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user #buddypress table th{font-size:13px;font-size:.8666666667rem}.bp-user #buddypress table td{font-size:12px;font-size:.8rem}@media screen and (min-width:650px){.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block}.bp-user #buddypress table th{font-size:16px;font-size:1.0666666667rem}.bp-user #buddypress table td{font-size:14px;font-size:.9333333333rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:left;width:100%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:40%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:.9333333333rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:49%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:auto}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;margin-left:1%;width:50%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{width:auto}}.bp-user #buddypress .messages-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .messages-options-nav input[disabled=disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:hover{background:0 0}.bp-user #buddypress .profile .bp-widget h2{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.2rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{margin:5px 0 25px}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#6f6f6f;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box;color:#eee;font-weight:700;padding:.1em .5em;text-decoration:none}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover{color:#fff}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread #message-recipients .highlight{font-size:100%}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:15px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;box-sizing:border-box;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom:1px solid #ccc;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star{vertical-align:middle}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star,.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar{line-height:1.2}.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.8rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.8rem;line-height:1.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:37.5em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.7333333333rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{border-color:#eaeaea}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress #send_message_form input,.bp-user #buddypress #send_message_form textarea{box-sizing:border-box}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-left:15px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices tr{margin:3em 0}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-left:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td a.button{border:1px solid #d4d0ba;line-height:initial;padding:.4em .3em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{line-height:1;padding-bottom:1em;text-align:right}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-left:15px}.bp-user .ac_results li{margin:15px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user .ac_results li img{vertical-align:bottom}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.3333333333rem;margin:25px 0 15px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:15px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{border:0;border-radius:0;box-shadow:none;box-sizing:border-box;font-size:14px;font-size:.9333333333rem;line-height:1.8;min-height:2rem}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{border-right:1px solid rgba(212,208,186,.6);float:left;margin:0;padding:0 .2em;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:0 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:37.5em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:800px){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress table{font-size:14px;font-size:.9333333333rem;margin:25px 0}.bp-user #buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff;font-size:16px;font-size:1.0666666667rem;padding:0 8px;text-transform:capitalize}.bp-user #buddypress table tr td{padding:8px}.bp-user #buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){.bp-user #buddypress table{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress .messages-notices th,.bp-user #buddypress .notifications th{width:30%}.bp-user #buddypress .messages-notices th.bulk-select-all,.bp-user #buddypress .notifications th.bulk-select-all{text-align:center;width:10%}.bp-user #buddypress .messages-notices .bulk-select-check,.bp-user #buddypress .messages-notices .notification-actions,.bp-user #buddypress .messages-notices .thread-star,.bp-user #buddypress .messages-notices td.thread-options,.bp-user #buddypress .messages-notices th.actions,.bp-user #buddypress .notifications .bulk-select-check,.bp-user #buddypress .notifications .notification-actions,.bp-user #buddypress .notifications .thread-star,.bp-user #buddypress .notifications td.thread-options,.bp-user #buddypress .notifications th.actions{text-align:center}.bp-user #buddypress .messages-notices .notification-actions a,.bp-user #buddypress .messages-notices td.thread-options a,.bp-user #buddypress .notifications .notification-actions a,.bp-user #buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}.bp-user #buddypress .messages-notices td .button,.bp-user #buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.2rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven.scss b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven.scss index 8b3ea73065c33966a3b7fbad5ebb09bbde0e2fd1..341362894f6aa5e4fe72d8e020d505a0f0b24b7c 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven.scss +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyeleven.scss @@ -1413,7 +1413,7 @@ body.buddypress:not(.page-template-sidebar-page) { #item-actions { order: 3; - h3 { + h2 { border-bottom: 1px solid $border-light; text-align: center; } @@ -1449,7 +1449,7 @@ body.buddypress:not(.page-template-sidebar-page) { padding-left: 0; } - h3 { + h2 { @include font-size(14); font-weight: bold; line-height: 1.4; @@ -1521,7 +1521,7 @@ body.buddypress:not(.page-template-sidebar-page) { padding-top: 0 !important; width: auto; - h3 {border-bottom: 1px solid $border-light;} + h2 {border-bottom: 1px solid $border-light;} } } // @media } @@ -1606,7 +1606,7 @@ body.buddypress:not(.page-template-sidebar-page) { // headings settings screens & general global settings styles .groups { #group-settings-form { - h4 { + h3 { background: $dark-background; color: $content-background; padding: 0.2em; @@ -1828,7 +1828,7 @@ body.buddypress:not(.page-template-sidebar-page) { .profile { .bp-widget { - h4 { + h2 { background: lighten($dark-background, 10%); color: #fff; margin-bottom: 0; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen-rtl.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen-rtl.css index 5b90a168cd8fbb0643b78e83b02e43b71597c788..0f33e941b51aaf9b2493442138cbea574b02bc2d 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen-rtl.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen-rtl.css @@ -335,6 +335,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ font-family: "Noto Sans", sans-serif; } +#buddypress .item-list a.activity-time-since { + color: #717171; +} + #buddypress ul.item-list li { overflow: hidden !important; } @@ -599,6 +603,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #buddypress #activity-stream .activity-content .activity-header p { background-color: #f7f7f7; border: 1px solid rgba(234, 234, 234, 0.6); + color: #717171; padding: 0 0.2em; } @@ -673,6 +678,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ margin: 10px 0 0; } +#buddypress #activity-stream .activity-comments a { + color: #717171; +} + #buddypress #activity-stream .activity-comments.has-comments { border-right: 1px solid #eaeaea; } @@ -712,6 +721,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #buddypress #activity-stream .activity-comments > ul .acomment-meta { border-bottom: 1px solid #eaeaea; + color: #737373; font-style: italic; } @@ -894,7 +904,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } } -.single-item.groups #buddypress div#item-header div#item-actions h3 { +.single-item.groups #buddypress div#item-header div#item-actions h2 { background: #555; color: #fff; font-size: 14px; @@ -903,7 +913,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } @media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions h3 { + .single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 16px; font-size: 1.6rem; } @@ -1000,7 +1010,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @subsection 6.2.1.1 - Group Management *----------------------------------------- */ -.groups #group-settings-form h4 { +.groups #group-settings-form h3 { background: #555; color: #fff; padding: 0.2em; @@ -1047,7 +1057,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .groups.group-settings #group-settings-form div.radio ul, .groups.group-settings #create-group-form div.radio ul { - color: rgba(51, 51, 51, 0.6); + color: #767676; font-size: 14px; font-size: 1.4rem; } @@ -1320,7 +1330,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @subsection 6.2.2.2 - Extended Profiles *------------------------------------------- */ -.bp-user #buddypress .profile .bp-widget h4 { +.bp-user #buddypress .profile .bp-widget h2 { background: #6f6f6f; color: #fff; margin-bottom: 0; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen-rtl.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen-rtl.min.css index 0df393530e5f7873369ecb2b3eac767f33ed291b..9c7a0b01658633633fb7a891174f2a7103b8198b 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen-rtl.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before,.buddypress div.clear{display:none}#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress main{padding-top:4%}@media screen and (min-width:59.6875em){.buddypress main{padding-top:0}}.buddypress main article{margin:0 4%;padding-top:8.3333%}@media screen and (min-width:59.6875em){.buddypress main article{margin:0 1px 0 0}}@media screen and (min-width:87.6875em){.buddypress main article{margin:0 8.3333% 0 4.3333%}}.buddypress main article .entry-content,.buddypress main article .entry-header{padding:0 3rem 3rem}.buddypress main article #buddypress{margin-bottom:40px}.buddypress .site-footer{margin:0 4%}@media screen and (min-width:59.6875em){.buddypress .site-footer{margin:0 35.2941% 0 0;width:61.8235%}}.buddypress #buddypress #latest-update a,.buddypress #buddypress .activity-comments a,.buddypress #buddypress .activity-header a,.buddypress #buddypress .activity-inner a,.buddypress #buddypress .avatar-nav-items a,.buddypress #buddypress .field-visibility-settings-toggle a,.buddypress #buddypress .item-list-tabs a,.buddypress #buddypress .item-title a,.buddypress #buddypress .load-more a,.buddypress #buddypress .pagination-links a,.buddypress #buddypress .pagination-links span,.buddypress #buddypress table a{border-bottom:0}#buddypress div.item-list-tabs ul{background-color:#f7f7f7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:5px 0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 0 5px 5px;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:1.4rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:right}#buddypress div#subnav.item-list-tabs ul li.last{text-align:left}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}@media screen and (min-width:55em){.bp-user #buddypress,.single-item.groups #buddypress{background:#f7f7f7}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}#buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 20px 0 0;width:auto}#buddypress #item-body #subnav{margin:0 -20px 0 0}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Noto Sans",sans-serif}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}}#buddypress ul.item-list li .item{margin-right:25%}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:70%}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:10%;margin-right:0;position:relative;width:55%}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-20px;margin-right:0;padding:20px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:30em){#buddypress form#whats-new-form #whats-new-post-in-box select{font-size:14px;font-size:1.4rem;max-width:120px}}@media screen and (max-width:38.75em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 40px;padding:10px 0 0}#buddypress form#whats-new-form #whats-new-content #whats-new-submit{float:none}#buddypress form#whats-new-form #whats-new-content #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-options #whats-new-post-in-box{order:1}}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(153,153,153,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;outline:0;padding-right:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-submit{float:left}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:1.4rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.6rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:13px;font-size:1.3rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin:0 0 5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress{background:0 0}.activity-permalink #buddypress #activity-stream li.activity-item{padding:20px 0}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.6rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:2rem}}.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .activity-comments{margin:10px 0 0}#buddypress #activity-stream .activity-comments.has-comments{border-right:1px solid #eaeaea}#buddypress #activity-stream .activity-comments .ac-form{padding:20px 0 0}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments>ul{margin-right:70px}}#buddypress #activity-stream .activity-comments>ul ul{margin-right:1%;padding-right:0}@media screen and (min-width:30em){#buddypress #activity-stream .activity-comments>ul ul{margin-right:1%;padding-right:1em}}#buddypress #activity-stream .activity-comments>ul ul li{border-right:1px solid #eaeaea;border-top:0;padding-right:.2em}#buddypress #activity-stream .activity-comments>ul .acomment-meta{border-bottom:1px solid #eaeaea;font-style:italic}@media screen and (max-width:38.75em){#buddypress #activity-stream .activity-comments>ul .acomment-avatar{display:block;text-align:center}#buddypress #activity-stream .activity-comments>ul .acomment-avatar a,#buddypress #activity-stream .activity-comments>ul .acomment-avatar img.avatar{display:inline;float:none}#buddypress #activity-stream .activity-comments>ul .acomment-content,#buddypress #activity-stream .activity-comments>ul .acomment-meta,#buddypress #activity-stream .activity-comments>ul .acomment-options{margin:5px}#buddypress #activity-stream .activity-comments>ul .acomment-content{padding:0 10px}.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}}#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:none}#buddypress #activity-stream .activity-comments .ac-reply-content{margin-right:0;padding-right:0}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:block}#buddypress #activity-stream .activity-comments .ac-reply-content{overflow:hidden}}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(51,51,51,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:1.2rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(153,153,153,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{clear:none;float:left;width:50%}}.single-item.groups #buddypress div#item-header div#item-actions h3{background:#555;color:#fff;font-size:14px;font-size:1.4rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:16px;font-size:1.6rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:right;width:20%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{float:right}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:5%;width:69%}}#item-body h1,#item-body h2,#item-body h3,#item-body h4,#item-body h5,#item-body h6{margin:1em 0}#item-body h1 a,#item-body h2 a,#item-body h3 a,#item-body h4 a,#item-body h5 a,#item-body h6 a{border-bottom:0}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups #group-settings-form #request-list h4{background:0 0;color:inherit}.groups.edit-details #group-settings-form label{background:#555;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;color:#fff;display:inline-block;margin-bottom:0;padding:.2em;width:80%}@media screen and (min-width:38.75em){.groups.edit-details #group-settings-form label{width:60%}}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:1.4rem;width:auto}.groups.group-settings #create-group-form div.radio label,.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #create-group-form div.radio ul,.groups.group-settings #group-settings-form div.radio ul{color:rgba(51,51,51,.6);font-size:14px;font-size:1.4rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.group-members #buddypress #members-group-list li h5 a,.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}@media screen and (max-width:30em){.groups.group-members #buddypress #members-group-list li>a{border-bottom:0;display:block;margin-bottom:10px;text-align:center}.groups.group-members #buddypress #members-group-list li>a img.avatar{display:inline;float:none}}.groups.group-members #buddypress #members-group-list li h5{display:inline-block;font-size:14px;font-size:1.4rem;margin:0}@media screen and (min-width:59.6875em){.groups.group-members #buddypress #members-group-list li h5{font-size:16px;font-size:1.6rem}}.groups.group-members #buddypress #members-group-list li span.activity{font-size:12px;font-size:1.2rem}.groups.group-members #buddypress #members-group-list li .action{top:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.groups.group-invites #item-body .item-list .action{margin-bottom:0}@media screen and (min-width:46.25em){.groups.group-invites #buddypress #item-body #message{margin-top:0}}@media screen and (min-width:55em){.groups.group-invites #buddypress #send-invite-form{margin-top:0}}@media screen and (max-width:46.25em){.groups.group-invites #item-body .left-menu{float:none;margin:10px 0}.groups.group-invites #item-body .left-menu #invite-list{height:auto;width:auto}.groups.group-invites #item-body .main-column{margin-right:0}.groups.group-invites #item-body .submit input{display:inline-block;width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:1.4rem}.bp-user #buddypress table td{font-size:12px;font-size:1.2rem}@media screen and (min-width:46.25em){.bp-user #buddypress table th{font-size:16px;font-size:1.6rem}.bp-user #buddypress table td{font-size:14px;font-size:1.4rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.8rem}.bp-user #buddypress table td{font-size:16px;font-size:1.6rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:right;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:50%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:1.4rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:60%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:left;font-family:"Noto Serif",serif;line-height:1.5;margin-top:10px;width:100%}.bp-user #buddypress .messages-options-nav input[disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled]:hover{background:0 0}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{margin-top:0;width:38%}}.bp-user #buddypress .profile .bp-widget h4{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.8rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:1.4rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#b7b7b7;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:2.6em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:1.2rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:1.2rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:1.1rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d1d1d1}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-right:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td{width:100%}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-right:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:#b7b7b7;line-height:1;text-align:left}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-right:10px}.bp-user .ac_results ul{margin:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:2rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings th.title{width:75%}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#buddypress .group-create-form input[type=text],#buddypress .group-create-form textarea,#buddypress .standard-form input[type=text],#buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(153,153,153,.3)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress select{border:1px solid rgba(153,153,153,.5)}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 5px 1px}#buddypress .group-create-form li,#buddypress .standard-form li{float:none;list-style:none}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(153,153,153,.4);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{font-size:14px;font-size:1.4rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:80%;border-left:1px solid rgba(153,153,153,.4);padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=text],#buddypress .dir-search form input[type=submit],#buddypress .message-search form input[type=text],#buddypress .message-search form input[type=submit]{font-size:16px;font-size:1.6rem}}#buddypress table{font-size:14px;font-size:1.4rem;margin:20px 0}#buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress #item-body div#message{margin-top:20px}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1.6rem}#buddypress #item-body div#message{margin-left:20px}}#buddypress div#message p{font-size:18px;font-size:1.8rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file +@charset "UTF-8";#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before,.buddypress div.clear{display:none}#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress main{padding-top:4%}@media screen and (min-width:59.6875em){.buddypress main{padding-top:0}}.buddypress main article{margin:0 4%;padding-top:8.3333%}@media screen and (min-width:59.6875em){.buddypress main article{margin:0 1px 0 0}}@media screen and (min-width:87.6875em){.buddypress main article{margin:0 8.3333% 0 4.3333%}}.buddypress main article .entry-content,.buddypress main article .entry-header{padding:0 3rem 3rem}.buddypress main article #buddypress{margin-bottom:40px}.buddypress .site-footer{margin:0 4%}@media screen and (min-width:59.6875em){.buddypress .site-footer{margin:0 35.2941% 0 0;width:61.8235%}}.buddypress #buddypress #latest-update a,.buddypress #buddypress .activity-comments a,.buddypress #buddypress .activity-header a,.buddypress #buddypress .activity-inner a,.buddypress #buddypress .avatar-nav-items a,.buddypress #buddypress .field-visibility-settings-toggle a,.buddypress #buddypress .item-list-tabs a,.buddypress #buddypress .item-title a,.buddypress #buddypress .load-more a,.buddypress #buddypress .pagination-links a,.buddypress #buddypress .pagination-links span,.buddypress #buddypress table a{border-bottom:0}#buddypress div.item-list-tabs ul{background-color:#f7f7f7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:5px 0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 0 5px 5px;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:1.4rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:right}#buddypress div#subnav.item-list-tabs ul li.last{text-align:left}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}@media screen and (min-width:55em){.bp-user #buddypress,.single-item.groups #buddypress{background:#f7f7f7}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}#buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 20px 0 0;width:auto}#buddypress #item-body #subnav{margin:0 -20px 0 0}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream .activity-comments a,#buddypress .item-list a.activity-time-since{color:#717171}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Noto Sans",sans-serif}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}}#buddypress ul.item-list li .item{margin-right:25%}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:70%}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:10%;margin-right:0;position:relative;width:55%}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-20px;margin-right:0;padding:20px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:30em){#buddypress form#whats-new-form #whats-new-post-in-box select{font-size:14px;font-size:1.4rem;max-width:120px}}@media screen and (max-width:38.75em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 40px;padding:10px 0 0}#buddypress form#whats-new-form #whats-new-content #whats-new-submit{float:none}#buddypress form#whats-new-form #whats-new-content #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-options #whats-new-post-in-box{order:1}}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(153,153,153,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;outline:0;padding-right:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-submit{float:left}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:1.4rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.6rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:13px;font-size:1.3rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);color:#717171;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin:0 0 5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress{background:0 0}.activity-permalink #buddypress #activity-stream li.activity-item{padding:20px 0}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.6rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:2rem}}.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .activity-comments{margin:10px 0 0}#buddypress #activity-stream .activity-comments.has-comments{border-right:1px solid #eaeaea}#buddypress #activity-stream .activity-comments .ac-form{padding:20px 0 0}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments>ul{margin-right:70px}}#buddypress #activity-stream .activity-comments>ul ul{margin-right:1%;padding-right:0}@media screen and (min-width:30em){#buddypress #activity-stream .activity-comments>ul ul{margin-right:1%;padding-right:1em}}#buddypress #activity-stream .activity-comments>ul ul li{border-right:1px solid #eaeaea;border-top:0;padding-right:.2em}#buddypress #activity-stream .activity-comments>ul .acomment-meta{border-bottom:1px solid #eaeaea;color:#737373;font-style:italic}@media screen and (max-width:38.75em){#buddypress #activity-stream .activity-comments>ul .acomment-avatar{display:block;text-align:center}#buddypress #activity-stream .activity-comments>ul .acomment-avatar a,#buddypress #activity-stream .activity-comments>ul .acomment-avatar img.avatar{display:inline;float:none}#buddypress #activity-stream .activity-comments>ul .acomment-content,#buddypress #activity-stream .activity-comments>ul .acomment-meta,#buddypress #activity-stream .activity-comments>ul .acomment-options{margin:5px}#buddypress #activity-stream .activity-comments>ul .acomment-content{padding:0 10px}.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}}#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:none}#buddypress #activity-stream .activity-comments .ac-reply-content{margin-right:0;padding-right:0}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:block}#buddypress #activity-stream .activity-comments .ac-reply-content{overflow:hidden}}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(51,51,51,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:1.2rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(153,153,153,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{clear:none;float:left;width:50%}}.single-item.groups #buddypress div#item-header div#item-actions h2{background:#555;color:#fff;font-size:14px;font-size:1.4rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:16px;font-size:1.6rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:right;width:20%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{float:right}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:5%;width:69%}}#item-body h1,#item-body h2,#item-body h3,#item-body h4,#item-body h5,#item-body h6{margin:1em 0}#item-body h1 a,#item-body h2 a,#item-body h3 a,#item-body h4 a,#item-body h5 a,#item-body h6 a{border-bottom:0}.groups #group-settings-form h3{background:#555;color:#fff;padding:.2em}.groups #group-settings-form #request-list h4{background:0 0;color:inherit}.groups.edit-details #group-settings-form label{background:#555;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;color:#fff;display:inline-block;margin-bottom:0;padding:.2em;width:80%}@media screen and (min-width:38.75em){.groups.edit-details #group-settings-form label{width:60%}}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:1.4rem;width:auto}.groups.group-settings #create-group-form div.radio label,.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #create-group-form div.radio ul,.groups.group-settings #group-settings-form div.radio ul{color:#767676;font-size:14px;font-size:1.4rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.group-members #buddypress #members-group-list li h5 a,.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}@media screen and (max-width:30em){.groups.group-members #buddypress #members-group-list li>a{border-bottom:0;display:block;margin-bottom:10px;text-align:center}.groups.group-members #buddypress #members-group-list li>a img.avatar{display:inline;float:none}}.groups.group-members #buddypress #members-group-list li h5{display:inline-block;font-size:14px;font-size:1.4rem;margin:0}@media screen and (min-width:59.6875em){.groups.group-members #buddypress #members-group-list li h5{font-size:16px;font-size:1.6rem}}.groups.group-members #buddypress #members-group-list li span.activity{font-size:12px;font-size:1.2rem}.groups.group-members #buddypress #members-group-list li .action{top:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.groups.group-invites #item-body .item-list .action{margin-bottom:0}@media screen and (min-width:46.25em){.groups.group-invites #buddypress #item-body #message{margin-top:0}}@media screen and (min-width:55em){.groups.group-invites #buddypress #send-invite-form{margin-top:0}}@media screen and (max-width:46.25em){.groups.group-invites #item-body .left-menu{float:none;margin:10px 0}.groups.group-invites #item-body .left-menu #invite-list{height:auto;width:auto}.groups.group-invites #item-body .main-column{margin-right:0}.groups.group-invites #item-body .submit input{display:inline-block;width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:1.4rem}.bp-user #buddypress table td{font-size:12px;font-size:1.2rem}@media screen and (min-width:46.25em){.bp-user #buddypress table th{font-size:16px;font-size:1.6rem}.bp-user #buddypress table td{font-size:14px;font-size:1.4rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.8rem}.bp-user #buddypress table td{font-size:16px;font-size:1.6rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:right;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:50%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:1.4rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:60%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:left;font-family:"Noto Serif",serif;line-height:1.5;margin-top:10px;width:100%}.bp-user #buddypress .messages-options-nav input[disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled]:hover{background:0 0}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{margin-top:0;width:38%}}.bp-user #buddypress .profile .bp-widget h2{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.8rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:1.4rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#b7b7b7;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:2.6em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:1.2rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:1.2rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:1.1rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d1d1d1}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-right:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td{width:100%}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-right:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:#b7b7b7;line-height:1;text-align:left}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-right:10px}.bp-user .ac_results ul{margin:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:2rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings th.title{width:75%}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#buddypress .group-create-form input[type=text],#buddypress .group-create-form textarea,#buddypress .standard-form input[type=text],#buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(153,153,153,.3)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress select{border:1px solid rgba(153,153,153,.5)}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 5px 1px}#buddypress .group-create-form li,#buddypress .standard-form li{float:none;list-style:none}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(153,153,153,.4);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{font-size:14px;font-size:1.4rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:80%;border-left:1px solid rgba(153,153,153,.4);padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=text],#buddypress .dir-search form input[type=submit],#buddypress .message-search form input[type=text],#buddypress .message-search form input[type=submit]{font-size:16px;font-size:1.6rem}}#buddypress table{font-size:14px;font-size:1.4rem;margin:20px 0}#buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress #item-body div#message{margin-top:20px}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1.6rem}#buddypress #item-body div#message{margin-left:20px}}#buddypress div#message p{font-size:18px;font-size:1.8rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen.css index c3bc6de4fce398c820861fd61f57d00c6f9ad47b..e97173102dbf2fd8f1f7ee807a6606105f5b1ff8 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen.css @@ -335,6 +335,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ font-family: "Noto Sans", sans-serif; } +#buddypress .item-list a.activity-time-since { + color: #717171; +} + #buddypress ul.item-list li { overflow: hidden !important; } @@ -599,6 +603,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #buddypress #activity-stream .activity-content .activity-header p { background-color: #f7f7f7; border: 1px solid rgba(234, 234, 234, 0.6); + color: #717171; padding: 0 0.2em; } @@ -673,6 +678,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ margin: 10px 0 0; } +#buddypress #activity-stream .activity-comments a { + color: #717171; +} + #buddypress #activity-stream .activity-comments.has-comments { border-left: 1px solid #eaeaea; } @@ -712,6 +721,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #buddypress #activity-stream .activity-comments > ul .acomment-meta { border-bottom: 1px solid #eaeaea; + color: #737373; font-style: italic; } @@ -894,7 +904,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } } -.single-item.groups #buddypress div#item-header div#item-actions h3 { +.single-item.groups #buddypress div#item-header div#item-actions h2 { background: #555; color: #fff; font-size: 14px; @@ -903,7 +913,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } @media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions h3 { + .single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 16px; font-size: 1.6rem; } @@ -1000,7 +1010,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @subsection 6.2.1.1 - Group Management *----------------------------------------- */ -.groups #group-settings-form h4 { +.groups #group-settings-form h3 { background: #555; color: #fff; padding: 0.2em; @@ -1047,7 +1057,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .groups.group-settings #group-settings-form div.radio ul, .groups.group-settings #create-group-form div.radio ul { - color: rgba(51, 51, 51, 0.6); + color: #767676; font-size: 14px; font-size: 1.4rem; } @@ -1320,7 +1330,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @subsection 6.2.2.2 - Extended Profiles *------------------------------------------- */ -.bp-user #buddypress .profile .bp-widget h4 { +.bp-user #buddypress .profile .bp-widget h2 { background: #6f6f6f; color: #fff; margin-bottom: 0; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen.min.css index a78eb58c7cbddafc592efe541c50516eb737cf23..55dbeef8fa947f1c05b1eb9fc577ba5ee6359b61 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen.min.css @@ -1 +1 @@ -@charset "UTF-8";#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before,.buddypress div.clear{display:none}#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress main{padding-top:4%}@media screen and (min-width:59.6875em){.buddypress main{padding-top:0}}.buddypress main article{margin:0 4%;padding-top:8.3333%}@media screen and (min-width:59.6875em){.buddypress main article{margin:0 0 0 1px}}@media screen and (min-width:87.6875em){.buddypress main article{margin:0 4.3333% 0 8.3333%}}.buddypress main article .entry-content,.buddypress main article .entry-header{padding:0 3rem 3rem}.buddypress main article #buddypress{margin-bottom:40px}.buddypress .site-footer{margin:0 4%}@media screen and (min-width:59.6875em){.buddypress .site-footer{margin:0 0 0 35.2941%;width:61.8235%}}.buddypress #buddypress #latest-update a,.buddypress #buddypress .activity-comments a,.buddypress #buddypress .activity-header a,.buddypress #buddypress .activity-inner a,.buddypress #buddypress .avatar-nav-items a,.buddypress #buddypress .field-visibility-settings-toggle a,.buddypress #buddypress .item-list-tabs a,.buddypress #buddypress .item-title a,.buddypress #buddypress .load-more a,.buddypress #buddypress .pagination-links a,.buddypress #buddypress .pagination-links span,.buddypress #buddypress table a{border-bottom:0}#buddypress div.item-list-tabs ul{background-color:#f7f7f7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:5px 0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 5px 5px 0;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:1.4rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:left}#buddypress div#subnav.item-list-tabs ul li.last{text-align:right}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}@media screen and (min-width:55em){.bp-user #buddypress,.single-item.groups #buddypress{background:#f7f7f7}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}#buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 20px;width:auto}#buddypress #item-body #subnav{margin:0 0 0 -20px}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Noto Sans",sans-serif}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}}#buddypress ul.item-list li .item{margin-left:25%}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:70%}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:10%;margin-left:0;position:relative;width:55%}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-20px;margin-left:0;padding:20px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:30em){#buddypress form#whats-new-form #whats-new-post-in-box select{font-size:14px;font-size:1.4rem;max-width:120px}}@media screen and (max-width:38.75em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 40px;padding:10px 0 0}#buddypress form#whats-new-form #whats-new-content #whats-new-submit{float:none}#buddypress form#whats-new-form #whats-new-content #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-options #whats-new-post-in-box{order:1}}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(153,153,153,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;outline:0;padding-left:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-submit{float:right}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:1.4rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.6rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:13px;font-size:1.3rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin:0 0 5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress{background:0 0}.activity-permalink #buddypress #activity-stream li.activity-item{padding:20px 0}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.6rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:2rem}}.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .activity-comments{margin:10px 0 0}#buddypress #activity-stream .activity-comments.has-comments{border-left:1px solid #eaeaea}#buddypress #activity-stream .activity-comments .ac-form{padding:20px 0 0}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments>ul{margin-left:70px}}#buddypress #activity-stream .activity-comments>ul ul{margin-left:1%;padding-left:0}@media screen and (min-width:30em){#buddypress #activity-stream .activity-comments>ul ul{margin-left:1%;padding-left:1em}}#buddypress #activity-stream .activity-comments>ul ul li{border-left:1px solid #eaeaea;border-top:0;padding-left:.2em}#buddypress #activity-stream .activity-comments>ul .acomment-meta{border-bottom:1px solid #eaeaea;font-style:italic}@media screen and (max-width:38.75em){#buddypress #activity-stream .activity-comments>ul .acomment-avatar{display:block;text-align:center}#buddypress #activity-stream .activity-comments>ul .acomment-avatar a,#buddypress #activity-stream .activity-comments>ul .acomment-avatar img.avatar{display:inline;float:none}#buddypress #activity-stream .activity-comments>ul .acomment-content,#buddypress #activity-stream .activity-comments>ul .acomment-meta,#buddypress #activity-stream .activity-comments>ul .acomment-options{margin:5px}#buddypress #activity-stream .activity-comments>ul .acomment-content{padding:0 10px}.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}}#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:none}#buddypress #activity-stream .activity-comments .ac-reply-content{margin-left:0;padding-left:0}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:block}#buddypress #activity-stream .activity-comments .ac-reply-content{overflow:hidden}}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(51,51,51,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:1.2rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(153,153,153,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{clear:none;float:right;width:50%}}.single-item.groups #buddypress div#item-header div#item-actions h3{background:#555;color:#fff;font-size:14px;font-size:1.4rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:16px;font-size:1.6rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:left;width:20%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{float:left}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:5%;width:69%}}#item-body h1,#item-body h2,#item-body h3,#item-body h4,#item-body h5,#item-body h6{margin:1em 0}#item-body h1 a,#item-body h2 a,#item-body h3 a,#item-body h4 a,#item-body h5 a,#item-body h6 a{border-bottom:0}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups #group-settings-form #request-list h4{background:0 0;color:inherit}.groups.edit-details #group-settings-form label{background:#555;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;color:#fff;display:inline-block;margin-bottom:0;padding:.2em;width:80%}@media screen and (min-width:38.75em){.groups.edit-details #group-settings-form label{width:60%}}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:1.4rem;width:auto}.groups.group-settings #create-group-form div.radio label,.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #create-group-form div.radio ul,.groups.group-settings #group-settings-form div.radio ul{color:rgba(51,51,51,.6);font-size:14px;font-size:1.4rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.group-members #buddypress #members-group-list li h5 a,.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}@media screen and (max-width:30em){.groups.group-members #buddypress #members-group-list li>a{border-bottom:0;display:block;margin-bottom:10px;text-align:center}.groups.group-members #buddypress #members-group-list li>a img.avatar{display:inline;float:none}}.groups.group-members #buddypress #members-group-list li h5{display:inline-block;font-size:14px;font-size:1.4rem;margin:0}@media screen and (min-width:59.6875em){.groups.group-members #buddypress #members-group-list li h5{font-size:16px;font-size:1.6rem}}.groups.group-members #buddypress #members-group-list li span.activity{font-size:12px;font-size:1.2rem}.groups.group-members #buddypress #members-group-list li .action{top:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.groups.group-invites #item-body .item-list .action{margin-bottom:0}@media screen and (min-width:46.25em){.groups.group-invites #buddypress #item-body #message{margin-top:0}}@media screen and (min-width:55em){.groups.group-invites #buddypress #send-invite-form{margin-top:0}}@media screen and (max-width:46.25em){.groups.group-invites #item-body .left-menu{float:none;margin:10px 0}.groups.group-invites #item-body .left-menu #invite-list{height:auto;width:auto}.groups.group-invites #item-body .main-column{margin-left:0}.groups.group-invites #item-body .submit input{display:inline-block;width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:1.4rem}.bp-user #buddypress table td{font-size:12px;font-size:1.2rem}@media screen and (min-width:46.25em){.bp-user #buddypress table th{font-size:16px;font-size:1.6rem}.bp-user #buddypress table td{font-size:14px;font-size:1.4rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.8rem}.bp-user #buddypress table td{font-size:16px;font-size:1.6rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:left;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:50%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:1.4rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:60%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:right;font-family:"Noto Serif",serif;line-height:1.5;margin-top:10px;width:100%}.bp-user #buddypress .messages-options-nav input[disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled]:hover{background:0 0}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{margin-top:0;width:38%}}.bp-user #buddypress .profile .bp-widget h4{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.8rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:1.4rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#b7b7b7;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:2.6em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:1.2rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:1.2rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:1.1rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d1d1d1}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-left:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td{width:100%}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-left:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:#b7b7b7;line-height:1;text-align:right}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-left:10px}.bp-user .ac_results ul{margin:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:2rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings th.title{width:75%}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#buddypress .group-create-form input[type=text],#buddypress .group-create-form textarea,#buddypress .standard-form input[type=text],#buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(153,153,153,.3)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress select{border:1px solid rgba(153,153,153,.5)}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 5px 1px}#buddypress .group-create-form li,#buddypress .standard-form li{float:none;list-style:none}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(153,153,153,.4);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{font-size:14px;font-size:1.4rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:80%;border-right:1px solid rgba(153,153,153,.4);padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=text],#buddypress .dir-search form input[type=submit],#buddypress .message-search form input[type=text],#buddypress .message-search form input[type=submit]{font-size:16px;font-size:1.6rem}}#buddypress table{font-size:14px;font-size:1.4rem;margin:20px 0}#buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress #item-body div#message{margin-top:20px}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1.6rem}#buddypress #item-body div#message{margin-right:20px}}#buddypress div#message p{font-size:18px;font-size:1.8rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file +@charset "UTF-8";#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before,.buddypress div.clear{display:none}#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress main{padding-top:4%}@media screen and (min-width:59.6875em){.buddypress main{padding-top:0}}.buddypress main article{margin:0 4%;padding-top:8.3333%}@media screen and (min-width:59.6875em){.buddypress main article{margin:0 0 0 1px}}@media screen and (min-width:87.6875em){.buddypress main article{margin:0 4.3333% 0 8.3333%}}.buddypress main article .entry-content,.buddypress main article .entry-header{padding:0 3rem 3rem}.buddypress main article #buddypress{margin-bottom:40px}.buddypress .site-footer{margin:0 4%}@media screen and (min-width:59.6875em){.buddypress .site-footer{margin:0 0 0 35.2941%;width:61.8235%}}.buddypress #buddypress #latest-update a,.buddypress #buddypress .activity-comments a,.buddypress #buddypress .activity-header a,.buddypress #buddypress .activity-inner a,.buddypress #buddypress .avatar-nav-items a,.buddypress #buddypress .field-visibility-settings-toggle a,.buddypress #buddypress .item-list-tabs a,.buddypress #buddypress .item-title a,.buddypress #buddypress .load-more a,.buddypress #buddypress .pagination-links a,.buddypress #buddypress .pagination-links span,.buddypress #buddypress table a{border-bottom:0}#buddypress div.item-list-tabs ul{background-color:#f7f7f7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:5px 0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 5px 5px 0;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:1.4rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:left}#buddypress div#subnav.item-list-tabs ul li.last{text-align:right}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}@media screen and (min-width:55em){.bp-user #buddypress,.single-item.groups #buddypress{background:#f7f7f7}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}#buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 20px;width:auto}#buddypress #item-body #subnav{margin:0 0 0 -20px}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream .activity-comments a,#buddypress .item-list a.activity-time-since{color:#717171}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Noto Sans",sans-serif}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}}#buddypress ul.item-list li .item{margin-left:25%}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:70%}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:10%;margin-left:0;position:relative;width:55%}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-20px;margin-left:0;padding:20px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:30em){#buddypress form#whats-new-form #whats-new-post-in-box select{font-size:14px;font-size:1.4rem;max-width:120px}}@media screen and (max-width:38.75em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 40px;padding:10px 0 0}#buddypress form#whats-new-form #whats-new-content #whats-new-submit{float:none}#buddypress form#whats-new-form #whats-new-content #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-options #whats-new-post-in-box{order:1}}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(153,153,153,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;outline:0;padding-left:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-submit{float:right}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:1.4rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.6rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:13px;font-size:1.3rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);color:#717171;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin:0 0 5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress{background:0 0}.activity-permalink #buddypress #activity-stream li.activity-item{padding:20px 0}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.6rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:2rem}}.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .activity-comments{margin:10px 0 0}#buddypress #activity-stream .activity-comments.has-comments{border-left:1px solid #eaeaea}#buddypress #activity-stream .activity-comments .ac-form{padding:20px 0 0}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments>ul{margin-left:70px}}#buddypress #activity-stream .activity-comments>ul ul{margin-left:1%;padding-left:0}@media screen and (min-width:30em){#buddypress #activity-stream .activity-comments>ul ul{margin-left:1%;padding-left:1em}}#buddypress #activity-stream .activity-comments>ul ul li{border-left:1px solid #eaeaea;border-top:0;padding-left:.2em}#buddypress #activity-stream .activity-comments>ul .acomment-meta{border-bottom:1px solid #eaeaea;color:#737373;font-style:italic}@media screen and (max-width:38.75em){#buddypress #activity-stream .activity-comments>ul .acomment-avatar{display:block;text-align:center}#buddypress #activity-stream .activity-comments>ul .acomment-avatar a,#buddypress #activity-stream .activity-comments>ul .acomment-avatar img.avatar{display:inline;float:none}#buddypress #activity-stream .activity-comments>ul .acomment-content,#buddypress #activity-stream .activity-comments>ul .acomment-meta,#buddypress #activity-stream .activity-comments>ul .acomment-options{margin:5px}#buddypress #activity-stream .activity-comments>ul .acomment-content{padding:0 10px}.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}}#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:none}#buddypress #activity-stream .activity-comments .ac-reply-content{margin-left:0;padding-left:0}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:block}#buddypress #activity-stream .activity-comments .ac-reply-content{overflow:hidden}}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(51,51,51,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:1.2rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(153,153,153,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{clear:none;float:right;width:50%}}.single-item.groups #buddypress div#item-header div#item-actions h2{background:#555;color:#fff;font-size:14px;font-size:1.4rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:16px;font-size:1.6rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:left;width:20%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{float:left}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:5%;width:69%}}#item-body h1,#item-body h2,#item-body h3,#item-body h4,#item-body h5,#item-body h6{margin:1em 0}#item-body h1 a,#item-body h2 a,#item-body h3 a,#item-body h4 a,#item-body h5 a,#item-body h6 a{border-bottom:0}.groups #group-settings-form h3{background:#555;color:#fff;padding:.2em}.groups #group-settings-form #request-list h4{background:0 0;color:inherit}.groups.edit-details #group-settings-form label{background:#555;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;color:#fff;display:inline-block;margin-bottom:0;padding:.2em;width:80%}@media screen and (min-width:38.75em){.groups.edit-details #group-settings-form label{width:60%}}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:1.4rem;width:auto}.groups.group-settings #create-group-form div.radio label,.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #create-group-form div.radio ul,.groups.group-settings #group-settings-form div.radio ul{color:#767676;font-size:14px;font-size:1.4rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.group-members #buddypress #members-group-list li h5 a,.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}@media screen and (max-width:30em){.groups.group-members #buddypress #members-group-list li>a{border-bottom:0;display:block;margin-bottom:10px;text-align:center}.groups.group-members #buddypress #members-group-list li>a img.avatar{display:inline;float:none}}.groups.group-members #buddypress #members-group-list li h5{display:inline-block;font-size:14px;font-size:1.4rem;margin:0}@media screen and (min-width:59.6875em){.groups.group-members #buddypress #members-group-list li h5{font-size:16px;font-size:1.6rem}}.groups.group-members #buddypress #members-group-list li span.activity{font-size:12px;font-size:1.2rem}.groups.group-members #buddypress #members-group-list li .action{top:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.groups.group-invites #item-body .item-list .action{margin-bottom:0}@media screen and (min-width:46.25em){.groups.group-invites #buddypress #item-body #message{margin-top:0}}@media screen and (min-width:55em){.groups.group-invites #buddypress #send-invite-form{margin-top:0}}@media screen and (max-width:46.25em){.groups.group-invites #item-body .left-menu{float:none;margin:10px 0}.groups.group-invites #item-body .left-menu #invite-list{height:auto;width:auto}.groups.group-invites #item-body .main-column{margin-left:0}.groups.group-invites #item-body .submit input{display:inline-block;width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:1.4rem}.bp-user #buddypress table td{font-size:12px;font-size:1.2rem}@media screen and (min-width:46.25em){.bp-user #buddypress table th{font-size:16px;font-size:1.6rem}.bp-user #buddypress table td{font-size:14px;font-size:1.4rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.8rem}.bp-user #buddypress table td{font-size:16px;font-size:1.6rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:left;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:50%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:1.4rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:60%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:right;font-family:"Noto Serif",serif;line-height:1.5;margin-top:10px;width:100%}.bp-user #buddypress .messages-options-nav input[disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled]:hover{background:0 0}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{margin-top:0;width:38%}}.bp-user #buddypress .profile .bp-widget h2{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.8rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:1.4rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#b7b7b7;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:2.6em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:1.2rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:1.2rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:1.1rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d1d1d1}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-left:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td{width:100%}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-left:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:#b7b7b7;line-height:1;text-align:right}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-left:10px}.bp-user .ac_results ul{margin:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:2rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings th.title{width:75%}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#buddypress .group-create-form input[type=text],#buddypress .group-create-form textarea,#buddypress .standard-form input[type=text],#buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(153,153,153,.3)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress select{border:1px solid rgba(153,153,153,.5)}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 5px 1px}#buddypress .group-create-form li,#buddypress .standard-form li{float:none;list-style:none}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(153,153,153,.4);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{font-size:14px;font-size:1.4rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:80%;border-right:1px solid rgba(153,153,153,.4);padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=text],#buddypress .dir-search form input[type=submit],#buddypress .message-search form input[type=text],#buddypress .message-search form input[type=submit]{font-size:16px;font-size:1.6rem}}#buddypress table{font-size:14px;font-size:1.4rem;margin:20px 0}#buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress #item-body div#message{margin-top:20px}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1.6rem}#buddypress #item-body div#message{margin-right:20px}}#buddypress div#message p{font-size:18px;font-size:1.8rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen.scss b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen.scss index ea5efd5ebef09105e20228e4297798a4c1054c4f..91e369f9c36fa1db98fdb980d08bf4adc71ef95d 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen.scss +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfifteen.scss @@ -522,6 +522,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .activity-meta { @include default-font-sans(); } + + a.activity-time-since { + color: #717171; + } } } @@ -823,6 +827,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ p { background-color: $light-background; border: 1px solid rgba($border-light, 0.6); + color: #717171; padding: 0 0.2em; } @@ -903,6 +908,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .activity-comments { margin: $spacing-val-sm 0 0; + a { + color: #717171; + } + &.has-comments { border-left: 1px solid $border-light; } @@ -936,7 +945,11 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding-left: 0.2em; } - .acomment-meta {border-bottom: 1px solid $border-light; font-style: italic;} + .acomment-meta { + border-bottom: 1px solid $border-light; + color: #737373; + font-style: italic; + } // Display the user avatar stacked up to 30em // reduce/widen the content margins @@ -1148,7 +1161,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ width: 50%; } - h3 { + h2 { background: $dark-background; color: $content-background; @include font-size(14); @@ -1273,7 +1286,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ // headings settings screens & general global settings styles .groups { #group-settings-form { - h4 { + h3 { background: $dark-background; color: $content-background; padding: 0.2em; @@ -1327,7 +1340,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } ul { - color: rgba($body-text, 0.6); + color: #767676; @include font-size(14); } } @@ -1620,7 +1633,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #buddypress { .profile { .bp-widget { - h4 { + h2 { background: lighten($dark-background, 10%); color: #fff; margin-bottom: 0; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen-rtl.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen-rtl.css index 205758c423126a224b1539a4bbc195a372e1cea1..c74563712c64fbe871073996172ed9a2b08bdc1d 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen-rtl.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen-rtl.css @@ -123,6 +123,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } } +#buddypress .item-list-tabs ul a { + color: #1b6e08; +} + .directory #buddypress .item-list-tabs ul:before, .directory #buddypress .item-list-tabs ul:after { content: " "; @@ -162,6 +166,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ border-bottom: 0; } +.directory #buddypress #subnav a { + color: #1b6e08; +} + /* List last filters global */ #buddypress #subnav li#activity-filter-select.last { line-height: 2.1; @@ -212,7 +220,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ overflow: hidden; } #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover { - background: #bebebe; + background: #f1f1f1; } #buddypress #object-nav ul li span { border-radius: 10%; @@ -235,7 +243,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } #buddypress #item-body #subnav li:focus, #buddypress #item-body #subnav li:hover { - background: #bebebe; + background: #f1f1f1; } #buddypress #item-body #subnav li.current { background: #f1f1f1; @@ -552,6 +560,10 @@ body.activity-permalink #buddypress { } } +#buddypress .activity .activity-comments a { + color: #1b6e08; +} + #buddypress .activity .activity-comments ul { background: rgba(247, 247, 247, 0.6); margin: 30px 2px 0 0; @@ -562,6 +574,10 @@ body.activity-permalink #buddypress { padding-right: 2%; } +#buddypress .activity .activity-comments .acomment-meta { + color: #737373; +} + @media screen and (max-width: 400px) { #buddypress .activity .activity-comments .acomment-avatar { display: block; @@ -703,7 +719,7 @@ body.activity-permalink #buddypress { width: auto; } -.single-item.groups #buddypress #item-header #item-actions h3 { +.single-item.groups #buddypress #item-header #item-actions h2 { font-size: 20px; font-size: 1.25rem; } @@ -804,7 +820,7 @@ body.activity-permalink #buddypress { #group-settings-form .radio ul, #create-group-form .radio ul { - color: #787878; + color: #6b6b6b; } #group-settings-form #group-creation-previous, @@ -813,7 +829,7 @@ body.activity-permalink #buddypress { } /* Manage Members */ -.groups.manage-members #group-settings-form h4 { +.groups.manage-members #group-settings-form h3 { margin-top: 40px; } @@ -840,6 +856,7 @@ body.activity-permalink #buddypress { .groups.manage-members #group-settings-form .item-list li img > a, .groups.manage-members #group-settings-form .item-list li h5 > a { border-bottom: 0; + color: #22830c; } .groups.manage-members #group-settings-form .item-list li span.small { @@ -996,8 +1013,8 @@ body.activity-permalink #buddypress { * 6.2.2.2 - Extended Profiles *------------------------------ */ -#buddypress .profile .bp-widget h4 { - background: #999; +#buddypress .profile .bp-widget h2 { + background: #949494; color: #fff; padding: 0.4em 0.2em; } @@ -1459,6 +1476,10 @@ body.activity-permalink #buddypress { border-color: rgba(0, 0, 0, 0.2); } +#buddypress table .alt a { + color: #22820c; +} + /*__ User Account tables __*/ /** *------------------------------------------------------------------------------- diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen-rtl.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen-rtl.min.css index 5d6a7fe0a2ef13f8cc02d8f4dd77e26648c07ba0..fcf73d8dfbe070da89570f23149fe30bdfad7245 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen-rtl.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress .site-content{padding-bottom:20px;padding-top:4%}@media screen and (min-width:59.6875em){.buddypress .site-content{padding-top:0}}.buddypress .site-content article{margin:0 4%;padding-top:0}.buddypress .site-content article .entry-content,.buddypress .site-content article .entry-header{max-width:100%;padding:0}.buddypress .site-content article #buddypress{margin-bottom:40px}#buddypress .item-list-tabs ul li{width:100%}@media screen and (min-width:400px){#buddypress .item-list-tabs ul li{width:50%}}@media screen and (min-width:594px){#buddypress .item-list-tabs ul li{width:auto}}.directory #buddypress .item-list-tabs ul:after,.directory #buddypress .item-list-tabs ul:before{content:" ";display:table}.directory #buddypress .item-list-tabs ul:after{clear:both}.directory #buddypress .item-list-tabs ul{border-bottom:1px solid rgba(0,0,0,.2);padding-bottom:10px}@media screen and (min-width:783px){.directory #buddypress .item-list-tabs ul{padding-bottom:0}.directory #buddypress .item-list-tabs ul li.selected{border:1px solid rgba(0,0,0,.2);border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}.directory #buddypress .item-list-tabs ul li.selected a{background:0 0;outline:0}}.directory #buddypress #subnav ul{border-bottom:0}#buddypress #subnav li#activity-filter-select.last{line-height:2.1;margin-top:0}@media screen and (max-width:783px){#buddypress #object-nav ul{border-bottom:1px solid rgba(0,0,0,.2);overflow:hidden;padding-bottom:10px}#buddypress div#subnav.item-list-tabs{margin-bottom:40px}#buddypress div#subnav.item-list-tabs ul li{width:auto}}@media screen and (min-width:783px){.bp-user #buddypress,.single-item.groups #buddypress{background:#d8d8d8}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #item-body{border-right:1px solid #bebebe;overflow:hidden;padding:0 20px;width:auto}#buddypress #object-nav{background:#d8d8d8;border-left:1px solid #bebebe;float:right;margin-left:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;border-top:1px solid #bebebe;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#bebebe}#buddypress #object-nav ul li span{border-radius:10%;float:left;margin-left:15px}#buddypress #object-nav ul li.current{background:#f1f1f1}#buddypress #item-body #subnav{border:1px solid #bebebe;border-right:0;border-left:0;margin:0 -20px 20px}#buddypress #item-body #subnav li:focus,#buddypress #item-body #subnav li:hover{background:#bebebe}#buddypress #item-body #subnav li.current{background:#f1f1f1}#buddypress #item-body #subnav li#activity-filter-select:focus,#buddypress #item-body #subnav li#activity-filter-select:hover{background:0 0}#buddypress #item-body #subnav li#activity-filter-select select{max-width:130px}}#buddypress div.pagination .pag-count,#buddypress ul.item-list li .item{margin-right:0}#buddypress .item-list .item-title a{display:block;font-size:22px;font-size:1.375rem;text-decoration:none}#buddypress .item-list .item-title span a,#buddypress .item-list .item-title span.update{font-size:12px;font-size:.75rem}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress ul.item-list li .item-avatar a img.avatar{float:none}#buddypress ul.item-list li div.item-title{float:none;width:100%}#buddypress ul.item-list li div.item-title>a{text-align:center}#buddypress ul.item-list li div.item-desc{margin-right:0;width:auto}#buddypress ul.item-list li div.action{clear:both;float:none;margin:0;position:relative;text-align:right}#buddypress ul.item-list li div.action div{margin:0 0 10px}#buddypress ul.item-list li .action,#buddypress ul.item-list li .activity-meta{float:none}#buddypress ul.item-list li .action a,#buddypress ul.item-list li .action div,#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:block;margin:5px 0}@media screen and (min-width:594px){#buddypress ul.item-list li .item-avatar{float:right;margin-bottom:0}#buddypress ul.item-list li div.item-title>a{text-align:right}#buddypress ul.item-list li .item{float:left;margin-right:5%;width:80%}#buddypress ul.item-list li .activity-meta{clear:both}#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:inline-block;margin:5px 0 0 5px}}@media screen and (min-width:783px){#buddypress ul.item-list li .item{float:right;width:55%}#buddypress ul.item-list li .item div.item-desc{margin:0;width:auto}#buddypress ul.item-list li div.action{clear:none;float:left;top:0;width:25%}#buddypress ul.item-list li div.action div{display:block}#buddypress ul.item-list li div.action div a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}#buddypress ul.item-list li div.action .meta{text-align:center}}#buddypress ul.item-list li .item-meta .activity,#buddypress ul.item-list li .meta{font-style:italic}#buddypress form#whats-new-form{margin:40px 0}#buddypress form#whats-new-form #whats-new-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{margin-right:0;padding-right:0}#buddypress form#whats-new-form p.activity-greeting{clear:right;line-height:inherit;margin-bottom:5px}@media screen and (max-width:594px){#buddypress form#whats-new-form #whats-new-content #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box{margin-top:10px;order:1}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box select{margin-top:5px;max-width:100%;width:100%}}@media screen and (min-width:594px){#buddypress form#whats-new-form #whats-new-avatar{float:right}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{clear:none;overflow:hidden;padding-right:20px}}#buddypress #activity-stream{margin-top:40px}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:none;margin-bottom:10px;text-align:center}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar img.avatar{margin-right:0}#buddypress .activity-list li.mini .activity-meta a{font-size:12px;font-size:.75rem}#buddypress .activity-list .activity-content{margin:0}#buddypress .activity-list .activity-content .activity-header{margin:-.5em 0 0}#buddypress .activity-list .activity-content .activity-header>p{line-height:1.4;margin-top:-10px}#buddypress .activity-list .activity-content .activity-header img.avatar{margin-bottom:0!important;vertical-align:middle}#buddypress .activity-list .activity-content .activity-inner{margin:10px 0}@media screen and (min-width:594px){#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:right;margin:0 0 0 20px}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar{margin:0 5% 0 10px}#buddypress .activity-list .activity-content{margin-right:0;overflow:hidden}}body.activity-permalink #buddypress{background:0 0}@media screen and (max-width:760px){body.activity-permalink #buddypress .activity-list li .activity-comments,body.activity-permalink #buddypress .activity-list li .activity-content{margin-right:0}}#buddypress .activity .activity-comments{margin-right:0;margin-top:5px}@media screen and (min-width:594px){#buddypress .activity .activity-comments{margin-right:70px}}#buddypress .activity .activity-comments ul{background:rgba(247,247,247,.6);margin:30px 2px 0 0}#buddypress .activity .activity-comments ul ul{border-right:1px solid rgba(0,0,0,.1);padding-right:2%}@media screen and (max-width:400px){#buddypress .activity .activity-comments .acomment-avatar{display:block;text-align:center}#buddypress .activity .activity-comments .acomment-avatar a,#buddypress .activity .activity-comments .acomment-avatar img.avatar{display:inline;float:none}#buddypress .activity .activity-comments .acomment-content,#buddypress .activity .activity-comments .acomment-meta,#buddypress .activity .activity-comments .acomment-options{margin:5px}#buddypress .activity .activity-comments .acomment-content{padding:0 10px}}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel,#buddypress .activity .activity-comments .ac-form input[type=submit]{color:rgba(43,43,43,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(0,0,0,.2);text-align:center}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}.bp-user .entry-title,.single-item.groups .entry-title{background:#4d4d4d;color:#fff;font-size:22px;font-size:1.375rem;margin-bottom:10px;padding:.2em}@media screen and (min-width:673px){.bp-user .entry-title,.single-item.groups .entry-title{font-size:28px;font-size:1.75rem}}#buddypress div#item-header{padding-bottom:10px}#buddypress div#item-header img.avatar{margin:0 0 10px 20px}#buddypress div#item-header #message{clear:both;margin-bottom:5px;padding-top:10px}#buddypress div#item-header #message p{margin-bottom:0}@media screen and (max-width:594px){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{margin-right:0;order:3;text-align:right}.single-item.groups #buddypress div#item-header #item-actions ul{margin-right:0}.single-item.groups #buddypress div#item-header #item-actions ul li{float:right}.single-item.groups #buddypress div#item-header #message{order:4}}.single-item.groups #buddypress #item-header #item-actions{float:none;margin:0 20px 0 0;width:auto}.single-item.groups #buddypress #item-header #item-actions h3{font-size:20px;font-size:1.25rem}.single-item.groups #buddypress #item-header #item-header-avatar{text-align:center}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}@media screen and (min-width:594px){.single-item.groups #buddypress #item-header #item-actions{float:left}.single-item.groups #buddypress #item-header #item-header-avatar{float:right}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar img{float:none}.bp-user #buddypress #item-header #latest-update{margin-bottom:10px}@media screen and (max-width:594px){.bp-user #buddypress #item-header #item-buttons div.generic-button{display:inline-block;float:none;margin:0 0 5px;width:100%}.bp-user #buddypress #item-header #item-buttons div.generic-button a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}}@media screen and (min-width:673px){.bp-user #buddypress #item-header #item-header-avatar{float:right;overflow:hidden;text-align:right;width:20%}.bp-user #buddypress #item-header #item-header-content{float:left;width:78%}.bp-user #buddypress #item-header #item-header-content #latest-update{margin-bottom:20px}}#create-group-form .radio strong,#group-settings-form .radio strong{font-size:18px;font-size:1.125rem}#create-group-form .radio ul,#group-settings-form .radio ul{color:#787878}#create-group-form #group-creation-previous,#group-settings-form #group-creation-previous{margin:10px 0}.groups.manage-members #group-settings-form h4{margin-top:40px}.groups.manage-members #group-settings-form .item-list{background:#f7f7f7;border-top:0;padding:0 .5em}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid rgba(0,0,0,.1)}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a,.groups.manage-members #group-settings-form .item-list li:last-child{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{clear:none;float:right}#buddypress .profile #profile-edit-form .button-nav:after,.groups.group-members #subnav ul:after{clear:both}.groups.manage-members #group-settings-form .item-list li span.small{display:block;float:none;margin-top:10px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}#buddypress #members-group-list .item-list h5{display:inline-block;margin:0}#buddypress #members-group-list .item-list span.activity{padding-right:10px}#buddypress #item-body #subnav li.groups-members-search:focus,#buddypress #item-body #subnav li.groups-members-search:hover,#buddypress #item-body #subnav li.last:focus,#buddypress #item-body #subnav li.last:hover{background:0 0}.groups.group-members #subnav ul:after,.groups.group-members #subnav ul:before{content:" ";display:table}.groups.group-members #subnav ul{padding:5px 0}.groups.group-members #subnav li #search-members-form{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:right}@media screen and (max-width:400px){.groups.group-members #subnav li{background:#fff;padding:10px 0;width:100%!important}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}@media screen and (min-width:783px){.groups.group-members #subnav li #search-members-form{margin-right:3px}.send-invites #buddypress #item-body{border-top:1px solid #bebebe}}@media screen and (max-width:400px){.send-invites #buddypress #item-body .left-menu{float:none}.send-invites #buddypress #item-body .left-menu #invite-list{height:auto;width:auto}.send-invites #buddypress #item-body .main-column{margin-right:0}}.send-invites #buddypress #item-body li img.avatar{display:block;float:none;margin:10px auto}.send-invites #buddypress #item-body li .action{margin-top:10px;text-align:right;width:100%}@media screen and (min-width:38.75em){.send-invites #buddypress #item-body li .action{text-align:left}}@media screen and (min-width:594px){.send-invites #buddypress #item-body #invite-list{width:160px}.send-invites #buddypress #item-body .main-column{margin-right:190px}.send-invites #buddypress #item-body li img.avatar{float:right;margin:0 0 0 10px}}#buddypress .profile .bp-widget h4{background:#999;color:#fff;padding:.4em .2em}#buddypress .profile #profile-edit-form .button-nav:after,#buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}#buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid rgba(0,0,0,.1);margin-right:0}#buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}#buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid rgba(0,0,0,.1);border-bottom-color:#fff;margin-bottom:-1px}#buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}#buddypress .profile #profile-edit-form .field-visibility-settings,#buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}#buddypress .profile #profile-edit-form .field-visibility-settings-close,#buddypress .profile #profile-edit-form .visibility-toggle-link{background:#000;color:#fff;padding:.2em .5em}#buddypress table#message-threads{border-right:1px solid rgba(0,0,0,.2);border-left:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tbody>tr:first-child td.bulk-select-check,#buddypress table#message-threads tbody>tr:first-child td.thread-from{border-top:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tr td{background:#fff;border-left:0!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:right}#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{border-bottom-color:rgba(0,0,0,.2);border-bottom-width:2px;border-right:0;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:549px){#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{padding-top:0}}#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{border-right:0;height:2.6em}#buddypress table#message-threads tr td.thread-from,#buddypress table#message-threads tr td.thread-options{border-right:0;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}#buddypress table#message-threads tr td.thread-info{border-right:0;padding-right:41px;width:100%}#buddypress table#message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}#buddypress table#message-threads tr td.thread-options{text-align:left}#buddypress table#message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}#buddypress table#message-threads tr span.from{display:none}#buddypress table#message-threads tr span.activity{display:block;float:left;line-height:2}@media screen and (max-width:320px){#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{height:5.2em}#buddypress table#message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}#buddypress table#message-threads tr.unread td{background:#f1f4ff;border-color:rgba(0,0,0,.2);border-top:0;border-width:1px}#buddypress table#message-threads th{display:none}#buddypress table#message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}#buddypress table#message-threads td.bulk-select-check,#buddypress table#message-threads td.thread-star,#buddypress table#message-threads th.bulk-select-all{border-left:0;width:30px}#buddypress #message-thread #message-subject{background:#4d4d4d;color:#fff;padding:.5em}#buddypress #message-thread .message-box .message-metadata{margin-bottom:10px}#buddypress #message-thread .message-box .message-content{clear:right;margin-right:0}#buddypress .acfb-holder{list-style:none;margin:0}#buddypress .acfb-holder li{margin-right:0}#buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}#buddypress .acfb-holder li.friend-tab span.p{padding-right:10px}#buddypress .acfb-holder li.friend-tab span.p:focus,#buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}#buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}#buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}#buddypress #message-threads.sitewide-notices td,#buddypress table.profile-settings{width:100%}#buddypress #message-threads.sitewide-notices td strong{background:#4d4d4d;color:#fff;font-size:16px;font-size:1rem;display:block;margin-bottom:.4em;padding:.2em}#buddypress #message-threads.sitewide-notices td a{display:inline-block;line-height:initial}#buddypress #message-threads.sitewide-notices td:first-child{display:none}#buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}#buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}#buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:rgba(0,0,0,.2);line-height:1;text-align:left}#buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}#buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-right:10px}.bp-user .ac_results ul{margin:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}#buddypress #settings-form>p{font-size:20px;font-size:1.25rem}#buddypress table.notification-settings td.no,#buddypress table.notification-settings td.yes{vertical-align:middle}#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:401px){#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:70%}}#buddypress #send-reply.standard-form textarea,#buddypress .standard-form input[type=submit],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form textarea,#buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress input[type=submit],#buddypress input[type=text],#buddypress input[type=email],#buddypress input[type=password],#buddypress select,#buddypress textarea{border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{clear:both;float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid #ccc;overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{border:0;font-size:14px;font-size:.875rem;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:80%;border-left:1px solid #ccc;padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:401px){#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}#buddypress div.dir-search,#buddypress div.message-search{clear:none;float:left}#buddypress div.message-search{margin:3px 0 0}}#buddypress table{border-color:rgba(0,0,0,.2)}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file +@charset "UTF-8";#buddypress .activity .activity-comments a,#buddypress .item-list-tabs ul a,.directory #buddypress #subnav a{color:#1b6e08}#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress .site-content{padding-bottom:20px;padding-top:4%}@media screen and (min-width:59.6875em){.buddypress .site-content{padding-top:0}}.buddypress .site-content article{margin:0 4%;padding-top:0}.buddypress .site-content article .entry-content,.buddypress .site-content article .entry-header{max-width:100%;padding:0}.buddypress .site-content article #buddypress{margin-bottom:40px}#buddypress .item-list-tabs ul li{width:100%}@media screen and (min-width:400px){#buddypress .item-list-tabs ul li{width:50%}}@media screen and (min-width:594px){#buddypress .item-list-tabs ul li{width:auto}}.directory #buddypress .item-list-tabs ul:after,.directory #buddypress .item-list-tabs ul:before{content:" ";display:table}.directory #buddypress .item-list-tabs ul:after{clear:both}.directory #buddypress .item-list-tabs ul{border-bottom:1px solid rgba(0,0,0,.2);padding-bottom:10px}@media screen and (min-width:783px){.directory #buddypress .item-list-tabs ul{padding-bottom:0}.directory #buddypress .item-list-tabs ul li.selected{border:1px solid rgba(0,0,0,.2);border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}.directory #buddypress .item-list-tabs ul li.selected a{background:0 0;outline:0}}.directory #buddypress #subnav ul{border-bottom:0}#buddypress #subnav li#activity-filter-select.last{line-height:2.1;margin-top:0}@media screen and (max-width:783px){#buddypress #object-nav ul{border-bottom:1px solid rgba(0,0,0,.2);overflow:hidden;padding-bottom:10px}#buddypress div#subnav.item-list-tabs{margin-bottom:40px}#buddypress div#subnav.item-list-tabs ul li{width:auto}}@media screen and (min-width:783px){.bp-user #buddypress,.single-item.groups #buddypress{background:#d8d8d8}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #item-body{border-right:1px solid #bebebe;overflow:hidden;padding:0 20px;width:auto}#buddypress #object-nav{background:#d8d8d8;border-left:1px solid #bebebe;float:right;margin-left:-1px;width:200px}#buddypress #item-body #subnav li.current,#buddypress #item-body #subnav li:focus,#buddypress #item-body #subnav li:hover,#buddypress #object-nav ul li.current,#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#f1f1f1}#buddypress #object-nav ul{border-bottom:0;border-top:1px solid #bebebe;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li span{border-radius:10%;float:left;margin-left:15px}#buddypress #item-body #subnav{border:1px solid #bebebe;border-right:0;border-left:0;margin:0 -20px 20px}#buddypress #item-body #subnav li#activity-filter-select:focus,#buddypress #item-body #subnav li#activity-filter-select:hover{background:0 0}#buddypress #item-body #subnav li#activity-filter-select select{max-width:130px}}#buddypress div.pagination .pag-count,#buddypress ul.item-list li .item{margin-right:0}#buddypress .item-list .item-title a{display:block;font-size:22px;font-size:1.375rem;text-decoration:none}#buddypress .item-list .item-title span a,#buddypress .item-list .item-title span.update{font-size:12px;font-size:.75rem}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress ul.item-list li .item-avatar a img.avatar{float:none}#buddypress ul.item-list li div.item-title{float:none;width:100%}#buddypress ul.item-list li div.item-title>a{text-align:center}#buddypress ul.item-list li div.item-desc{margin-right:0;width:auto}#buddypress ul.item-list li div.action{clear:both;float:none;margin:0;position:relative;text-align:right}#buddypress ul.item-list li div.action div{margin:0 0 10px}#buddypress ul.item-list li .action,#buddypress ul.item-list li .activity-meta{float:none}#buddypress ul.item-list li .action a,#buddypress ul.item-list li .action div,#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:block;margin:5px 0}@media screen and (min-width:594px){#buddypress ul.item-list li .item-avatar{float:right;margin-bottom:0}#buddypress ul.item-list li div.item-title>a{text-align:right}#buddypress ul.item-list li .item{float:left;margin-right:5%;width:80%}#buddypress ul.item-list li .activity-meta{clear:both}#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:inline-block;margin:5px 0 0 5px}}@media screen and (min-width:783px){#buddypress ul.item-list li .item{float:right;width:55%}#buddypress ul.item-list li .item div.item-desc{margin:0;width:auto}#buddypress ul.item-list li div.action{clear:none;float:left;top:0;width:25%}#buddypress ul.item-list li div.action div{display:block}#buddypress ul.item-list li div.action div a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}#buddypress ul.item-list li div.action .meta{text-align:center}}#buddypress ul.item-list li .item-meta .activity,#buddypress ul.item-list li .meta{font-style:italic}#buddypress form#whats-new-form{margin:40px 0}#buddypress form#whats-new-form #whats-new-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{margin-right:0;padding-right:0}#buddypress form#whats-new-form p.activity-greeting{clear:right;line-height:inherit;margin-bottom:5px}@media screen and (max-width:594px){#buddypress form#whats-new-form #whats-new-content #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box{margin-top:10px;order:1}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box select{margin-top:5px;max-width:100%;width:100%}}@media screen and (min-width:594px){#buddypress form#whats-new-form #whats-new-avatar{float:right}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{clear:none;overflow:hidden;padding-right:20px}}#buddypress #activity-stream{margin-top:40px}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:none;margin-bottom:10px;text-align:center}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar img.avatar{margin-right:0}#buddypress .activity-list li.mini .activity-meta a{font-size:12px;font-size:.75rem}#buddypress .activity-list .activity-content{margin:0}#buddypress .activity-list .activity-content .activity-header{margin:-.5em 0 0}#buddypress .activity-list .activity-content .activity-header>p{line-height:1.4;margin-top:-10px}#buddypress .activity-list .activity-content .activity-header img.avatar{margin-bottom:0!important;vertical-align:middle}#buddypress .activity-list .activity-content .activity-inner{margin:10px 0}@media screen and (min-width:594px){#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:right;margin:0 0 0 20px}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar{margin:0 5% 0 10px}#buddypress .activity-list .activity-content{margin-right:0;overflow:hidden}}body.activity-permalink #buddypress{background:0 0}@media screen and (max-width:760px){body.activity-permalink #buddypress .activity-list li .activity-comments,body.activity-permalink #buddypress .activity-list li .activity-content{margin-right:0}}#buddypress .activity .activity-comments{margin-right:0;margin-top:5px}@media screen and (min-width:594px){#buddypress .activity .activity-comments{margin-right:70px}}#buddypress .activity .activity-comments ul{background:rgba(247,247,247,.6);margin:30px 2px 0 0}#buddypress .activity .activity-comments ul ul{border-right:1px solid rgba(0,0,0,.1);padding-right:2%}#buddypress .activity .activity-comments .acomment-meta{color:#737373}@media screen and (max-width:400px){#buddypress .activity .activity-comments .acomment-avatar{display:block;text-align:center}#buddypress .activity .activity-comments .acomment-avatar a,#buddypress .activity .activity-comments .acomment-avatar img.avatar{display:inline;float:none}#buddypress .activity .activity-comments .acomment-content,#buddypress .activity .activity-comments .acomment-meta,#buddypress .activity .activity-comments .acomment-options{margin:5px}#buddypress .activity .activity-comments .acomment-content{padding:0 10px}}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel,#buddypress .activity .activity-comments .ac-form input[type=submit]{color:rgba(43,43,43,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(0,0,0,.2);text-align:center}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}.bp-user .entry-title,.single-item.groups .entry-title{background:#4d4d4d;color:#fff;font-size:22px;font-size:1.375rem;margin-bottom:10px;padding:.2em}@media screen and (min-width:673px){.bp-user .entry-title,.single-item.groups .entry-title{font-size:28px;font-size:1.75rem}}#buddypress div#item-header{padding-bottom:10px}#buddypress div#item-header img.avatar{margin:0 0 10px 20px}#buddypress div#item-header #message{clear:both;margin-bottom:5px;padding-top:10px}#buddypress div#item-header #message p{margin-bottom:0}@media screen and (max-width:594px){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{margin-right:0;order:3;text-align:right}.single-item.groups #buddypress div#item-header #item-actions ul{margin-right:0}.single-item.groups #buddypress div#item-header #item-actions ul li{float:right}.single-item.groups #buddypress div#item-header #message{order:4}}.single-item.groups #buddypress #item-header #item-actions{float:none;margin:0 20px 0 0;width:auto}.single-item.groups #buddypress #item-header #item-actions h2{font-size:20px;font-size:1.25rem}.single-item.groups #buddypress #item-header #item-header-avatar{text-align:center}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}@media screen and (min-width:594px){.single-item.groups #buddypress #item-header #item-actions{float:left}.single-item.groups #buddypress #item-header #item-header-avatar{float:right}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar img{float:none}.bp-user #buddypress #item-header #latest-update{margin-bottom:10px}@media screen and (max-width:594px){.bp-user #buddypress #item-header #item-buttons div.generic-button{display:inline-block;float:none;margin:0 0 5px;width:100%}.bp-user #buddypress #item-header #item-buttons div.generic-button a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}}@media screen and (min-width:673px){.bp-user #buddypress #item-header #item-header-avatar{float:right;overflow:hidden;text-align:right;width:20%}.bp-user #buddypress #item-header #item-header-content{float:left;width:78%}.bp-user #buddypress #item-header #item-header-content #latest-update{margin-bottom:20px}}#create-group-form .radio strong,#group-settings-form .radio strong{font-size:18px;font-size:1.125rem}#create-group-form .radio ul,#group-settings-form .radio ul{color:#6b6b6b}#create-group-form #group-creation-previous,#group-settings-form #group-creation-previous{margin:10px 0}.groups.manage-members #group-settings-form h3{margin-top:40px}.groups.manage-members #group-settings-form .item-list{background:#f7f7f7;border-top:0;padding:0 .5em}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid rgba(0,0,0,.1)}.groups.manage-members #group-settings-form .item-list li:last-child{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{clear:none;float:right}#buddypress .profile #profile-edit-form .button-nav:after,.groups.group-members #subnav ul:after{clear:both}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0;color:#22830c}.groups.manage-members #group-settings-form .item-list li span.small{display:block;float:none;margin-top:10px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}#buddypress #members-group-list .item-list h5{display:inline-block;margin:0}#buddypress #members-group-list .item-list span.activity{padding-right:10px}#buddypress #item-body #subnav li.groups-members-search:focus,#buddypress #item-body #subnav li.groups-members-search:hover,#buddypress #item-body #subnav li.last:focus,#buddypress #item-body #subnav li.last:hover{background:0 0}.groups.group-members #subnav ul:after,.groups.group-members #subnav ul:before{content:" ";display:table}.groups.group-members #subnav ul{padding:5px 0}.groups.group-members #subnav li #search-members-form{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:right}@media screen and (max-width:400px){.groups.group-members #subnav li{background:#fff;padding:10px 0;width:100%!important}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}@media screen and (min-width:783px){.groups.group-members #subnav li #search-members-form{margin-right:3px}.send-invites #buddypress #item-body{border-top:1px solid #bebebe}}@media screen and (max-width:400px){.send-invites #buddypress #item-body .left-menu{float:none}.send-invites #buddypress #item-body .left-menu #invite-list{height:auto;width:auto}.send-invites #buddypress #item-body .main-column{margin-right:0}}.send-invites #buddypress #item-body li img.avatar{display:block;float:none;margin:10px auto}.send-invites #buddypress #item-body li .action{margin-top:10px;text-align:right;width:100%}@media screen and (min-width:38.75em){.send-invites #buddypress #item-body li .action{text-align:left}}@media screen and (min-width:594px){.send-invites #buddypress #item-body #invite-list{width:160px}.send-invites #buddypress #item-body .main-column{margin-right:190px}.send-invites #buddypress #item-body li img.avatar{float:right;margin:0 0 0 10px}}#buddypress .profile .bp-widget h2{background:#949494;color:#fff;padding:.4em .2em}#buddypress .profile #profile-edit-form .button-nav:after,#buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}#buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid rgba(0,0,0,.1);margin-right:0}#buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}#buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid rgba(0,0,0,.1);border-bottom-color:#fff;margin-bottom:-1px}#buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}#buddypress .profile #profile-edit-form .field-visibility-settings,#buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}#buddypress .profile #profile-edit-form .field-visibility-settings-close,#buddypress .profile #profile-edit-form .visibility-toggle-link{background:#000;color:#fff;padding:.2em .5em}#buddypress table#message-threads{border-right:1px solid rgba(0,0,0,.2);border-left:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tbody>tr:first-child td.bulk-select-check,#buddypress table#message-threads tbody>tr:first-child td.thread-from{border-top:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tr td{background:#fff;border-left:0!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:right}#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{border-bottom-color:rgba(0,0,0,.2);border-bottom-width:2px;border-right:0;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:549px){#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{padding-top:0}}#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{border-right:0;height:2.6em}#buddypress table#message-threads tr td.thread-from,#buddypress table#message-threads tr td.thread-options{border-right:0;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}#buddypress table#message-threads tr td.thread-info{border-right:0;padding-right:41px;width:100%}#buddypress table#message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}#buddypress table#message-threads tr td.thread-options{text-align:left}#buddypress table#message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}#buddypress table#message-threads tr span.from{display:none}#buddypress table#message-threads tr span.activity{display:block;float:left;line-height:2}@media screen and (max-width:320px){#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{height:5.2em}#buddypress table#message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}#buddypress table#message-threads tr.unread td{background:#f1f4ff;border-color:rgba(0,0,0,.2);border-top:0;border-width:1px}#buddypress table#message-threads th{display:none}#buddypress table#message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}#buddypress table#message-threads td.bulk-select-check,#buddypress table#message-threads td.thread-star,#buddypress table#message-threads th.bulk-select-all{border-left:0;width:30px}#buddypress #message-thread #message-subject{background:#4d4d4d;color:#fff;padding:.5em}#buddypress #message-thread .message-box .message-metadata{margin-bottom:10px}#buddypress #message-thread .message-box .message-content{clear:right;margin-right:0}#buddypress .acfb-holder{list-style:none;margin:0}#buddypress .acfb-holder li{margin-right:0}#buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}#buddypress .acfb-holder li.friend-tab span.p{padding-right:10px}#buddypress .acfb-holder li.friend-tab span.p:focus,#buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}#buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}#buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}#buddypress #message-threads.sitewide-notices td,#buddypress table.profile-settings{width:100%}#buddypress #message-threads.sitewide-notices td strong{background:#4d4d4d;color:#fff;font-size:16px;font-size:1rem;display:block;margin-bottom:.4em;padding:.2em}#buddypress #message-threads.sitewide-notices td a{display:inline-block;line-height:initial}#buddypress #message-threads.sitewide-notices td:first-child{display:none}#buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}#buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}#buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:rgba(0,0,0,.2);line-height:1;text-align:left}#buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}#buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-right:10px}.bp-user .ac_results ul{margin:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}#buddypress #settings-form>p{font-size:20px;font-size:1.25rem}#buddypress table.notification-settings td.no,#buddypress table.notification-settings td.yes{vertical-align:middle}#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:401px){#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:70%}}#buddypress #send-reply.standard-form textarea,#buddypress .standard-form input[type=submit],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form textarea,#buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress input[type=submit],#buddypress input[type=text],#buddypress input[type=email],#buddypress input[type=password],#buddypress select,#buddypress textarea{border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{clear:both;float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid #ccc;overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{border:0;font-size:14px;font-size:.875rem;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:80%;border-left:1px solid #ccc;padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:401px){#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}#buddypress div.dir-search,#buddypress div.message-search{clear:none;float:left}#buddypress div.message-search{margin:3px 0 0}}#buddypress table{border-color:rgba(0,0,0,.2)}#buddypress table .alt a{color:#22820c}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen.css index aed327987e405b20532e3a5a525fad393b532fc4..f3223ab352db9c583e36b1aa598c6377833fc19e 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen.css @@ -123,6 +123,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } } +#buddypress .item-list-tabs ul a { + color: #1b6e08; +} + .directory #buddypress .item-list-tabs ul:before, .directory #buddypress .item-list-tabs ul:after { content: " "; @@ -162,6 +166,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ border-bottom: 0; } +.directory #buddypress #subnav a { + color: #1b6e08; +} + /* List last filters global */ #buddypress #subnav li#activity-filter-select.last { line-height: 2.1; @@ -212,7 +220,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ overflow: hidden; } #buddypress #object-nav ul li:focus, #buddypress #object-nav ul li:hover { - background: #bebebe; + background: #f1f1f1; } #buddypress #object-nav ul li span { border-radius: 10%; @@ -235,7 +243,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } #buddypress #item-body #subnav li:focus, #buddypress #item-body #subnav li:hover { - background: #bebebe; + background: #f1f1f1; } #buddypress #item-body #subnav li.current { background: #f1f1f1; @@ -552,6 +560,10 @@ body.activity-permalink #buddypress { } } +#buddypress .activity .activity-comments a { + color: #1b6e08; +} + #buddypress .activity .activity-comments ul { background: rgba(247, 247, 247, 0.6); margin: 30px 0 0 2px; @@ -562,6 +574,10 @@ body.activity-permalink #buddypress { padding-left: 2%; } +#buddypress .activity .activity-comments .acomment-meta { + color: #737373; +} + @media screen and (max-width: 400px) { #buddypress .activity .activity-comments .acomment-avatar { display: block; @@ -703,7 +719,7 @@ body.activity-permalink #buddypress { width: auto; } -.single-item.groups #buddypress #item-header #item-actions h3 { +.single-item.groups #buddypress #item-header #item-actions h2 { font-size: 20px; font-size: 1.25rem; } @@ -804,7 +820,7 @@ body.activity-permalink #buddypress { #group-settings-form .radio ul, #create-group-form .radio ul { - color: #787878; + color: #6b6b6b; } #group-settings-form #group-creation-previous, @@ -813,7 +829,7 @@ body.activity-permalink #buddypress { } /* Manage Members */ -.groups.manage-members #group-settings-form h4 { +.groups.manage-members #group-settings-form h3 { margin-top: 40px; } @@ -840,6 +856,7 @@ body.activity-permalink #buddypress { .groups.manage-members #group-settings-form .item-list li img > a, .groups.manage-members #group-settings-form .item-list li h5 > a { border-bottom: 0; + color: #22830c; } .groups.manage-members #group-settings-form .item-list li span.small { @@ -996,8 +1013,8 @@ body.activity-permalink #buddypress { * 6.2.2.2 - Extended Profiles *------------------------------ */ -#buddypress .profile .bp-widget h4 { - background: #999; +#buddypress .profile .bp-widget h2 { + background: #949494; color: #fff; padding: 0.4em 0.2em; } @@ -1459,6 +1476,10 @@ body.activity-permalink #buddypress { border-color: rgba(0, 0, 0, 0.2); } +#buddypress table .alt a { + color: #22820c; +} + /*__ User Account tables __*/ /** *------------------------------------------------------------------------------- diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen.min.css index b6c4a4d72fa34fc2d6350bc9956e90ccdd085ebb..4edc744c1731b9225a02428f9caea9718e0fe531 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen.min.css @@ -1 +1 @@ -@charset "UTF-8";#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress .site-content{padding-bottom:20px;padding-top:4%}@media screen and (min-width:59.6875em){.buddypress .site-content{padding-top:0}}.buddypress .site-content article{margin:0 4%;padding-top:0}.buddypress .site-content article .entry-content,.buddypress .site-content article .entry-header{max-width:100%;padding:0}.buddypress .site-content article #buddypress{margin-bottom:40px}#buddypress .item-list-tabs ul li{width:100%}@media screen and (min-width:400px){#buddypress .item-list-tabs ul li{width:50%}}@media screen and (min-width:594px){#buddypress .item-list-tabs ul li{width:auto}}.directory #buddypress .item-list-tabs ul:after,.directory #buddypress .item-list-tabs ul:before{content:" ";display:table}.directory #buddypress .item-list-tabs ul:after{clear:both}.directory #buddypress .item-list-tabs ul{border-bottom:1px solid rgba(0,0,0,.2);padding-bottom:10px}@media screen and (min-width:783px){.directory #buddypress .item-list-tabs ul{padding-bottom:0}.directory #buddypress .item-list-tabs ul li.selected{border:1px solid rgba(0,0,0,.2);border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}.directory #buddypress .item-list-tabs ul li.selected a{background:0 0;outline:0}}.directory #buddypress #subnav ul{border-bottom:0}#buddypress #subnav li#activity-filter-select.last{line-height:2.1;margin-top:0}@media screen and (max-width:783px){#buddypress #object-nav ul{border-bottom:1px solid rgba(0,0,0,.2);overflow:hidden;padding-bottom:10px}#buddypress div#subnav.item-list-tabs{margin-bottom:40px}#buddypress div#subnav.item-list-tabs ul li{width:auto}}@media screen and (min-width:783px){.bp-user #buddypress,.single-item.groups #buddypress{background:#d8d8d8}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #item-body{border-left:1px solid #bebebe;overflow:hidden;padding:0 20px;width:auto}#buddypress #object-nav{background:#d8d8d8;border-right:1px solid #bebebe;float:left;margin-right:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;border-top:1px solid #bebebe;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#bebebe}#buddypress #object-nav ul li span{border-radius:10%;float:right;margin-right:15px}#buddypress #object-nav ul li.current{background:#f1f1f1}#buddypress #item-body #subnav{border:1px solid #bebebe;border-left:0;border-right:0;margin:0 -20px 20px}#buddypress #item-body #subnav li:focus,#buddypress #item-body #subnav li:hover{background:#bebebe}#buddypress #item-body #subnav li.current{background:#f1f1f1}#buddypress #item-body #subnav li#activity-filter-select:focus,#buddypress #item-body #subnav li#activity-filter-select:hover{background:0 0}#buddypress #item-body #subnav li#activity-filter-select select{max-width:130px}}#buddypress div.pagination .pag-count,#buddypress ul.item-list li .item{margin-left:0}#buddypress .item-list .item-title a{display:block;font-size:22px;font-size:1.375rem;text-decoration:none}#buddypress .item-list .item-title span a,#buddypress .item-list .item-title span.update{font-size:12px;font-size:.75rem}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress ul.item-list li .item-avatar a img.avatar{float:none}#buddypress ul.item-list li div.item-title{float:none;width:100%}#buddypress ul.item-list li div.item-title>a{text-align:center}#buddypress ul.item-list li div.item-desc{margin-left:0;width:auto}#buddypress ul.item-list li div.action{clear:both;float:none;margin:0;position:relative;text-align:left}#buddypress ul.item-list li div.action div{margin:0 0 10px}#buddypress ul.item-list li .action,#buddypress ul.item-list li .activity-meta{float:none}#buddypress ul.item-list li .action a,#buddypress ul.item-list li .action div,#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:block;margin:5px 0}@media screen and (min-width:594px){#buddypress ul.item-list li .item-avatar{float:left;margin-bottom:0}#buddypress ul.item-list li div.item-title>a{text-align:left}#buddypress ul.item-list li .item{float:right;margin-left:5%;width:80%}#buddypress ul.item-list li .activity-meta{clear:both}#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:inline-block;margin:5px 5px 0 0}}@media screen and (min-width:783px){#buddypress ul.item-list li .item{float:left;width:55%}#buddypress ul.item-list li .item div.item-desc{margin:0;width:auto}#buddypress ul.item-list li div.action{clear:none;float:right;top:0;width:25%}#buddypress ul.item-list li div.action div{display:block}#buddypress ul.item-list li div.action div a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}#buddypress ul.item-list li div.action .meta{text-align:center}}#buddypress ul.item-list li .item-meta .activity,#buddypress ul.item-list li .meta{font-style:italic}#buddypress form#whats-new-form{margin:40px 0}#buddypress form#whats-new-form #whats-new-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{margin-left:0;padding-left:0}#buddypress form#whats-new-form p.activity-greeting{clear:left;line-height:inherit;margin-bottom:5px}@media screen and (max-width:594px){#buddypress form#whats-new-form #whats-new-content #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box{margin-top:10px;order:1}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box select{margin-top:5px;max-width:100%;width:100%}}@media screen and (min-width:594px){#buddypress form#whats-new-form #whats-new-avatar{float:left}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{clear:none;overflow:hidden;padding-left:20px}}#buddypress #activity-stream{margin-top:40px}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:none;margin-bottom:10px;text-align:center}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar img.avatar{margin-left:0}#buddypress .activity-list li.mini .activity-meta a{font-size:12px;font-size:.75rem}#buddypress .activity-list .activity-content{margin:0}#buddypress .activity-list .activity-content .activity-header{margin:-.5em 0 0}#buddypress .activity-list .activity-content .activity-header>p{line-height:1.4;margin-top:-10px}#buddypress .activity-list .activity-content .activity-header img.avatar{margin-bottom:0!important;vertical-align:middle}#buddypress .activity-list .activity-content .activity-inner{margin:10px 0}@media screen and (min-width:594px){#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:left;margin:0 20px 0 0}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar{margin:0 10px 0 5%}#buddypress .activity-list .activity-content{margin-left:0;overflow:hidden}}body.activity-permalink #buddypress{background:0 0}@media screen and (max-width:760px){body.activity-permalink #buddypress .activity-list li .activity-comments,body.activity-permalink #buddypress .activity-list li .activity-content{margin-left:0}}#buddypress .activity .activity-comments{margin-left:0;margin-top:5px}@media screen and (min-width:594px){#buddypress .activity .activity-comments{margin-left:70px}}#buddypress .activity .activity-comments ul{background:rgba(247,247,247,.6);margin:30px 0 0 2px}#buddypress .activity .activity-comments ul ul{border-left:1px solid rgba(0,0,0,.1);padding-left:2%}@media screen and (max-width:400px){#buddypress .activity .activity-comments .acomment-avatar{display:block;text-align:center}#buddypress .activity .activity-comments .acomment-avatar a,#buddypress .activity .activity-comments .acomment-avatar img.avatar{display:inline;float:none}#buddypress .activity .activity-comments .acomment-content,#buddypress .activity .activity-comments .acomment-meta,#buddypress .activity .activity-comments .acomment-options{margin:5px}#buddypress .activity .activity-comments .acomment-content{padding:0 10px}}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel,#buddypress .activity .activity-comments .ac-form input[type=submit]{color:rgba(43,43,43,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(0,0,0,.2);text-align:center}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}.bp-user .entry-title,.single-item.groups .entry-title{background:#4d4d4d;color:#fff;font-size:22px;font-size:1.375rem;margin-bottom:10px;padding:.2em}@media screen and (min-width:673px){.bp-user .entry-title,.single-item.groups .entry-title{font-size:28px;font-size:1.75rem}}#buddypress div#item-header{padding-bottom:10px}#buddypress div#item-header img.avatar{margin:0 20px 10px 0}#buddypress div#item-header #message{clear:both;margin-bottom:5px;padding-top:10px}#buddypress div#item-header #message p{margin-bottom:0}@media screen and (max-width:594px){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{margin-left:0;order:3;text-align:left}.single-item.groups #buddypress div#item-header #item-actions ul{margin-left:0}.single-item.groups #buddypress div#item-header #item-actions ul li{float:left}.single-item.groups #buddypress div#item-header #message{order:4}}.single-item.groups #buddypress #item-header #item-actions{float:none;margin:0 0 0 20px;width:auto}.single-item.groups #buddypress #item-header #item-actions h3{font-size:20px;font-size:1.25rem}.single-item.groups #buddypress #item-header #item-header-avatar{text-align:center}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}@media screen and (min-width:594px){.single-item.groups #buddypress #item-header #item-actions{float:right}.single-item.groups #buddypress #item-header #item-header-avatar{float:left}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar img{float:none}.bp-user #buddypress #item-header #latest-update{margin-bottom:10px}@media screen and (max-width:594px){.bp-user #buddypress #item-header #item-buttons div.generic-button{display:inline-block;float:none;margin:0 0 5px;width:100%}.bp-user #buddypress #item-header #item-buttons div.generic-button a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}}@media screen and (min-width:673px){.bp-user #buddypress #item-header #item-header-avatar{float:left;overflow:hidden;text-align:left;width:20%}.bp-user #buddypress #item-header #item-header-content{float:right;width:78%}.bp-user #buddypress #item-header #item-header-content #latest-update{margin-bottom:20px}}#create-group-form .radio strong,#group-settings-form .radio strong{font-size:18px;font-size:1.125rem}#create-group-form .radio ul,#group-settings-form .radio ul{color:#787878}#create-group-form #group-creation-previous,#group-settings-form #group-creation-previous{margin:10px 0}.groups.manage-members #group-settings-form h4{margin-top:40px}.groups.manage-members #group-settings-form .item-list{background:#f7f7f7;border-top:0;padding:0 .5em}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid rgba(0,0,0,.1)}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a,.groups.manage-members #group-settings-form .item-list li:last-child{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{clear:none;float:left}#buddypress .profile #profile-edit-form .button-nav:after,.groups.group-members #subnav ul:after{clear:both}.groups.manage-members #group-settings-form .item-list li span.small{display:block;float:none;margin-top:10px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}#buddypress #members-group-list .item-list h5{display:inline-block;margin:0}#buddypress #members-group-list .item-list span.activity{padding-left:10px}#buddypress #item-body #subnav li.groups-members-search:focus,#buddypress #item-body #subnav li.groups-members-search:hover,#buddypress #item-body #subnav li.last:focus,#buddypress #item-body #subnav li.last:hover{background:0 0}.groups.group-members #subnav ul:after,.groups.group-members #subnav ul:before{content:" ";display:table}.groups.group-members #subnav ul{padding:5px 0}.groups.group-members #subnav li #search-members-form{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left}@media screen and (max-width:400px){.groups.group-members #subnav li{background:#fff;padding:10px 0;width:100%!important}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}@media screen and (min-width:783px){.groups.group-members #subnav li #search-members-form{margin-left:3px}.send-invites #buddypress #item-body{border-top:1px solid #bebebe}}@media screen and (max-width:400px){.send-invites #buddypress #item-body .left-menu{float:none}.send-invites #buddypress #item-body .left-menu #invite-list{height:auto;width:auto}.send-invites #buddypress #item-body .main-column{margin-left:0}}.send-invites #buddypress #item-body li img.avatar{display:block;float:none;margin:10px auto}.send-invites #buddypress #item-body li .action{margin-top:10px;text-align:left;width:100%}@media screen and (min-width:38.75em){.send-invites #buddypress #item-body li .action{text-align:right}}@media screen and (min-width:594px){.send-invites #buddypress #item-body #invite-list{width:160px}.send-invites #buddypress #item-body .main-column{margin-left:190px}.send-invites #buddypress #item-body li img.avatar{float:left;margin:0 10px 0 0}}#buddypress .profile .bp-widget h4{background:#999;color:#fff;padding:.4em .2em}#buddypress .profile #profile-edit-form .button-nav:after,#buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}#buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid rgba(0,0,0,.1);margin-left:0}#buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}#buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid rgba(0,0,0,.1);border-bottom-color:#fff;margin-bottom:-1px}#buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}#buddypress .profile #profile-edit-form .field-visibility-settings,#buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}#buddypress .profile #profile-edit-form .field-visibility-settings-close,#buddypress .profile #profile-edit-form .visibility-toggle-link{background:#000;color:#fff;padding:.2em .5em}#buddypress table#message-threads{border-left:1px solid rgba(0,0,0,.2);border-right:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tbody>tr:first-child td.bulk-select-check,#buddypress table#message-threads tbody>tr:first-child td.thread-from{border-top:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tr td{background:#fff;border-right:0!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:left}#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{border-bottom-color:rgba(0,0,0,.2);border-bottom-width:2px;border-left:0;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:549px){#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{padding-top:0}}#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{border-left:0;height:2.6em}#buddypress table#message-threads tr td.thread-from,#buddypress table#message-threads tr td.thread-options{border-left:0;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}#buddypress table#message-threads tr td.thread-info{border-left:0;padding-left:41px;width:100%}#buddypress table#message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}#buddypress table#message-threads tr td.thread-options{text-align:right}#buddypress table#message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}#buddypress table#message-threads tr span.from{display:none}#buddypress table#message-threads tr span.activity{display:block;float:right;line-height:2}@media screen and (max-width:320px){#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{height:5.2em}#buddypress table#message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}#buddypress table#message-threads tr.unread td{background:#f1f4ff;border-color:rgba(0,0,0,.2);border-top:0;border-width:1px}#buddypress table#message-threads th{display:none}#buddypress table#message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}#buddypress table#message-threads td.bulk-select-check,#buddypress table#message-threads td.thread-star,#buddypress table#message-threads th.bulk-select-all{border-right:0;width:30px}#buddypress #message-thread #message-subject{background:#4d4d4d;color:#fff;padding:.5em}#buddypress #message-thread .message-box .message-metadata{margin-bottom:10px}#buddypress #message-thread .message-box .message-content{clear:left;margin-left:0}#buddypress .acfb-holder{list-style:none;margin:0}#buddypress .acfb-holder li{margin-left:0}#buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}#buddypress .acfb-holder li.friend-tab span.p{padding-left:10px}#buddypress .acfb-holder li.friend-tab span.p:focus,#buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}#buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}#buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}#buddypress #message-threads.sitewide-notices td,#buddypress table.profile-settings{width:100%}#buddypress #message-threads.sitewide-notices td strong{background:#4d4d4d;color:#fff;font-size:16px;font-size:1rem;display:block;margin-bottom:.4em;padding:.2em}#buddypress #message-threads.sitewide-notices td a{display:inline-block;line-height:initial}#buddypress #message-threads.sitewide-notices td:first-child{display:none}#buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}#buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}#buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:rgba(0,0,0,.2);line-height:1;text-align:right}#buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}#buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-left:10px}.bp-user .ac_results ul{margin:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}#buddypress #settings-form>p{font-size:20px;font-size:1.25rem}#buddypress table.notification-settings td.no,#buddypress table.notification-settings td.yes{vertical-align:middle}#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:401px){#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:70%}}#buddypress #send-reply.standard-form textarea,#buddypress .standard-form input[type=submit],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form textarea,#buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress input[type=submit],#buddypress input[type=text],#buddypress input[type=email],#buddypress input[type=password],#buddypress select,#buddypress textarea{border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{clear:both;float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid #ccc;overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{border:0;font-size:14px;font-size:.875rem;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:80%;border-right:1px solid #ccc;padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:401px){#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}#buddypress div.dir-search,#buddypress div.message-search{clear:none;float:right}#buddypress div.message-search{margin:3px 0 0}}#buddypress table{border-color:rgba(0,0,0,.2)}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file +@charset "UTF-8";#buddypress .activity .activity-comments a,#buddypress .item-list-tabs ul a,.directory #buddypress #subnav a{color:#1b6e08}#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress .site-content{padding-bottom:20px;padding-top:4%}@media screen and (min-width:59.6875em){.buddypress .site-content{padding-top:0}}.buddypress .site-content article{margin:0 4%;padding-top:0}.buddypress .site-content article .entry-content,.buddypress .site-content article .entry-header{max-width:100%;padding:0}.buddypress .site-content article #buddypress{margin-bottom:40px}#buddypress .item-list-tabs ul li{width:100%}@media screen and (min-width:400px){#buddypress .item-list-tabs ul li{width:50%}}@media screen and (min-width:594px){#buddypress .item-list-tabs ul li{width:auto}}.directory #buddypress .item-list-tabs ul:after,.directory #buddypress .item-list-tabs ul:before{content:" ";display:table}.directory #buddypress .item-list-tabs ul:after{clear:both}.directory #buddypress .item-list-tabs ul{border-bottom:1px solid rgba(0,0,0,.2);padding-bottom:10px}@media screen and (min-width:783px){.directory #buddypress .item-list-tabs ul{padding-bottom:0}.directory #buddypress .item-list-tabs ul li.selected{border:1px solid rgba(0,0,0,.2);border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}.directory #buddypress .item-list-tabs ul li.selected a{background:0 0;outline:0}}.directory #buddypress #subnav ul{border-bottom:0}#buddypress #subnav li#activity-filter-select.last{line-height:2.1;margin-top:0}@media screen and (max-width:783px){#buddypress #object-nav ul{border-bottom:1px solid rgba(0,0,0,.2);overflow:hidden;padding-bottom:10px}#buddypress div#subnav.item-list-tabs{margin-bottom:40px}#buddypress div#subnav.item-list-tabs ul li{width:auto}}@media screen and (min-width:783px){.bp-user #buddypress,.single-item.groups #buddypress{background:#d8d8d8}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #item-body{border-left:1px solid #bebebe;overflow:hidden;padding:0 20px;width:auto}#buddypress #object-nav{background:#d8d8d8;border-right:1px solid #bebebe;float:left;margin-right:-1px;width:200px}#buddypress #item-body #subnav li.current,#buddypress #item-body #subnav li:focus,#buddypress #item-body #subnav li:hover,#buddypress #object-nav ul li.current,#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#f1f1f1}#buddypress #object-nav ul{border-bottom:0;border-top:1px solid #bebebe;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li span{border-radius:10%;float:right;margin-right:15px}#buddypress #item-body #subnav{border:1px solid #bebebe;border-left:0;border-right:0;margin:0 -20px 20px}#buddypress #item-body #subnav li#activity-filter-select:focus,#buddypress #item-body #subnav li#activity-filter-select:hover{background:0 0}#buddypress #item-body #subnav li#activity-filter-select select{max-width:130px}}#buddypress div.pagination .pag-count,#buddypress ul.item-list li .item{margin-left:0}#buddypress .item-list .item-title a{display:block;font-size:22px;font-size:1.375rem;text-decoration:none}#buddypress .item-list .item-title span a,#buddypress .item-list .item-title span.update{font-size:12px;font-size:.75rem}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress ul.item-list li .item-avatar a img.avatar{float:none}#buddypress ul.item-list li div.item-title{float:none;width:100%}#buddypress ul.item-list li div.item-title>a{text-align:center}#buddypress ul.item-list li div.item-desc{margin-left:0;width:auto}#buddypress ul.item-list li div.action{clear:both;float:none;margin:0;position:relative;text-align:left}#buddypress ul.item-list li div.action div{margin:0 0 10px}#buddypress ul.item-list li .action,#buddypress ul.item-list li .activity-meta{float:none}#buddypress ul.item-list li .action a,#buddypress ul.item-list li .action div,#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:block;margin:5px 0}@media screen and (min-width:594px){#buddypress ul.item-list li .item-avatar{float:left;margin-bottom:0}#buddypress ul.item-list li div.item-title>a{text-align:left}#buddypress ul.item-list li .item{float:right;margin-left:5%;width:80%}#buddypress ul.item-list li .activity-meta{clear:both}#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:inline-block;margin:5px 5px 0 0}}@media screen and (min-width:783px){#buddypress ul.item-list li .item{float:left;width:55%}#buddypress ul.item-list li .item div.item-desc{margin:0;width:auto}#buddypress ul.item-list li div.action{clear:none;float:right;top:0;width:25%}#buddypress ul.item-list li div.action div{display:block}#buddypress ul.item-list li div.action div a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}#buddypress ul.item-list li div.action .meta{text-align:center}}#buddypress ul.item-list li .item-meta .activity,#buddypress ul.item-list li .meta{font-style:italic}#buddypress form#whats-new-form{margin:40px 0}#buddypress form#whats-new-form #whats-new-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{margin-left:0;padding-left:0}#buddypress form#whats-new-form p.activity-greeting{clear:left;line-height:inherit;margin-bottom:5px}@media screen and (max-width:594px){#buddypress form#whats-new-form #whats-new-content #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box{margin-top:10px;order:1}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box select{margin-top:5px;max-width:100%;width:100%}}@media screen and (min-width:594px){#buddypress form#whats-new-form #whats-new-avatar{float:left}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{clear:none;overflow:hidden;padding-left:20px}}#buddypress #activity-stream{margin-top:40px}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:none;margin-bottom:10px;text-align:center}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar img.avatar{margin-left:0}#buddypress .activity-list li.mini .activity-meta a{font-size:12px;font-size:.75rem}#buddypress .activity-list .activity-content{margin:0}#buddypress .activity-list .activity-content .activity-header{margin:-.5em 0 0}#buddypress .activity-list .activity-content .activity-header>p{line-height:1.4;margin-top:-10px}#buddypress .activity-list .activity-content .activity-header img.avatar{margin-bottom:0!important;vertical-align:middle}#buddypress .activity-list .activity-content .activity-inner{margin:10px 0}@media screen and (min-width:594px){#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:left;margin:0 20px 0 0}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar{margin:0 10px 0 5%}#buddypress .activity-list .activity-content{margin-left:0;overflow:hidden}}body.activity-permalink #buddypress{background:0 0}@media screen and (max-width:760px){body.activity-permalink #buddypress .activity-list li .activity-comments,body.activity-permalink #buddypress .activity-list li .activity-content{margin-left:0}}#buddypress .activity .activity-comments{margin-left:0;margin-top:5px}@media screen and (min-width:594px){#buddypress .activity .activity-comments{margin-left:70px}}#buddypress .activity .activity-comments ul{background:rgba(247,247,247,.6);margin:30px 0 0 2px}#buddypress .activity .activity-comments ul ul{border-left:1px solid rgba(0,0,0,.1);padding-left:2%}#buddypress .activity .activity-comments .acomment-meta{color:#737373}@media screen and (max-width:400px){#buddypress .activity .activity-comments .acomment-avatar{display:block;text-align:center}#buddypress .activity .activity-comments .acomment-avatar a,#buddypress .activity .activity-comments .acomment-avatar img.avatar{display:inline;float:none}#buddypress .activity .activity-comments .acomment-content,#buddypress .activity .activity-comments .acomment-meta,#buddypress .activity .activity-comments .acomment-options{margin:5px}#buddypress .activity .activity-comments .acomment-content{padding:0 10px}}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel,#buddypress .activity .activity-comments .ac-form input[type=submit]{color:rgba(43,43,43,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(0,0,0,.2);text-align:center}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}.bp-user .entry-title,.single-item.groups .entry-title{background:#4d4d4d;color:#fff;font-size:22px;font-size:1.375rem;margin-bottom:10px;padding:.2em}@media screen and (min-width:673px){.bp-user .entry-title,.single-item.groups .entry-title{font-size:28px;font-size:1.75rem}}#buddypress div#item-header{padding-bottom:10px}#buddypress div#item-header img.avatar{margin:0 20px 10px 0}#buddypress div#item-header #message{clear:both;margin-bottom:5px;padding-top:10px}#buddypress div#item-header #message p{margin-bottom:0}@media screen and (max-width:594px){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{margin-left:0;order:3;text-align:left}.single-item.groups #buddypress div#item-header #item-actions ul{margin-left:0}.single-item.groups #buddypress div#item-header #item-actions ul li{float:left}.single-item.groups #buddypress div#item-header #message{order:4}}.single-item.groups #buddypress #item-header #item-actions{float:none;margin:0 0 0 20px;width:auto}.single-item.groups #buddypress #item-header #item-actions h2{font-size:20px;font-size:1.25rem}.single-item.groups #buddypress #item-header #item-header-avatar{text-align:center}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}@media screen and (min-width:594px){.single-item.groups #buddypress #item-header #item-actions{float:right}.single-item.groups #buddypress #item-header #item-header-avatar{float:left}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar img{float:none}.bp-user #buddypress #item-header #latest-update{margin-bottom:10px}@media screen and (max-width:594px){.bp-user #buddypress #item-header #item-buttons div.generic-button{display:inline-block;float:none;margin:0 0 5px;width:100%}.bp-user #buddypress #item-header #item-buttons div.generic-button a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}}@media screen and (min-width:673px){.bp-user #buddypress #item-header #item-header-avatar{float:left;overflow:hidden;text-align:left;width:20%}.bp-user #buddypress #item-header #item-header-content{float:right;width:78%}.bp-user #buddypress #item-header #item-header-content #latest-update{margin-bottom:20px}}#create-group-form .radio strong,#group-settings-form .radio strong{font-size:18px;font-size:1.125rem}#create-group-form .radio ul,#group-settings-form .radio ul{color:#6b6b6b}#create-group-form #group-creation-previous,#group-settings-form #group-creation-previous{margin:10px 0}.groups.manage-members #group-settings-form h3{margin-top:40px}.groups.manage-members #group-settings-form .item-list{background:#f7f7f7;border-top:0;padding:0 .5em}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid rgba(0,0,0,.1)}.groups.manage-members #group-settings-form .item-list li:last-child{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{clear:none;float:left}#buddypress .profile #profile-edit-form .button-nav:after,.groups.group-members #subnav ul:after{clear:both}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0;color:#22830c}.groups.manage-members #group-settings-form .item-list li span.small{display:block;float:none;margin-top:10px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}#buddypress #members-group-list .item-list h5{display:inline-block;margin:0}#buddypress #members-group-list .item-list span.activity{padding-left:10px}#buddypress #item-body #subnav li.groups-members-search:focus,#buddypress #item-body #subnav li.groups-members-search:hover,#buddypress #item-body #subnav li.last:focus,#buddypress #item-body #subnav li.last:hover{background:0 0}.groups.group-members #subnav ul:after,.groups.group-members #subnav ul:before{content:" ";display:table}.groups.group-members #subnav ul{padding:5px 0}.groups.group-members #subnav li #search-members-form{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left}@media screen and (max-width:400px){.groups.group-members #subnav li{background:#fff;padding:10px 0;width:100%!important}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}@media screen and (min-width:783px){.groups.group-members #subnav li #search-members-form{margin-left:3px}.send-invites #buddypress #item-body{border-top:1px solid #bebebe}}@media screen and (max-width:400px){.send-invites #buddypress #item-body .left-menu{float:none}.send-invites #buddypress #item-body .left-menu #invite-list{height:auto;width:auto}.send-invites #buddypress #item-body .main-column{margin-left:0}}.send-invites #buddypress #item-body li img.avatar{display:block;float:none;margin:10px auto}.send-invites #buddypress #item-body li .action{margin-top:10px;text-align:left;width:100%}@media screen and (min-width:38.75em){.send-invites #buddypress #item-body li .action{text-align:right}}@media screen and (min-width:594px){.send-invites #buddypress #item-body #invite-list{width:160px}.send-invites #buddypress #item-body .main-column{margin-left:190px}.send-invites #buddypress #item-body li img.avatar{float:left;margin:0 10px 0 0}}#buddypress .profile .bp-widget h2{background:#949494;color:#fff;padding:.4em .2em}#buddypress .profile #profile-edit-form .button-nav:after,#buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}#buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid rgba(0,0,0,.1);margin-left:0}#buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}#buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid rgba(0,0,0,.1);border-bottom-color:#fff;margin-bottom:-1px}#buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}#buddypress .profile #profile-edit-form .field-visibility-settings,#buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}#buddypress .profile #profile-edit-form .field-visibility-settings-close,#buddypress .profile #profile-edit-form .visibility-toggle-link{background:#000;color:#fff;padding:.2em .5em}#buddypress table#message-threads{border-left:1px solid rgba(0,0,0,.2);border-right:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tbody>tr:first-child td.bulk-select-check,#buddypress table#message-threads tbody>tr:first-child td.thread-from{border-top:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tr td{background:#fff;border-right:0!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:left}#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{border-bottom-color:rgba(0,0,0,.2);border-bottom-width:2px;border-left:0;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:549px){#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{padding-top:0}}#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{border-left:0;height:2.6em}#buddypress table#message-threads tr td.thread-from,#buddypress table#message-threads tr td.thread-options{border-left:0;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}#buddypress table#message-threads tr td.thread-info{border-left:0;padding-left:41px;width:100%}#buddypress table#message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}#buddypress table#message-threads tr td.thread-options{text-align:right}#buddypress table#message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}#buddypress table#message-threads tr span.from{display:none}#buddypress table#message-threads tr span.activity{display:block;float:right;line-height:2}@media screen and (max-width:320px){#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{height:5.2em}#buddypress table#message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}#buddypress table#message-threads tr.unread td{background:#f1f4ff;border-color:rgba(0,0,0,.2);border-top:0;border-width:1px}#buddypress table#message-threads th{display:none}#buddypress table#message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}#buddypress table#message-threads td.bulk-select-check,#buddypress table#message-threads td.thread-star,#buddypress table#message-threads th.bulk-select-all{border-right:0;width:30px}#buddypress #message-thread #message-subject{background:#4d4d4d;color:#fff;padding:.5em}#buddypress #message-thread .message-box .message-metadata{margin-bottom:10px}#buddypress #message-thread .message-box .message-content{clear:left;margin-left:0}#buddypress .acfb-holder{list-style:none;margin:0}#buddypress .acfb-holder li{margin-left:0}#buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}#buddypress .acfb-holder li.friend-tab span.p{padding-left:10px}#buddypress .acfb-holder li.friend-tab span.p:focus,#buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}#buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}#buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}#buddypress #message-threads.sitewide-notices td,#buddypress table.profile-settings{width:100%}#buddypress #message-threads.sitewide-notices td strong{background:#4d4d4d;color:#fff;font-size:16px;font-size:1rem;display:block;margin-bottom:.4em;padding:.2em}#buddypress #message-threads.sitewide-notices td a{display:inline-block;line-height:initial}#buddypress #message-threads.sitewide-notices td:first-child{display:none}#buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}#buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}#buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:rgba(0,0,0,.2);line-height:1;text-align:right}#buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}#buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-left:10px}.bp-user .ac_results ul{margin:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}#buddypress #settings-form>p{font-size:20px;font-size:1.25rem}#buddypress table.notification-settings td.no,#buddypress table.notification-settings td.yes{vertical-align:middle}#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:401px){#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:70%}}#buddypress #send-reply.standard-form textarea,#buddypress .standard-form input[type=submit],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form textarea,#buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress input[type=submit],#buddypress input[type=text],#buddypress input[type=email],#buddypress input[type=password],#buddypress select,#buddypress textarea{border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{clear:both;float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid #ccc;overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{border:0;font-size:14px;font-size:.875rem;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:80%;border-right:1px solid #ccc;padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:401px){#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}#buddypress div.dir-search,#buddypress div.message-search{clear:none;float:right}#buddypress div.message-search{margin:3px 0 0}}#buddypress table{border-color:rgba(0,0,0,.2)}#buddypress table .alt a{color:#22820c}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen.scss b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen.scss index 5e7f93ba4a4b96c3841ea66c69946b8f28d99773..a589a5ebfb7eda3bc9c73cb64c2232103c89d419 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen.scss +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyfourteen.scss @@ -126,7 +126,7 @@ $spacing-val-xs: 5px; $content-background: #fff; $dark-back-text-color: #fff; $light-background: #f7f7f7; -$medium-background: #999; +$medium-background: #949494; $dark-background: #000; $border-color: #000; // border color can be varied using rgba $border-med: rgba(#000, 0.2); @@ -286,6 +286,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ width: auto; } } + + a { + color: #1b6e08; + } } } } @@ -332,6 +336,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ border-bottom: 0; } + a { + color: #1b6e08; + } + } // close #subnav } // close .directory #buddypress @@ -417,7 +425,7 @@ $nav-background-border: #bebebe; &:focus, &:hover { - background: $nav-background-border; + background: lighten($nav-background-border, 20%); } span { @@ -446,7 +454,7 @@ $nav-background-border: #bebebe; li:focus, li:hover { - background: $nav-background-border; + background: lighten($nav-background-border, 20%); } li.current { @@ -837,6 +845,10 @@ body.activity-permalink { margin-left: 70px; } + a { + color: #1b6e08; + } + ul { background: rgba($light-background, 0.6); margin: 30px 0 0 2px; @@ -847,6 +859,10 @@ body.activity-permalink { padding-left: 2%; } + .acomment-meta { + color: #737373; + } + // Display the user avatar stacked up to 594px // reduce/widen the content margins @media screen and (max-width: 400px) { @@ -1013,7 +1029,7 @@ body.activity-permalink { margin: 0 0 0 $spacing-val-md; width: auto; - h3 { + h2 { @include font-size(20); } } @@ -1136,7 +1152,7 @@ body.activity-permalink { } ul { - color: lighten($body-text, 30%); + color: lighten($body-text, 25%); } } @@ -1147,7 +1163,7 @@ body.activity-permalink { .groups.manage-members { #group-settings-form { - h4 {margin-top: $spacing-val-lg;} + h3 {margin-top: $spacing-val-lg;} .item-list { background: $light-background; @@ -1162,7 +1178,11 @@ body.activity-permalink { h5 { clear: none; float: left; - > a {border-bottom: 0;} + + > a { + border-bottom: 0; + color: #22830c; + } } span.small { @@ -1353,7 +1373,7 @@ body.activity-permalink { .profile { .bp-widget { - h4 { + h2 { background: $medium-background; color: #fff; padding: 0.4em 0.2em; @@ -1848,6 +1868,10 @@ body.activity-permalink { #buddypress { table { border-color: $border-med; + + .alt a { + color: #22820c; + } } } /*__ User Account tables __*/ diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen-rtl.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen-rtl.css index dc3489bb7ea6f67e120946278f01ec78b58c7c5e..e86f4f10b544fc54fabad29188571081a16eb369 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen-rtl.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen-rtl.css @@ -58,6 +58,16 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @section 1.0 - Theme - Structural Elements. overrides, Globals *------------------------------------------------------------------------------- */ +/** +* Corrective measure to deal with 2016 / BP handling of no-js +* classes - hide menu if BP still showing 'no-js'. +*/ +@media screen and (max-width: 905px) { + html.js body.no-js .site-header-menu { + display: none; + } +} + .buddypress div.clear { display: none; } @@ -149,6 +159,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding: 0; } +#buddypress div.item-list-tabs ul li a { + color: #0073c1; +} + #buddypress div.item-list-tabs ul li a span { border-radius: 25%; } @@ -200,10 +214,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } } -#buddypress #object-nav ul li:not(.selected) a { - opacity: 0.7; -} - @media screen and (max-width: 38.75em) { #buddypress #object-nav ul li:not(.selected):focus, #buddypress #object-nav ul li:not(.selected):hover { background: #f4f2df; @@ -651,6 +661,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ font-size: 0.875rem; } +#buddypress #activity-stream li .activity-content .activity-header a { + color: #0075c4; +} + @media screen and (min-width: 46.25em) { #buddypress #activity-stream li .activity-avatar { float: right; @@ -693,6 +707,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #buddypress #activity-stream .activity-content .activity-header p { background-color: #f7f7f7; border: 1px solid rgba(234, 234, 234, 0.6); + color: #727272; margin-top: 0; padding: 0 0.2em; } @@ -767,9 +782,18 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #buddypress #activity-stream .activity-comments ul { background: rgba(247, 247, 247, 0.6); + color: #737373; margin: 15px 2px 0 0; } +#buddypress #activity-stream .activity-comments ul a { + color: #0077c7; +} + +#buddypress #activity-stream .activity-comments .acomment-meta { + color: #737373; +} + #buddypress #activity-stream .activity-comments .ac-form input[type="submit"], #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { color: rgba(20, 20, 18, 0.8); @@ -938,7 +962,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .single-item.groups #buddypress div#item-header #item-actions { order: 3; } - .single-item.groups #buddypress div#item-header #item-actions h3 { + .single-item.groups #buddypress div#item-header #item-actions h2 { border-bottom: 1px solid #eaeaea; text-align: center; } @@ -974,14 +998,14 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding-right: 0; } -.single-item.groups #buddypress div#item-header div#item-actions h3 { +.single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 14px; font-size: 0.875rem; padding: 0.2em; } @media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions h3 { + .single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 16px; font-size: 1rem; } @@ -1060,7 +1084,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @subsection 6.2.1.1 - Group Management *----------------------------------------- */ -.groups #group-settings-form h4 { +.groups #group-settings-form h3 { background: #555; color: #fff; padding: 0.2em; @@ -1195,6 +1219,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ font-size: 0.75rem; } +.bp-user #buddypress table a { + color: #0074c2; +} + @media screen and (min-width: 61.5625em) { .bp-user #buddypress table th { font-size: 16px; @@ -1264,7 +1292,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ /* Edit profile */ } -.bp-user #buddypress .profile .bp-widget h4 { +.bp-user #buddypress .profile .bp-widget h2 { background: #6f6f6f; color: #fff; margin-bottom: 0; @@ -1695,6 +1723,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ border-width: 1px; } +#buddypress .standard-form select { + color: #737373; +} + #buddypress #signup_form.standard-form div.submit { float: none; } diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen-rtl.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen-rtl.min.css index aea95e8bcf0e5b4f97fc06dd378fb5f91333a3fb..49b3121648cf4743650e72276590796bece48dac 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen-rtl.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress #message-threads tr td.thread-star,.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.buddypress div.clear{display:none}.buddypress #page a{box-shadow:none;text-decoration:none!important}.buddypress .entry-title{text-align:center}@media screen and (min-width:44.375em){.buddypress #primary{float:none;margin:0;width:auto}.buddypress #primary .entry-header{margin:0}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-right:7.6923%;margin-left:7.6923%}.buddypress .sidebar{float:none;margin-right:0;padding:0 7.6923%;width:auto}}@media screen and (min-width:61.5625em){.buddypress .entry-title{text-align:right}.buddypress #primary{float:right;margin-left:-100%;width:70%}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-right:0;margin-left:0}.buddypress .sidebar{float:right;margin-right:75%;padding:0;width:25%}}.buddypress.no-sidebar #primary{float:none;margin:0;width:auto}#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:38.75em){.bp-user #buddypress #object-nav{background:#f7f5e7;border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f4f2df}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 0 5px 5px;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:right}#buddypress div#subnav.item-list-tabs ul li.last{text-align:left}}@media screen and (min-width:55em){body.no-sidebar #buddypress #item-body,body.no-sidebar #buddypress #item-header{background:#fff}body.no-sidebar #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body.no-sidebar #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.no-sidebar #buddypress #object-nav ul li{float:none;overflow:hidden}body.no-sidebar #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body.no-sidebar #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 20px 0 0;width:auto}body.no-sidebar #buddypress #item-body #subnav{margin:0 -20px 0 0}body.no-sidebar #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:inherit;color:#000}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:10px}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-right:15%}}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-width:44.375em){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}#buddypress ul.item-list li .item .item-title{text-align:right}}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.75rem;padding:10px 0;text-align:right}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:5%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-20px;margin-right:0;padding:20px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;padding-right:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:left}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-right:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:61.5625em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:16px;font-size:1rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:right;width:20%}.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:5%;width:69%}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:12px;font-size:.75rem}@media screen and (min-width:61.5625em){.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:75em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:right;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h4{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star{line-height:1.2}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-right:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-right:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:#b7b7b7;line-height:1;text-align:left}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-right:10px}.bp-user .ac_results ul{margin:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:100%;border-left:1px solid rgba(212,208,186,.6);padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:75em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit} \ No newline at end of file +@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress #message-threads tr td.thread-star,.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}@media screen and (max-width:905px){html.js body.no-js .site-header-menu{display:none}}.buddypress div.clear{display:none}.buddypress #page a{box-shadow:none;text-decoration:none!important}.buddypress .entry-title{text-align:center}@media screen and (min-width:44.375em){.buddypress #primary{float:none;margin:0;width:auto}.buddypress #primary .entry-header{margin:0}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-right:7.6923%;margin-left:7.6923%}.buddypress .sidebar{float:none;margin-right:0;padding:0 7.6923%;width:auto}}@media screen and (min-width:61.5625em){.buddypress .entry-title{text-align:right}.buddypress #primary{float:right;margin-left:-100%;width:70%}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-right:0;margin-left:0}.buddypress .sidebar{float:right;margin-right:75%;padding:0;width:25%}}.buddypress.no-sidebar #primary{float:none;margin:0;width:auto}#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a{color:#0073c1}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:38.75em){.bp-user #buddypress #object-nav{background:#f7f5e7;border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f4f2df}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 0 5px 5px;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:right}#buddypress div#subnav.item-list-tabs ul li.last{text-align:left}}@media screen and (min-width:55em){body.no-sidebar #buddypress #item-body,body.no-sidebar #buddypress #item-header{background:#fff}body.no-sidebar #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body.no-sidebar #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.no-sidebar #buddypress #object-nav ul li{float:none;overflow:hidden}body.no-sidebar #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body.no-sidebar #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 20px 0 0;width:auto}body.no-sidebar #buddypress #item-body #subnav{margin:0 -20px 0 0}body.no-sidebar #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:inherit;color:#000}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:10px}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-right:15%}}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-width:44.375em){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}#buddypress ul.item-list li .item .item-title{text-align:right}}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.75rem;padding:10px 0;text-align:right}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:5%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-20px;margin-right:0;padding:20px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;padding-right:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:left}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream li .activity-content .activity-header a{color:#0075c4}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);color:#727272;margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-right:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);color:#737373;margin:15px 2px 0 0}#buddypress #activity-stream .activity-comments ul a{color:#0077c7}#buddypress #activity-stream .activity-comments .acomment-meta{color:#737373}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:61.5625em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h2{border-bottom:1px solid #eaeaea;text-align:center}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:16px;font-size:1rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:right;width:20%}.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:5%;width:69%}}.groups #group-settings-form h3{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:12px;font-size:.75rem}.bp-user #buddypress table a{color:#0074c2}@media screen and (min-width:61.5625em){.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:75em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:right;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h2{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star{line-height:1.2}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-right:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-right:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:#b7b7b7;line-height:1;text-align:left}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-right:10px}.bp-user .ac_results ul{margin:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress .standard-form select{color:#737373}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:100%;border-left:1px solid rgba(212,208,186,.6);padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:75em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen.css index 7d3d46cceae8e40f58e18067f5aa5a58b9048b2e..d72ffa63f159cb2acd6f4bfa37c181b4463f3e87 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen.css @@ -58,6 +58,16 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @section 1.0 - Theme - Structural Elements. overrides, Globals *------------------------------------------------------------------------------- */ +/** +* Corrective measure to deal with 2016 / BP handling of no-js +* classes - hide menu if BP still showing 'no-js'. +*/ +@media screen and (max-width: 905px) { + html.js body.no-js .site-header-menu { + display: none; + } +} + .buddypress div.clear { display: none; } @@ -149,6 +159,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding: 0; } +#buddypress div.item-list-tabs ul li a { + color: #0073c1; +} + #buddypress div.item-list-tabs ul li a span { border-radius: 25%; } @@ -200,10 +214,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } } -#buddypress #object-nav ul li:not(.selected) a { - opacity: 0.7; -} - @media screen and (max-width: 38.75em) { #buddypress #object-nav ul li:not(.selected):focus, #buddypress #object-nav ul li:not(.selected):hover { background: #f4f2df; @@ -651,6 +661,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ font-size: 0.875rem; } +#buddypress #activity-stream li .activity-content .activity-header a { + color: #0075c4; +} + @media screen and (min-width: 46.25em) { #buddypress #activity-stream li .activity-avatar { float: left; @@ -693,6 +707,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #buddypress #activity-stream .activity-content .activity-header p { background-color: #f7f7f7; border: 1px solid rgba(234, 234, 234, 0.6); + color: #727272; margin-top: 0; padding: 0 0.2em; } @@ -767,9 +782,18 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #buddypress #activity-stream .activity-comments ul { background: rgba(247, 247, 247, 0.6); + color: #737373; margin: 15px 0 0 2px; } +#buddypress #activity-stream .activity-comments ul a { + color: #0077c7; +} + +#buddypress #activity-stream .activity-comments .acomment-meta { + color: #737373; +} + #buddypress #activity-stream .activity-comments .ac-form input[type="submit"], #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { color: rgba(20, 20, 18, 0.8); @@ -938,7 +962,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .single-item.groups #buddypress div#item-header #item-actions { order: 3; } - .single-item.groups #buddypress div#item-header #item-actions h3 { + .single-item.groups #buddypress div#item-header #item-actions h2 { border-bottom: 1px solid #eaeaea; text-align: center; } @@ -974,14 +998,14 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding-left: 0; } -.single-item.groups #buddypress div#item-header div#item-actions h3 { +.single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 14px; font-size: 0.875rem; padding: 0.2em; } @media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions h3 { + .single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 16px; font-size: 1rem; } @@ -1060,7 +1084,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @subsection 6.2.1.1 - Group Management *----------------------------------------- */ -.groups #group-settings-form h4 { +.groups #group-settings-form h3 { background: #555; color: #fff; padding: 0.2em; @@ -1195,6 +1219,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ font-size: 0.75rem; } +.bp-user #buddypress table a { + color: #0074c2; +} + @media screen and (min-width: 61.5625em) { .bp-user #buddypress table th { font-size: 16px; @@ -1264,7 +1292,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ /* Edit profile */ } -.bp-user #buddypress .profile .bp-widget h4 { +.bp-user #buddypress .profile .bp-widget h2 { background: #6f6f6f; color: #fff; margin-bottom: 0; @@ -1695,6 +1723,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ border-width: 1px; } +#buddypress .standard-form select { + color: #737373; +} + #buddypress #signup_form.standard-form div.submit { float: none; } diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen.min.css index d9efd2715c1aea0a8d426c959974019743a3f225..edf2c899b5f97c9bfb0a9c47ccae19b690af4b3a 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen.min.css @@ -1 +1 @@ -@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress #message-threads tr td.thread-star,.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.buddypress div.clear{display:none}.buddypress #page a{box-shadow:none;text-decoration:none!important}.buddypress .entry-title{text-align:center}@media screen and (min-width:44.375em){.buddypress #primary{float:none;margin:0;width:auto}.buddypress #primary .entry-header{margin:0}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-left:7.6923%;margin-right:7.6923%}.buddypress .sidebar{float:none;margin-left:0;padding:0 7.6923%;width:auto}}@media screen and (min-width:61.5625em){.buddypress .entry-title{text-align:left}.buddypress #primary{float:left;margin-right:-100%;width:70%}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-left:0;margin-right:0}.buddypress .sidebar{float:left;margin-left:75%;padding:0;width:25%}}.buddypress.no-sidebar #primary{float:none;margin:0;width:auto}#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:38.75em){.bp-user #buddypress #object-nav{background:#f7f5e7;border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f4f2df}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 5px 5px 0;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:left}#buddypress div#subnav.item-list-tabs ul li.last{text-align:right}}@media screen and (min-width:55em){body.no-sidebar #buddypress #item-body,body.no-sidebar #buddypress #item-header{background:#fff}body.no-sidebar #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body.no-sidebar #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.no-sidebar #buddypress #object-nav ul li{float:none;overflow:hidden}body.no-sidebar #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body.no-sidebar #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 20px;width:auto}body.no-sidebar #buddypress #item-body #subnav{margin:0 0 0 -20px}body.no-sidebar #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:inherit;color:#000}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:10px}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-left:15%}}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-width:44.375em){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}#buddypress ul.item-list li .item .item-title{text-align:left}}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.75rem;padding:10px 0;text-align:left}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:5%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-20px;margin-left:0;padding:20px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;padding-left:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:right}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-left:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:61.5625em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:16px;font-size:1rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:left;width:20%}.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:5%;width:69%}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:12px;font-size:.75rem}@media screen and (min-width:61.5625em){.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:75em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:left;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h4{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star{line-height:1.2}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-left:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-left:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:#b7b7b7;line-height:1;text-align:right}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-left:10px}.bp-user .ac_results ul{margin:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:100%;border-right:1px solid rgba(212,208,186,.6);padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:75em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit} \ No newline at end of file +@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress #message-threads tr td.thread-star,.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}@media screen and (max-width:905px){html.js body.no-js .site-header-menu{display:none}}.buddypress div.clear{display:none}.buddypress #page a{box-shadow:none;text-decoration:none!important}.buddypress .entry-title{text-align:center}@media screen and (min-width:44.375em){.buddypress #primary{float:none;margin:0;width:auto}.buddypress #primary .entry-header{margin:0}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-left:7.6923%;margin-right:7.6923%}.buddypress .sidebar{float:none;margin-left:0;padding:0 7.6923%;width:auto}}@media screen and (min-width:61.5625em){.buddypress .entry-title{text-align:left}.buddypress #primary{float:left;margin-right:-100%;width:70%}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-left:0;margin-right:0}.buddypress .sidebar{float:left;margin-left:75%;padding:0;width:25%}}.buddypress.no-sidebar #primary{float:none;margin:0;width:auto}#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a{color:#0073c1}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:38.75em){.bp-user #buddypress #object-nav{background:#f7f5e7;border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f4f2df}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 5px 5px 0;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:left}#buddypress div#subnav.item-list-tabs ul li.last{text-align:right}}@media screen and (min-width:55em){body.no-sidebar #buddypress #item-body,body.no-sidebar #buddypress #item-header{background:#fff}body.no-sidebar #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body.no-sidebar #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.no-sidebar #buddypress #object-nav ul li{float:none;overflow:hidden}body.no-sidebar #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body.no-sidebar #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 20px;width:auto}body.no-sidebar #buddypress #item-body #subnav{margin:0 0 0 -20px}body.no-sidebar #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:inherit;color:#000}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:10px}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-left:15%}}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-width:44.375em){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}#buddypress ul.item-list li .item .item-title{text-align:left}}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.75rem;padding:10px 0;text-align:left}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:5%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-20px;margin-left:0;padding:20px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;padding-left:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:right}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream li .activity-content .activity-header a{color:#0075c4}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);color:#727272;margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-left:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);color:#737373;margin:15px 0 0 2px}#buddypress #activity-stream .activity-comments ul a{color:#0077c7}#buddypress #activity-stream .activity-comments .acomment-meta{color:#737373}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:61.5625em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h2{border-bottom:1px solid #eaeaea;text-align:center}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:16px;font-size:1rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:left;width:20%}.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:5%;width:69%}}.groups #group-settings-form h3{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:12px;font-size:.75rem}.bp-user #buddypress table a{color:#0074c2}@media screen and (min-width:61.5625em){.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:75em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:left;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h2{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star{line-height:1.2}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-left:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-left:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:#b7b7b7;line-height:1;text-align:right}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-left:10px}.bp-user .ac_results ul{margin:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress .standard-form select{color:#737373}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:100%;border-right:1px solid rgba(212,208,186,.6);padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:75em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen.scss b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen.scss index 7c8be09a54472e16e9e2aea8a76209ca5f70e796..8a1c226419f479f24ac98353d022d2264c1fff55 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen.scss +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentysixteen.scss @@ -235,7 +235,31 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ *------------------------------------------------------------------------------- */ +// A conflict between BP's body.no-js being removed only +// when the DOM is fully loaded & Twentysixteens hardcoded +// class on the html el & scripting in head at start of DOM +// causes mobile menu to stay opened too long. +// This ruleset hides menu if html.js (2016 JS has kicked in) but BP still +// rendering body.no-js before it's own JS removal kicks in. +// See trac ticket https://buddypress.trac.wordpress.org/ticket/7314 +/** +* Corrective measure to deal with 2016 / BP handling of no-js +* classes - hide menu if BP still showing 'no-js'. +*/ + +@media screen and (max-width: 905px) { + + html.js { + + body.no-js { + + .site-header-menu { + display: none; + } + } + } +} .buddypress { // Remove any empty clearing elements, CSS provides clearing. @@ -363,6 +387,8 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ li { a { + color: #0073c1; + span {border-radius: 25%;} } } @@ -439,7 +465,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } li:not(.selected) { - a {opacity: 0.7;} @media screen and (max-width: 38.75em) { &:focus, @@ -978,6 +1003,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .activity-header { @include font-size(14); + + a { + color: #0075c4; + } } } @@ -1031,6 +1060,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ p { background-color: $light-background; border: 1px solid rgba($border-light, 0.6); + color: #727272; margin-top: 0; padding: 0 0.2em; } @@ -1114,7 +1144,16 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ ul { background: rgba($light-background, 0.6); + color: #737373; margin: 15px 0 0 2px; + + a { + color: #0077c7; + } + } + + .acomment-meta { + color: #737373; } .ac-form { @@ -1323,7 +1362,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #item-actions { order: 3; - h3 { + h2 { border-bottom: 1px solid $border-light; text-align: center; } @@ -1355,7 +1394,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding-left: 0; } - h3 { + h2 { @include font-size(14); @media screen and (min-width: 46.25em) { @@ -1464,7 +1503,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ // headings settings screens & general global settings styles .groups { #group-settings-form { - h4 { + h3 { background: $dark-background; color: $content-background; padding: 0.2em; @@ -1618,6 +1657,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ table { th {@include font-size(14)} td {@include font-size(12)} + a { color: #0074c2; } @include medium-up { th {@include font-size(16)} @@ -1679,7 +1719,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .profile { .bp-widget { - h4 { + h2 { background: lighten($dark-background, 10%); color: #fff; margin-bottom: 0; @@ -2180,6 +2220,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ border-width: 1px; } + select { + color: #737373; + } + } // close .standard-form #signup_form.standard-form { diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten-rtl.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten-rtl.css index c463d466c717cf0b4beadfea6c26d2cc1666cb7e..8ff3b8770b7d64458791350c7480e6496bc672a9 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten-rtl.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten-rtl.css @@ -913,7 +913,7 @@ body.page-template-onecolumn-page #content .entry-content { .single-item.groups #buddypress div#item-header #item-actions { order: 3; } - .single-item.groups #buddypress div#item-header #item-actions h3 { + .single-item.groups #buddypress div#item-header #item-actions h2 { border-bottom: 1px solid #eaeaea; text-align: center; } @@ -955,7 +955,7 @@ body.page-template-onecolumn-page #content .entry-content { padding-right: 0; } -.single-item.groups #buddypress div#item-header div#item-actions h3 { +.single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 14px; font-size: 0.9333333333rem; font-weight: bold; @@ -1008,7 +1008,7 @@ body.page-template-onecolumn-page #content .entry-content { padding-top: 0 !important; width: auto; } - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h3 { + .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2 { border-bottom: 1px solid #eaeaea; } } @@ -1078,7 +1078,7 @@ body.page-template-onecolumn-page #content .entry-content { * @subsection 6.2.1.1 - Group Management *----------------------------------------- */ -.groups #group-settings-form h4 { +.groups #group-settings-form h3 { background: #555; color: #fff; padding: 0.2em; @@ -1277,7 +1277,7 @@ body.page-template-onecolumn-page #content .entry-content { * @subsection 6.2.2.2 - Extended Profiles *------------------------------------------- */ -.bp-user #buddypress .profile .bp-widget h4 { +.bp-user #buddypress .profile .bp-widget h2 { background: #6f6f6f; color: #fff; margin-bottom: 0; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten-rtl.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten-rtl.min.css index 77ef3c0f62926711dce628c6a92dc5aef31ac5d9..36ca8321d70bbd7579c441239d6d86fd051d544a 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten-rtl.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";.buddypress div.clear{display:none}body.page-template-onecolumn-page #main #container{margin:0}body.page-template-onecolumn-page #content{margin:0 10%;width:auto}body.page-template-onecolumn-page #content .entry-content,body.page-template-onecolumn-page #content .entry-header{width:auto}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a:focus,#buddypress div.item-list-tabs ul li a:hover{color:#555}#buddypress div.item-list-tabs ul li a:visited{color:#21759b}#buddypress div.item-list-tabs ul li a span{padding:0 4px!important}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (min-width:650px){#buddypress #object-nav ul li{float:right}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{border-bottom:0;border-top:1px solid #d4d0ba;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;float:left;margin-top:0;padding:5px 0;text-align:left;width:230px}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.9333333333rem}#buddypress div#subnav.item-list-tabs ul li.last select{font-style:italic}#buddypress div#subnav.item-list-tabs ul li.last select option{font-style:normal}#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress div#subnav.item-list-tabs li.last{margin-right:0;text-align:left}@media screen and (min-width:800px){body.bp-user #buddypress #item-body,body.bp-user #buddypress #item-header{background:#fff}body.bp-user #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body.bp-user #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.bp-user #buddypress #object-nav ul li{float:none;margin-bottom:5px}body.bp-user #buddypress #object-nav ul li a{overflow:hidden}body.bp-user #buddypress #object-nav ul li.selected{background:#ddd}body.bp-user #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body.bp-user #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 25px 0 0;width:auto}body.bp-user #buddypress #item-body #subnav{margin:0 -25px 0 0}body.bp-user #buddypress #item-body #subnav ul{margin-top:0}}@media only screen and (min-device-width:375px){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#373737;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream li .activity-header a:visited,#buddypress ul.item-list li .item .item-title>a:visited{color:#21759b}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress ul.item-list{border-top:0}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:15px;text-align:center}@media only screen and (min-device-width:375px){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:15px}@media only screen and (min-device-width:450px){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right;opacity:1}}#buddypress ul.item-list li .item{margin-right:0;overflow:hidden}#buddypress ul.item-list li .item .item-meta{text-align:center}@media screen and (min-width:650px){#buddypress ul.item-list li .item .item-meta{text-align:right}}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:16px;font-size:1.0666666667rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-device-width:450px){#buddypress ul.item-list li .item .item-title{text-align:right}}#buddypress ul.item-list li .item .item-title>a{text-decoration:none}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.8rem;padding:15px 0;text-align:right}@media screen and (min-width:650px){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.9333333333rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:5%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.2rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin:0;padding:15px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:650px){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:5px 0;width:100%}#buddypress #activity-stream li.load-newest a,#buddypress ul.item-list li div.action div a{display:block}@media only screen and (min-device-width:375px){#buddypress ul.item-list li div.action div{margin:0 0 5px 15px;width:auto}}@media screen and (min-width:650px){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 15px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;font-size:12px;font-size:.8rem;line-height:1.6;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;max-width:220px;min-height:1.5em;padding:0 .4em 0 0}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{font-size:12px;font-size:.8rem;float:left}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input{padding:0 6px}}#buddypress #item-body form#whats-new-form{margin:50px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:25px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-comments,#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li .activity-inner img{height:auto}@media screen and (min-width:650px){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:15px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.0666666667rem}#buddypress #activity-stream li .activity-comments{margin-right:70px}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li.mini .activity-content .activity-meta a{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{border-bottom:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;font-size:14px;font-size:.9333333333rem;margin-bottom:5px;padding:.2em .5em}@media screen and (min-width:650px){#buddypress #activity-stream .activity-content .activity-meta a{float:right;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:15px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:25px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.0666666667rem;margin-bottom:50px}@media screen and (min-width:650px){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.3333333333rem}#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}.activity-permalink #buddypress #activity-stream .activity-comments{margin-right:0}#buddypress #activity-stream .activity-comments{position:relative}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}#buddypress #activity-stream .activity-comments>ul>li:hover *{color:#555}#buddypress #activity-stream .activity-comments>ul>li .acomment-content,#buddypress #activity-stream .activity-comments>ul>li .acomment-meta{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-comments .ac-form{border:1px solid #d4d0ba;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:15px 0;width:100%}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(55,55,55,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.8rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:37.5em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user #buddypress a:visited{color:#21759b}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.9333333333rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:37.5em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.bp-user #buddypress #item-header-content .user-nicename,.single-item.groups #buddypress #item-header-content .user-nicename{color:#555}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}.single-item.groups #buddypress #item-header #item-meta{margin-bottom:25px}}@media screen and (max-width:50em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:50px}.single-item.groups #buddypress div#item-header #item-header-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.single-item.groups #buddypress div#item-header div#item-actions{margin:0!important;width:100%}@media screen and (min-width:50em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions{width:40%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.9333333333rem;font-weight:700;line-height:1.4}.single-item.groups #buddypress div#item-header div#item-actions #group-admins li,.single-item.groups #buddypress div#item-header div#item-actions #group-mods li{margin:0}@media screen and (min-width:650px){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:2%;padding:0 .5em}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}@media screen and (min-width:64em){.single-item.groups #buddypress div#item-header #item-header-content{width:40%}}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{margin-top:225px!important}@media screen and (min-width:50em) and (max-width:60em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content{max-width:60%!important;width:60%!important}}@media screen and (max-width:64em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{border:0;clear:both;margin-top:0!important;max-width:100%!important;padding-top:0!important;width:auto}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h3{border-bottom:1px solid #eaeaea}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-cover-image .user-nicename{color:inherit;text-shadow:none}@media screen and (min-width:800px){.bp-user #buddypress #item-header #item-header-cover-image .user-nicename{color:#fff;text-shadow:0 0 3px rgba(0,0,0,.8)}}.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button{margin-left:5px}@media screen and (min-width:650px){.bp-user #buddypress #item-header #item-header-avatar,.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:0;width:69%}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.9333333333rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{font-weight:700;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(55,55,55,.6);font-size:14px;font-size:.9333333333rem}.groups.group-avatar form>p{margin-top:25px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:15px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:block;margin:5px 0}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0}.groups.group-members #subnav li #search-members-form label input[type=text]{box-shadow:none}.bp-user #buddypress table th{font-size:13px;font-size:.8666666667rem}.bp-user #buddypress table td{font-size:12px;font-size:.8rem}@media screen and (min-width:650px){.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block}.bp-user #buddypress table th{font-size:16px;font-size:1.0666666667rem}.bp-user #buddypress table td{font-size:14px;font-size:.9333333333rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:right;width:100%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:60%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:.9333333333rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:49%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:auto}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;margin-right:1%;width:50%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{width:auto}}.bp-user #buddypress .messages-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .messages-options-nav input[disabled=disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:hover{background:0 0}.bp-user #buddypress .profile .bp-widget h4{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.2rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{margin:5px 0 25px}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#6f6f6f;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box;color:#eee;font-weight:700;padding:.1em .5em;text-decoration:none}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover{color:#fff}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread #message-recipients .highlight{font-size:100%}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:15px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom:1px solid #ccc;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star{vertical-align:middle}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star,.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar{line-height:1.2}.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.8rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.8rem;line-height:1.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:37.5em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.7333333333rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{border-color:#eaeaea}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress #send_message_form input,.bp-user #buddypress #send_message_form textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-right:15px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices tr{margin:3em 0}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-right:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td a.button{border:1px solid #d4d0ba;line-height:initial;padding:.4em .3em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{line-height:1;padding-bottom:1em;text-align:left}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-right:15px}.bp-user .ac_results li{margin:15px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user .ac_results li img{vertical-align:bottom}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.3333333333rem;margin:25px 0 15px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form textarea{border-width:1px;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:15px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{border:0;border-radius:0;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:14px;font-size:.9333333333rem;line-height:1.8;margin:0;min-height:2rem}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{border-left:1px solid rgba(212,208,186,.6);float:right;margin:0;padding:0 .2em;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:0 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-device-width:450px){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:800px){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress table{font-size:14px;font-size:.9333333333rem;margin:25px 0}.bp-user #buddypress table input{margin:0}.bp-user #buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff;font-size:16px;font-size:1.0666666667rem;padding:4px 8px;text-transform:capitalize}.bp-user #buddypress table tr td{padding:8px}.bp-user #buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){.bp-user #buddypress table{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress .messages-notices th,.bp-user #buddypress .notifications th{width:30%}.bp-user #buddypress .messages-notices th.bulk-select-all,.bp-user #buddypress .notifications th.bulk-select-all{text-align:center;width:10%}.bp-user #buddypress .messages-notices .bulk-select-check,.bp-user #buddypress .messages-notices .notification-actions,.bp-user #buddypress .messages-notices .thread-star,.bp-user #buddypress .messages-notices td.thread-options,.bp-user #buddypress .messages-notices th.actions,.bp-user #buddypress .notifications .bulk-select-check,.bp-user #buddypress .notifications .notification-actions,.bp-user #buddypress .notifications .thread-star,.bp-user #buddypress .notifications td.thread-options,.bp-user #buddypress .notifications th.actions{text-align:center}.bp-user #buddypress .messages-notices .notification-actions a,.bp-user #buddypress .messages-notices td.thread-options a,.bp-user #buddypress .notifications .notification-actions a,.bp-user #buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}.bp-user #buddypress .messages-notices td .button,.bp-user #buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.2rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file +@charset "UTF-8";.buddypress div.clear{display:none}body.page-template-onecolumn-page #main #container{margin:0}body.page-template-onecolumn-page #content{margin:0 10%;width:auto}body.page-template-onecolumn-page #content .entry-content,body.page-template-onecolumn-page #content .entry-header{width:auto}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a:focus,#buddypress div.item-list-tabs ul li a:hover{color:#555}#buddypress div.item-list-tabs ul li a:visited{color:#21759b}#buddypress div.item-list-tabs ul li a span{padding:0 4px!important}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (min-width:650px){#buddypress #object-nav ul li{float:right}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{border-bottom:0;border-top:1px solid #d4d0ba;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;float:left;margin-top:0;padding:5px 0;text-align:left;width:230px}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.9333333333rem}#buddypress div#subnav.item-list-tabs ul li.last select{font-style:italic}#buddypress div#subnav.item-list-tabs ul li.last select option{font-style:normal}#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress div#subnav.item-list-tabs li.last{margin-right:0;text-align:left}@media screen and (min-width:800px){body.bp-user #buddypress #item-body,body.bp-user #buddypress #item-header{background:#fff}body.bp-user #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body.bp-user #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.bp-user #buddypress #object-nav ul li{float:none;margin-bottom:5px}body.bp-user #buddypress #object-nav ul li a{overflow:hidden}body.bp-user #buddypress #object-nav ul li.selected{background:#ddd}body.bp-user #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body.bp-user #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 25px 0 0;width:auto}body.bp-user #buddypress #item-body #subnav{margin:0 -25px 0 0}body.bp-user #buddypress #item-body #subnav ul{margin-top:0}}@media only screen and (min-device-width:375px){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#373737;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream li .activity-header a:visited,#buddypress ul.item-list li .item .item-title>a:visited{color:#21759b}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress ul.item-list{border-top:0}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:15px;text-align:center}@media only screen and (min-device-width:375px){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:15px}@media only screen and (min-device-width:450px){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right;opacity:1}}#buddypress ul.item-list li .item{margin-right:0;overflow:hidden}#buddypress ul.item-list li .item .item-meta{text-align:center}@media screen and (min-width:650px){#buddypress ul.item-list li .item .item-meta{text-align:right}}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:16px;font-size:1.0666666667rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-device-width:450px){#buddypress ul.item-list li .item .item-title{text-align:right}}#buddypress ul.item-list li .item .item-title>a{text-decoration:none}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.8rem;padding:15px 0;text-align:right}@media screen and (min-width:650px){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.9333333333rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:5%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.2rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin:0;padding:15px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:650px){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:5px 0;width:100%}#buddypress #activity-stream li.load-newest a,#buddypress ul.item-list li div.action div a{display:block}@media only screen and (min-device-width:375px){#buddypress ul.item-list li div.action div{margin:0 0 5px 15px;width:auto}}@media screen and (min-width:650px){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 15px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;font-size:12px;font-size:.8rem;line-height:1.6;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;max-width:220px;min-height:1.5em;padding:0 .4em 0 0}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{font-size:12px;font-size:.8rem;float:left}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input{padding:0 6px}}#buddypress #item-body form#whats-new-form{margin:50px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:25px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-comments,#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li .activity-inner img{height:auto}@media screen and (min-width:650px){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:15px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.0666666667rem}#buddypress #activity-stream li .activity-comments{margin-right:70px}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li.mini .activity-content .activity-meta a{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{border-bottom:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;font-size:14px;font-size:.9333333333rem;margin-bottom:5px;padding:.2em .5em}@media screen and (min-width:650px){#buddypress #activity-stream .activity-content .activity-meta a{float:right;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:15px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:25px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.0666666667rem;margin-bottom:50px}@media screen and (min-width:650px){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.3333333333rem}#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}.activity-permalink #buddypress #activity-stream .activity-comments{margin-right:0}#buddypress #activity-stream .activity-comments{position:relative}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}#buddypress #activity-stream .activity-comments>ul>li:hover *{color:#555}#buddypress #activity-stream .activity-comments>ul>li .acomment-content,#buddypress #activity-stream .activity-comments>ul>li .acomment-meta{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-comments .ac-form{border:1px solid #d4d0ba;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:15px 0;width:100%}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(55,55,55,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.8rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:37.5em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user #buddypress a:visited{color:#21759b}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.9333333333rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:37.5em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.bp-user #buddypress #item-header-content .user-nicename,.single-item.groups #buddypress #item-header-content .user-nicename{color:#555}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}.single-item.groups #buddypress #item-header #item-meta{margin-bottom:25px}}@media screen and (max-width:50em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h2{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:50px}.single-item.groups #buddypress div#item-header #item-header-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.single-item.groups #buddypress div#item-header div#item-actions{margin:0!important;width:100%}@media screen and (min-width:50em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions{width:40%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:14px;font-size:.9333333333rem;font-weight:700;line-height:1.4}.single-item.groups #buddypress div#item-header div#item-actions #group-admins li,.single-item.groups #buddypress div#item-header div#item-actions #group-mods li{margin:0}@media screen and (min-width:650px){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:2%;padding:0 .5em}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}@media screen and (min-width:64em){.single-item.groups #buddypress div#item-header #item-header-content{width:40%}}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{margin-top:225px!important}@media screen and (min-width:50em) and (max-width:60em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content{max-width:60%!important;width:60%!important}}@media screen and (max-width:64em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{border:0;clear:both;margin-top:0!important;max-width:100%!important;padding-top:0!important;width:auto}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2{border-bottom:1px solid #eaeaea}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-cover-image .user-nicename{color:inherit;text-shadow:none}@media screen and (min-width:800px){.bp-user #buddypress #item-header #item-header-cover-image .user-nicename{color:#fff;text-shadow:0 0 3px rgba(0,0,0,.8)}}.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button{margin-left:5px}@media screen and (min-width:650px){.bp-user #buddypress #item-header #item-header-avatar,.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:0;width:69%}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}}.groups #group-settings-form h3{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.9333333333rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{font-weight:700;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(55,55,55,.6);font-size:14px;font-size:.9333333333rem}.groups.group-avatar form>p{margin-top:25px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:15px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:block;margin:5px 0}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0}.groups.group-members #subnav li #search-members-form label input[type=text]{box-shadow:none}.bp-user #buddypress table th{font-size:13px;font-size:.8666666667rem}.bp-user #buddypress table td{font-size:12px;font-size:.8rem}@media screen and (min-width:650px){.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block}.bp-user #buddypress table th{font-size:16px;font-size:1.0666666667rem}.bp-user #buddypress table td{font-size:14px;font-size:.9333333333rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:right;width:100%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:60%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:.9333333333rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:49%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:auto}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;margin-right:1%;width:50%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{width:auto}}.bp-user #buddypress .messages-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .messages-options-nav input[disabled=disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:hover{background:0 0}.bp-user #buddypress .profile .bp-widget h2{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.2rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{margin:5px 0 25px}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#6f6f6f;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box;color:#eee;font-weight:700;padding:.1em .5em;text-decoration:none}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover{color:#fff}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread #message-recipients .highlight{font-size:100%}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:15px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom:1px solid #ccc;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star{vertical-align:middle}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star,.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar{line-height:1.2}.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.8rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.8rem;line-height:1.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:37.5em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.7333333333rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{border-color:#eaeaea}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress #send_message_form input,.bp-user #buddypress #send_message_form textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-right:15px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices tr{margin:3em 0}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-right:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td a.button{border:1px solid #d4d0ba;line-height:initial;padding:.4em .3em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{line-height:1;padding-bottom:1em;text-align:left}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-right:15px}.bp-user .ac_results li{margin:15px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user .ac_results li img{vertical-align:bottom}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.3333333333rem;margin:25px 0 15px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form textarea{border-width:1px;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:15px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{border:0;border-radius:0;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:14px;font-size:.9333333333rem;line-height:1.8;margin:0;min-height:2rem}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{border-left:1px solid rgba(212,208,186,.6);float:right;margin:0;padding:0 .2em;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:0 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-device-width:450px){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:800px){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress table{font-size:14px;font-size:.9333333333rem;margin:25px 0}.bp-user #buddypress table input{margin:0}.bp-user #buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff;font-size:16px;font-size:1.0666666667rem;padding:4px 8px;text-transform:capitalize}.bp-user #buddypress table tr td{padding:8px}.bp-user #buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){.bp-user #buddypress table{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress .messages-notices th,.bp-user #buddypress .notifications th{width:30%}.bp-user #buddypress .messages-notices th.bulk-select-all,.bp-user #buddypress .notifications th.bulk-select-all{text-align:center;width:10%}.bp-user #buddypress .messages-notices .bulk-select-check,.bp-user #buddypress .messages-notices .notification-actions,.bp-user #buddypress .messages-notices .thread-star,.bp-user #buddypress .messages-notices td.thread-options,.bp-user #buddypress .messages-notices th.actions,.bp-user #buddypress .notifications .bulk-select-check,.bp-user #buddypress .notifications .notification-actions,.bp-user #buddypress .notifications .thread-star,.bp-user #buddypress .notifications td.thread-options,.bp-user #buddypress .notifications th.actions{text-align:center}.bp-user #buddypress .messages-notices .notification-actions a,.bp-user #buddypress .messages-notices td.thread-options a,.bp-user #buddypress .notifications .notification-actions a,.bp-user #buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}.bp-user #buddypress .messages-notices td .button,.bp-user #buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.2rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten.css index 1b7e99c323a347c113764a816d3611f584e09ec9..79975aea9ab809ead8b40c76323cafddf0fe5d84 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten.css @@ -913,7 +913,7 @@ body.page-template-onecolumn-page #content .entry-content { .single-item.groups #buddypress div#item-header #item-actions { order: 3; } - .single-item.groups #buddypress div#item-header #item-actions h3 { + .single-item.groups #buddypress div#item-header #item-actions h2 { border-bottom: 1px solid #eaeaea; text-align: center; } @@ -955,7 +955,7 @@ body.page-template-onecolumn-page #content .entry-content { padding-left: 0; } -.single-item.groups #buddypress div#item-header div#item-actions h3 { +.single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 14px; font-size: 0.9333333333rem; font-weight: bold; @@ -1008,7 +1008,7 @@ body.page-template-onecolumn-page #content .entry-content { padding-top: 0 !important; width: auto; } - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h3 { + .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2 { border-bottom: 1px solid #eaeaea; } } @@ -1078,7 +1078,7 @@ body.page-template-onecolumn-page #content .entry-content { * @subsection 6.2.1.1 - Group Management *----------------------------------------- */ -.groups #group-settings-form h4 { +.groups #group-settings-form h3 { background: #555; color: #fff; padding: 0.2em; @@ -1277,7 +1277,7 @@ body.page-template-onecolumn-page #content .entry-content { * @subsection 6.2.2.2 - Extended Profiles *------------------------------------------- */ -.bp-user #buddypress .profile .bp-widget h4 { +.bp-user #buddypress .profile .bp-widget h2 { background: #6f6f6f; color: #fff; margin-bottom: 0; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten.min.css index a53f12ad054b87f8efdad631eb948abd7f6dcf40..d8a3c98291b5372fd51fee6b19b78b8cbb2e846c 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten.min.css @@ -1 +1 @@ -@charset "UTF-8";.buddypress div.clear{display:none}body.page-template-onecolumn-page #main #container{margin:0}body.page-template-onecolumn-page #content{margin:0 10%;width:auto}body.page-template-onecolumn-page #content .entry-content,body.page-template-onecolumn-page #content .entry-header{width:auto}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a:focus,#buddypress div.item-list-tabs ul li a:hover{color:#555}#buddypress div.item-list-tabs ul li a:visited{color:#21759b}#buddypress div.item-list-tabs ul li a span{padding:0 4px!important}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (min-width:650px){#buddypress #object-nav ul li{float:left}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{border-bottom:0;border-top:1px solid #d4d0ba;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;float:right;margin-top:0;padding:5px 0;text-align:right;width:230px}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.9333333333rem}#buddypress div#subnav.item-list-tabs ul li.last select{font-style:italic}#buddypress div#subnav.item-list-tabs ul li.last select option{font-style:normal}#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress div#subnav.item-list-tabs li.last{margin-left:0;text-align:right}@media screen and (min-width:800px){body.bp-user #buddypress #item-body,body.bp-user #buddypress #item-header{background:#fff}body.bp-user #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body.bp-user #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.bp-user #buddypress #object-nav ul li{float:none;margin-bottom:5px}body.bp-user #buddypress #object-nav ul li a{overflow:hidden}body.bp-user #buddypress #object-nav ul li.selected{background:#ddd}body.bp-user #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body.bp-user #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 25px;width:auto}body.bp-user #buddypress #item-body #subnav{margin:0 0 0 -25px}body.bp-user #buddypress #item-body #subnav ul{margin-top:0}}@media only screen and (min-device-width:375px){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#373737;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream li .activity-header a:visited,#buddypress ul.item-list li .item .item-title>a:visited{color:#21759b}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress ul.item-list{border-top:0}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:15px;text-align:center}@media only screen and (min-device-width:375px){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:15px}@media only screen and (min-device-width:450px){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left;opacity:1}}#buddypress ul.item-list li .item{margin-left:0;overflow:hidden}#buddypress ul.item-list li .item .item-meta{text-align:center}@media screen and (min-width:650px){#buddypress ul.item-list li .item .item-meta{text-align:left}}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:16px;font-size:1.0666666667rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-device-width:450px){#buddypress ul.item-list li .item .item-title{text-align:left}}#buddypress ul.item-list li .item .item-title>a{text-decoration:none}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.8rem;padding:15px 0;text-align:left}@media screen and (min-width:650px){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.9333333333rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:5%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.2rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin:0;padding:15px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:650px){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:5px 0;width:100%}#buddypress #activity-stream li.load-newest a,#buddypress ul.item-list li div.action div a{display:block}@media only screen and (min-device-width:375px){#buddypress ul.item-list li div.action div{margin:0 15px 5px 0;width:auto}}@media screen and (min-width:650px){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 15px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;font-size:12px;font-size:.8rem;line-height:1.6;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;max-width:220px;min-height:1.5em;padding:0 0 0 .4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{font-size:12px;font-size:.8rem;float:right}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input{padding:0 6px}}#buddypress #item-body form#whats-new-form{margin:50px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:25px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-comments,#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li .activity-inner img{height:auto}@media screen and (min-width:650px){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:15px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.0666666667rem}#buddypress #activity-stream li .activity-comments{margin-left:70px}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li.mini .activity-content .activity-meta a{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{border-bottom:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;font-size:14px;font-size:.9333333333rem;margin-bottom:5px;padding:.2em .5em}@media screen and (min-width:650px){#buddypress #activity-stream .activity-content .activity-meta a{float:left;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:15px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:25px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.0666666667rem;margin-bottom:50px}@media screen and (min-width:650px){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.3333333333rem}#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}.activity-permalink #buddypress #activity-stream .activity-comments{margin-left:0}#buddypress #activity-stream .activity-comments{position:relative}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}#buddypress #activity-stream .activity-comments>ul>li:hover *{color:#555}#buddypress #activity-stream .activity-comments>ul>li .acomment-content,#buddypress #activity-stream .activity-comments>ul>li .acomment-meta{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-comments .ac-form{border:1px solid #d4d0ba;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:15px 0;width:100%}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(55,55,55,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.8rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:37.5em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user #buddypress a:visited{color:#21759b}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.9333333333rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:37.5em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.bp-user #buddypress #item-header-content .user-nicename,.single-item.groups #buddypress #item-header-content .user-nicename{color:#555}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}.single-item.groups #buddypress #item-header #item-meta{margin-bottom:25px}}@media screen and (max-width:50em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:50px}.single-item.groups #buddypress div#item-header #item-header-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.single-item.groups #buddypress div#item-header div#item-actions{margin:0!important;width:100%}@media screen and (min-width:50em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions{width:40%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.9333333333rem;font-weight:700;line-height:1.4}.single-item.groups #buddypress div#item-header div#item-actions #group-admins li,.single-item.groups #buddypress div#item-header div#item-actions #group-mods li{margin:0}@media screen and (min-width:650px){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:2%;padding:0 .5em}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}@media screen and (min-width:64em){.single-item.groups #buddypress div#item-header #item-header-content{width:40%}}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{margin-top:225px!important}@media screen and (min-width:50em) and (max-width:60em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content{max-width:60%!important;width:60%!important}}@media screen and (max-width:64em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{border:0;clear:both;margin-top:0!important;max-width:100%!important;padding-top:0!important;width:auto}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h3{border-bottom:1px solid #eaeaea}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-cover-image .user-nicename{color:inherit;text-shadow:none}@media screen and (min-width:800px){.bp-user #buddypress #item-header #item-header-cover-image .user-nicename{color:#fff;text-shadow:0 0 3px rgba(0,0,0,.8)}}.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button{margin-right:5px}@media screen and (min-width:650px){.bp-user #buddypress #item-header #item-header-avatar,.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:0;width:69%}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.9333333333rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{font-weight:700;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(55,55,55,.6);font-size:14px;font-size:.9333333333rem}.groups.group-avatar form>p{margin-top:25px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:15px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:block;margin:5px 0}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 0 0}.groups.group-members #subnav li #search-members-form label input[type=text]{box-shadow:none}.bp-user #buddypress table th{font-size:13px;font-size:.8666666667rem}.bp-user #buddypress table td{font-size:12px;font-size:.8rem}@media screen and (min-width:650px){.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block}.bp-user #buddypress table th{font-size:16px;font-size:1.0666666667rem}.bp-user #buddypress table td{font-size:14px;font-size:.9333333333rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:left;width:100%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:60%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:.9333333333rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:49%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:auto}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;margin-left:1%;width:50%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{width:auto}}.bp-user #buddypress .messages-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .messages-options-nav input[disabled=disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:hover{background:0 0}.bp-user #buddypress .profile .bp-widget h4{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.2rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{margin:5px 0 25px}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#6f6f6f;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box;color:#eee;font-weight:700;padding:.1em .5em;text-decoration:none}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover{color:#fff}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread #message-recipients .highlight{font-size:100%}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:15px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom:1px solid #ccc;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star{vertical-align:middle}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star,.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar{line-height:1.2}.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.8rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.8rem;line-height:1.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:37.5em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.7333333333rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{border-color:#eaeaea}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress #send_message_form input,.bp-user #buddypress #send_message_form textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-left:15px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices tr{margin:3em 0}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-left:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td a.button{border:1px solid #d4d0ba;line-height:initial;padding:.4em .3em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{line-height:1;padding-bottom:1em;text-align:right}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-left:15px}.bp-user .ac_results li{margin:15px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user .ac_results li img{vertical-align:bottom}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.3333333333rem;margin:25px 0 15px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form textarea{border-width:1px;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:15px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{border:0;border-radius:0;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:14px;font-size:.9333333333rem;line-height:1.8;margin:0;min-height:2rem}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{border-right:1px solid rgba(212,208,186,.6);float:left;margin:0;padding:0 .2em;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:0 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-device-width:450px){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:800px){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress table{font-size:14px;font-size:.9333333333rem;margin:25px 0}.bp-user #buddypress table input{margin:0}.bp-user #buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff;font-size:16px;font-size:1.0666666667rem;padding:4px 8px;text-transform:capitalize}.bp-user #buddypress table tr td{padding:8px}.bp-user #buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){.bp-user #buddypress table{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress .messages-notices th,.bp-user #buddypress .notifications th{width:30%}.bp-user #buddypress .messages-notices th.bulk-select-all,.bp-user #buddypress .notifications th.bulk-select-all{text-align:center;width:10%}.bp-user #buddypress .messages-notices .bulk-select-check,.bp-user #buddypress .messages-notices .notification-actions,.bp-user #buddypress .messages-notices .thread-star,.bp-user #buddypress .messages-notices td.thread-options,.bp-user #buddypress .messages-notices th.actions,.bp-user #buddypress .notifications .bulk-select-check,.bp-user #buddypress .notifications .notification-actions,.bp-user #buddypress .notifications .thread-star,.bp-user #buddypress .notifications td.thread-options,.bp-user #buddypress .notifications th.actions{text-align:center}.bp-user #buddypress .messages-notices .notification-actions a,.bp-user #buddypress .messages-notices td.thread-options a,.bp-user #buddypress .notifications .notification-actions a,.bp-user #buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}.bp-user #buddypress .messages-notices td .button,.bp-user #buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.2rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file +@charset "UTF-8";.buddypress div.clear{display:none}body.page-template-onecolumn-page #main #container{margin:0}body.page-template-onecolumn-page #content{margin:0 10%;width:auto}body.page-template-onecolumn-page #content .entry-content,body.page-template-onecolumn-page #content .entry-header{width:auto}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a:focus,#buddypress div.item-list-tabs ul li a:hover{color:#555}#buddypress div.item-list-tabs ul li a:visited{color:#21759b}#buddypress div.item-list-tabs ul li a span{padding:0 4px!important}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (min-width:650px){#buddypress #object-nav ul li{float:left}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{border-bottom:0;border-top:1px solid #d4d0ba;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;float:right;margin-top:0;padding:5px 0;text-align:right;width:230px}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.9333333333rem}#buddypress div#subnav.item-list-tabs ul li.last select{font-style:italic}#buddypress div#subnav.item-list-tabs ul li.last select option{font-style:normal}#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress div#subnav.item-list-tabs li.last{margin-left:0;text-align:right}@media screen and (min-width:800px){body.bp-user #buddypress #item-body,body.bp-user #buddypress #item-header{background:#fff}body.bp-user #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body.bp-user #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.bp-user #buddypress #object-nav ul li{float:none;margin-bottom:5px}body.bp-user #buddypress #object-nav ul li a{overflow:hidden}body.bp-user #buddypress #object-nav ul li.selected{background:#ddd}body.bp-user #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body.bp-user #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 25px;width:auto}body.bp-user #buddypress #item-body #subnav{margin:0 0 0 -25px}body.bp-user #buddypress #item-body #subnav ul{margin-top:0}}@media only screen and (min-device-width:375px){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#373737;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream li .activity-header a:visited,#buddypress ul.item-list li .item .item-title>a:visited{color:#21759b}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress ul.item-list{border-top:0}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:15px;text-align:center}@media only screen and (min-device-width:375px){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:15px}@media only screen and (min-device-width:450px){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left;opacity:1}}#buddypress ul.item-list li .item{margin-left:0;overflow:hidden}#buddypress ul.item-list li .item .item-meta{text-align:center}@media screen and (min-width:650px){#buddypress ul.item-list li .item .item-meta{text-align:left}}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:16px;font-size:1.0666666667rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-device-width:450px){#buddypress ul.item-list li .item .item-title{text-align:left}}#buddypress ul.item-list li .item .item-title>a{text-decoration:none}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.8rem;padding:15px 0;text-align:left}@media screen and (min-width:650px){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.9333333333rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:5%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.2rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin:0;padding:15px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:650px){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:5px 0;width:100%}#buddypress #activity-stream li.load-newest a,#buddypress ul.item-list li div.action div a{display:block}@media only screen and (min-device-width:375px){#buddypress ul.item-list li div.action div{margin:0 15px 5px 0;width:auto}}@media screen and (min-width:650px){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 15px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;font-size:12px;font-size:.8rem;line-height:1.6;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;max-width:220px;min-height:1.5em;padding:0 0 0 .4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{font-size:12px;font-size:.8rem;float:right}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input{padding:0 6px}}#buddypress #item-body form#whats-new-form{margin:50px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:25px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-comments,#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li .activity-inner img{height:auto}@media screen and (min-width:650px){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:15px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.0666666667rem}#buddypress #activity-stream li .activity-comments{margin-left:70px}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.9333333333rem}#buddypress #activity-stream li.mini .activity-content .activity-meta a{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{border-bottom:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;font-size:14px;font-size:.9333333333rem;margin-bottom:5px;padding:.2em .5em}@media screen and (min-width:650px){#buddypress #activity-stream .activity-content .activity-meta a{float:left;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:15px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:25px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.0666666667rem;margin-bottom:50px}@media screen and (min-width:650px){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.3333333333rem}#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}.activity-permalink #buddypress #activity-stream .activity-comments{margin-left:0}#buddypress #activity-stream .activity-comments{position:relative}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}#buddypress #activity-stream .activity-comments>ul>li:hover *{color:#555}#buddypress #activity-stream .activity-comments>ul>li .acomment-content,#buddypress #activity-stream .activity-comments>ul>li .acomment-meta{font-size:12px;font-size:.8rem}#buddypress #activity-stream .activity-comments .ac-form{border:1px solid #d4d0ba;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:15px 0;width:100%}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(55,55,55,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.8rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:37.5em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user #buddypress a:visited{color:#21759b}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.9333333333rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:37.5em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.bp-user #buddypress #item-header-content .user-nicename,.single-item.groups #buddypress #item-header-content .user-nicename{color:#555}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}.single-item.groups #buddypress #item-header #item-meta{margin-bottom:25px}}@media screen and (max-width:50em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h2{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:50px}.single-item.groups #buddypress div#item-header #item-header-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.single-item.groups #buddypress div#item-header div#item-actions{margin:0!important;width:100%}@media screen and (min-width:50em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions{width:40%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:14px;font-size:.9333333333rem;font-weight:700;line-height:1.4}.single-item.groups #buddypress div#item-header div#item-actions #group-admins li,.single-item.groups #buddypress div#item-header div#item-actions #group-mods li{margin:0}@media screen and (min-width:650px){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:2%;padding:0 .5em}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}@media screen and (min-width:64em){.single-item.groups #buddypress div#item-header #item-header-content{width:40%}}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{margin-top:225px!important}@media screen and (min-width:50em) and (max-width:60em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content{max-width:60%!important;width:60%!important}}@media screen and (max-width:64em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{border:0;clear:both;margin-top:0!important;max-width:100%!important;padding-top:0!important;width:auto}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2{border-bottom:1px solid #eaeaea}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-cover-image .user-nicename{color:inherit;text-shadow:none}@media screen and (min-width:800px){.bp-user #buddypress #item-header #item-header-cover-image .user-nicename{color:#fff;text-shadow:0 0 3px rgba(0,0,0,.8)}}.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button{margin-right:5px}@media screen and (min-width:650px){.bp-user #buddypress #item-header #item-header-avatar,.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:0;width:69%}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}}.groups #group-settings-form h3{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.9333333333rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{font-weight:700;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(55,55,55,.6);font-size:14px;font-size:.9333333333rem}.groups.group-avatar form>p{margin-top:25px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:15px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:block;margin:5px 0}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 0 0}.groups.group-members #subnav li #search-members-form label input[type=text]{box-shadow:none}.bp-user #buddypress table th{font-size:13px;font-size:.8666666667rem}.bp-user #buddypress table td{font-size:12px;font-size:.8rem}@media screen and (min-width:650px){.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block}.bp-user #buddypress table th{font-size:16px;font-size:1.0666666667rem}.bp-user #buddypress table td{font-size:14px;font-size:.9333333333rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:left;width:100%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:60%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:.9333333333rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:49%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:auto}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;margin-left:1%;width:50%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{width:auto}}.bp-user #buddypress .messages-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .messages-options-nav input[disabled=disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:hover{background:0 0}.bp-user #buddypress .profile .bp-widget h2{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.2rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{margin:5px 0 25px}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#6f6f6f;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box;color:#eee;font-weight:700;padding:.1em .5em;text-decoration:none}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover{color:#fff}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread #message-recipients .highlight{font-size:100%}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:15px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom:1px solid #ccc;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star{vertical-align:middle}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star,.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar{line-height:1.2}.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px;font-size:.9333333333rem}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.8rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.8rem;line-height:1.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:37.5em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.7333333333rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{border-color:#eaeaea}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress #send_message_form input,.bp-user #buddypress #send_message_form textarea{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-left:15px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices tr{margin:3em 0}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-left:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td a.button{border:1px solid #d4d0ba;line-height:initial;padding:.4em .3em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{line-height:1;padding-bottom:1em;text-align:right}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-left:15px}.bp-user .ac_results li{margin:15px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user .ac_results li img{vertical-align:bottom}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.3333333333rem;margin:25px 0 15px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form textarea{border-width:1px;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:15px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{border:0;border-radius:0;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:14px;font-size:.9333333333rem;line-height:1.8;margin:0;min-height:2rem}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{border-right:1px solid rgba(212,208,186,.6);float:left;margin:0;padding:0 .2em;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:0 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-device-width:450px){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:800px){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress table{font-size:14px;font-size:.9333333333rem;margin:25px 0}.bp-user #buddypress table input{margin:0}.bp-user #buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff;font-size:16px;font-size:1.0666666667rem;padding:4px 8px;text-transform:capitalize}.bp-user #buddypress table tr td{padding:8px}.bp-user #buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){.bp-user #buddypress table{font-size:16px;font-size:1.0666666667rem}}.bp-user #buddypress .messages-notices th,.bp-user #buddypress .notifications th{width:30%}.bp-user #buddypress .messages-notices th.bulk-select-all,.bp-user #buddypress .notifications th.bulk-select-all{text-align:center;width:10%}.bp-user #buddypress .messages-notices .bulk-select-check,.bp-user #buddypress .messages-notices .notification-actions,.bp-user #buddypress .messages-notices .thread-star,.bp-user #buddypress .messages-notices td.thread-options,.bp-user #buddypress .messages-notices th.actions,.bp-user #buddypress .notifications .bulk-select-check,.bp-user #buddypress .notifications .notification-actions,.bp-user #buddypress .notifications .thread-star,.bp-user #buddypress .notifications td.thread-options,.bp-user #buddypress .notifications th.actions{text-align:center}.bp-user #buddypress .messages-notices .notification-actions a,.bp-user #buddypress .messages-notices td.thread-options a,.bp-user #buddypress .notifications .notification-actions a,.bp-user #buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}.bp-user #buddypress .messages-notices td .button,.bp-user #buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.2rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten.scss b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten.scss index f4286fefe82b1bafdd67e568c87187ebcfd985e5..4648029d47a355d3d1083296e0db6b0f009a0c76 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten.scss +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentyten.scss @@ -1303,7 +1303,7 @@ body.page-template-onecolumn-page { #item-actions { order: 3; - h3 { + h2 { border-bottom: 1px solid $border-light; text-align: center; } @@ -1339,7 +1339,7 @@ body.page-template-onecolumn-page { padding-left: 0; } - h3 { + h2 { @include font-size(14); font-weight: bold; line-height: 1.4; @@ -1411,7 +1411,7 @@ body.page-template-onecolumn-page { padding-top: 0 !important; width: auto; - h3 {border-bottom: 1px solid $border-light;} + h2 {border-bottom: 1px solid $border-light;} } } // @media } @@ -1509,7 +1509,7 @@ body.page-template-onecolumn-page { // headings settings screens & general global settings styles .groups { #group-settings-form { - h4 { + h3 { background: $dark-background; color: $content-background; padding: 0.2em; @@ -1721,7 +1721,7 @@ body.page-template-onecolumn-page { .profile { .bp-widget { - h4 { + h2 { background: lighten($dark-background, 10%); color: #fff; margin-bottom: 0; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen-rtl.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen-rtl.css index 006b3d18d0ba84e38fbbdba810311a5d1cd2cae5..ed0ffc8ccbcdbc47c64fdfc9957d4ada15473f08 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen-rtl.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen-rtl.css @@ -159,10 +159,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } } -#buddypress #object-nav ul li:not(.selected) a { - opacity: 0.7; -} - @media screen and (min-width: 38.75em) { #buddypress #object-nav ul li { float: right; @@ -358,12 +354,12 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } #buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover { - background: #e37a5a; + background: #bd4b28; color: #f7f5e7; } #buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover { - background: #e37a5a; + background: #bd4b28; color: #f7f5e7; } @@ -646,10 +642,15 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #buddypress #activity-stream .activity-content .activity-header p { background-color: #f7f7f7; border: 1px solid rgba(234, 234, 234, 0.6); + color: #727272; margin-top: 0; padding: 0 0.2em; } +#buddypress #activity-stream .activity-content .activity-header p a.activity-time-since { + color: #727272; +} + #buddypress #activity-stream .activity-content .activity-header img.avatar { display: inline-block; margin-bottom: 0 !important; @@ -723,6 +724,14 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ margin: 15px 2px 0 0; } +#buddypress #activity-stream .activity-comments a { + color: #ac0404; +} + +#buddypress #activity-stream .activity-comments .acomment-meta { + color: #737373; +} + #buddypress #activity-stream .activity-comments .ac-form input[type="submit"], #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { color: rgba(20, 20, 18, 0.8); @@ -912,7 +921,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .single-item.groups #buddypress div#item-header #item-actions { order: 3; } - .single-item.groups #buddypress div#item-header #item-actions h3 { + .single-item.groups #buddypress div#item-header #item-actions h2 { border-bottom: 1px solid #eaeaea; text-align: center; } @@ -948,14 +957,14 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding-right: 0; } -.single-item.groups #buddypress div#item-header div#item-actions h3 { +.single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 14px; font-size: 0.875rem; padding: 0.2em; } @media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions h3 { + .single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 16px; font-size: 1rem; } @@ -978,7 +987,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ float: left; width: 28%; } - .single-item.groups #buddypress div#item-header div#item-actions h3 { + .single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 14px; font-size: 0.875rem; } @@ -1089,7 +1098,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @subsection 6.2.1.1 - Group Management *----------------------------------------- */ -.groups #group-settings-form h4 { +.groups #group-settings-form h3 { background: #555; color: #fff; padding: 0.2em; @@ -1332,7 +1341,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @subsection 6.2.2.2 - Extended Profiles *------------------------------------------- */ -.bp-user #buddypress .profile .bp-widget h4 { +.bp-user #buddypress .profile .bp-widget h2 { background: #6f6f6f; color: #fff; margin-bottom: 0; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen-rtl.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen-rtl.min.css index e3bcdb13993ac2929c1e0fcf7ae22bf445bc5569..809bf3abe84bfac748fd9390ca17891c5279e7a6 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen-rtl.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.buddypress div.clear{display:none}@media (max-width:999px){.buddypress #content{padding:0 20px}}@media (max-width:643px){.buddypress #content{padding:0}}.buddypress .entry-content,.buddypress .entry-header,.buddypress .entry-meta,.buddypress .entry-summary{max-width:890px}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:38.75em){.bp-user #buddypress #object-nav{background:#f7f5e7;border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#f4f2df}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 0 5px 5px;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:right}#buddypress div#subnav.item-list-tabs ul li.last{text-align:left}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:0 0;opacity:1}@media screen and (min-width:55em){body:not(.sidebar) #buddypress #item-body,body:not(.sidebar) #buddypress #item-header{background:#fff}body:not(.sidebar) #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body:not(.sidebar) #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body:not(.sidebar) #buddypress #object-nav ul li{float:none;overflow:hidden}body:not(.sidebar) #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body:not(.sidebar) #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 20px 0 0;width:auto}body:not(.sidebar) #buddypress #item-body #subnav{margin:0 -20px 0 0}body:not(.sidebar) #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:#e37a5a;color:#f7f5e7}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-right:15%}}#buddypress ul.item-list li .item .item-desc{margin:0 auto;width:100%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2;margin:0 auto;text-align:center;width:100%}#buddypress ul.item-list li .item .item-title .update{font-size:12px;font-size:.75rem;display:block;padding:10px 0;text-align:right}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:5%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-20px;margin-right:0;padding:20px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item .item-title{text-align:right}#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;padding-right:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:left}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-right:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user .entry-header,.single-item.groups .entry-header{margin-bottom:0}.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{color:#8c8c7f;font-size:32px;font-size:2rem;margin-bottom:10px;text-align:center}@media screen and (min-width:46.25em){.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{text-align:right}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{clear:both;float:left;width:28%}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem}}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border:0;float:none;width:auto}@media screen and (max-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{clear:both!important}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content{padding-right:10px}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content #item-buttons{margin-top:0}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border-right:1px solid #eaeaea;clear:none;float:left;margin-top:230px!important;padding-top:0!important;width:20%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{display:block;text-align:center}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:right;width:auto}.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:none;overflow:hidden}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{text-align:right}.bp-user #buddypress #item-header #item-header-content #item-meta{margin-top:0}.bp-user #buddypress #item-header-cover-image #item-header-content .user-nicename{margin-bottom:20px}.bp-user #buddypress #item-header-cover-image #item-header-content #item-buttons{margin:0}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}#buddypress div.invite .left-menu{float:none}#buddypress div.invite #invite-list{border:1px solid #eaeaea;height:auto;min-height:3.125em;padding:0 .3em .5em;width:auto}#buddypress div.invite #invite-list ul{padding-right:0}#buddypress div.invite .main-column{margin-right:0}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:13px;font-size:.8125rem}@media screen and (min-width:46.25em){#buddypress div.invite .left-menu{float:right}#buddypress div.invite #invite-list{width:220px}#buddypress div.invite .main-column{margin-right:235px}.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:right;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h4{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0;padding:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}.bp-user #buddypress #message-threads tr td.thread-options span.icon:before,.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px}}.bp-user #buddypress #message-threads tr .thread-checkbox{padding:0 .3em 0 0}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-info .thread-excerpt{font-size:14px;font-size:.875rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:12px;font-size:.75rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress .acfb-holder{list-style:none;margin:0;padding:0}.bp-user #buddypress .acfb-holder li{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-right:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress .sitewide-notices tr td:first-child{display:none}.bp-user #buddypress .sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;padding-right:.2em}.bp-user .ac_results{background:#eee;padding-right:10px}.bp-user .ac_results ul{list-style:none;margin:0;padding:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user #buddypress #settings-form{padding:0 10px}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:60%}@media screen and (min-width:46.25em){#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{width:80%}}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:100%;border-left:1px solid rgba(212,208,186,.6);padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:40%}@media screen and (min-width:46.25em){#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{width:20%}}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff}#buddypress table td,#buddypress table th{padding:.3em}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file +@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.buddypress div.clear{display:none}@media (max-width:999px){.buddypress #content{padding:0 20px}}@media (max-width:643px){.buddypress #content{padding:0}}.buddypress .entry-content,.buddypress .entry-header,.buddypress .entry-meta,.buddypress .entry-summary{max-width:890px}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:38.75em){.bp-user #buddypress #object-nav{background:#f7f5e7;border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#f4f2df}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 0 5px 5px;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:right}#buddypress div#subnav.item-list-tabs ul li.last{text-align:left}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:0 0;opacity:1}@media screen and (min-width:55em){body:not(.sidebar) #buddypress #item-body,body:not(.sidebar) #buddypress #item-header{background:#fff}body:not(.sidebar) #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body:not(.sidebar) #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body:not(.sidebar) #buddypress #object-nav ul li{float:none;overflow:hidden}body:not(.sidebar) #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body:not(.sidebar) #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 20px 0 0;width:auto}body:not(.sidebar) #buddypress #item-body #subnav{margin:0 -20px 0 0}body:not(.sidebar) #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:#bd4b28;color:#f7f5e7}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-right:15%}}#buddypress ul.item-list li .item .item-desc{margin:0 auto;width:100%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2;margin:0 auto;text-align:center;width:100%}#buddypress ul.item-list li .item .item-title .update{font-size:12px;font-size:.75rem;display:block;padding:10px 0;text-align:right}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:5%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-20px;margin-right:0;padding:20px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item .item-title{text-align:right}#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;padding-right:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:left}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);color:#727272;margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header p a.activity-time-since{color:#727272}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-right:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}#buddypress #activity-stream .activity-comments a{color:#ac0404}#buddypress #activity-stream .activity-comments .acomment-meta{color:#737373}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user .entry-header,.single-item.groups .entry-header{margin-bottom:0}.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{color:#8c8c7f;font-size:32px;font-size:2rem;margin-bottom:10px;text-align:center}@media screen and (min-width:46.25em){.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{text-align:right}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h2{border-bottom:1px solid #eaeaea;text-align:center}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{clear:both;float:left;width:28%}.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:14px;font-size:.875rem}}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border:0;float:none;width:auto}@media screen and (max-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{clear:both!important}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content{padding-right:10px}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content #item-buttons{margin-top:0}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border-right:1px solid #eaeaea;clear:none;float:left;margin-top:230px!important;padding-top:0!important;width:20%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{display:block;text-align:center}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:right;width:auto}.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:none;overflow:hidden}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{text-align:right}.bp-user #buddypress #item-header #item-header-content #item-meta{margin-top:0}.bp-user #buddypress #item-header-cover-image #item-header-content .user-nicename{margin-bottom:20px}.bp-user #buddypress #item-header-cover-image #item-header-content #item-buttons{margin:0}}.groups #group-settings-form h3{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}#buddypress div.invite .left-menu{float:none}#buddypress div.invite #invite-list{border:1px solid #eaeaea;height:auto;min-height:3.125em;padding:0 .3em .5em;width:auto}#buddypress div.invite #invite-list ul{padding-right:0}#buddypress div.invite .main-column{margin-right:0}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:13px;font-size:.8125rem}@media screen and (min-width:46.25em){#buddypress div.invite .left-menu{float:right}#buddypress div.invite #invite-list{width:220px}#buddypress div.invite .main-column{margin-right:235px}.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:right;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h2{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0;padding:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}.bp-user #buddypress #message-threads tr td.thread-options span.icon:before,.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px}}.bp-user #buddypress #message-threads tr .thread-checkbox{padding:0 .3em 0 0}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-info .thread-excerpt{font-size:14px;font-size:.875rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:12px;font-size:.75rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress .acfb-holder{list-style:none;margin:0;padding:0}.bp-user #buddypress .acfb-holder li{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-right:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress .sitewide-notices tr td:first-child{display:none}.bp-user #buddypress .sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;padding-right:.2em}.bp-user .ac_results{background:#eee;padding-right:10px}.bp-user .ac_results ul{list-style:none;margin:0;padding:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user #buddypress #settings-form{padding:0 10px}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:60%}@media screen and (min-width:46.25em){#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{width:80%}}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:100%;border-left:1px solid rgba(212,208,186,.6);padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:40%}@media screen and (min-width:46.25em){#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{width:20%}}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff}#buddypress table td,#buddypress table th{padding:.3em}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen.css index c556d1b699e9e7031a692061d998c86d0712e2b4..5b72d8a2d15da34a97105b9ef310ac3626208318 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen.css @@ -159,10 +159,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } } -#buddypress #object-nav ul li:not(.selected) a { - opacity: 0.7; -} - @media screen and (min-width: 38.75em) { #buddypress #object-nav ul li { float: left; @@ -358,12 +354,12 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } #buddypress .activity-meta .button:focus, #buddypress .activity-meta .button:hover { - background: #e37a5a; + background: #bd4b28; color: #f7f5e7; } #buddypress .action .generic-button a:focus, #buddypress .action .generic-button a:hover { - background: #e37a5a; + background: #bd4b28; color: #f7f5e7; } @@ -646,10 +642,15 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #buddypress #activity-stream .activity-content .activity-header p { background-color: #f7f7f7; border: 1px solid rgba(234, 234, 234, 0.6); + color: #727272; margin-top: 0; padding: 0 0.2em; } +#buddypress #activity-stream .activity-content .activity-header p a.activity-time-since { + color: #727272; +} + #buddypress #activity-stream .activity-content .activity-header img.avatar { display: inline-block; margin-bottom: 0 !important; @@ -723,6 +724,14 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ margin: 15px 0 0 2px; } +#buddypress #activity-stream .activity-comments a { + color: #ac0404; +} + +#buddypress #activity-stream .activity-comments .acomment-meta { + color: #737373; +} + #buddypress #activity-stream .activity-comments .ac-form input[type="submit"], #buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel { color: rgba(20, 20, 18, 0.8); @@ -912,7 +921,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .single-item.groups #buddypress div#item-header #item-actions { order: 3; } - .single-item.groups #buddypress div#item-header #item-actions h3 { + .single-item.groups #buddypress div#item-header #item-actions h2 { border-bottom: 1px solid #eaeaea; text-align: center; } @@ -948,14 +957,14 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding-left: 0; } -.single-item.groups #buddypress div#item-header div#item-actions h3 { +.single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 14px; font-size: 0.875rem; padding: 0.2em; } @media screen and (min-width: 46.25em) { - .single-item.groups #buddypress div#item-header div#item-actions h3 { + .single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 16px; font-size: 1rem; } @@ -978,7 +987,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ float: right; width: 28%; } - .single-item.groups #buddypress div#item-header div#item-actions h3 { + .single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 14px; font-size: 0.875rem; } @@ -1089,7 +1098,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @subsection 6.2.1.1 - Group Management *----------------------------------------- */ -.groups #group-settings-form h4 { +.groups #group-settings-form h3 { background: #555; color: #fff; padding: 0.2em; @@ -1332,7 +1341,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @subsection 6.2.2.2 - Extended Profiles *------------------------------------------- */ -.bp-user #buddypress .profile .bp-widget h4 { +.bp-user #buddypress .profile .bp-widget h2 { background: #6f6f6f; color: #fff; margin-bottom: 0; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen.min.css index 0bfb4b6859eb40a5dc94fc0ef9c86b69f4e866be..508c86cb735de1d16c3e7aa0056bf400c307e6ee 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen.min.css @@ -1 +1 @@ -@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.buddypress div.clear{display:none}@media (max-width:999px){.buddypress #content{padding:0 20px}}@media (max-width:643px){.buddypress #content{padding:0}}.buddypress .entry-content,.buddypress .entry-header,.buddypress .entry-meta,.buddypress .entry-summary{max-width:890px}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:38.75em){.bp-user #buddypress #object-nav{background:#f7f5e7;border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#f4f2df}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 5px 5px 0;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:left}#buddypress div#subnav.item-list-tabs ul li.last{text-align:right}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:0 0;opacity:1}@media screen and (min-width:55em){body:not(.sidebar) #buddypress #item-body,body:not(.sidebar) #buddypress #item-header{background:#fff}body:not(.sidebar) #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body:not(.sidebar) #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body:not(.sidebar) #buddypress #object-nav ul li{float:none;overflow:hidden}body:not(.sidebar) #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body:not(.sidebar) #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 20px;width:auto}body:not(.sidebar) #buddypress #item-body #subnav{margin:0 0 0 -20px}body:not(.sidebar) #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:#e37a5a;color:#f7f5e7}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-left:15%}}#buddypress ul.item-list li .item .item-desc{margin:0 auto;width:100%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2;margin:0 auto;text-align:center;width:100%}#buddypress ul.item-list li .item .item-title .update{font-size:12px;font-size:.75rem;display:block;padding:10px 0;text-align:left}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:5%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-20px;margin-left:0;padding:20px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item .item-title{text-align:left}#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;padding-left:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:right}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-left:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user .entry-header,.single-item.groups .entry-header{margin-bottom:0}.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{color:#8c8c7f;font-size:32px;font-size:2rem;margin-bottom:10px;text-align:center}@media screen and (min-width:46.25em){.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{text-align:left}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{clear:both;float:right;width:28%}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem}}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border:0;float:none;width:auto}@media screen and (max-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{clear:both!important}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content{padding-left:10px}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content #item-buttons{margin-top:0}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border-left:1px solid #eaeaea;clear:none;float:right;margin-top:230px!important;padding-top:0!important;width:20%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{display:block;text-align:center}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:left;width:auto}.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:none;overflow:hidden}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{text-align:left}.bp-user #buddypress #item-header #item-header-content #item-meta{margin-top:0}.bp-user #buddypress #item-header-cover-image #item-header-content .user-nicename{margin-bottom:20px}.bp-user #buddypress #item-header-cover-image #item-header-content #item-buttons{margin:0}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}#buddypress div.invite .left-menu{float:none}#buddypress div.invite #invite-list{border:1px solid #eaeaea;height:auto;min-height:3.125em;padding:0 .3em .5em;width:auto}#buddypress div.invite #invite-list ul{padding-left:0}#buddypress div.invite .main-column{margin-left:0}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:13px;font-size:.8125rem}@media screen and (min-width:46.25em){#buddypress div.invite .left-menu{float:left}#buddypress div.invite #invite-list{width:220px}#buddypress div.invite .main-column{margin-left:235px}.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:left;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h4{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0;padding:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}.bp-user #buddypress #message-threads tr td.thread-options span.icon:before,.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px}}.bp-user #buddypress #message-threads tr .thread-checkbox{padding:0 0 0 .3em}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-info .thread-excerpt{font-size:14px;font-size:.875rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:12px;font-size:.75rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress .acfb-holder{list-style:none;margin:0;padding:0}.bp-user #buddypress .acfb-holder li{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-left:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress .sitewide-notices tr td:first-child{display:none}.bp-user #buddypress .sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;padding-left:.2em}.bp-user .ac_results{background:#eee;padding-left:10px}.bp-user .ac_results ul{list-style:none;margin:0;padding:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user #buddypress #settings-form{padding:0 10px}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:60%}@media screen and (min-width:46.25em){#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{width:80%}}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:100%;border-right:1px solid rgba(212,208,186,.6);padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:40%}@media screen and (min-width:46.25em){#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{width:20%}}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff}#buddypress table td,#buddypress table th{padding:.3em}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file +@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.buddypress div.clear{display:none}@media (max-width:999px){.buddypress #content{padding:0 20px}}@media (max-width:643px){.buddypress #content{padding:0}}.buddypress .entry-content,.buddypress .entry-header,.buddypress .entry-meta,.buddypress .entry-summary{max-width:890px}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:38.75em){.bp-user #buddypress #object-nav{background:#f7f5e7;border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#f4f2df}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 5px 5px 0;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:left}#buddypress div#subnav.item-list-tabs ul li.last{text-align:right}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:0 0;opacity:1}@media screen and (min-width:55em){body:not(.sidebar) #buddypress #item-body,body:not(.sidebar) #buddypress #item-header{background:#fff}body:not(.sidebar) #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body:not(.sidebar) #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body:not(.sidebar) #buddypress #object-nav ul li{float:none;overflow:hidden}body:not(.sidebar) #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body:not(.sidebar) #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 20px;width:auto}body:not(.sidebar) #buddypress #item-body #subnav{margin:0 0 0 -20px}body:not(.sidebar) #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:#bd4b28;color:#f7f5e7}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-left:15%}}#buddypress ul.item-list li .item .item-desc{margin:0 auto;width:100%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2;margin:0 auto;text-align:center;width:100%}#buddypress ul.item-list li .item .item-title .update{font-size:12px;font-size:.75rem;display:block;padding:10px 0;text-align:left}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:5%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-20px;margin-left:0;padding:20px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item .item-title{text-align:left}#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;padding-left:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:right}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);color:#727272;margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header p a.activity-time-since{color:#727272}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-left:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}#buddypress #activity-stream .activity-comments a{color:#ac0404}#buddypress #activity-stream .activity-comments .acomment-meta{color:#737373}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user .entry-header,.single-item.groups .entry-header{margin-bottom:0}.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{color:#8c8c7f;font-size:32px;font-size:2rem;margin-bottom:10px;text-align:center}@media screen and (min-width:46.25em){.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{text-align:left}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h2{border-bottom:1px solid #eaeaea;text-align:center}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{clear:both;float:right;width:28%}.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:14px;font-size:.875rem}}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border:0;float:none;width:auto}@media screen and (max-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{clear:both!important}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content{padding-left:10px}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content #item-buttons{margin-top:0}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border-left:1px solid #eaeaea;clear:none;float:right;margin-top:230px!important;padding-top:0!important;width:20%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{display:block;text-align:center}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:left;width:auto}.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:none;overflow:hidden}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{text-align:left}.bp-user #buddypress #item-header #item-header-content #item-meta{margin-top:0}.bp-user #buddypress #item-header-cover-image #item-header-content .user-nicename{margin-bottom:20px}.bp-user #buddypress #item-header-cover-image #item-header-content #item-buttons{margin:0}}.groups #group-settings-form h3{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}#buddypress div.invite .left-menu{float:none}#buddypress div.invite #invite-list{border:1px solid #eaeaea;height:auto;min-height:3.125em;padding:0 .3em .5em;width:auto}#buddypress div.invite #invite-list ul{padding-left:0}#buddypress div.invite .main-column{margin-left:0}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:13px;font-size:.8125rem}@media screen and (min-width:46.25em){#buddypress div.invite .left-menu{float:left}#buddypress div.invite #invite-list{width:220px}#buddypress div.invite .main-column{margin-left:235px}.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:left;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h2{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0;padding:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}.bp-user #buddypress #message-threads tr td.thread-options span.icon:before,.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px}}.bp-user #buddypress #message-threads tr .thread-checkbox{padding:0 0 0 .3em}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-info .thread-excerpt{font-size:14px;font-size:.875rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:12px;font-size:.75rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress .acfb-holder{list-style:none;margin:0;padding:0}.bp-user #buddypress .acfb-holder li{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-left:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress .sitewide-notices tr td:first-child{display:none}.bp-user #buddypress .sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;padding-left:.2em}.bp-user .ac_results{background:#eee;padding-left:10px}.bp-user .ac_results ul{list-style:none;margin:0;padding:0}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user #buddypress #settings-form{padding:0 10px}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:60%}@media screen and (min-width:46.25em){#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{width:80%}}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:100%;border-right:1px solid rgba(212,208,186,.6);padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:40%}@media screen and (min-width:46.25em){#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{width:20%}}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff}#buddypress table td,#buddypress table th{padding:.3em}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen.scss b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen.scss index 745c469f3ac02e29fa52e58452efe22ab76e839e..1e4d550c0d3068bf9bc357362c618c10ebff5168 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen.scss +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentythirteen.scss @@ -143,7 +143,7 @@ $dark-background: #555; $border-color: #d4d0ba; // border color is varied using rgba $border-light: #eaeaea; // BP dividers $border-med: #ddd; -$background-hover: #db572f; // 2013 link background hover +$background-hover: #bd4b28; // 2013 link background hover $bp-button-hover: #ededed; // this is the default BP button hover background $notice-error: #c85a6e; $notice-warning: #d05656; @@ -348,10 +348,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ } } - li:not(.selected) { - a {opacity: 0.7;} - } - @media screen and (min-width: 38.75em) { li { float: left; @@ -597,7 +593,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .button { &:focus, &:hover { - background: lighten($background-hover, 10%); + background: $background-hover; color: $cream-background; } } @@ -608,7 +604,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ a { &:focus, &:hover { - background: lighten($background-hover, 10%); + background: $background-hover; color: $cream-background; } } @@ -938,8 +934,13 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ p { background-color: $light-background; border: 1px solid rgba($border-light, 0.6); + color: #727272; margin-top: 0; padding: 0 0.2em; + + a.activity-time-since { + color: #727272; + } } img.avatar { @@ -1024,6 +1025,14 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ margin: 15px 0 0 2px; } + a { + color: #ac0404; + } + + .acomment-meta { + color: #737373; + } + .ac-form { input[type="submit"], @@ -1246,7 +1255,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #item-actions { order: 3; - h3 { + h2 { border-bottom: 1px solid $border-light; text-align: center; } @@ -1278,7 +1287,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding-left: 0; } - h3 { + h2 { @include font-size(14); @media screen and (min-width: 46.25em) { @@ -1310,7 +1319,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ float: right; width: 28%; - h3 { + h2 { @include font-size(14); } } @@ -1457,7 +1466,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ // headings settings screens & general global settings styles .groups { #group-settings-form { - h4 { + h3 { background: $dark-background; color: $content-background; padding: 0.2em; @@ -1715,7 +1724,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .profile { .bp-widget { - h4 { + h2 { background: lighten($dark-background, 10%); color: #fff; margin-bottom: 0; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve-rtl.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve-rtl.css index 0faa9ef5935a88f8ba0fb4a663ab1e57f1334894..46f9274836103c77f211fefb2b8279984c80c785 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve-rtl.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve-rtl.css @@ -770,6 +770,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ font-size: 0.8571428571rem; } +#buddypress #activity-stream .activity-comments a { + color: #737373; +} + #buddypress #activity-stream .activity-comments .ac-form { border: 1px solid #d4d0ba; box-sizing: border-box; @@ -949,7 +953,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .single-item.groups #buddypress div#item-header #item-actions { order: 3; } - .single-item.groups #buddypress div#item-header #item-actions h3 { + .single-item.groups #buddypress div#item-header #item-actions h2 { border-bottom: 1px solid #eaeaea; text-align: center; } @@ -991,7 +995,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding-right: 0; } -.single-item.groups #buddypress div#item-header div#item-actions h3 { +.single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 14px; font-size: 1rem; padding: 0.2em; @@ -1043,7 +1047,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding-top: 0 !important; width: auto; } - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h3 { + .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2 { border-bottom: 1px solid #eaeaea; } } @@ -1105,7 +1109,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @subsection 6.2.1.1 - Group Management *----------------------------------------- */ -.groups #group-settings-form h4 { +.groups #group-settings-form h3 { background: #555; color: #fff; padding: 0.2em; @@ -1323,7 +1327,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ /* Edit profile */ } -.bp-user #buddypress .profile .bp-widget h4 { +.bp-user #buddypress .profile .bp-widget h2 { background: #6f6f6f; color: #fff; margin-bottom: 0; @@ -1385,7 +1389,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ -ms-border-radius: 2px; border-radius: 2px; background-clip: padding-box; - color: #eee; + color: #f1f1f1; font-weight: bold; padding: 0.1em 0.5em; text-decoration: none; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve-rtl.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve-rtl.min.css index 793776ee3e984799640c3abf1997d84b4fc3d54a..08ce96752f2ab817d23432ec178a05f864d87dca 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve-rtl.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve-rtl.min.css @@ -1 +1 @@ -@charset "UTF-8";.buddypress div.clear{display:none}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a:focus,#buddypress div.item-list-tabs ul li a:hover{color:#555}#buddypress div.item-list-tabs ul li a:visited{color:#21759b}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:30em){.bp-user #buddypress #object-nav{border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:37.5em){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f2f2f2}}@media screen and (min-width:37.5em){#buddypress #object-nav ul li{float:right}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{border-bottom:0;border-top:1px solid #d4d0ba;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;float:left;margin-top:0;padding:5px 0;text-align:left;width:230px}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:1rem}#buddypress div#subnav.item-list-tabs ul li.last select{font-style:italic}#buddypress div#subnav.item-list-tabs ul li.last select option{font-style:normal}#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress div#subnav.item-list-tabs li.last{margin-right:0;text-align:left}@media screen and (max-width:30em){#buddypress div#subnav.item-list-tabs ul li.last{float:none;width:auto}.bp-user #buddypress div#subnav.item-list-tabs li.last{clear:right;float:none;margin-right:10px;text-align:right}}@media screen and (min-width:60em){body.full-width #buddypress #item-body,body.full-width #buddypress #item-header{background:#fff}body.full-width #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body.full-width #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.full-width #buddypress #object-nav ul li{float:none;overflow:hidden}body.full-width #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body.full-width #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 24px 0 0;width:auto}body.full-width #buddypress #item-body #subnav{margin:0 -24px 0 0}body.full-width #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream li .activity-header a:visited,#buddypress ul.item-list li .item .item-title>a:visited{color:#21759b}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress ul.item-list{border-top:0}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}@media screen and (min-width:37.5em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:10px}#buddypress ul.item-list li .item{margin-right:0;overflow:hidden}#buddypress ul.item-list li .item .item-meta{text-align:center}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item{margin-right:15%}#buddypress ul.item-list li .item .item-meta{text-align:right}}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:16px;font-size:1.1428571429rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-width:37.5em){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}#buddypress ul.item-list li .item .item-title{text-align:right}}#buddypress ul.item-list li .item .item-title>a{text-decoration:none}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.8571428571rem;padding:10px 0;text-align:right}@media screen and (min-width:60em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:1rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:5%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.2857142857rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-24px;margin-right:0;padding:24px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:60em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block}@media screen and (min-width:37.5em){#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:60em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 24px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;padding:0 .4em 0 0}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:left}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input{padding:2px 6px}}#buddypress #item-body form#whats-new-form{margin:48px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:24px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-comments,#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-header{font-size:14px;font-size:1rem}#buddypress #activity-stream li .activity-inner img{height:auto}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.1428571429rem}#buddypress #activity-stream li .activity-comments{margin-right:70px}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:1rem}#buddypress #activity-stream li.mini .activity-content .activity-meta a{font-size:12px;font-size:.8571428571rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{border-bottom:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;font-size:14px;font-size:1rem;margin-bottom:5px;padding:.2em .5em}@media screen and (min-width:37.5em){#buddypress #activity-stream .activity-content .activity-meta a{float:right;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:24px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.1428571429rem;margin-bottom:48px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.4285714286rem}}.activity-permalink #buddypress #activity-stream .activity-comments{margin-right:0}#buddypress #activity-stream .activity-comments{position:relative}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:10px 2px 0 0}#buddypress #activity-stream .activity-comments>ul>li:hover *{color:#555}#buddypress #activity-stream .activity-comments>ul>li .acomment-content,#buddypress #activity-stream .activity-comments>ul>li .acomment-meta{font-size:12px;font-size:.8571428571rem}#buddypress #activity-stream .activity-comments .ac-form{border:1px solid #d4d0ba;box-sizing:border-box;margin:10px 0;width:100%}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.8571428571rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:60em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:37.5em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user #buddypress a:visited{color:#21759b}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:1rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:37.5em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}.single-item.groups #buddypress #item-header #item-meta{margin-bottom:24px}}@media screen and (max-width:50em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:48px}.single-item.groups #buddypress div#item-header #item-header-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.single-item.groups #buddypress div#item-header div#item-actions{margin:0!important;width:100%}@media screen and (min-width:50em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:1rem;padding:.2em}.single-item.groups #buddypress div#item-header div#item-actions #group-admins li,.single-item.groups #buddypress div#item-header div#item-actions #group-mods li{margin:0}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:2%;padding:0 .5em}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}@media screen and (min-width:64em){.single-item.groups #buddypress div#item-header #item-header-content{width:40%}}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{margin-top:225px!important}@media screen and (min-width:50em) and (max-width:60em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content{max-width:60%!important;width:60%!important}}@media screen and (max-width:64em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{border:0;clear:both;margin-top:0!important;max-width:100%!important;padding-top:0!important;width:auto}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h3{border-bottom:1px solid #eaeaea}}.bp-user #buddypress #item-header{padding:24px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button{margin-left:5px}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar,.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:0;width:69%}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:1rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:1rem}.groups.group-avatar form>p{margin-top:24px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:37.5em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:37.5em){.groups.group-members #subnav li{background:#fff;padding:24px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:13px;font-size:.9285714286rem}.bp-user #buddypress table td{font-size:12px;font-size:.8571428571rem}@media screen and (min-width:60em){.bp-user #buddypress table th{font-size:16px;font-size:1.1428571429rem}.bp-user #buddypress table td{font-size:14px;font-size:1rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:right;width:100%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:40%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:1rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:49%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:auto}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;margin-right:1%;width:50%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{width:auto}}.bp-user #buddypress .messages-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .messages-options-nav input[disabled=disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:hover{background:0 0}.bp-user #buddypress .profile .bp-widget h4{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.2857142857rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{margin:5px 0 24px}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:1rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#6f6f6f;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box;color:#eee;font-weight:700;padding:.1em .5em;text-decoration:none}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover{color:#fff}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread #message-recipients .highlight{font-size:100%}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;box-sizing:border-box;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom:1px solid #ccc;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star{vertical-align:middle}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star,.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar{line-height:1.2}.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px;font-size:1rem}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.8571428571rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.8571428571rem;line-height:1.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:37.5em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.7857142857rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{border-color:#eaeaea}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress #send_message_form input,.bp-user #buddypress #send_message_form textarea{box-sizing:border-box}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-right:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices tr{margin:3em 0}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-right:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td a.button{border:1px solid #d4d0ba;line-height:initial;padding:.4em .3em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{line-height:1;padding-bottom:1em;text-align:left}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-right:10px}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user .ac_results li img{vertical-align:bottom}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.4285714286rem;margin:24px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:1rem;border:0;border-radius:0;line-height:1.8;min-height:2rem}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{border-left:1px solid rgba(212,208,186,.6);float:right;margin:0;padding:0 .2em;width:100%}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:0 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:37.5em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:75em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1.1428571429rem}}.bp-user #buddypress table{font-size:14px;font-size:1rem;margin:24px 0}.bp-user #buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff;padding:0 8px}.bp-user #buddypress table tr td{padding:8px}.bp-user #buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){.bp-user #buddypress table{font-size:16px;font-size:1.1428571429rem}}.bp-user #buddypress .messages-notices th,.bp-user #buddypress .notifications th{width:30%}.bp-user #buddypress .messages-notices th.bulk-select-all,.bp-user #buddypress .notifications th.bulk-select-all{text-align:center;width:10%}.bp-user #buddypress .messages-notices .bulk-select-check,.bp-user #buddypress .messages-notices .notification-actions,.bp-user #buddypress .messages-notices .thread-star,.bp-user #buddypress .messages-notices td.thread-options,.bp-user #buddypress .messages-notices th.actions,.bp-user #buddypress .notifications .bulk-select-check,.bp-user #buddypress .notifications .notification-actions,.bp-user #buddypress .notifications .thread-star,.bp-user #buddypress .notifications td.thread-options,.bp-user #buddypress .notifications th.actions{text-align:center}.bp-user #buddypress .messages-notices .notification-actions a,.bp-user #buddypress .messages-notices td.thread-options a,.bp-user #buddypress .notifications .notification-actions a,.bp-user #buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}.bp-user #buddypress .messages-notices td .button,.bp-user #buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.2857142857rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file +@charset "UTF-8";.buddypress div.clear{display:none}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a:focus,#buddypress div.item-list-tabs ul li a:hover{color:#555}#buddypress div.item-list-tabs ul li a:visited{color:#21759b}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:30em){.bp-user #buddypress #object-nav{border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:37.5em){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f2f2f2}}@media screen and (min-width:37.5em){#buddypress #object-nav ul li{float:right}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{border-bottom:0;border-top:1px solid #d4d0ba;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;float:left;margin-top:0;padding:5px 0;text-align:left;width:230px}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:1rem}#buddypress div#subnav.item-list-tabs ul li.last select{font-style:italic}#buddypress div#subnav.item-list-tabs ul li.last select option{font-style:normal}#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress div#subnav.item-list-tabs li.last{margin-right:0;text-align:left}@media screen and (max-width:30em){#buddypress div#subnav.item-list-tabs ul li.last{float:none;width:auto}.bp-user #buddypress div#subnav.item-list-tabs li.last{clear:right;float:none;margin-right:10px;text-align:right}}@media screen and (min-width:60em){body.full-width #buddypress #item-body,body.full-width #buddypress #item-header{background:#fff}body.full-width #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body.full-width #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.full-width #buddypress #object-nav ul li{float:none;overflow:hidden}body.full-width #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body.full-width #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 24px 0 0;width:auto}body.full-width #buddypress #item-body #subnav{margin:0 -24px 0 0}body.full-width #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream li .activity-header a:visited,#buddypress ul.item-list li .item .item-title>a:visited{color:#21759b}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress ul.item-list{border-top:0}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}@media screen and (min-width:37.5em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:10px}#buddypress ul.item-list li .item{margin-right:0;overflow:hidden}#buddypress ul.item-list li .item .item-meta{text-align:center}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item{margin-right:15%}#buddypress ul.item-list li .item .item-meta{text-align:right}}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:16px;font-size:1.1428571429rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-width:37.5em){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}#buddypress ul.item-list li .item .item-title{text-align:right}}#buddypress ul.item-list li .item .item-title>a{text-decoration:none}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.8571428571rem;padding:10px 0;text-align:right}@media screen and (min-width:60em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:1rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:5%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.2857142857rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-24px;margin-right:0;padding:24px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:60em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block}@media screen and (min-width:37.5em){#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:60em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 24px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;padding:0 .4em 0 0}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:left}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input{padding:2px 6px}}#buddypress #item-body form#whats-new-form{margin:48px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:24px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-comments,#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-header{font-size:14px;font-size:1rem}#buddypress #activity-stream li .activity-inner img{height:auto}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.1428571429rem}#buddypress #activity-stream li .activity-comments{margin-right:70px}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:1rem}#buddypress #activity-stream li.mini .activity-content .activity-meta a{font-size:12px;font-size:.8571428571rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{border-bottom:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;font-size:14px;font-size:1rem;margin-bottom:5px;padding:.2em .5em}@media screen and (min-width:37.5em){#buddypress #activity-stream .activity-content .activity-meta a{float:right;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:24px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.1428571429rem;margin-bottom:48px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.4285714286rem}}.activity-permalink #buddypress #activity-stream .activity-comments{margin-right:0}#buddypress #activity-stream .activity-comments{position:relative}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:10px 2px 0 0}#buddypress #activity-stream .activity-comments>ul>li:hover *{color:#555}#buddypress #activity-stream .activity-comments>ul>li .acomment-content,#buddypress #activity-stream .activity-comments>ul>li .acomment-meta{font-size:12px;font-size:.8571428571rem}#buddypress #activity-stream .activity-comments a{color:#737373}#buddypress #activity-stream .activity-comments .ac-form{border:1px solid #d4d0ba;box-sizing:border-box;margin:10px 0;width:100%}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.8571428571rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:60em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:37.5em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user #buddypress a:visited{color:#21759b}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:1rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:37.5em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}.single-item.groups #buddypress #item-header #item-meta{margin-bottom:24px}}@media screen and (max-width:50em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h2{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:48px}.single-item.groups #buddypress div#item-header #item-header-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.single-item.groups #buddypress div#item-header div#item-actions{margin:0!important;width:100%}@media screen and (min-width:50em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:14px;font-size:1rem;padding:.2em}.single-item.groups #buddypress div#item-header div#item-actions #group-admins li,.single-item.groups #buddypress div#item-header div#item-actions #group-mods li{margin:0}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:2%;padding:0 .5em}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}@media screen and (min-width:64em){.single-item.groups #buddypress div#item-header #item-header-content{width:40%}}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{margin-top:225px!important}@media screen and (min-width:50em) and (max-width:60em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content{max-width:60%!important;width:60%!important}}@media screen and (max-width:64em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{border:0;clear:both;margin-top:0!important;max-width:100%!important;padding-top:0!important;width:auto}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2{border-bottom:1px solid #eaeaea}}.bp-user #buddypress #item-header{padding:24px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button{margin-left:5px}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar,.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:0;width:69%}}.groups #group-settings-form h3{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:1rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:1rem}.groups.group-avatar form>p{margin-top:24px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:37.5em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:37.5em){.groups.group-members #subnav li{background:#fff;padding:24px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:13px;font-size:.9285714286rem}.bp-user #buddypress table td{font-size:12px;font-size:.8571428571rem}@media screen and (min-width:60em){.bp-user #buddypress table th{font-size:16px;font-size:1.1428571429rem}.bp-user #buddypress table td{font-size:14px;font-size:1rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:right;width:100%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:40%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:1rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:49%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:auto}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;margin-right:1%;width:50%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{width:auto}}.bp-user #buddypress .messages-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .messages-options-nav input[disabled=disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:hover{background:0 0}.bp-user #buddypress .profile .bp-widget h2{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.2857142857rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{margin:5px 0 24px}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:1rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#6f6f6f;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box;color:#f1f1f1;font-weight:700;padding:.1em .5em;text-decoration:none}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover{color:#fff}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread #message-recipients .highlight{font-size:100%}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;box-sizing:border-box;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom:1px solid #ccc;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star{vertical-align:middle}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star,.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar{line-height:1.2}.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px;font-size:1rem}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.8571428571rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.8571428571rem;line-height:1.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:37.5em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.7857142857rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{border-color:#eaeaea}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress #send_message_form input,.bp-user #buddypress #send_message_form textarea{box-sizing:border-box}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-left:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-right:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices tr{margin:3em 0}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-right:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td a.button{border:1px solid #d4d0ba;line-height:initial;padding:.4em .3em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{line-height:1;padding-bottom:1em;text-align:left}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-right:10px}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user .ac_results li img{vertical-align:bottom}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.4285714286rem;margin:24px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:1rem;border:0;border-radius:0;line-height:1.8;min-height:2rem}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{border-left:1px solid rgba(212,208,186,.6);float:right;margin:0;padding:0 .2em;width:100%}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:0 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:37.5em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:75em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1.1428571429rem}}.bp-user #buddypress table{font-size:14px;font-size:1rem;margin:24px 0}.bp-user #buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff;padding:0 8px}.bp-user #buddypress table tr td{padding:8px}.bp-user #buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){.bp-user #buddypress table{font-size:16px;font-size:1.1428571429rem}}.bp-user #buddypress .messages-notices th,.bp-user #buddypress .notifications th{width:30%}.bp-user #buddypress .messages-notices th.bulk-select-all,.bp-user #buddypress .notifications th.bulk-select-all{text-align:center;width:10%}.bp-user #buddypress .messages-notices .bulk-select-check,.bp-user #buddypress .messages-notices .notification-actions,.bp-user #buddypress .messages-notices .thread-star,.bp-user #buddypress .messages-notices td.thread-options,.bp-user #buddypress .messages-notices th.actions,.bp-user #buddypress .notifications .bulk-select-check,.bp-user #buddypress .notifications .notification-actions,.bp-user #buddypress .notifications .thread-star,.bp-user #buddypress .notifications td.thread-options,.bp-user #buddypress .notifications th.actions{text-align:center}.bp-user #buddypress .messages-notices .notification-actions a,.bp-user #buddypress .messages-notices td.thread-options a,.bp-user #buddypress .notifications .notification-actions a,.bp-user #buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}.bp-user #buddypress .messages-notices td .button,.bp-user #buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.2857142857rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve.css index a16f2bda2b65b3af6b6a221565e4c6a1fc504f74..aa16558ff1b1d715e84f68496597c98bb1754557 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve.css @@ -770,6 +770,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ font-size: 0.8571428571rem; } +#buddypress #activity-stream .activity-comments a { + color: #737373; +} + #buddypress #activity-stream .activity-comments .ac-form { border: 1px solid #d4d0ba; box-sizing: border-box; @@ -949,7 +953,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .single-item.groups #buddypress div#item-header #item-actions { order: 3; } - .single-item.groups #buddypress div#item-header #item-actions h3 { + .single-item.groups #buddypress div#item-header #item-actions h2 { border-bottom: 1px solid #eaeaea; text-align: center; } @@ -991,7 +995,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding-left: 0; } -.single-item.groups #buddypress div#item-header div#item-actions h3 { +.single-item.groups #buddypress div#item-header div#item-actions h2 { font-size: 14px; font-size: 1rem; padding: 0.2em; @@ -1043,7 +1047,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding-top: 0 !important; width: auto; } - .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h3 { + .single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2 { border-bottom: 1px solid #eaeaea; } } @@ -1105,7 +1109,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ * @subsection 6.2.1.1 - Group Management *----------------------------------------- */ -.groups #group-settings-form h4 { +.groups #group-settings-form h3 { background: #555; color: #fff; padding: 0.2em; @@ -1323,7 +1327,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ /* Edit profile */ } -.bp-user #buddypress .profile .bp-widget h4 { +.bp-user #buddypress .profile .bp-widget h2 { background: #6f6f6f; color: #fff; margin-bottom: 0; @@ -1385,7 +1389,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ -ms-border-radius: 2px; border-radius: 2px; background-clip: padding-box; - color: #eee; + color: #f1f1f1; font-weight: bold; padding: 0.1em 0.5em; text-decoration: none; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve.min.css b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve.min.css index ac528eccd30473ab96e5dc2f34d19622f8a1ff3c..975f85c072dfc7c31ad851e4eec195124533e284 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve.min.css +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve.min.css @@ -1 +1 @@ -@charset "UTF-8";.buddypress div.clear{display:none}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a:focus,#buddypress div.item-list-tabs ul li a:hover{color:#555}#buddypress div.item-list-tabs ul li a:visited{color:#21759b}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:30em){.bp-user #buddypress #object-nav{border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:37.5em){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f2f2f2}}@media screen and (min-width:37.5em){#buddypress #object-nav ul li{float:left}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{border-bottom:0;border-top:1px solid #d4d0ba;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;float:right;margin-top:0;padding:5px 0;text-align:right;width:230px}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:1rem}#buddypress div#subnav.item-list-tabs ul li.last select{font-style:italic}#buddypress div#subnav.item-list-tabs ul li.last select option{font-style:normal}#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress div#subnav.item-list-tabs li.last{margin-left:0;text-align:right}@media screen and (max-width:30em){#buddypress div#subnav.item-list-tabs ul li.last{float:none;width:auto}.bp-user #buddypress div#subnav.item-list-tabs li.last{clear:left;float:none;margin-left:10px;text-align:left}}@media screen and (min-width:60em){body.full-width #buddypress #item-body,body.full-width #buddypress #item-header{background:#fff}body.full-width #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body.full-width #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.full-width #buddypress #object-nav ul li{float:none;overflow:hidden}body.full-width #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body.full-width #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 24px;width:auto}body.full-width #buddypress #item-body #subnav{margin:0 0 0 -24px}body.full-width #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream li .activity-header a:visited,#buddypress ul.item-list li .item .item-title>a:visited{color:#21759b}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress ul.item-list{border-top:0}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}@media screen and (min-width:37.5em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:10px}#buddypress ul.item-list li .item{margin-left:0;overflow:hidden}#buddypress ul.item-list li .item .item-meta{text-align:center}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item{margin-left:15%}#buddypress ul.item-list li .item .item-meta{text-align:left}}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:16px;font-size:1.1428571429rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-width:37.5em){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}#buddypress ul.item-list li .item .item-title{text-align:left}}#buddypress ul.item-list li .item .item-title>a{text-decoration:none}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.8571428571rem;padding:10px 0;text-align:left}@media screen and (min-width:60em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:1rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:5%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.2857142857rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-24px;margin-left:0;padding:24px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:60em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block}@media screen and (min-width:37.5em){#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:60em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 24px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;padding:0 0 0 .4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:right}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input{padding:2px 6px}}#buddypress #item-body form#whats-new-form{margin:48px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:24px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-comments,#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-header{font-size:14px;font-size:1rem}#buddypress #activity-stream li .activity-inner img{height:auto}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.1428571429rem}#buddypress #activity-stream li .activity-comments{margin-left:70px}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:1rem}#buddypress #activity-stream li.mini .activity-content .activity-meta a{font-size:12px;font-size:.8571428571rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{border-bottom:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;font-size:14px;font-size:1rem;margin-bottom:5px;padding:.2em .5em}@media screen and (min-width:37.5em){#buddypress #activity-stream .activity-content .activity-meta a{float:left;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:24px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.1428571429rem;margin-bottom:48px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.4285714286rem}}.activity-permalink #buddypress #activity-stream .activity-comments{margin-left:0}#buddypress #activity-stream .activity-comments{position:relative}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:10px 0 0 2px}#buddypress #activity-stream .activity-comments>ul>li:hover *{color:#555}#buddypress #activity-stream .activity-comments>ul>li .acomment-content,#buddypress #activity-stream .activity-comments>ul>li .acomment-meta{font-size:12px;font-size:.8571428571rem}#buddypress #activity-stream .activity-comments .ac-form{border:1px solid #d4d0ba;box-sizing:border-box;margin:10px 0;width:100%}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.8571428571rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:60em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:37.5em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user #buddypress a:visited{color:#21759b}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:1rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:37.5em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}.single-item.groups #buddypress #item-header #item-meta{margin-bottom:24px}}@media screen and (max-width:50em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:48px}.single-item.groups #buddypress div#item-header #item-header-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.single-item.groups #buddypress div#item-header div#item-actions{margin:0!important;width:100%}@media screen and (min-width:50em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:1rem;padding:.2em}.single-item.groups #buddypress div#item-header div#item-actions #group-admins li,.single-item.groups #buddypress div#item-header div#item-actions #group-mods li{margin:0}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:2%;padding:0 .5em}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}@media screen and (min-width:64em){.single-item.groups #buddypress div#item-header #item-header-content{width:40%}}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{margin-top:225px!important}@media screen and (min-width:50em) and (max-width:60em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content{max-width:60%!important;width:60%!important}}@media screen and (max-width:64em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{border:0;clear:both;margin-top:0!important;max-width:100%!important;padding-top:0!important;width:auto}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h3{border-bottom:1px solid #eaeaea}}.bp-user #buddypress #item-header{padding:24px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button{margin-right:5px}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar,.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:0;width:69%}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:1rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:1rem}.groups.group-avatar form>p{margin-top:24px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:37.5em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:37.5em){.groups.group-members #subnav li{background:#fff;padding:24px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:13px;font-size:.9285714286rem}.bp-user #buddypress table td{font-size:12px;font-size:.8571428571rem}@media screen and (min-width:60em){.bp-user #buddypress table th{font-size:16px;font-size:1.1428571429rem}.bp-user #buddypress table td{font-size:14px;font-size:1rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:left;width:100%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:40%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:1rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:49%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:auto}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;margin-left:1%;width:50%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{width:auto}}.bp-user #buddypress .messages-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .messages-options-nav input[disabled=disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:hover{background:0 0}.bp-user #buddypress .profile .bp-widget h4{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.2857142857rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{margin:5px 0 24px}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:1rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#6f6f6f;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box;color:#eee;font-weight:700;padding:.1em .5em;text-decoration:none}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover{color:#fff}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread #message-recipients .highlight{font-size:100%}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;box-sizing:border-box;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom:1px solid #ccc;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star{vertical-align:middle}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star,.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar{line-height:1.2}.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px;font-size:1rem}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.8571428571rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.8571428571rem;line-height:1.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:37.5em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.7857142857rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{border-color:#eaeaea}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress #send_message_form input,.bp-user #buddypress #send_message_form textarea{box-sizing:border-box}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-left:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices tr{margin:3em 0}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-left:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td a.button{border:1px solid #d4d0ba;line-height:initial;padding:.4em .3em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{line-height:1;padding-bottom:1em;text-align:right}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-left:10px}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user .ac_results li img{vertical-align:bottom}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.4285714286rem;margin:24px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:1rem;border:0;border-radius:0;line-height:1.8;min-height:2rem}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{border-right:1px solid rgba(212,208,186,.6);float:left;margin:0;padding:0 .2em;width:100%}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:0 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:37.5em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:75em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1.1428571429rem}}.bp-user #buddypress table{font-size:14px;font-size:1rem;margin:24px 0}.bp-user #buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff;padding:0 8px}.bp-user #buddypress table tr td{padding:8px}.bp-user #buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){.bp-user #buddypress table{font-size:16px;font-size:1.1428571429rem}}.bp-user #buddypress .messages-notices th,.bp-user #buddypress .notifications th{width:30%}.bp-user #buddypress .messages-notices th.bulk-select-all,.bp-user #buddypress .notifications th.bulk-select-all{text-align:center;width:10%}.bp-user #buddypress .messages-notices .bulk-select-check,.bp-user #buddypress .messages-notices .notification-actions,.bp-user #buddypress .messages-notices .thread-star,.bp-user #buddypress .messages-notices td.thread-options,.bp-user #buddypress .messages-notices th.actions,.bp-user #buddypress .notifications .bulk-select-check,.bp-user #buddypress .notifications .notification-actions,.bp-user #buddypress .notifications .thread-star,.bp-user #buddypress .notifications td.thread-options,.bp-user #buddypress .notifications th.actions{text-align:center}.bp-user #buddypress .messages-notices .notification-actions a,.bp-user #buddypress .messages-notices td.thread-options a,.bp-user #buddypress .notifications .notification-actions a,.bp-user #buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}.bp-user #buddypress .messages-notices td .button,.bp-user #buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.2857142857rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file +@charset "UTF-8";.buddypress div.clear{display:none}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a:focus,#buddypress div.item-list-tabs ul li a:hover{color:#555}#buddypress div.item-list-tabs ul li a:visited{color:#21759b}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:30em){.bp-user #buddypress #object-nav{border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:37.5em){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f2f2f2}}@media screen and (min-width:37.5em){#buddypress #object-nav ul li{float:left}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{border-bottom:0;border-top:1px solid #d4d0ba;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;float:right;margin-top:0;padding:5px 0;text-align:right;width:230px}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:1rem}#buddypress div#subnav.item-list-tabs ul li.last select{font-style:italic}#buddypress div#subnav.item-list-tabs ul li.last select option{font-style:normal}#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.bp-user #buddypress div#subnav.item-list-tabs li.last{margin-left:0;text-align:right}@media screen and (max-width:30em){#buddypress div#subnav.item-list-tabs ul li.last{float:none;width:auto}.bp-user #buddypress div#subnav.item-list-tabs li.last{clear:left;float:none;margin-left:10px;text-align:left}}@media screen and (min-width:60em){body.full-width #buddypress #item-body,body.full-width #buddypress #item-header{background:#fff}body.full-width #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body.full-width #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.full-width #buddypress #object-nav ul li{float:none;overflow:hidden}body.full-width #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body.full-width #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 24px;width:auto}body.full-width #buddypress #item-body #subnav{margin:0 0 0 -24px}body.full-width #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress #activity-stream li .activity-header a:visited,#buddypress ul.item-list li .item .item-title>a:visited{color:#21759b}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress ul.item-list{border-top:0}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}@media screen and (min-width:37.5em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none;margin-bottom:10px}#buddypress ul.item-list li .item{margin-left:0;overflow:hidden}#buddypress ul.item-list li .item .item-meta{text-align:center}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item{margin-left:15%}#buddypress ul.item-list li .item .item-meta{text-align:left}}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:16px;font-size:1.1428571429rem;line-height:1.2;text-align:center;width:100%}@media screen and (min-width:37.5em){#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}#buddypress ul.item-list li .item .item-title{text-align:left}}#buddypress ul.item-list li .item .item-title>a{text-decoration:none}#buddypress ul.item-list li .item .item-title .update{display:block;font-size:12px;font-size:.8571428571rem;padding:10px 0;text-align:left}@media screen and (min-width:60em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:1rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:5%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.2857142857rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-24px;margin-left:0;padding:24px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:60em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block}@media screen and (min-width:37.5em){#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:60em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 24px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;padding:0 0 0 .4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:right}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit input{padding:2px 6px}}#buddypress #item-body form#whats-new-form{margin:48px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:24px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-comments,#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-header{font-size:14px;font-size:1rem}#buddypress #activity-stream li .activity-inner img{height:auto}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.1428571429rem}#buddypress #activity-stream li .activity-comments{margin-left:70px}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:1rem}#buddypress #activity-stream li.mini .activity-content .activity-meta a{font-size:12px;font-size:.8571428571rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{border-bottom:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;font-size:14px;font-size:1rem;margin-bottom:5px;padding:.2em .5em}@media screen and (min-width:37.5em){#buddypress #activity-stream .activity-content .activity-meta a{float:left;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:24px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.1428571429rem;margin-bottom:48px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.4285714286rem}}.activity-permalink #buddypress #activity-stream .activity-comments{margin-left:0}#buddypress #activity-stream .activity-comments{position:relative}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:10px 0 0 2px}#buddypress #activity-stream .activity-comments>ul>li:hover *{color:#555}#buddypress #activity-stream .activity-comments>ul>li .acomment-content,#buddypress #activity-stream .activity-comments>ul>li .acomment-meta{font-size:12px;font-size:.8571428571rem}#buddypress #activity-stream .activity-comments a{color:#737373}#buddypress #activity-stream .activity-comments .ac-form{border:1px solid #d4d0ba;box-sizing:border-box;margin:10px 0;width:100%}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.8571428571rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:60em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:37.5em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user #buddypress a:visited{color:#21759b}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:1rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:37.5em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}.single-item.groups #buddypress #item-header #item-meta{margin-bottom:24px}}@media screen and (max-width:50em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h2{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:48px}.single-item.groups #buddypress div#item-header #item-header-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.single-item.groups #buddypress div#item-header div#item-actions{margin:0!important;width:100%}@media screen and (min-width:50em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h2{font-size:14px;font-size:1rem;padding:.2em}.single-item.groups #buddypress div#item-header div#item-actions #group-admins li,.single-item.groups #buddypress div#item-header div#item-actions #group-mods li{margin:0}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:2%;padding:0 .5em}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}@media screen and (min-width:64em){.single-item.groups #buddypress div#item-header #item-header-content{width:40%}}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{margin-top:225px!important}@media screen and (min-width:50em) and (max-width:60em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-header-content{max-width:60%!important;width:60%!important}}@media screen and (max-width:64em){.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions{border:0;clear:both;margin-top:0!important;max-width:100%!important;padding-top:0!important;width:auto}.single-item.groups #buddypress #cover-image-container #item-header-cover-image #item-actions h2{border-bottom:1px solid #eaeaea}}.bp-user #buddypress #item-header{padding:24px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content #item-buttons .generic-button{margin-right:5px}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar,.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:0;width:69%}}.groups #group-settings-form h3{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:1rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:1rem}.groups.group-avatar form>p{margin-top:24px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:37.5em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:37.5em){.groups.group-members #subnav li{background:#fff;padding:24px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:13px;font-size:.9285714286rem}.bp-user #buddypress table td{font-size:12px;font-size:.8571428571rem}@media screen and (min-width:60em){.bp-user #buddypress table th{font-size:16px;font-size:1.1428571429rem}.bp-user #buddypress table td{font-size:14px;font-size:1rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:left;width:100%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:40%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:1rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:49%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:auto}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;margin-left:1%;width:50%}@media screen and (min-width:37.5em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{width:auto}}.bp-user #buddypress .messages-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .messages-options-nav input[disabled=disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:focus,.bp-user #buddypress .notifications-options-nav input[disabled=disabled]:hover{background:0 0}.bp-user #buddypress .profile .bp-widget h2{background:#6f6f6f;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.2857142857rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{margin:5px 0 24px}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:1rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#6f6f6f;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box;color:#f1f1f1;font-weight:700;padding:.1em .5em;text-decoration:none}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:focus,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close:hover,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:focus,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link:hover{color:#fff}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6f6f6f;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread #message-recipients .highlight{font-size:100%}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6f6f6f}.bp-user #buddypress #message-threads tr td{background:#fff;box-sizing:border-box;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom:1px solid #ccc;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.thread-star{vertical-align:middle}.bp-user #buddypress #message-threads tr td.thread-star .message-action-star,.bp-user #buddypress #message-threads tr td.thread-star .message-action-unstar{line-height:1.2}.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px;font-size:1rem}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.8571428571rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.8571428571rem;line-height:1.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:37.5em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.7857142857rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{border-color:#eaeaea}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress #send_message_form input,.bp-user #buddypress #send_message_form textarea{box-sizing:border-box}.bp-user #buddypress .acfb-holder{list-style:none}.bp-user #buddypress .acfb-holder li{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab{background:#edf7fa;border:inherit;margin-right:0;padding:.5em}.bp-user #buddypress .acfb-holder li.friend-tab span.p{padding-left:10px}.bp-user #buddypress .acfb-holder li.friend-tab span.p:focus,.bp-user #buddypress .acfb-holder li.friend-tab span.p:hover{color:#c82b2b;cursor:pointer}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0;text-decoration:none}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;vertical-align:middle;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td,.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress #message-threads.sitewide-notices tr{margin:3em 0}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6f6f6f;color:#fff;display:block;margin-bottom:.4em;padding-left:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td a.button{border:1px solid #d4d0ba;line-height:initial;padding:.4em .3em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:nth-child(2) strong{margin:-8px -8px 8px}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{line-height:1;padding-bottom:1em;text-align:right}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user .ac_results{background:#eee;padding-left:10px}.bp-user .ac_results li{margin:10px 0}.bp-user .ac_results li:focus,.bp-user .ac_results li:hover{cursor:pointer}.bp-user .ac_results li img{vertical-align:bottom}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.4285714286rem;margin:24px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:1rem;border:0;border-radius:0;line-height:1.8;min-height:2rem}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{border-right:1px solid rgba(212,208,186,.6);float:left;margin:0;padding:0 .2em;width:100%}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:0 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:37.5em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:75em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1.1428571429rem}}.bp-user #buddypress table{font-size:14px;font-size:1rem;margin:24px 0}.bp-user #buddypress table tr th{background:#6f6f6f;border-color:#b7b7b7;color:#fff;padding:0 8px}.bp-user #buddypress table tr td{padding:8px}.bp-user #buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){.bp-user #buddypress table{font-size:16px;font-size:1.1428571429rem}}.bp-user #buddypress .messages-notices th,.bp-user #buddypress .notifications th{width:30%}.bp-user #buddypress .messages-notices th.bulk-select-all,.bp-user #buddypress .notifications th.bulk-select-all{text-align:center;width:10%}.bp-user #buddypress .messages-notices .bulk-select-check,.bp-user #buddypress .messages-notices .notification-actions,.bp-user #buddypress .messages-notices .thread-star,.bp-user #buddypress .messages-notices td.thread-options,.bp-user #buddypress .messages-notices th.actions,.bp-user #buddypress .notifications .bulk-select-check,.bp-user #buddypress .notifications .notification-actions,.bp-user #buddypress .notifications .thread-star,.bp-user #buddypress .notifications td.thread-options,.bp-user #buddypress .notifications th.actions{text-align:center}.bp-user #buddypress .messages-notices .notification-actions a,.bp-user #buddypress .messages-notices td.thread-options a,.bp-user #buddypress .notifications .notification-actions a,.bp-user #buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}.bp-user #buddypress .messages-notices td .button,.bp-user #buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.2857142857rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve.scss b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve.scss index 759060a6f146c9be409db553eed0a928da7c6024..78f2d6c487660122761dc5615aee74a1620e0741 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve.scss +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/css/twentytwelve.scss @@ -1098,11 +1098,14 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .acomment-content { @include font-size(12); } - } } + a { + color: #737373; + } + .ac-form { border: 1px solid $border-color; box-sizing: border-box; @@ -1326,7 +1329,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ #item-actions { order: 3; - h3 { + h2 { border-bottom: 1px solid $border-light; text-align: center; } @@ -1362,7 +1365,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding-left: 0; } - h3 { + h2 { @include font-size(14); padding: 0.2em; } @@ -1433,7 +1436,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ padding-top: 0 !important; width: auto; - h3 {border-bottom: 1px solid $border-light;} + h2 {border-bottom: 1px solid $border-light;} } } // @media @@ -1521,7 +1524,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ // headings settings screens & general global settings styles .groups { #group-settings-form { - h4 { + h3 { background: $dark-background; color: $content-background; padding: 0.2em; @@ -1744,7 +1747,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .profile { .bp-widget { - h4 { + h2 { background: lighten($dark-background, 10%); color: #fff; margin-bottom: 0; @@ -1801,7 +1804,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/ .visibility-toggle-link { background: lighten($dark-background, 10%); @include border-radius(2px); - color: #eee; + color: #f1f1f1; font-weight: bold; padding: 0.1em 0.5em; text-decoration: none; diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.js b/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.js index 40cfcaa995ee79acdb0747214f473d0e9a26e978..d80e0d752013e9de12931298e021a53fb01a398d 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.js +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.js @@ -308,6 +308,11 @@ jq(document).ready( function() { /* Favoriting activity stream items */ if ( target.hasClass('fav') || target.hasClass('unfav') ) { + /* Bail if a request is in progress */ + if ( target.hasClass( 'loading' ) ) { + return false; + } + type = target.hasClass('fav') ? 'fav' : 'unfav'; parent = target.closest('.activity-item'); parent_id = parent.attr('id').substr( 9, parent.attr('id').length ); @@ -847,12 +852,13 @@ jq(document).ready( function() { } var target = jq(event.target), - css_id, object, template; + css_id, object, template, search_terms; if ( target.attr('type') === 'submit' ) { css_id = jq('.item-list-tabs li.selected').attr('id').split( '-' ); object = css_id[0]; template = null; + search_terms = target.parent().find( '#' + object + '_search' ).val(); // The Group Members page specifies its own template if ( event.currentTarget.className === 'groups-members-search' ) { @@ -860,7 +866,7 @@ jq(document).ready( function() { template = 'groups/single/members'; } - 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 ); + 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 ); return false; } @@ -870,6 +876,11 @@ jq(document).ready( function() { /* When a navigation tab is clicked - e.g. | All Groups | My Groups | */ jq('div.item-list-tabs').on( 'click', function(event) { + // If on a directory page with a type filter, add no-ajax class. + if ( jq( 'body' ).hasClass( 'type' ) && jq( 'body' ).hasClass( 'directory' ) ) { + jq(this).addClass( 'no-ajax' ); + } + if ( jq(this).hasClass('no-ajax') || jq( event.target ).hasClass('no-ajax') ) { return; } diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.min.js b/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.min.js index e84b146387a008a68144d5b610302988e1a3d4f6..69df730087d1a9403b644b92c07e904fe3f5f874 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.min.js +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/buddypress.min.js @@ -1,2 +1,2 @@ -function bp_init_activity(){jq.cookie("bp-activity-oldestpage",1,{path:"/",secure:"https:"===window.location.protocol}),void 0!==jq.cookie("bp-activity-filter")&&jq("#activity-filter-select").length&&jq('#activity-filter-select select option[value="'+jq.cookie("bp-activity-filter")+'"]').prop("selected",!0),void 0!==jq.cookie("bp-activity-scope")&&jq(".activity-type-tabs").length&&(jq(".activity-type-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#activity-"+jq.cookie("bp-activity-scope")+", .item-list-tabs li.current").addClass("selected"))}function bp_init_objects(a){jq(a).each(function(b){void 0!==jq.cookie("bp-"+a[b]+"-filter")&&jq("#"+a[b]+"-order-select select").length&&jq("#"+a[b]+'-order-select select option[value="'+jq.cookie("bp-"+a[b]+"-filter")+'"]').prop("selected",!0),void 0!==jq.cookie("bp-"+a[b]+"-scope")&&jq("div."+a[b]).length&&(jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a[b]+"-"+jq.cookie("bp-"+a[b]+"-scope")+", #object-nav li.current").addClass("selected"))})}function bp_filter_request(a,b,c,d,e,f,g,h,i){return"activity"===a?!1:(null===c&&(c="all"),jq.cookie("bp-"+a+"-scope",c,{path:"/",secure:"https:"===window.location.protocol}),jq.cookie("bp-"+a+"-filter",b,{path:"/",secure:"https:"===window.location.protocol}),jq.cookie("bp-"+a+"-extras",g,{path:"/",secure:"https:"===window.location.protocol}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a+"-"+c+", #object-nav li.current").addClass("selected"),jq(".item-list-tabs li.selected").addClass("loading"),jq('.item-list-tabs select option[value="'+b+'"]').prop("selected",!0),("friends"===a||"group_members"===a)&&(a="members"),bp_ajax_request&&bp_ajax_request.abort(),void(bp_ajax_request=jq.post(ajaxurl,{action:a+"_filter",cookie:bp_get_cookies(),object:a,filter:b,search_terms:e,scope:c,page:f,extras:g,template:i},function(a){if("pag-bottom"===h&&jq("#subnav").length){var b=jq("#subnav").parent();jq("html,body").animate({scrollTop:b.offset().top},"slow",function(){jq(d).fadeOut(100,function(){jq(this).html(a),jq(this).fadeIn(100)})})}else jq(d).fadeOut(100,function(){jq(this).html(a),jq(this).fadeIn(100)});jq(".item-list-tabs li.selected").removeClass("loading")})))}function bp_activity_request(a,b){null!==a&&jq.cookie("bp-activity-scope",a,{path:"/",secure:"https:"===window.location.protocol}),null!==b&&jq.cookie("bp-activity-filter",b,{path:"/",secure:"https:"===window.location.protocol}),jq.cookie("bp-activity-oldestpage",1,{path:"/",secure:"https:"===window.location.protocol}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected loading")}),jq("#activity-"+a+", .item-list-tabs li.current").addClass("selected"),jq("#object-nav.item-list-tabs li.selected, div.activity-type-tabs li.selected").addClass("loading"),jq('#activity-filter-select select option[value="'+b+'"]').prop("selected",!0),jq(".widget_bp_activity_widget h2 span.ajax-loader").show(),bp_ajax_request&&bp_ajax_request.abort(),bp_ajax_request=jq.post(ajaxurl,{action:"activity_widget_filter",cookie:bp_get_cookies(),_wpnonce_activity_filter:jq("#_wpnonce_activity_filter").val(),scope:a,filter:b},function(a){jq(".widget_bp_activity_widget h2 span.ajax-loader").hide(),jq("div.activity").fadeOut(100,function(){jq(this).html(a.contents),jq(this).fadeIn(100),bp_legacy_theme_hide_comments()}),void 0!==a.feed_url&&jq(".directory #subnav li.feed a, .home-page #subnav li.feed a").attr("href",a.feed_url),jq(".item-list-tabs li.selected").removeClass("loading")},"json")}function bp_legacy_theme_hide_comments(){var a,b,c,d=jq("div.activity-comments");return d.length?void d.each(function(){jq(this).children("ul").children("li").length<5||(comments_div=jq(this),a=comments_div.parents("#activity-stream > li"),b=jq(this).children("ul").children("li"),c=" ",jq("#"+a.attr("id")+" a.acomment-reply span").length&&(c=jq("#"+a.attr("id")+" a.acomment-reply span").html()),b.each(function(d){d<b.length-5&&(jq(this).addClass("hidden"),jq(this).toggle(),d||jq(this).before('<li class="show-all"><a href="#'+a.attr("id")+'/show-all/" title="'+BP_DTheme.show_all_comments+'">'+BP_DTheme.show_x_comments.replace("%d",c)+"</a></li>"))}))}):!1}function checkAll(){var a,b=document.getElementsByTagName("input");for(a=0;a<b.length;a++)"checkbox"===b[a].type&&(""===$("check_all").checked?b[a].checked="":b[a].checked="checked")}function clear(a){if(a=document.getElementById(a)){var b=a.getElementsByTagName("INPUT"),c=a.getElementsByTagName("OPTION"),d=0;if(b)for(d=0;d<b.length;d++)b[d].checked="";if(c)for(d=0;d<c.length;d++)c[d].selected=!1}}function bp_get_cookies(){var a,b,c,d,e,f=document.cookie.split(";"),g={},h="bp-";for(a=0;a<f.length;a++)b=f[a],c=b.indexOf("="),d=jq.trim(unescape(b.slice(0,c))),e=unescape(b.slice(c+1)),0===d.indexOf(h)&&(g[d]=e);return encodeURIComponent(jq.param(g))}var jq=jQuery,bp_ajax_request=null,newest_activities="",activity_last_recorded=0;jq(document).ready(function(){"-1"===window.location.search.indexOf("new")&&jq("div.forums").length?jq("#new-topic-post").hide():jq("#new-topic-post").show(),bp_init_activity();var a=["members","groups","blogs","forums","group_members"],b=jq("#whats-new");if(bp_init_objects(a),b.length&&bp_get_querystring("r")){var c=b.val();jq("#whats-new-options").slideDown(),b.animate({height:"3.8em"}),jq.scrollTo(b,500,{offset:-125,easing:"swing"}),b.val("").focus().val(c)}else jq("#whats-new-options").hide();if(b.focus(function(){jq("#whats-new-options").slideDown(),jq(this).animate({height:"3.8em"}),jq("#aw-whats-new-submit").prop("disabled",!1),jq(this).parent().addClass("active"),jq("#whats-new-content").addClass("active");var a=jq("form#whats-new-form"),b=jq("#activity-all");a.hasClass("submitted")&&a.removeClass("submitted"),b.length&&(b.hasClass("selected")?"-1"!==jq("#activity-filter-select select").val()&&(jq("#activity-filter-select select").val("-1"),jq("#activity-filter-select select").trigger("change")):(jq("#activity-filter-select select").val("-1"),b.children("a").trigger("click")))}),jq("#whats-new-form").on("focusout",function(a){var c=jq(this);setTimeout(function(){if(!c.find(":hover").length){if(""!==b.val())return;b.animate({height:"2.2em"}),jq("#whats-new-options").slideUp(),jq("#aw-whats-new-submit").prop("disabled",!0),jq("#whats-new-content").removeClass("active"),b.parent().removeClass("active")}},0)}),jq("#aw-whats-new-submit").on("click",function(){var a,b=0,c=jq(this),d=c.closest("form#whats-new-form"),e={};return jq.each(d.serializeArray(),function(a,b){"_"!==b.name.substr(0,1)&&"whats-new"!==b.name.substr(0,9)&&(e[b.name]?jq.isArray(e[b.name])?e[b.name].push(b.value):e[b.name]=new Array(e[b.name],b.value):e[b.name]=b.value)}),d.find("*").each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!0)}),jq("div.error").remove(),c.addClass("loading"),c.prop("disabled",!0),d.addClass("submitted"),object="",item_id=jq("#whats-new-post-in").val(),content=jq("#whats-new").val(),firstrow=jq("#buddypress ul.activity-list li").first(),activity_row=firstrow,timestamp=null,firstrow.length&&(activity_row.hasClass("load-newest")&&(activity_row=firstrow.next()),timestamp=activity_row.prop("class").match(/date-recorded-([0-9]+)/)),timestamp&&(b=timestamp[1]),item_id>0&&(object=jq("#whats-new-post-object").val()),a=jq.extend({action:"post_update",cookie:bp_get_cookies(),_wpnonce_post_update:jq("#_wpnonce_post_update").val(),content:content,object:object,item_id:item_id,since:b,_bp_as_nonce:jq("#_bp_as_nonce").val()||""},e),jq.post(ajaxurl,a,function(a){if(d.find("*").each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!1)}),a[0]+a[1]==="-1")d.prepend(a.substr(2,a.length)),jq("#"+d.attr("id")+" div.error").hide().fadeIn(200);else{if(0===jq("ul.activity-list").length&&(jq("div.error").slideUp(100).remove(),jq("#message").slideUp(100).remove(),jq("div.activity").append('<ul id="activity-stream" class="activity-list item-list">')),firstrow.hasClass("load-newest")&&firstrow.remove(),jq("#activity-stream").prepend(a),b||jq("#activity-stream li:first").addClass("new-update just-posted"),0!==jq("#latest-update").length){var c=jq("#activity-stream li.new-update .activity-content .activity-inner p").html(),e=jq("#activity-stream li.new-update .activity-content .activity-header p a.view").attr("href"),f=jq("#activity-stream li.new-update .activity-content .activity-inner p").text(),g="";""!==f&&(g=c+" "),g+='<a href="'+e+'" rel="nofollow">'+BP_DTheme.view+"</a>",jq("#latest-update").slideUp(300,function(){jq("#latest-update").html(g),jq("#latest-update").slideDown(300)})}jq("li.new-update").hide().slideDown(300),jq("li.new-update").removeClass("new-update"),jq("#whats-new").val(""),d.get(0).reset(),newest_activities="",activity_last_recorded=0}jq("#whats-new-options").slideUp(),jq("#whats-new-form textarea").animate({height:"2.2em"}),jq("#aw-whats-new-submit").prop("disabled",!0).removeClass("loading"),jq("#whats-new-content").removeClass("active")}),!1}),jq("div.activity-type-tabs").on("click",function(a){var b,c,d=jq(a.target).parent();if("STRONG"===a.target.nodeName||"SPAN"===a.target.nodeName)d=d.parent();else if("A"!==a.target.nodeName)return!1;return jq.cookie("bp-activity-oldestpage",1,{path:"/",secure:"https:"===window.location.protocol}),b=d.attr("id").substr(9,d.attr("id").length),c=jq("#activity-filter-select select").val(),"mentions"===b&&jq("#"+d.attr("id")+" a strong").remove(),bp_activity_request(b,c),!1}),jq("#activity-filter-select select").change(function(){var a,b=jq("div.activity-type-tabs li.selected"),c=jq(this).val();return a=b.length?b.attr("id").substr(9,b.attr("id").length):null,bp_activity_request(a,c),!1}),jq("div.activity").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l=jq(a.target);return l.hasClass("fav")||l.hasClass("unfav")?(b=l.hasClass("fav")?"fav":"unfav",c=l.closest(".activity-item"),d=c.attr("id").substr(9,c.attr("id").length),l.addClass("loading"),jq.post(ajaxurl,{action:"activity_mark_"+b,cookie:bp_get_cookies(),id:d},function(a){l.removeClass("loading"),l.fadeOut(200,function(){jq(this).html(a),jq(this).attr("title","fav"===b?BP_DTheme.remove_fav:BP_DTheme.mark_as_fav),jq(this).fadeIn(200)}),"fav"===b?(jq(".item-list-tabs #activity-favs-personal-li").length||(jq(".item-list-tabs #activity-favorites").length||jq(".item-list-tabs ul #activity-mentions").before('<li id="activity-favorites"><a href="#">'+BP_DTheme.my_favs+" <span>0</span></a></li>"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())+1)),l.removeClass("fav"),l.addClass("unfav")):(l.removeClass("unfav"),l.addClass("fav"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())-1),Number(jq(".item-list-tabs ul #activity-favorites span").html())||(jq(".item-list-tabs ul #activity-favorites").hasClass("selected")&&bp_activity_request(null,null),jq(".item-list-tabs ul #activity-favorites").remove())),"activity-favorites"===jq(".item-list-tabs li.selected").attr("id")&&l.closest(".activity-item").slideUp(100)}),!1):l.hasClass("delete-activity")?(e=l.parents("div.activity ul li"),f=e.attr("id").substr(9,e.attr("id").length),g=l.attr("href"),h=g.split("_wpnonce="),i=e.prop("class").match(/date-recorded-([0-9]+)/),h=h[1],l.addClass("loading"),jq.post(ajaxurl,{action:"delete_activity",cookie:bp_get_cookies(),id:f,_wpnonce:h},function(a){a[0]+a[1]==="-1"?(e.prepend(a.substr(2,a.length)),e.children("#message").hide().fadeIn(300)):(e.slideUp(300),i&&activity_last_recorded===i[1]&&(newest_activities="",activity_last_recorded=0))}),!1):l.hasClass("spam-activity")?(e=l.parents("div.activity ul li"),i=e.prop("class").match(/date-recorded-([0-9]+)/),l.addClass("loading"),jq.post(ajaxurl,{action:"bp_spam_activity",cookie:encodeURIComponent(document.cookie),id:e.attr("id").substr(9,e.attr("id").length),_wpnonce:l.attr("href").split("_wpnonce=")[1]},function(a){a[0]+a[1]==="-1"?(e.prepend(a.substr(2,a.length)),e.children("#message").hide().fadeIn(300)):(e.slideUp(300),i&&activity_last_recorded===i[1]&&(newest_activities="",activity_last_recorded=0))}),!1):l.parent().hasClass("load-more")?(bp_ajax_request&&bp_ajax_request.abort(),jq("#buddypress li.load-more").addClass("loading"),null===jq.cookie("bp-activity-oldestpage")&&jq.cookie("bp-activity-oldestpage",1,{path:"/",secure:"https:"===window.location.protocol}),j=1*jq.cookie("bp-activity-oldestpage")+1,k=[],jq(".activity-list li.just-posted").each(function(){k.push(jq(this).attr("id").replace("activity-",""))}),load_more_args={action:"activity_get_older_updates",cookie:bp_get_cookies(),page:j,exclude_just_posted:k.join(",")},load_more_search=bp_get_querystring("s"),load_more_search&&(load_more_args.search_terms=load_more_search),bp_ajax_request=jq.post(ajaxurl,load_more_args,function(a){jq("#buddypress li.load-more").removeClass("loading"),jq.cookie("bp-activity-oldestpage",j,{path:"/",secure:"https:"===window.location.protocol}),jq("#buddypress ul.activity-list").append(a.contents),l.parent().hide()},"json"),!1):void(l.parent().hasClass("load-newest")&&(a.preventDefault(),l.parent().hide(),activity_html=jq.parseHTML(newest_activities),jq.each(activity_html,function(a,b){"LI"===b.nodeName&&jq(b).hasClass("just-posted")&&jq("#"+jq(b).attr("id")).length&&jq("#"+jq(b).attr("id")).remove()}),jq("#buddypress ul.activity-list").prepend(newest_activities),newest_activities=""))}),jq("div.activity").on("click",".activity-read-more a",function(a){var b,c,d=jq(a.target),e=d.parent().attr("id").split("-"),f=e[3],g=e[0];return b="acomment"===g?"acomment-content":"activity-inner",c=jq("#"+g+"-"+f+" ."+b+":first"),jq(d).addClass("loading"),jq.post(ajaxurl,{action:"get_single_activity_content",activity_id:f},function(a){jq(c).slideUp(300).html(a).slideDown(300)}),!1}),jq("form.ac-form").hide(),jq(".activity-comments").length&&bp_legacy_theme_hide_comments(),jq("div.activity").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=jq(a.target);return r.hasClass("acomment-reply")||r.parent().hasClass("acomment-reply")?(r.parent().hasClass("acomment-reply")&&(r=r.parent()),b=r.attr("id"),c=b.split("-"),d=c[2],e=r.attr("href").substr(10,r.attr("href").length),f=jq("#ac-form-"+d),f.css("display","none"),f.removeClass("root"),jq(".ac-form").hide(),f.children("div").each(function(){jq(this).hasClass("error")&&jq(this).hide()}),"comment"!==c[1]?jq("#acomment-"+e).append(f):jq("#activity-"+d+" .activity-comments").append(f),f.parent().hasClass("activity-comments")&&f.addClass("root"),f.slideDown(200),jq.scrollTo(f,500,{offset:-100,easing:"swing"}),jq("#ac-form-"+c[2]+" textarea").focus(),!1):"ac_form_submit"===r.attr("name")?(f=r.parents("form"),g=f.parent(),h=f.attr("id").split("-"),g.hasClass("activity-comments")?j=h[2]:(i=g.attr("id").split("-"),j=i[1]),content=jq("#"+f.attr("id")+" textarea"),jq("#"+f.attr("id")+" div.error").hide(),r.addClass("loading").prop("disabled",!0),content.addClass("loading").prop("disabled",!0),k={action:"new_activity_comment",cookie:bp_get_cookies(),_wpnonce_new_activity_comment:jq("#_wpnonce_new_activity_comment").val(),comment_id:j,form_id:h[2],content:content.val()},l=jq("#_bp_as_nonce_"+j).val(),l&&(k["_bp_as_nonce_"+j]=l),jq.post(ajaxurl,k,function(a){if(r.removeClass("loading"),content.removeClass("loading"),a[0]+a[1]==="-1")f.append(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b=f.parent();f.fadeOut(200,function(){0===b.children("ul").length&&(b.hasClass("activity-comments")?b.prepend("<ul></ul>"):b.append("<ul></ul>"));var c=jq.trim(a);b.children("ul").append(jq(c).hide().fadeIn(200)),f.children("textarea").val(""),b.parent().addClass("has-comments")}),jq("#"+f.attr("id")+" textarea").val(""),jq("#activity-"+h[2]+" a.acomment-reply span").html(Number(jq("#activity-"+h[2]+" a.acomment-reply span").html())+1),m=b.find(".show-all").find("a"),m&&(n=jq("li#activity-"+h[2]+" a.acomment-reply span").html(),m.html(BP_DTheme.show_x_comments.replace("%d",n)))}jq(r).prop("disabled",!1),jq(content).prop("disabled",!1)}),!1):r.hasClass("acomment-delete")?(o=r.attr("href"),p=r.parent().parent(),f=p.parents("div.activity-comments").children("form"),q=o.split("_wpnonce="),q=q[1],j=o.split("cid="),j=j[1].split("&"),j=j[0],r.addClass("loading"),jq(".activity-comments ul .error").remove(),p.parents(".activity-comments").append(f),jq.post(ajaxurl,{action:"delete_activity_comment",cookie:bp_get_cookies(),_wpnonce:q,id:j},function(a){if(a[0]+a[1]==="-1")p.prepend(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b,c,d,e=jq("#"+p.attr("id")+" ul").children("li"),f=0;jq(e).each(function(){jq(this).is(":hidden")||f++}),p.fadeOut(200,function(){p.remove()}),b=jq("#"+p.parents("#activity-stream > li").attr("id")+" a.acomment-reply span"),c=b.html()-(1+f),b.html(c),d=p.siblings(".show-all").find("a"),d&&d.html(BP_DTheme.show_x_comments.replace("%d",c)),0===c&&jq(p.parents("#activity-stream > li")).removeClass("has-comments")}}),!1):r.hasClass("spam-activity-comment")?(o=r.attr("href"),p=r.parent().parent(),r.addClass("loading"),jq(".activity-comments ul div.error").remove(),p.parents(".activity-comments").append(p.parents(".activity-comments").children("form")),jq.post(ajaxurl,{action:"bp_spam_activity_comment",cookie:encodeURIComponent(document.cookie),_wpnonce:o.split("_wpnonce=")[1],id:o.split("cid=")[1].split("&")[0]},function(a){if(a[0]+a[1]==="-1")p.prepend(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b,c=jq("#"+p.attr("id")+" ul").children("li"),d=0;jq(c).each(function(){jq(this).is(":hidden")||d++}),p.fadeOut(200),b=p.parents("#activity-stream > li"),jq("#"+b.attr("id")+" a.acomment-reply span").html(jq("#"+b.attr("id")+" a.acomment-reply span").html()-(1+d))}}),!1):r.parent().hasClass("show-all")?(r.parent().addClass("loading"),setTimeout(function(){r.parent().parent().children("li").fadeIn(200,function(){r.parent().remove()})},600),!1):r.hasClass("ac-reply-cancel")?(jq(r).closest(".ac-form").slideUp(200),!1):void 0}),jq(document).keydown(function(a){if(a=a||window.event,a.target?element=a.target:a.srcElement&&(element=a.srcElement),3===element.nodeType&&(element=element.parentNode),a.ctrlKey!==!0&&a.altKey!==!0&&a.metaKey!==!0){var b=a.keyCode?a.keyCode:a.which;27===b&&"TEXTAREA"===element.tagName&&jq(element).hasClass("ac-input")&&jq(element).parent().parent().parent().slideUp(200)}}),jq(".dir-search, .groups-members-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c,d,e=jq(a.target);return"submit"===e.attr("type")?(b=jq(".item-list-tabs li.selected").attr("id").split("-"),c=b[0],d=null,"groups-members-search"===a.currentTarget.className&&(c="group_members",d="groups/single/members"),bp_filter_request(c,jq.cookie("bp-"+c+"-filter"),jq.cookie("bp-"+c+"-scope"),"div."+c,e.parent().children("label").children("input").val(),1,jq.cookie("bp-"+c+"-extras"),null,d),!1):void 0}}),jq("div.item-list-tabs").on("click",function(a){if(!jq(this).hasClass("no-ajax")&&!jq(a.target).hasClass("no-ajax")){var b,c,d,e,f,g="SPAN"===a.target.nodeName?a.target.parentNode:a.target,h=jq(g).parent();return"LI"!==h[0].nodeName||h.hasClass("last")?void 0:(b=h.attr("id").split("-"),c=b[0],"activity"===c?!1:(d=b[1],e=jq("#"+c+"-order-select select").val(),f=jq("#"+c+"_search").val(),bp_filter_request(c,e,d,"div."+c,f,1,jq.cookie("bp-"+c+"-extras")),!1))}}),jq("li.filter select").change(function(){var a,b,c,d,e,f,g,h;return a=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":this),b=a.attr("id").split("-"),c=b[0],d=b[1],e=jq(this).val(),f=!1,g=null,jq(".dir-search input").length&&(f=jq(".dir-search input").val()),h=jq(".groups-members-search input"),h.length&&(f=h.val(),c="members",d="groups"),"members"===c&&"groups"===d&&(c="group_members",g="groups/single/members"),"friends"===c&&(c="members"),bp_filter_request(c,e,d,"div."+c,f,1,jq.cookie("bp-"+c+"-extras"),null,g),!1}),jq("#buddypress").on("click",function(a){var b,c,d,e,f,g,h,i,j,k=jq(a.target);return k.hasClass("button")?!0:k.parent().parent().hasClass("pagination")&&!k.parent().parent().hasClass("no-ajax")?k.hasClass("dots")||k.hasClass("current")?!1:(b=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":"li.filter select"),c=b.attr("id").split("-"),d=c[0],e=!1,f=jq(k).closest(".pagination-links").attr("id"),g=null,jq("div.dir-search input").length&&(e=jq(".dir-search input"),e=!e.val()&&bp_get_querystring(e.attr("name"))?jq(".dir-search input").prop("placeholder"):e.val()),h=jq(k).hasClass("next")||jq(k).hasClass("prev")?jq(".pagination span.current").html():jq(k).html(),h=Number(h.replace(/\D/g,"")),jq(k).hasClass("next")?h++:jq(k).hasClass("prev")&&h--,i=jq(".groups-members-search input"),i.length&&(e=i.val(),d="members"),"members"===d&&"groups"===c[1]&&(d="group_members",g="groups/single/members"),"admin"===d&&jq("body").hasClass("membership-requests")&&(d="requests"),j=-1!==f.indexOf("pag-bottom")?"pag-bottom":null,bp_filter_request(d,jq.cookie("bp-"+d+"-filter"),jq.cookie("bp-"+d+"-scope"),"div."+d,e,h,jq.cookie("bp-"+d+"-extras"),j,g),!1):void 0}),jq("a.show-hide-new").on("click",function(){return jq("#new-topic-post").length?(jq("#new-topic-post").is(":visible")?jq("#new-topic-post").slideUp(200):jq("#new-topic-post").slideDown(200,function(){jq("#topic_title").focus()}),!1):!1}),jq("#submit_topic_cancel").on("click",function(){return jq("#new-topic-post").length?(jq("#new-topic-post").slideUp(200),!1):!1}),jq("#forum-directory-tags a").on("click",function(){return bp_filter_request("forums","tags",jq.cookie("bp-forums-scope"),"div.forums",jq(this).html().replace(/ /g,"-"),1,jq.cookie("bp-forums-extras")),!1}),jq("#send-invite-form").on("click","#invite-list input",function(){var a,b,c=jq("#send-invite-form > .invite").length;jq(".ajax-loader").toggle(),c&&jq(this).parents("ul").find("input").prop("disabled",!0),a=jq(this).val(),b=jq(this).prop("checked")===!0?"invite":"uninvite",c||jq(".item-list-tabs li.selected").addClass("loading"),jq.post(ajaxurl,{action:"groups_invite_user",friend_action:b,cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:a,group_id:jq("#group_id").val()},function(d){jq("#message")&&jq("#message").hide(),c?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),"invite"===b?jq("#friend-list").append(d):"uninvite"===b&&jq("#friend-list li#uid-"+a).remove(),jq(".item-list-tabs li.selected").removeClass("loading"))})}),jq("#send-invite-form").on("click","a.remove",function(){var a=jq("#send-invite-form > .invite").length,b=jq(this).attr("id");return jq(".ajax-loader").toggle(),b=b.split("-"),b=b[1],jq.post(ajaxurl,{action:"groups_invite_user",friend_action:"uninvite",cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:b,group_id:jq("#group_id").val()},function(c){a?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),jq("#friend-list #uid-"+b).remove(),jq("#invite-list #f-"+b).prop("checked",!1))}),!1}),jq(".visibility-toggle-link").on("click",function(a){a.preventDefault(),jq(this).parent().hide().addClass("field-visibility-settings-hide").siblings(".field-visibility-settings").show().addClass("field-visibility-settings-open")}),jq(".field-visibility-settings-close").on("click",function(a){a.preventDefault();var b=jq(this).parent(),c=b.find("input:checked").parent().text();b.hide().removeClass("field-visibility-settings-open").siblings(".field-visibility-settings-toggle").children(".current-visibility-level").text(c).end().show().removeClass("field-visibility-settings-hide")}),jq("#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select, #signup_form input:not(:submit), #signup_form textarea, #signup_form select").change(function(){var a=!0;jq("#profile-edit-form input:submit, #signup_form input:submit").on("click",function(){a=!1}),window.onbeforeunload=function(b){return a?BP_DTheme.unsaved_changes:void 0}}),jq("#friend-list a.accept, #friend-list a.reject").on("click",function(){var a,b=jq(this),c=jq(this).parents("#friend-list li"),d=jq(this).parents("li div.action"),e=c.attr("id").substr(11,c.attr("id").length),f=b.attr("href"),g=f.split("_wpnonce=")[1];return jq(this).hasClass("accepted")||jq(this).hasClass("rejected")?!1:(jq(this).hasClass("accept")?(a="accept_friendship",d.children("a.reject").css("visibility","hidden")):(a="reject_friendship",d.children("a.accept").css("visibility","hidden")),b.addClass("loading"),jq.post(ajaxurl,{action:a,cookie:bp_get_cookies(),id:e,_wpnonce:g},function(a){b.removeClass("loading"),a[0]+a[1]==="-1"?(c.prepend(a.substr(2,a.length)),c.children("#message").hide().fadeIn(200)):b.fadeOut(100,function(){jq(this).hasClass("accept")?(d.children("a.reject").hide(),jq(this).html(BP_DTheme.accepted).contents().unwrap()):(d.children("a.accept").hide(),jq(this).html(BP_DTheme.rejected).contents().unwrap())})}),!1)}),jq("#members-dir-list, #members-group-list, #item-header").on("click",".friendship-button a",function(){jq(this).parent().addClass("loading");var a=jq(this).attr("id"),b=jq(this).attr("href"),c=jq(this);return a=a.split("-"),a=a[1],b=b.split("?_wpnonce="),b=b[1].split("&"),b=b[0],jq.post(ajaxurl,{action:"addremove_friend",cookie:bp_get_cookies(),fid:a,_wpnonce:b},function(a){var b=c.attr("rel");parentdiv=c.parent(),"add"===b?jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("add_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("pending_friend"),parentdiv.fadeIn(200).html(a)}):"remove"===b&&jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("remove_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("add"),parentdiv.fadeIn(200).html(a)})}),!1}),jq("#buddypress").on("click",".group-button .leave-group",function(){return!1===confirm(BP_DTheme.leave_group_confirm)?!1:void 0}),jq("#groups-dir-list").on("click",".group-button a",function(){var a=jq(this).parent().attr("id"),b=jq(this).attr("href"),c=jq(this);return a=a.split("-"),a=a[1],b=b.split("?_wpnonce="),b=b[1].split("&"),b=b[0],c.hasClass("leave-group")&&!1===confirm(BP_DTheme.leave_group_confirm)?!1:(jq.post(ajaxurl,{action:"joinleave_group",cookie:bp_get_cookies(),gid:a,_wpnonce:b},function(a){var b=c.parent();jq("body.directory").length?jq(b).fadeOut(200,function(){b.fadeIn(200).html(a);var d=jq("#groups-personal span"),e=1;c.hasClass("leave-group")?(b.hasClass("hidden")&&b.closest("li").slideUp(200),e=0):c.hasClass("request-membership")&&(e=!1),d.length&&e!==!1&&(e?d.text((d.text()>>0)+1):d.text((d.text()>>0)-1))}):window.location.reload()}),!1)}),jq("#buddypress").on("click",".pending",function(){return!1}),jq("body").hasClass("register")){var d=jq("#signup_with_blog");d.prop("checked")||jq("#blog-details").toggle(),d.change(function(){jq("#blog-details").toggle()})}jq(".message-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c=jq(a.target);return"submit"===c.attr("type")||"button"===c.attr("type")?(b="messages",bp_filter_request(b,jq.cookie("bp-"+b+"-filter"),jq.cookie("bp-"+b+"-scope"),"div."+b,jq("#messages_search").val(),1,jq.cookie("bp-"+b+"-extras")),!1):void 0}}),jq("#send_reply_button").click(function(){var a=jq("#messages_order").val()||"ASC",b=jq("#message-recipients").offset(),c=jq("#send_reply_button");return jq(c).addClass("loading"),jq.post(ajaxurl,{action:"messages_send_reply",cookie:bp_get_cookies(),_wpnonce:jq("#send_message_nonce").val(),content:jq("#message_content").val(),send_to:jq("#send_to").val(),subject:jq("#subject").val(),thread_id:jq("#thread_id").val()},function(d){d[0]+d[1]==="-1"?jq("#send-reply").prepend(d.substr(2,d.length)):(jq("#send-reply #message").remove(),jq("#message_content").val(""),"ASC"===a?jq("#send-reply").before(d):(jq("#message-recipients").after(d),jq(window).scrollTop(b.top)),jq(".new-message").hide().slideDown(200,function(){jq(".new-message").removeClass("new-message")})),jq(c).removeClass("loading")}),!1}),jq("#mark_as_read, #mark_as_unread").click(function(){var a,b,c,d,e,f,g,h,i="",j=jq('#message-threads tr td input[type="checkbox"]');return"mark_as_unread"===jq(this).attr("id")?(a="read",b="unread",c=1,d=0,e="inline",f="messages_markunread"):(a="unread",b="read",c=0,d=1,e="none",f="messages_markread"),j.each(function(d){jq(this).is(":checked")&&jq("#m-"+jq(this).attr("value")).hasClass(a)&&(i+=jq(this).attr("value"),jq("#m-"+jq(this).attr("value")).removeClass(a),jq("#m-"+jq(this).attr("value")).addClass(b),h=jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(),jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(c),jq("#m-"+jq(this).attr("value")+" td span.unread-count").css("display",e),g=jq("tr.unread").length,jq("#user-messages span").html(g),d!==j.length-1&&(i+=","))}),jq.post(ajaxurl,{action:f,thread_ids:i}),!1}),jq("body.messages #item-body div.messages").on("change","#message-type-select",function(){var a=this.value,b=jq('td input[type="checkbox"]'),c="checked";switch(b.each(function(a){b[a].checked=""}),a){case"unread":b=jq('tr.unread td input[type="checkbox"]');break;case"read":b=jq('tr.read td input[type="checkbox"]');break;case"":c=""}b.each(function(a){b[a].checked=c})}),jq("body.messages #item-body div.messages").on("click",".messages-options-nav a",function(){return-1!==jq.inArray(this.id,Array("delete_sentbox_messages","delete_inbox_messages"))?(checkboxes_tosend="",checkboxes=jq('#message-threads tr td input[type="checkbox"]'),jq("#message").remove(),jq(this).addClass("loading"),jq(checkboxes).each(function(a){jq(this).is(":checked")&&(checkboxes_tosend+=jq(this).attr("value")+",")}),""===checkboxes_tosend?(jq(this).removeClass("loading"),!1):(jq.post(ajaxurl,{action:"messages_delete",thread_ids:checkboxes_tosend},function(a){a[0]+a[1]==="-1"?jq("#message-threads").prepend(a.substr(2,a.length)):(jq("#message-threads").before('<div id="message" class="updated"><p>'+a+"</p></div>"),jq(checkboxes).each(function(a){jq(this).is(":checked")&&(jq(this).attr("checked",!1),jq(this).parent().parent().fadeOut(150))})),jq("#message").hide().slideDown(150),jq("#delete_inbox_messages, #delete_sentbox_messages").removeClass("loading")}),!1)):void 0}),jq("#select-all-messages").click(function(a){this.checked?jq(".message-check").each(function(){this.checked=!0}):jq(".message-check").each(function(){this.checked=!1})}),jq("#messages-bulk-manage").attr("disabled","disabled"),jq("#messages-select").on("change",function(){jq("#messages-bulk-manage").attr("disabled",jq(this).val().length<=0)}),starAction=function(){var a=jq(this);return jq.post(ajaxurl,{action:"messages_star",message_id:a.data("message-id"),star_status:a.data("star-status"),nonce:a.data("star-nonce"),bulk:a.data("star-bulk")},function(b){1===parseInt(b,10)&&("unstar"===a.data("star-status")?(a.data("star-status","star"),a.removeClass("message-action-unstar").addClass("message-action-star"),a.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_star),1===BP_PM_Star.is_single_thread?a.prop("title",BP_PM_Star.strings.title_star):a.prop("title",BP_PM_Star.strings.title_star_thread)):(a.data("star-status","unstar"),a.removeClass("message-action-star").addClass("message-action-unstar"),a.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_unstar),1===BP_PM_Star.is_single_thread?a.prop("title",BP_PM_Star.strings.title_unstar):a.prop("title",BP_PM_Star.strings.title_unstar_thread)))}),!1},jq("#message-threads").on("click","td.thread-star a",starAction),jq("#message-thread").on("click",".message-star-actions a",starAction),jq("#message-threads td.bulk-select-check :checkbox").on("change",function(){var a=jq(this),b=a.closest("tr").find(".thread-star a");a.prop("checked")?"unstar"===b.data("star-status")?BP_PM_Star.star_counter++:BP_PM_Star.unstar_counter++:"unstar"===b.data("star-status")?BP_PM_Star.star_counter--:BP_PM_Star.unstar_counter--, +function bp_init_activity(){jq.cookie("bp-activity-oldestpage",1,{path:"/",secure:"https:"===window.location.protocol}),void 0!==jq.cookie("bp-activity-filter")&&jq("#activity-filter-select").length&&jq('#activity-filter-select select option[value="'+jq.cookie("bp-activity-filter")+'"]').prop("selected",!0),void 0!==jq.cookie("bp-activity-scope")&&jq(".activity-type-tabs").length&&(jq(".activity-type-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#activity-"+jq.cookie("bp-activity-scope")+", .item-list-tabs li.current").addClass("selected"))}function bp_init_objects(a){jq(a).each(function(b){void 0!==jq.cookie("bp-"+a[b]+"-filter")&&jq("#"+a[b]+"-order-select select").length&&jq("#"+a[b]+'-order-select select option[value="'+jq.cookie("bp-"+a[b]+"-filter")+'"]').prop("selected",!0),void 0!==jq.cookie("bp-"+a[b]+"-scope")&&jq("div."+a[b]).length&&(jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a[b]+"-"+jq.cookie("bp-"+a[b]+"-scope")+", #object-nav li.current").addClass("selected"))})}function bp_filter_request(a,b,c,d,e,f,g,h,i){return"activity"!==a&&(null===c&&(c="all"),jq.cookie("bp-"+a+"-scope",c,{path:"/",secure:"https:"===window.location.protocol}),jq.cookie("bp-"+a+"-filter",b,{path:"/",secure:"https:"===window.location.protocol}),jq.cookie("bp-"+a+"-extras",g,{path:"/",secure:"https:"===window.location.protocol}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a+"-"+c+", #object-nav li.current").addClass("selected"),jq(".item-list-tabs li.selected").addClass("loading"),jq('.item-list-tabs select option[value="'+b+'"]').prop("selected",!0),"friends"!==a&&"group_members"!==a||(a="members"),bp_ajax_request&&bp_ajax_request.abort(),void(bp_ajax_request=jq.post(ajaxurl,{action:a+"_filter",cookie:bp_get_cookies(),object:a,filter:b,search_terms:e,scope:c,page:f,extras:g,template:i},function(a){if("pag-bottom"===h&&jq("#subnav").length){var b=jq("#subnav").parent();jq("html,body").animate({scrollTop:b.offset().top},"slow",function(){jq(d).fadeOut(100,function(){jq(this).html(a),jq(this).fadeIn(100)})})}else jq(d).fadeOut(100,function(){jq(this).html(a),jq(this).fadeIn(100)});jq(".item-list-tabs li.selected").removeClass("loading")})))}function bp_activity_request(a,b){null!==a&&jq.cookie("bp-activity-scope",a,{path:"/",secure:"https:"===window.location.protocol}),null!==b&&jq.cookie("bp-activity-filter",b,{path:"/",secure:"https:"===window.location.protocol}),jq.cookie("bp-activity-oldestpage",1,{path:"/",secure:"https:"===window.location.protocol}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected loading")}),jq("#activity-"+a+", .item-list-tabs li.current").addClass("selected"),jq("#object-nav.item-list-tabs li.selected, div.activity-type-tabs li.selected").addClass("loading"),jq('#activity-filter-select select option[value="'+b+'"]').prop("selected",!0),jq(".widget_bp_activity_widget h2 span.ajax-loader").show(),bp_ajax_request&&bp_ajax_request.abort(),bp_ajax_request=jq.post(ajaxurl,{action:"activity_widget_filter",cookie:bp_get_cookies(),_wpnonce_activity_filter:jq("#_wpnonce_activity_filter").val(),scope:a,filter:b},function(a){jq(".widget_bp_activity_widget h2 span.ajax-loader").hide(),jq("div.activity").fadeOut(100,function(){jq(this).html(a.contents),jq(this).fadeIn(100),bp_legacy_theme_hide_comments()}),void 0!==a.feed_url&&jq(".directory #subnav li.feed a, .home-page #subnav li.feed a").attr("href",a.feed_url),jq(".item-list-tabs li.selected").removeClass("loading")},"json")}function bp_legacy_theme_hide_comments(){var a,b,c,d=jq("div.activity-comments");return!!d.length&&void d.each(function(){jq(this).children("ul").children("li").length<5||(comments_div=jq(this),a=comments_div.parents("#activity-stream > li"),b=jq(this).children("ul").children("li"),c=" ",jq("#"+a.attr("id")+" a.acomment-reply span").length&&(c=jq("#"+a.attr("id")+" a.acomment-reply span").html()),b.each(function(d){d<b.length-5&&(jq(this).addClass("hidden"),jq(this).toggle(),d||jq(this).before('<li class="show-all"><a href="#'+a.attr("id")+'/show-all/" title="'+BP_DTheme.show_all_comments+'">'+BP_DTheme.show_x_comments.replace("%d",c)+"</a></li>"))}))})}function checkAll(){var a,b=document.getElementsByTagName("input");for(a=0;a<b.length;a++)"checkbox"===b[a].type&&(""===$("check_all").checked?b[a].checked="":b[a].checked="checked")}function clear(a){if(a=document.getElementById(a)){var b=a.getElementsByTagName("INPUT"),c=a.getElementsByTagName("OPTION"),d=0;if(b)for(d=0;d<b.length;d++)b[d].checked="";if(c)for(d=0;d<c.length;d++)c[d].selected=!1}}function bp_get_cookies(){var a,b,c,d,e,f=document.cookie.split(";"),g={},h="bp-";for(a=0;a<f.length;a++)b=f[a],c=b.indexOf("="),d=jq.trim(unescape(b.slice(0,c))),e=unescape(b.slice(c+1)),0===d.indexOf(h)&&(g[d]=e);return encodeURIComponent(jq.param(g))}var jq=jQuery,bp_ajax_request=null,newest_activities="",activity_last_recorded=0;jq(document).ready(function(){"-1"===window.location.search.indexOf("new")&&jq("div.forums").length?jq("#new-topic-post").hide():jq("#new-topic-post").show(),bp_init_activity();var a=["members","groups","blogs","forums","group_members"],b=jq("#whats-new");if(bp_init_objects(a),b.length&&bp_get_querystring("r")){var c=b.val();jq("#whats-new-options").slideDown(),b.animate({height:"3.8em"}),jq.scrollTo(b,500,{offset:-125,easing:"swing"}),b.val("").focus().val(c)}else jq("#whats-new-options").hide();if(b.focus(function(){jq("#whats-new-options").slideDown(),jq(this).animate({height:"3.8em"}),jq("#aw-whats-new-submit").prop("disabled",!1),jq(this).parent().addClass("active"),jq("#whats-new-content").addClass("active");var a=jq("form#whats-new-form"),b=jq("#activity-all");a.hasClass("submitted")&&a.removeClass("submitted"),b.length&&(b.hasClass("selected")?"-1"!==jq("#activity-filter-select select").val()&&(jq("#activity-filter-select select").val("-1"),jq("#activity-filter-select select").trigger("change")):(jq("#activity-filter-select select").val("-1"),b.children("a").trigger("click")))}),jq("#whats-new-form").on("focusout",function(a){var c=jq(this);setTimeout(function(){if(!c.find(":hover").length){if(""!==b.val())return;b.animate({height:"2.2em"}),jq("#whats-new-options").slideUp(),jq("#aw-whats-new-submit").prop("disabled",!0),jq("#whats-new-content").removeClass("active"),b.parent().removeClass("active")}},0)}),jq("#aw-whats-new-submit").on("click",function(){var a,b=0,c=jq(this),d=c.closest("form#whats-new-form"),e={};return jq.each(d.serializeArray(),function(a,b){"_"!==b.name.substr(0,1)&&"whats-new"!==b.name.substr(0,9)&&(e[b.name]?jq.isArray(e[b.name])?e[b.name].push(b.value):e[b.name]=new Array(e[b.name],b.value):e[b.name]=b.value)}),d.find("*").each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!0)}),jq("div.error").remove(),c.addClass("loading"),c.prop("disabled",!0),d.addClass("submitted"),object="",item_id=jq("#whats-new-post-in").val(),content=jq("#whats-new").val(),firstrow=jq("#buddypress ul.activity-list li").first(),activity_row=firstrow,timestamp=null,firstrow.length&&(activity_row.hasClass("load-newest")&&(activity_row=firstrow.next()),timestamp=activity_row.prop("class").match(/date-recorded-([0-9]+)/)),timestamp&&(b=timestamp[1]),item_id>0&&(object=jq("#whats-new-post-object").val()),a=jq.extend({action:"post_update",cookie:bp_get_cookies(),_wpnonce_post_update:jq("#_wpnonce_post_update").val(),content:content,object:object,item_id:item_id,since:b,_bp_as_nonce:jq("#_bp_as_nonce").val()||""},e),jq.post(ajaxurl,a,function(a){if(d.find("*").each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!1)}),a[0]+a[1]==="-1")d.prepend(a.substr(2,a.length)),jq("#"+d.attr("id")+" div.error").hide().fadeIn(200);else{if(0===jq("ul.activity-list").length&&(jq("div.error").slideUp(100).remove(),jq("#message").slideUp(100).remove(),jq("div.activity").append('<ul id="activity-stream" class="activity-list item-list">')),firstrow.hasClass("load-newest")&&firstrow.remove(),jq("#activity-stream").prepend(a),b||jq("#activity-stream li:first").addClass("new-update just-posted"),0!==jq("#latest-update").length){var c=jq("#activity-stream li.new-update .activity-content .activity-inner p").html(),e=jq("#activity-stream li.new-update .activity-content .activity-header p a.view").attr("href"),f=jq("#activity-stream li.new-update .activity-content .activity-inner p").text(),g="";""!==f&&(g=c+" "),g+='<a href="'+e+'" rel="nofollow">'+BP_DTheme.view+"</a>",jq("#latest-update").slideUp(300,function(){jq("#latest-update").html(g),jq("#latest-update").slideDown(300)})}jq("li.new-update").hide().slideDown(300),jq("li.new-update").removeClass("new-update"),jq("#whats-new").val(""),d.get(0).reset(),newest_activities="",activity_last_recorded=0}jq("#whats-new-options").slideUp(),jq("#whats-new-form textarea").animate({height:"2.2em"}),jq("#aw-whats-new-submit").prop("disabled",!0).removeClass("loading"),jq("#whats-new-content").removeClass("active")}),!1}),jq("div.activity-type-tabs").on("click",function(a){var b,c,d=jq(a.target).parent();if("STRONG"===a.target.nodeName||"SPAN"===a.target.nodeName)d=d.parent();else if("A"!==a.target.nodeName)return!1;return jq.cookie("bp-activity-oldestpage",1,{path:"/",secure:"https:"===window.location.protocol}),b=d.attr("id").substr(9,d.attr("id").length),c=jq("#activity-filter-select select").val(),"mentions"===b&&jq("#"+d.attr("id")+" a strong").remove(),bp_activity_request(b,c),!1}),jq("#activity-filter-select select").change(function(){var a,b=jq("div.activity-type-tabs li.selected"),c=jq(this).val();return a=b.length?b.attr("id").substr(9,b.attr("id").length):null,bp_activity_request(a,c),!1}),jq("div.activity").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l=jq(a.target);return l.hasClass("fav")||l.hasClass("unfav")?!l.hasClass("loading")&&(b=l.hasClass("fav")?"fav":"unfav",c=l.closest(".activity-item"),d=c.attr("id").substr(9,c.attr("id").length),l.addClass("loading"),jq.post(ajaxurl,{action:"activity_mark_"+b,cookie:bp_get_cookies(),id:d},function(a){l.removeClass("loading"),l.fadeOut(200,function(){jq(this).html(a),jq(this).attr("title","fav"===b?BP_DTheme.remove_fav:BP_DTheme.mark_as_fav),jq(this).fadeIn(200)}),"fav"===b?(jq(".item-list-tabs #activity-favs-personal-li").length||(jq(".item-list-tabs #activity-favorites").length||jq(".item-list-tabs ul #activity-mentions").before('<li id="activity-favorites"><a href="#">'+BP_DTheme.my_favs+" <span>0</span></a></li>"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())+1)),l.removeClass("fav"),l.addClass("unfav")):(l.removeClass("unfav"),l.addClass("fav"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())-1),Number(jq(".item-list-tabs ul #activity-favorites span").html())||(jq(".item-list-tabs ul #activity-favorites").hasClass("selected")&&bp_activity_request(null,null),jq(".item-list-tabs ul #activity-favorites").remove())),"activity-favorites"===jq(".item-list-tabs li.selected").attr("id")&&l.closest(".activity-item").slideUp(100)}),!1):l.hasClass("delete-activity")?(e=l.parents("div.activity ul li"),f=e.attr("id").substr(9,e.attr("id").length),g=l.attr("href"),h=g.split("_wpnonce="),i=e.prop("class").match(/date-recorded-([0-9]+)/),h=h[1],l.addClass("loading"),jq.post(ajaxurl,{action:"delete_activity",cookie:bp_get_cookies(),id:f,_wpnonce:h},function(a){a[0]+a[1]==="-1"?(e.prepend(a.substr(2,a.length)),e.children("#message").hide().fadeIn(300)):(e.slideUp(300),i&&activity_last_recorded===i[1]&&(newest_activities="",activity_last_recorded=0))}),!1):l.hasClass("spam-activity")?(e=l.parents("div.activity ul li"),i=e.prop("class").match(/date-recorded-([0-9]+)/),l.addClass("loading"),jq.post(ajaxurl,{action:"bp_spam_activity",cookie:encodeURIComponent(document.cookie),id:e.attr("id").substr(9,e.attr("id").length),_wpnonce:l.attr("href").split("_wpnonce=")[1]},function(a){a[0]+a[1]==="-1"?(e.prepend(a.substr(2,a.length)),e.children("#message").hide().fadeIn(300)):(e.slideUp(300),i&&activity_last_recorded===i[1]&&(newest_activities="",activity_last_recorded=0))}),!1):l.parent().hasClass("load-more")?(bp_ajax_request&&bp_ajax_request.abort(),jq("#buddypress li.load-more").addClass("loading"),null===jq.cookie("bp-activity-oldestpage")&&jq.cookie("bp-activity-oldestpage",1,{path:"/",secure:"https:"===window.location.protocol}),j=1*jq.cookie("bp-activity-oldestpage")+1,k=[],jq(".activity-list li.just-posted").each(function(){k.push(jq(this).attr("id").replace("activity-",""))}),load_more_args={action:"activity_get_older_updates",cookie:bp_get_cookies(),page:j,exclude_just_posted:k.join(",")},load_more_search=bp_get_querystring("s"),load_more_search&&(load_more_args.search_terms=load_more_search),bp_ajax_request=jq.post(ajaxurl,load_more_args,function(a){jq("#buddypress li.load-more").removeClass("loading"),jq.cookie("bp-activity-oldestpage",j,{path:"/",secure:"https:"===window.location.protocol}),jq("#buddypress ul.activity-list").append(a.contents),l.parent().hide()},"json"),!1):void(l.parent().hasClass("load-newest")&&(a.preventDefault(),l.parent().hide(),activity_html=jq.parseHTML(newest_activities),jq.each(activity_html,function(a,b){"LI"===b.nodeName&&jq(b).hasClass("just-posted")&&jq("#"+jq(b).attr("id")).length&&jq("#"+jq(b).attr("id")).remove()}),jq("#buddypress ul.activity-list").prepend(newest_activities),newest_activities=""))}),jq("div.activity").on("click",".activity-read-more a",function(a){var b,c,d=jq(a.target),e=d.parent().attr("id").split("-"),f=e[3],g=e[0];return b="acomment"===g?"acomment-content":"activity-inner",c=jq("#"+g+"-"+f+" ."+b+":first"),jq(d).addClass("loading"),jq.post(ajaxurl,{action:"get_single_activity_content",activity_id:f},function(a){jq(c).slideUp(300).html(a).slideDown(300)}),!1}),jq("form.ac-form").hide(),jq(".activity-comments").length&&bp_legacy_theme_hide_comments(),jq("div.activity").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=jq(a.target);return r.hasClass("acomment-reply")||r.parent().hasClass("acomment-reply")?(r.parent().hasClass("acomment-reply")&&(r=r.parent()),b=r.attr("id"),c=b.split("-"),d=c[2],e=r.attr("href").substr(10,r.attr("href").length),f=jq("#ac-form-"+d),f.css("display","none"),f.removeClass("root"),jq(".ac-form").hide(),f.children("div").each(function(){jq(this).hasClass("error")&&jq(this).hide()}),"comment"!==c[1]?jq("#acomment-"+e).append(f):jq("#activity-"+d+" .activity-comments").append(f),f.parent().hasClass("activity-comments")&&f.addClass("root"),f.slideDown(200),jq.scrollTo(f,500,{offset:-100,easing:"swing"}),jq("#ac-form-"+c[2]+" textarea").focus(),!1):"ac_form_submit"===r.attr("name")?(f=r.parents("form"),g=f.parent(),h=f.attr("id").split("-"),g.hasClass("activity-comments")?j=h[2]:(i=g.attr("id").split("-"),j=i[1]),content=jq("#"+f.attr("id")+" textarea"),jq("#"+f.attr("id")+" div.error").hide(),r.addClass("loading").prop("disabled",!0),content.addClass("loading").prop("disabled",!0),k={action:"new_activity_comment",cookie:bp_get_cookies(),_wpnonce_new_activity_comment:jq("#_wpnonce_new_activity_comment").val(),comment_id:j,form_id:h[2],content:content.val()},l=jq("#_bp_as_nonce_"+j).val(),l&&(k["_bp_as_nonce_"+j]=l),jq.post(ajaxurl,k,function(a){if(r.removeClass("loading"),content.removeClass("loading"),a[0]+a[1]==="-1")f.append(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b=f.parent();f.fadeOut(200,function(){0===b.children("ul").length&&(b.hasClass("activity-comments")?b.prepend("<ul></ul>"):b.append("<ul></ul>"));var c=jq.trim(a);b.children("ul").append(jq(c).hide().fadeIn(200)),f.children("textarea").val(""),b.parent().addClass("has-comments")}),jq("#"+f.attr("id")+" textarea").val(""),jq("#activity-"+h[2]+" a.acomment-reply span").html(Number(jq("#activity-"+h[2]+" a.acomment-reply span").html())+1),m=b.find(".show-all").find("a"),m&&(n=jq("li#activity-"+h[2]+" a.acomment-reply span").html(),m.html(BP_DTheme.show_x_comments.replace("%d",n)))}jq(r).prop("disabled",!1),jq(content).prop("disabled",!1)}),!1):r.hasClass("acomment-delete")?(o=r.attr("href"),p=r.parent().parent(),f=p.parents("div.activity-comments").children("form"),q=o.split("_wpnonce="),q=q[1],j=o.split("cid="),j=j[1].split("&"),j=j[0],r.addClass("loading"),jq(".activity-comments ul .error").remove(),p.parents(".activity-comments").append(f),jq.post(ajaxurl,{action:"delete_activity_comment",cookie:bp_get_cookies(),_wpnonce:q,id:j},function(a){if(a[0]+a[1]==="-1")p.prepend(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b,c,d,e=jq("#"+p.attr("id")+" ul").children("li"),f=0;jq(e).each(function(){jq(this).is(":hidden")||f++}),p.fadeOut(200,function(){p.remove()}),b=jq("#"+p.parents("#activity-stream > li").attr("id")+" a.acomment-reply span"),c=b.html()-(1+f),b.html(c),d=p.siblings(".show-all").find("a"),d&&d.html(BP_DTheme.show_x_comments.replace("%d",c)),0===c&&jq(p.parents("#activity-stream > li")).removeClass("has-comments")}}),!1):r.hasClass("spam-activity-comment")?(o=r.attr("href"),p=r.parent().parent(),r.addClass("loading"),jq(".activity-comments ul div.error").remove(),p.parents(".activity-comments").append(p.parents(".activity-comments").children("form")),jq.post(ajaxurl,{action:"bp_spam_activity_comment",cookie:encodeURIComponent(document.cookie),_wpnonce:o.split("_wpnonce=")[1],id:o.split("cid=")[1].split("&")[0]},function(a){if(a[0]+a[1]==="-1")p.prepend(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b,c=jq("#"+p.attr("id")+" ul").children("li"),d=0;jq(c).each(function(){jq(this).is(":hidden")||d++}),p.fadeOut(200),b=p.parents("#activity-stream > li"),jq("#"+b.attr("id")+" a.acomment-reply span").html(jq("#"+b.attr("id")+" a.acomment-reply span").html()-(1+d))}}),!1):r.parent().hasClass("show-all")?(r.parent().addClass("loading"),setTimeout(function(){r.parent().parent().children("li").fadeIn(200,function(){r.parent().remove()})},600),!1):r.hasClass("ac-reply-cancel")?(jq(r).closest(".ac-form").slideUp(200),!1):void 0}),jq(document).keydown(function(a){if(a=a||window.event,a.target?element=a.target:a.srcElement&&(element=a.srcElement),3===element.nodeType&&(element=element.parentNode),a.ctrlKey!==!0&&a.altKey!==!0&&a.metaKey!==!0){var b=a.keyCode?a.keyCode:a.which;27===b&&"TEXTAREA"===element.tagName&&jq(element).hasClass("ac-input")&&jq(element).parent().parent().parent().slideUp(200)}}),jq(".dir-search, .groups-members-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c,d,e,f=jq(a.target);return"submit"===f.attr("type")?(b=jq(".item-list-tabs li.selected").attr("id").split("-"),c=b[0],d=null,e=f.parent().find("#"+c+"_search").val(),"groups-members-search"===a.currentTarget.className&&(c="group_members",d="groups/single/members"),bp_filter_request(c,jq.cookie("bp-"+c+"-filter"),jq.cookie("bp-"+c+"-scope"),"div."+c,e,1,jq.cookie("bp-"+c+"-extras"),null,d),!1):void 0}}),jq("div.item-list-tabs").on("click",function(a){if(jq("body").hasClass("type")&&jq("body").hasClass("directory")&&jq(this).addClass("no-ajax"),!jq(this).hasClass("no-ajax")&&!jq(a.target).hasClass("no-ajax")){var b,c,d,e,f,g="SPAN"===a.target.nodeName?a.target.parentNode:a.target,h=jq(g).parent();return"LI"!==h[0].nodeName||h.hasClass("last")?void 0:(b=h.attr("id").split("-"),c=b[0],"activity"!==c&&(d=b[1],e=jq("#"+c+"-order-select select").val(),f=jq("#"+c+"_search").val(),bp_filter_request(c,e,d,"div."+c,f,1,jq.cookie("bp-"+c+"-extras")),!1))}}),jq("li.filter select").change(function(){var a,b,c,d,e,f,g,h;return a=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":this),b=a.attr("id").split("-"),c=b[0],d=b[1],e=jq(this).val(),f=!1,g=null,jq(".dir-search input").length&&(f=jq(".dir-search input").val()),h=jq(".groups-members-search input"),h.length&&(f=h.val(),c="members",d="groups"),"members"===c&&"groups"===d&&(c="group_members",g="groups/single/members"),"friends"===c&&(c="members"),bp_filter_request(c,e,d,"div."+c,f,1,jq.cookie("bp-"+c+"-extras"),null,g),!1}),jq("#buddypress").on("click",function(a){var b,c,d,e,f,g,h,i,j,k=jq(a.target);return!!k.hasClass("button")||(k.parent().parent().hasClass("pagination")&&!k.parent().parent().hasClass("no-ajax")?!k.hasClass("dots")&&!k.hasClass("current")&&(b=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":"li.filter select"),c=b.attr("id").split("-"),d=c[0],e=!1,f=jq(k).closest(".pagination-links").attr("id"),g=null,jq("div.dir-search input").length&&(e=jq(".dir-search input"),e=!e.val()&&bp_get_querystring(e.attr("name"))?jq(".dir-search input").prop("placeholder"):e.val()),h=jq(k).hasClass("next")||jq(k).hasClass("prev")?jq(".pagination span.current").html():jq(k).html(),h=Number(h.replace(/\D/g,"")),jq(k).hasClass("next")?h++:jq(k).hasClass("prev")&&h--,i=jq(".groups-members-search input"),i.length&&(e=i.val(),d="members"),"members"===d&&"groups"===c[1]&&(d="group_members",g="groups/single/members"),"admin"===d&&jq("body").hasClass("membership-requests")&&(d="requests"),j=f.indexOf("pag-bottom")!==-1?"pag-bottom":null,bp_filter_request(d,jq.cookie("bp-"+d+"-filter"),jq.cookie("bp-"+d+"-scope"),"div."+d,e,h,jq.cookie("bp-"+d+"-extras"),j,g),!1):void 0)}),jq("a.show-hide-new").on("click",function(){return!!jq("#new-topic-post").length&&(jq("#new-topic-post").is(":visible")?jq("#new-topic-post").slideUp(200):jq("#new-topic-post").slideDown(200,function(){jq("#topic_title").focus()}),!1)}),jq("#submit_topic_cancel").on("click",function(){return!!jq("#new-topic-post").length&&(jq("#new-topic-post").slideUp(200),!1)}),jq("#forum-directory-tags a").on("click",function(){return bp_filter_request("forums","tags",jq.cookie("bp-forums-scope"),"div.forums",jq(this).html().replace(/ /g,"-"),1,jq.cookie("bp-forums-extras")),!1}),jq("#send-invite-form").on("click","#invite-list input",function(){var a,b,c=jq("#send-invite-form > .invite").length;jq(".ajax-loader").toggle(),c&&jq(this).parents("ul").find("input").prop("disabled",!0),a=jq(this).val(),b=jq(this).prop("checked")===!0?"invite":"uninvite",c||jq(".item-list-tabs li.selected").addClass("loading"),jq.post(ajaxurl,{action:"groups_invite_user",friend_action:b,cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:a,group_id:jq("#group_id").val()},function(d){jq("#message")&&jq("#message").hide(),c?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),"invite"===b?jq("#friend-list").append(d):"uninvite"===b&&jq("#friend-list li#uid-"+a).remove(),jq(".item-list-tabs li.selected").removeClass("loading"))})}),jq("#send-invite-form").on("click","a.remove",function(){var a=jq("#send-invite-form > .invite").length,b=jq(this).attr("id");return jq(".ajax-loader").toggle(),b=b.split("-"),b=b[1],jq.post(ajaxurl,{action:"groups_invite_user",friend_action:"uninvite",cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:b,group_id:jq("#group_id").val()},function(c){a?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),jq("#friend-list #uid-"+b).remove(),jq("#invite-list #f-"+b).prop("checked",!1))}),!1}),jq(".visibility-toggle-link").on("click",function(a){a.preventDefault(),jq(this).parent().hide().addClass("field-visibility-settings-hide").siblings(".field-visibility-settings").show().addClass("field-visibility-settings-open")}),jq(".field-visibility-settings-close").on("click",function(a){a.preventDefault();var b=jq(this).parent(),c=b.find("input:checked").parent().text();b.hide().removeClass("field-visibility-settings-open").siblings(".field-visibility-settings-toggle").children(".current-visibility-level").text(c).end().show().removeClass("field-visibility-settings-hide")}),jq("#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select, #signup_form input:not(:submit), #signup_form textarea, #signup_form select").change(function(){var a=!0;jq("#profile-edit-form input:submit, #signup_form input:submit").on("click",function(){a=!1}),window.onbeforeunload=function(b){if(a)return BP_DTheme.unsaved_changes}}),jq("#friend-list a.accept, #friend-list a.reject").on("click",function(){var a,b=jq(this),c=jq(this).parents("#friend-list li"),d=jq(this).parents("li div.action"),e=c.attr("id").substr(11,c.attr("id").length),f=b.attr("href"),g=f.split("_wpnonce=")[1];return!jq(this).hasClass("accepted")&&!jq(this).hasClass("rejected")&&(jq(this).hasClass("accept")?(a="accept_friendship",d.children("a.reject").css("visibility","hidden")):(a="reject_friendship",d.children("a.accept").css("visibility","hidden")),b.addClass("loading"),jq.post(ajaxurl,{action:a,cookie:bp_get_cookies(),id:e,_wpnonce:g},function(a){b.removeClass("loading"),a[0]+a[1]==="-1"?(c.prepend(a.substr(2,a.length)),c.children("#message").hide().fadeIn(200)):b.fadeOut(100,function(){jq(this).hasClass("accept")?(d.children("a.reject").hide(),jq(this).html(BP_DTheme.accepted).contents().unwrap()):(d.children("a.accept").hide(),jq(this).html(BP_DTheme.rejected).contents().unwrap())})}),!1)}),jq("#members-dir-list, #members-group-list, #item-header").on("click",".friendship-button a",function(){jq(this).parent().addClass("loading");var a=jq(this).attr("id"),b=jq(this).attr("href"),c=jq(this);return a=a.split("-"),a=a[1],b=b.split("?_wpnonce="),b=b[1].split("&"),b=b[0],jq.post(ajaxurl,{action:"addremove_friend",cookie:bp_get_cookies(),fid:a,_wpnonce:b},function(a){var b=c.attr("rel");parentdiv=c.parent(),"add"===b?jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("add_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("pending_friend"),parentdiv.fadeIn(200).html(a)}):"remove"===b&&jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("remove_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("add"),parentdiv.fadeIn(200).html(a)})}),!1}),jq("#buddypress").on("click",".group-button .leave-group",function(){if(!1===confirm(BP_DTheme.leave_group_confirm))return!1}),jq("#groups-dir-list").on("click",".group-button a",function(){var a=jq(this).parent().attr("id"),b=jq(this).attr("href"),c=jq(this);return a=a.split("-"),a=a[1],b=b.split("?_wpnonce="),b=b[1].split("&"),b=b[0],(!c.hasClass("leave-group")||!1!==confirm(BP_DTheme.leave_group_confirm))&&(jq.post(ajaxurl,{action:"joinleave_group",cookie:bp_get_cookies(),gid:a,_wpnonce:b},function(a){var b=c.parent();jq("body.directory").length?jq(b).fadeOut(200,function(){b.fadeIn(200).html(a);var d=jq("#groups-personal span"),e=1;c.hasClass("leave-group")?(b.hasClass("hidden")&&b.closest("li").slideUp(200),e=0):c.hasClass("request-membership")&&(e=!1),d.length&&e!==!1&&(e?d.text((d.text()>>0)+1):d.text((d.text()>>0)-1))}):window.location.reload()}),!1)}),jq("#buddypress").on("click",".pending",function(){return!1}),jq("body").hasClass("register")){var d=jq("#signup_with_blog");d.prop("checked")||jq("#blog-details").toggle(),d.change(function(){jq("#blog-details").toggle()})}jq(".message-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c=jq(a.target);return"submit"===c.attr("type")||"button"===c.attr("type")?(b="messages",bp_filter_request(b,jq.cookie("bp-"+b+"-filter"),jq.cookie("bp-"+b+"-scope"),"div."+b,jq("#messages_search").val(),1,jq.cookie("bp-"+b+"-extras")),!1):void 0}}),jq("#send_reply_button").click(function(){var a=jq("#messages_order").val()||"ASC",b=jq("#message-recipients").offset(),c=jq("#send_reply_button");return jq(c).addClass("loading"),jq.post(ajaxurl,{action:"messages_send_reply",cookie:bp_get_cookies(),_wpnonce:jq("#send_message_nonce").val(),content:jq("#message_content").val(),send_to:jq("#send_to").val(),subject:jq("#subject").val(),thread_id:jq("#thread_id").val()},function(d){d[0]+d[1]==="-1"?jq("#send-reply").prepend(d.substr(2,d.length)):(jq("#send-reply #message").remove(),jq("#message_content").val(""),"ASC"===a?jq("#send-reply").before(d):(jq("#message-recipients").after(d),jq(window).scrollTop(b.top)),jq(".new-message").hide().slideDown(200,function(){jq(".new-message").removeClass("new-message")})),jq(c).removeClass("loading")}),!1}),jq("#mark_as_read, #mark_as_unread").click(function(){var a,b,c,d,e,f,g,h,i="",j=jq('#message-threads tr td input[type="checkbox"]');return"mark_as_unread"===jq(this).attr("id")?(a="read",b="unread",c=1,d=0,e="inline",f="messages_markunread"):(a="unread",b="read",c=0,d=1,e="none",f="messages_markread"),j.each(function(d){jq(this).is(":checked")&&jq("#m-"+jq(this).attr("value")).hasClass(a)&&(i+=jq(this).attr("value"),jq("#m-"+jq(this).attr("value")).removeClass(a),jq("#m-"+jq(this).attr("value")).addClass(b),h=jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(),jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(c),jq("#m-"+jq(this).attr("value")+" td span.unread-count").css("display",e),g=jq("tr.unread").length,jq("#user-messages span").html(g),d!==j.length-1&&(i+=","))}),jq.post(ajaxurl,{action:f,thread_ids:i}),!1}),jq("body.messages #item-body div.messages").on("change","#message-type-select",function(){var a=this.value,b=jq('td input[type="checkbox"]'),c="checked";switch(b.each(function(a){b[a].checked=""}),a){case"unread":b=jq('tr.unread td input[type="checkbox"]');break;case"read":b=jq('tr.read td input[type="checkbox"]');break;case"":c=""}b.each(function(a){b[a].checked=c})}),jq("body.messages #item-body div.messages").on("click",".messages-options-nav a",function(){if(-1!==jq.inArray(this.id,Array("delete_sentbox_messages","delete_inbox_messages")))return checkboxes_tosend="",checkboxes=jq('#message-threads tr td input[type="checkbox"]'),jq("#message").remove(),jq(this).addClass("loading"),jq(checkboxes).each(function(a){jq(this).is(":checked")&&(checkboxes_tosend+=jq(this).attr("value")+",")}),""===checkboxes_tosend?(jq(this).removeClass("loading"),!1):(jq.post(ajaxurl,{action:"messages_delete",thread_ids:checkboxes_tosend},function(a){a[0]+a[1]==="-1"?jq("#message-threads").prepend(a.substr(2,a.length)):(jq("#message-threads").before('<div id="message" class="updated"><p>'+a+"</p></div>"),jq(checkboxes).each(function(a){jq(this).is(":checked")&&(jq(this).attr("checked",!1),jq(this).parent().parent().fadeOut(150))})),jq("#message").hide().slideDown(150),jq("#delete_inbox_messages, #delete_sentbox_messages").removeClass("loading")}),!1)}),jq("#select-all-messages").click(function(a){this.checked?jq(".message-check").each(function(){this.checked=!0}):jq(".message-check").each(function(){this.checked=!1})}),jq("#messages-bulk-manage").attr("disabled","disabled"),jq("#messages-select").on("change",function(){jq("#messages-bulk-manage").attr("disabled",jq(this).val().length<=0)}),starAction=function(){var a=jq(this);return jq.post(ajaxurl,{action:"messages_star",message_id:a.data("message-id"),star_status:a.data("star-status"),nonce:a.data("star-nonce"),bulk:a.data("star-bulk")},function(b){1===parseInt(b,10)&&("unstar"===a.data("star-status")?(a.data("star-status","star"),a.removeClass("message-action-unstar").addClass("message-action-star"),a.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_star),1===BP_PM_Star.is_single_thread?a.prop("title",BP_PM_Star.strings.title_star):a.prop("title",BP_PM_Star.strings.title_star_thread)):(a.data("star-status","unstar"),a.removeClass("message-action-star").addClass("message-action-unstar"),a.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_unstar),1===BP_PM_Star.is_single_thread?a.prop("title",BP_PM_Star.strings.title_unstar):a.prop("title",BP_PM_Star.strings.title_unstar_thread)))}),!1},jq("#message-threads").on("click","td.thread-star a",starAction),jq("#message-thread").on("click",".message-star-actions a",starAction),jq("#message-threads td.bulk-select-check :checkbox").on("change",function(){var a=jq(this),b=a.closest("tr").find(".thread-star a");a.prop("checked")?"unstar"===b.data("star-status")?BP_PM_Star.star_counter++:BP_PM_Star.unstar_counter++:"unstar"===b.data("star-status")?BP_PM_Star.star_counter--:BP_PM_Star.unstar_counter--, BP_PM_Star.star_counter>0&&0===parseInt(BP_PM_Star.unstar_counter,10)?jq('option[value="star"]').hide():jq('option[value="star"]').show(),BP_PM_Star.unstar_counter>0&&0===parseInt(BP_PM_Star.star_counter,10)?jq('option[value="unstar"]').hide():jq('option[value="unstar"]').show()}),jq("#select-all-notifications").click(function(a){this.checked?jq(".notification-check").each(function(){this.checked=!0}):jq(".notification-check").each(function(){this.checked=!1})}),jq("#notification-bulk-manage").attr("disabled","disabled"),jq("#notification-select").on("change",function(){jq("#notification-bulk-manage").attr("disabled",jq(this).val().length<=0)}),jq("#close-notice").on("click",function(){return jq(this).addClass("loading"),jq("#sidebar div.error").remove(),jq.post(ajaxurl,{action:"messages_close_notice",notice_id:jq(".notice").attr("rel").substr(2,jq(".notice").attr("rel").length)},function(a){jq("#close-notice").removeClass("loading"),a[0]+a[1]==="-1"?(jq(".notice").prepend(a.substr(2,a.length)),jq("#sidebar div.error").hide().fadeIn(200)):jq(".notice").slideUp(100)}),!1}),jq("#wp-admin-bar ul.main-nav li, #nav li").mouseover(function(){jq(this).addClass("sfhover")}),jq("#wp-admin-bar ul.main-nav li, #nav li").mouseout(function(){jq(this).removeClass("sfhover")}),jq("#wp-admin-bar-logout, a.logout").on("click",function(){jq.removeCookie("bp-activity-scope",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-activity-filter",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-activity-oldestpage",{path:"/",secure:"https:"===window.location.protocol});var a=["members","groups","blogs","forums"];jq(a).each(function(b){jq.removeCookie("bp-"+a[b]+"-scope",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-"+a[b]+"-filter",{path:"/",secure:"https:"===window.location.protocol}),jq.removeCookie("bp-"+a[b]+"-extras",{path:"/",secure:"https:"===window.location.protocol})})}),jq("body").hasClass("no-js")&&jq("body").attr("class",jq("body").attr("class").replace(/no-js/,"js")),"undefined"!=typeof wp&&"undefined"!=typeof wp.heartbeat&&"undefined"!=typeof BP_DTheme.pulse&&(wp.heartbeat.interval(Number(BP_DTheme.pulse)),jq.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}}));var e=0;jq(document).on("heartbeat-send.buddypress",function(a,b){e=0,jq("#buddypress ul.activity-list li").first().prop("id")&&(timestamp=jq("#buddypress ul.activity-list li").first().prop("class").match(/date-recorded-([0-9]+)/),timestamp&&(e=timestamp[1])),(0===activity_last_recorded||Number(e)>activity_last_recorded)&&(activity_last_recorded=Number(e)),b.bp_activity_last_recorded=activity_last_recorded,last_recorded_search=bp_get_querystring("s"),last_recorded_search&&(b.bp_activity_last_recorded_search_terms=last_recorded_search)}),jq(document).on("heartbeat-tick",function(a,b){b.bp_activity_newest_activities&&(newest_activities=b.bp_activity_newest_activities.activities+newest_activities,activity_last_recorded=Number(b.bp_activity_newest_activities.last_recorded),jq("#buddypress ul.activity-list li").first().hasClass("load-newest")||jq("#buddypress ul.activity-list").prepend('<li class="load-newest"><a href="#newest">'+BP_DTheme.newest+"</a></li>"))})}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/password-verify.min.js b/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/password-verify.min.js index 211ce56b24f9e593195ffdc5d589a7687cc77a22..5977fe36bc879bef7fa1de5bcde3a0c0042ac5af 100644 --- a/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/password-verify.min.js +++ b/wp-content/plugins/buddypress/bp-templates/bp-legacy/js/password-verify.min.js @@ -1 +1 @@ -!function(a){function b(){var b,c=a(".password-entry").val(),d=a(".password-entry-confirm").val();if(a("#pass-strength-result").removeClass("short bad good strong"),!c)return void a("#pass-strength-result").html(pwsL10n.empty);switch(b=wp.passwordStrength.meter(c,wp.passwordStrength.userInputBlacklist(),d)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n["short"])}}a(document).ready(function(){a(".password-entry").val("").keyup(b),a(".password-entry-confirm").val("").keyup(b)})}(jQuery); \ No newline at end of file +!function(a){function b(){var b,c=a(".password-entry").val(),d=a(".password-entry-confirm").val();if(a("#pass-strength-result").removeClass("short bad good strong"),!c)return void a("#pass-strength-result").html(pwsL10n.empty);switch(b=wp.passwordStrength.meter(c,wp.passwordStrength.userInputBlacklist(),d)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n.short)}}a(document).ready(function(){a(".password-entry").val("").keyup(b),a(".password-entry-confirm").val("").keyup(b)})}(jQuery); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php b/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php index 3b15c29d8ce6690e53c8dd17fc635a946cc76bbc..dc989db42e2a4223c6d8de587362fd56aa24bea6 100644 --- a/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php +++ b/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php @@ -277,18 +277,21 @@ function bp_dtheme_post_update() { $activity_id = 0; if ( empty( $_POST['object'] ) && bp_is_active( 'activity' ) ) { - $activity_id = bp_activity_post_update( array( 'content' => $_POST['content'] ) ); + $activity_id = bp_activity_post_update( array( 'content' => $_POST['content'], 'error_type' => 'wp_error' ) ); } elseif ( $_POST['object'] == 'groups' ) { if ( ! empty( $_POST['item_id'] ) && bp_is_active( 'groups' ) ) - $activity_id = groups_post_update( array( 'content' => $_POST['content'], 'group_id' => $_POST['item_id'] ) ); + $activity_id = groups_post_update( array( 'content' => $_POST['content'], 'group_id' => $item_id, 'error_type' => 'wp_error' ) ); } else { $activity_id = apply_filters( 'bp_activity_custom_update', $_POST['object'], $_POST['item_id'], $_POST['content'] ); } - if ( empty( $activity_id ) ) + if ( false === $activity_id ) { exit( '-1<div id="message" class="error"><p>' . __( 'There was a problem posting your update, please try again.', 'buddypress' ) . '</p></div>' ); + } elseif ( is_wp_error( $activity_id ) && $activity_id->get_error_code() ) { + exit( '-1<div id="message" class="error bp-ajax-message"><p>' . $activity_id->get_error_message() . '</p></div>' ); + } if ( bp_has_activities ( 'include=' . $activity_id ) ) { while ( bp_activities() ) { @@ -330,10 +333,14 @@ function bp_dtheme_new_activity_comment() { 'activity_id' => $_POST['form_id'], 'content' => $_POST['content'], 'parent_id' => $_POST['comment_id'], + 'error_type' => 'wp_error' ) ); - if ( ! $comment_id ) + if ( false === $comment_id ) { exit( '-1<div id="message" class="error"><p>' . __( 'There was an error posting that reply, please try again.', 'buddypress' ) . '</p></div>' ); + } elseif ( is_wp_error( $comment_id ) ) { + exit( '-1<div id="message" class="error bp-ajax-message"><p>' . esc_html( $comment_id->get_error_message() ) . '</p></div>' ); + } // Load the new activity item into the $activities_template global bp_has_activities( 'display_comments=stream&hide_spam=false&show_hidden=true&include=' . $comment_id ); diff --git a/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin-rtl.css b/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin-rtl.css index 2713cfe0343687aa9bbb56a57c7f6ff1e5711636..b99b3d79a58f5b9e99ddb8f8ddb1034401d79baa 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin-rtl.css +++ b/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin-rtl.css @@ -284,3 +284,79 @@ p.member-type-none-notice { display: none; visibility: hidden; } + +/* xProfile Field Type - Date */ + +.form-table.bp-date-options { + margin: 0 8px; +} + +.form-table.bp-date-options th { + width: 150px; +} + +.form-table td .date-format-section select { + margin-top: -2px; +} + +.date-format-label { + display: inline-block; + width: 150px; +} + +.date-format-custom-value, +.date-range-numeric { + width: 56px; +} + +.bp-date-range-type-label { + float: right; + font-style: italic; + width: 80px; +} + +.bp-date-range-type-values { + margin-left: 25px; + padding-right: 100px; +} + +#bp-xprofile-add-field select#fieldtype { + max-width: 100%; + word-wrap: break-word; + word-break: break-all; /* e.g. Chinese, Japanese, Korean chars */ +} + +@media screen and (max-width: 782px) { + .bp-date-formats .bp-date-format-option:first-of-type { + margin-top: 1em; + } + .bp-range-types .bp-date-format-option { + margin-bottom: 1em; + margin-top: 1em; + } + .form-table td input.date-format-custom-value, + .form-table td input.date-range-numeric { + display: inline-block; + margin-left: 10px; + width: 56px; + } + .form-table td .bp-date-range-type-values select { + display: inline-block; + width: auto; + } + .bp-date-range-type-label { + float: none; + width: auto; + } + .bp-date-range-type-values { + padding-right: 0; + margin-right: 35px; + } +} + +@media screen and (max-width: 480px) { + .form-table .bp-range-types label { + clear: both; + display: block; + } +} diff --git a/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin-rtl.min.css b/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin-rtl.min.css index 798441c5ec4e2e08a5b471809bca21adc74146f5..2d86c5062926899ba4db70fa6166e59d532ca667 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin-rtl.min.css +++ b/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin-rtl.min.css @@ -1 +1 @@ -#tabs,.field-group .xprofile-field{position:relative}@-o-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-webkit-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-moz-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}#profile-field-form{margin-top:12px}p.nofields{margin:20px 0 0}ul#field-group-tabs{float:right;padding:0 15px 0 0;margin:0;display:none}ul#field-group-tabs li{float:right;margin-left:8px;margin-bottom:-1px}ul#field-group-tabs li.ui-state-hover a.ui-tab{color:#d54e21}ul#field-group-tabs li.ui-state-acceptable:not(.ui-state-active) a.ui-tab{-webkit-animation:tab-throb 2s infinite;-moz-animation:tab-throb 2s infinite;-o-animation:tab-throb 2s infinite;animation:tab-throb 2s infinite}ul#field-group-tabs li.drop-candidate.ui-state-acceptable:not(.ui-state-active) a.ui-tab{-webkit-box-shadow:0 0 10px green;-moz-box-shadow:0 0 10px green;-o-box-shadow:0 0 10px green;box-shadow:0 0 10px green;-webkit-animation:none;-moz-animation:none;-o-animation:none;animation:none;color:#000}ul#field-group-tabs li a.ui-tab{font-size:14px;display:block;margin-top:3px;padding:5px 10px 6px;border:1px solid #e5e5e5;background-color:#f5f5f5;text-decoration:none;color:#000;outline:0}ul#field-group-tabs li.ui-state-active a.ui-tab{background-color:#fff;margin-top:0;padding:7px 10px;border-bottom:1px solid transparent;color:#000}.tab-toolbar{clear:right;background:#fff;border-width:1px;border-color:#e5e5e5;border-style:solid;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);padding:10px;margin-bottom:10px}.bp-option a.delete,.field-wrapper a.deletion,.tab-toolbar a.deletion{color:red;border-bottom:1px solid red;text-decoration:none;padding:0}div.delete-button{float:left;line-height:28px}div.field-group{clear:right}.field-group{cursor:default;border:1px solid #e5e5e5;background:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);margin-top:10px;padding:0 20px 20px}.field-group fieldset{position:relative;border:1px solid #ddd;margin:20px 0 0;cursor:move;background:#fafafa;padding:10px 0 0}.field-group fieldset legend{position:absolute;top:10px;right:10px;padding:0}fieldset.checkbox div label,fieldset.radio div div label{margin-left:20px}fieldset.clear-value{margin-right:10px}fieldset div.field-wrapper{padding:25px 10px 10px}.field-group div.actions{float:none;border-top:1px solid #ddd;margin:10px 0 0;padding-top:10px}.field-group div.actions a,.field-group div.actions button,.field-group div.actions input{float:none}.field-group fieldset:hover{border-color:#999}.field-group fieldset:hover div.actions{display:block}#field-group-tabs .ui-sortable-placeholder,.bp-options-box .ui-sortable-placeholder,.field-group fieldset.ui-sortable-placeholder{border:1px dashed #999;background-color:#fff;visibility:visible!important}#field-group-tabs .ui-sortable-placeholder{background:0 0;border-bottom:none;margin:-1px 0 -1px 6px}ul.forTab{list-style:none;padding:0;margin:0 1em 0 0}ul.forTab li{margin:0 0 1em}ul.forTab li label{display:block}ul.forTab li input{font-size:1.4em}p.success{background:green}p.err{border-top:2px solid red;border-bottom:2px solid red;color:red;padding:5px 0;width:40%}span.desc,span.signup-description{display:block;font-size:11px;color:#555}ul.multi-checkbox{margin:0 0 0 5px;padding:.5em .9em;height:10em;overflow:auto;list-style:none;border:1px solid #ccc;width:90%}ul.multi-checkbox li{padding:0;margin:0}div.bp-option{background:#fafafa;border:1px solid #dfdfdf;margin:10px 0;padding:10px 5px}div.bp-option:hover{border:1px solid #999}.bp-option-icon{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 2px 0 0;top:5px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div.bp-option .grabber:before{content:"\f329"}th a{background:#fff;padding:2px 5px;top:-2px}textarea#description,textarea#group_description{border:1px solid #ddd;width:100%}#bp-xprofile-add-field .titlewrap,#bp-xprofile-add-field-group .titlewrap{margin-bottom:20px}#bp-xprofile-add-field #post-body-content{margin-bottom:0}p.member-type-none-notice,span.member-type-none-notice{color:red}.hide{display:none;visibility:hidden} \ No newline at end of file +#tabs,.field-group .xprofile-field{position:relative}@-o-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-webkit-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-moz-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}#profile-field-form{margin-top:12px}p.nofields{margin:20px 0 0}ul#field-group-tabs{float:right;padding:0 15px 0 0;margin:0;display:none}ul#field-group-tabs li{float:right;margin-left:8px;margin-bottom:-1px}ul#field-group-tabs li.ui-state-hover a.ui-tab{color:#d54e21}ul#field-group-tabs li.ui-state-acceptable:not(.ui-state-active) a.ui-tab{-webkit-animation:tab-throb 2s infinite;-moz-animation:tab-throb 2s infinite;-o-animation:tab-throb 2s infinite;animation:tab-throb 2s infinite}ul#field-group-tabs li.drop-candidate.ui-state-acceptable:not(.ui-state-active) a.ui-tab{-webkit-box-shadow:0 0 10px green;-moz-box-shadow:0 0 10px green;-o-box-shadow:0 0 10px green;box-shadow:0 0 10px green;-webkit-animation:none;-moz-animation:none;-o-animation:none;animation:none;color:#000}ul#field-group-tabs li a.ui-tab{font-size:14px;display:block;margin-top:3px;padding:5px 10px 6px;border:1px solid #e5e5e5;background-color:#f5f5f5;text-decoration:none;color:#000;outline:0}ul#field-group-tabs li.ui-state-active a.ui-tab{background-color:#fff;margin-top:0;padding:7px 10px;border-bottom:1px solid transparent;color:#000}.tab-toolbar{clear:right;background:#fff;border-width:1px;border-color:#e5e5e5;border-style:solid;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);padding:10px;margin-bottom:10px}.bp-option a.delete,.field-wrapper a.deletion,.tab-toolbar a.deletion{color:red;border-bottom:1px solid red;text-decoration:none;padding:0}div.delete-button{float:left;line-height:28px}div.field-group{clear:right}.field-group{cursor:default;border:1px solid #e5e5e5;background:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);margin-top:10px;padding:0 20px 20px}.field-group fieldset{position:relative;border:1px solid #ddd;margin:20px 0 0;cursor:move;background:#fafafa;padding:10px 0 0}.field-group fieldset legend{position:absolute;top:10px;right:10px;padding:0}fieldset.checkbox div label,fieldset.radio div div label{margin-left:20px}fieldset.clear-value{margin-right:10px}fieldset div.field-wrapper{padding:25px 10px 10px}.field-group div.actions{float:none;border-top:1px solid #ddd;margin:10px 0 0;padding-top:10px}.field-group div.actions a,.field-group div.actions button,.field-group div.actions input{float:none}.field-group fieldset:hover{border-color:#999}.field-group fieldset:hover div.actions{display:block}#field-group-tabs .ui-sortable-placeholder,.bp-options-box .ui-sortable-placeholder,.field-group fieldset.ui-sortable-placeholder{border:1px dashed #999;background-color:#fff;visibility:visible!important}#field-group-tabs .ui-sortable-placeholder{background:0 0;border-bottom:none;margin:-1px 0 -1px 6px}ul.forTab{list-style:none;padding:0;margin:0 1em 0 0}ul.forTab li{margin:0 0 1em}ul.forTab li label{display:block}ul.forTab li input{font-size:1.4em}p.success{background:green}p.err{border-top:2px solid red;border-bottom:2px solid red;color:red;padding:5px 0;width:40%}span.desc,span.signup-description{display:block;font-size:11px;color:#555}ul.multi-checkbox{margin:0 0 0 5px;padding:.5em .9em;height:10em;overflow:auto;list-style:none;border:1px solid #ccc;width:90%}ul.multi-checkbox li{padding:0;margin:0}div.bp-option{background:#fafafa;border:1px solid #dfdfdf;margin:10px 0;padding:10px 5px}div.bp-option:hover{border:1px solid #999}.bp-option-icon{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 2px 0 0;top:5px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div.bp-option .grabber:before{content:"\f329"}th a{background:#fff;padding:2px 5px;top:-2px}textarea#description,textarea#group_description{border:1px solid #ddd;width:100%}#bp-xprofile-add-field .titlewrap,#bp-xprofile-add-field-group .titlewrap{margin-bottom:20px}#bp-xprofile-add-field #post-body-content{margin-bottom:0}p.member-type-none-notice,span.member-type-none-notice{color:red}.hide{display:none;visibility:hidden}.form-table.bp-date-options{margin:0 8px}.form-table.bp-date-options th{width:150px}.form-table td .date-format-section select{margin-top:-2px}.date-format-label{display:inline-block;width:150px}.date-format-custom-value,.date-range-numeric{width:56px}.bp-date-range-type-label{float:right;font-style:italic;width:80px}.bp-date-range-type-values{margin-left:25px;padding-right:100px}#bp-xprofile-add-field select#fieldtype{max-width:100%;word-wrap:break-word;word-break:break-all}@media screen and (max-width:782px){.bp-date-formats .bp-date-format-option:first-of-type{margin-top:1em}.bp-range-types .bp-date-format-option{margin-bottom:1em;margin-top:1em}.form-table td input.date-format-custom-value,.form-table td input.date-range-numeric{display:inline-block;margin-left:10px;width:56px}.form-table td .bp-date-range-type-values select{display:inline-block;width:auto}.bp-date-range-type-label{float:none;width:auto}.bp-date-range-type-values{padding-right:0;margin-right:35px}}@media screen and (max-width:480px){.form-table .bp-range-types label{clear:both;display:block}} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin.css b/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin.css index 6dd7a20a9189f473e2fe34029af970a6eef2a675..9862f064c02e0180fe4042764248e45e8a001a12 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin.css +++ b/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin.css @@ -284,3 +284,79 @@ p.member-type-none-notice { display: none; visibility: hidden; } + +/* xProfile Field Type - Date */ + +.form-table.bp-date-options { + margin: 0 8px; +} + +.form-table.bp-date-options th { + width: 150px; +} + +.form-table td .date-format-section select { + margin-top: -2px; +} + +.date-format-label { + display: inline-block; + width: 150px; +} + +.date-format-custom-value, +.date-range-numeric { + width: 56px; +} + +.bp-date-range-type-label { + float: left; + font-style: italic; + width: 80px; +} + +.bp-date-range-type-values { + margin-right: 25px; + padding-left: 100px; +} + +#bp-xprofile-add-field select#fieldtype { + max-width: 100%; + word-wrap: break-word; + word-break: break-all; /* e.g. Chinese, Japanese, Korean chars */ +} + +@media screen and (max-width: 782px) { + .bp-date-formats .bp-date-format-option:first-of-type { + margin-top: 1em; + } + .bp-range-types .bp-date-format-option { + margin-bottom: 1em; + margin-top: 1em; + } + .form-table td input.date-format-custom-value, + .form-table td input.date-range-numeric { + display: inline-block; + margin-right: 10px; + width: 56px; + } + .form-table td .bp-date-range-type-values select { + display: inline-block; + width: auto; + } + .bp-date-range-type-label { + float: none; + width: auto; + } + .bp-date-range-type-values { + padding-left: 0; + margin-left: 35px; + } +} + +@media screen and (max-width: 480px) { + .form-table .bp-range-types label { + clear: both; + display: block; + } +} diff --git a/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin.min.css b/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin.min.css index 62c4d5c00c131b5fcabd21301fd4017b360d825d..f9596d8079bfcbb608b13782ae078935b3a94ebd 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin.min.css +++ b/wp-content/plugins/buddypress/bp-xprofile/admin/css/admin.min.css @@ -1 +1 @@ -#tabs,.field-group .xprofile-field{position:relative}@-o-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-webkit-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-moz-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}#profile-field-form{margin-top:12px}p.nofields{margin:20px 0 0}ul#field-group-tabs{float:left;padding:0 0 0 15px;margin:0;display:none}ul#field-group-tabs li{float:left;margin-right:8px;margin-bottom:-1px}ul#field-group-tabs li.ui-state-hover a.ui-tab{color:#d54e21}ul#field-group-tabs li.ui-state-acceptable:not(.ui-state-active) a.ui-tab{-webkit-animation:tab-throb 2s infinite;-moz-animation:tab-throb 2s infinite;-o-animation:tab-throb 2s infinite;animation:tab-throb 2s infinite}ul#field-group-tabs li.drop-candidate.ui-state-acceptable:not(.ui-state-active) a.ui-tab{-webkit-box-shadow:0 0 10px green;-moz-box-shadow:0 0 10px green;-o-box-shadow:0 0 10px green;box-shadow:0 0 10px green;-webkit-animation:none;-moz-animation:none;-o-animation:none;animation:none;color:#000}ul#field-group-tabs li a.ui-tab{font-size:14px;display:block;margin-top:3px;padding:5px 10px 6px;border:1px solid #e5e5e5;background-color:#f5f5f5;text-decoration:none;color:#000;outline:0}ul#field-group-tabs li.ui-state-active a.ui-tab{background-color:#fff;margin-top:0;padding:7px 10px;border-bottom:1px solid transparent;color:#000}.tab-toolbar{clear:left;background:#fff;border-width:1px;border-color:#e5e5e5;border-style:solid;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);padding:10px;margin-bottom:10px}.bp-option a.delete,.field-wrapper a.deletion,.tab-toolbar a.deletion{color:red;border-bottom:1px solid red;text-decoration:none;padding:0}div.delete-button{float:right;line-height:28px}div.field-group{clear:left}.field-group{cursor:default;border:1px solid #e5e5e5;background:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);margin-top:10px;padding:0 20px 20px}.field-group fieldset{position:relative;border:1px solid #ddd;margin:20px 0 0;cursor:move;background:#fafafa;padding:10px 0 0}.field-group fieldset legend{position:absolute;top:10px;left:10px;padding:0}fieldset.checkbox div label,fieldset.radio div div label{margin-right:20px}fieldset.clear-value{margin-left:10px}fieldset div.field-wrapper{padding:25px 10px 10px}.field-group div.actions{float:none;border-top:1px solid #ddd;margin:10px 0 0;padding-top:10px}.field-group div.actions a,.field-group div.actions button,.field-group div.actions input{float:none}.field-group fieldset:hover{border-color:#999}.field-group fieldset:hover div.actions{display:block}#field-group-tabs .ui-sortable-placeholder,.bp-options-box .ui-sortable-placeholder,.field-group fieldset.ui-sortable-placeholder{border:1px dashed #999;background-color:#fff;visibility:visible!important}#field-group-tabs .ui-sortable-placeholder{background:0 0;border-bottom:none;margin:-1px 6px -1px 0}ul.forTab{list-style:none;padding:0;margin:0 0 0 1em}ul.forTab li{margin:0 0 1em}ul.forTab li label{display:block}ul.forTab li input{font-size:1.4em}p.success{background:green}p.err{border-top:2px solid red;border-bottom:2px solid red;color:red;padding:5px 0;width:40%}span.desc,span.signup-description{display:block;font-size:11px;color:#555}ul.multi-checkbox{margin:0 5px 0 0;padding:.5em .9em;height:10em;overflow:auto;list-style:none;border:1px solid #ccc;width:90%}ul.multi-checkbox li{padding:0;margin:0}div.bp-option{background:#fafafa;border:1px solid #dfdfdf;margin:10px 0;padding:10px 5px}div.bp-option:hover{border:1px solid #999}.bp-option-icon{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 2px;top:5px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div.bp-option .grabber:before{content:"\f329"}th a{background:#fff;padding:2px 5px;top:-2px}textarea#description,textarea#group_description{border:1px solid #ddd;width:100%}#bp-xprofile-add-field .titlewrap,#bp-xprofile-add-field-group .titlewrap{margin-bottom:20px}#bp-xprofile-add-field #post-body-content{margin-bottom:0}p.member-type-none-notice,span.member-type-none-notice{color:red}.hide{display:none;visibility:hidden} \ No newline at end of file +#tabs,.field-group .xprofile-field{position:relative}@-o-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-webkit-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-moz-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}#profile-field-form{margin-top:12px}p.nofields{margin:20px 0 0}ul#field-group-tabs{float:left;padding:0 0 0 15px;margin:0;display:none}ul#field-group-tabs li{float:left;margin-right:8px;margin-bottom:-1px}ul#field-group-tabs li.ui-state-hover a.ui-tab{color:#d54e21}ul#field-group-tabs li.ui-state-acceptable:not(.ui-state-active) a.ui-tab{-webkit-animation:tab-throb 2s infinite;-moz-animation:tab-throb 2s infinite;-o-animation:tab-throb 2s infinite;animation:tab-throb 2s infinite}ul#field-group-tabs li.drop-candidate.ui-state-acceptable:not(.ui-state-active) a.ui-tab{-webkit-box-shadow:0 0 10px green;-moz-box-shadow:0 0 10px green;-o-box-shadow:0 0 10px green;box-shadow:0 0 10px green;-webkit-animation:none;-moz-animation:none;-o-animation:none;animation:none;color:#000}ul#field-group-tabs li a.ui-tab{font-size:14px;display:block;margin-top:3px;padding:5px 10px 6px;border:1px solid #e5e5e5;background-color:#f5f5f5;text-decoration:none;color:#000;outline:0}ul#field-group-tabs li.ui-state-active a.ui-tab{background-color:#fff;margin-top:0;padding:7px 10px;border-bottom:1px solid transparent;color:#000}.tab-toolbar{clear:left;background:#fff;border-width:1px;border-color:#e5e5e5;border-style:solid;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);padding:10px;margin-bottom:10px}.bp-option a.delete,.field-wrapper a.deletion,.tab-toolbar a.deletion{color:red;border-bottom:1px solid red;text-decoration:none;padding:0}div.delete-button{float:right;line-height:28px}div.field-group{clear:left}.field-group{cursor:default;border:1px solid #e5e5e5;background:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);margin-top:10px;padding:0 20px 20px}.field-group fieldset{position:relative;border:1px solid #ddd;margin:20px 0 0;cursor:move;background:#fafafa;padding:10px 0 0}.field-group fieldset legend{position:absolute;top:10px;left:10px;padding:0}fieldset.checkbox div label,fieldset.radio div div label{margin-right:20px}fieldset.clear-value{margin-left:10px}fieldset div.field-wrapper{padding:25px 10px 10px}.field-group div.actions{float:none;border-top:1px solid #ddd;margin:10px 0 0;padding-top:10px}.field-group div.actions a,.field-group div.actions button,.field-group div.actions input{float:none}.field-group fieldset:hover{border-color:#999}.field-group fieldset:hover div.actions{display:block}#field-group-tabs .ui-sortable-placeholder,.bp-options-box .ui-sortable-placeholder,.field-group fieldset.ui-sortable-placeholder{border:1px dashed #999;background-color:#fff;visibility:visible!important}#field-group-tabs .ui-sortable-placeholder{background:0 0;border-bottom:none;margin:-1px 6px -1px 0}ul.forTab{list-style:none;padding:0;margin:0 0 0 1em}ul.forTab li{margin:0 0 1em}ul.forTab li label{display:block}ul.forTab li input{font-size:1.4em}p.success{background:green}p.err{border-top:2px solid red;border-bottom:2px solid red;color:red;padding:5px 0;width:40%}span.desc,span.signup-description{display:block;font-size:11px;color:#555}ul.multi-checkbox{margin:0 5px 0 0;padding:.5em .9em;height:10em;overflow:auto;list-style:none;border:1px solid #ccc;width:90%}ul.multi-checkbox li{padding:0;margin:0}div.bp-option{background:#fafafa;border:1px solid #dfdfdf;margin:10px 0;padding:10px 5px}div.bp-option:hover{border:1px solid #999}.bp-option-icon{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 2px;top:5px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div.bp-option .grabber:before{content:"\f329"}th a{background:#fff;padding:2px 5px;top:-2px}textarea#description,textarea#group_description{border:1px solid #ddd;width:100%}#bp-xprofile-add-field .titlewrap,#bp-xprofile-add-field-group .titlewrap{margin-bottom:20px}#bp-xprofile-add-field #post-body-content{margin-bottom:0}p.member-type-none-notice,span.member-type-none-notice{color:red}.hide{display:none;visibility:hidden}.form-table.bp-date-options{margin:0 8px}.form-table.bp-date-options th{width:150px}.form-table td .date-format-section select{margin-top:-2px}.date-format-label{display:inline-block;width:150px}.date-format-custom-value,.date-range-numeric{width:56px}.bp-date-range-type-label{float:left;font-style:italic;width:80px}.bp-date-range-type-values{margin-right:25px;padding-left:100px}#bp-xprofile-add-field select#fieldtype{max-width:100%;word-wrap:break-word;word-break:break-all}@media screen and (max-width:782px){.bp-date-formats .bp-date-format-option:first-of-type{margin-top:1em}.bp-range-types .bp-date-format-option{margin-bottom:1em;margin-top:1em}.form-table td input.date-format-custom-value,.form-table td input.date-range-numeric{display:inline-block;margin-right:10px;width:56px}.form-table td .bp-date-range-type-values select{display:inline-block;width:auto}.bp-date-range-type-label{float:none;width:auto}.bp-date-range-type-values{padding-left:0;margin-left:35px}}@media screen and (max-width:480px){.form-table .bp-range-types label{clear:both;display:block}} \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-xprofile/admin/js/admin.js b/wp-content/plugins/buddypress/bp-xprofile/admin/js/admin.js index 53f6b1c7cf0b7ad35b2c6bed30f5cf2fdd2f0395..1cafcd9ca304fdb089ab74ce2af6a2ca615d2252 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/admin/js/admin.js +++ b/wp-content/plugins/buddypress/bp-xprofile/admin/js/admin.js @@ -78,11 +78,11 @@ function add_option(forWhat) { function show_options( forWhat ) { var do_autolink; - for ( var i = 0; i < XProfileAdmin.supports_options_field_types.length; i++ ) { - document.getElementById( XProfileAdmin.supports_options_field_types[i] ).style.display = 'none'; + for ( var i = 0; i < XProfileAdmin.do_settings_section_field_types.length; i++ ) { + document.getElementById( XProfileAdmin.do_settings_section_field_types[i] ).style.display = 'none'; } - if ( XProfileAdmin.supports_options_field_types.indexOf( forWhat ) >= 0 ) { + if ( XProfileAdmin.do_settings_section_field_types.indexOf( forWhat ) >= 0 ) { document.getElementById( forWhat ).style.display = ''; do_autolink = 'on'; } else { @@ -270,6 +270,47 @@ jQuery( document ).ready( function() { // Handle title placeholder text the WordPress way titleHint( 'title' ); + // On Date fields, selecting a date_format radio button should change the Custom value. + var $date_format = jQuery( 'input[name="date_format"]' ); + var $date_format_custom_value = jQuery( '#date-format-custom-value' ); + var $date_format_sample = jQuery( '#date-format-custom-sample' ); + $date_format.click( function( e ) { + switch ( e.target.value ) { + case 'elapsed' : + $date_format_custom_value.val( '' ); + $date_format_sample.html( '' ); + break; + + case 'custom' : + break; + + default : + $date_format_custom_value.val( e.target.value ); + $date_format_sample.html( jQuery( e.target ).siblings( '.date-format-label' ).html() ); + break; + } + } ); + + // Clicking into the custom date format field should select the Custom radio button. + var $date_format_custom = jQuery( '#date-format-custom' ); + $date_format_custom_value.focus( function() { + $date_format_custom.prop( 'checked', 'checked' ); + } ); + + // Validate custom date field. + var $date_format_spinner = jQuery( '#date-format-custom-spinner' ); + $date_format_custom_value.change( function( e ) { + $date_format_spinner.addClass( 'is-active' ); + jQuery.post( ajaxurl, { + action: 'date_format', + date: e.target.value + }, + function( response ) { + $date_format_spinner.removeClass( 'is-active' ); + $date_format_sample.html( response ); + } ); + } ); + // tabs init with a custom tab template and an "add" callback filling in the content var $tab_items, $tabs = jQuery( '#tabs' ).tabs(); diff --git a/wp-content/plugins/buddypress/bp-xprofile/admin/js/admin.min.js b/wp-content/plugins/buddypress/bp-xprofile/admin/js/admin.min.js index c545c3f6f093c65fb3dbde3786043190f6060cf1..9beb2e8220f7c303e05354ae36e4cf50e430a17f 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/admin/js/admin.min.js +++ b/wp-content/plugins/buddypress/bp-xprofile/admin/js/admin.min.js @@ -1 +1 @@ -function add_option(a){var b=document.getElementById(a+"_more"),c=document.getElementById(a+"_option_number").value,d=document.createElement("div"),e=document.createElement("span"),f=document.createElement("input"),g=document.createElement("label"),h=document.createElement("input"),i=document.createTextNode("Default Value"),j=document.createTextNode("Delete"),k=document.createElement("div"),l=document.createElement("a");d.setAttribute("id",a+"_div"+c),d.setAttribute("class","bp-option sortable"),e.setAttribute("class","bp-option-icon grabber"),f.setAttribute("type","text"),f.setAttribute("name",a+"_option["+c+"]"),f.setAttribute("id",a+"_option"+c),"checkbox"===a||"multiselectbox"===a?(h.setAttribute("type","checkbox"),h.setAttribute("name","isDefault_"+a+"_option["+c+"]")):(h.setAttribute("type","radio"),h.setAttribute("name","isDefault_"+a+"_option")),h.setAttribute("value",c),l.setAttribute("href",'javascript:hide("'+a+"_div"+c+'")'),l.setAttribute("class","delete"),l.appendChild(j),k.setAttribute("class","delete-button"),k.appendChild(l),g.appendChild(document.createTextNode(" ")),g.appendChild(h),g.appendChild(document.createTextNode(" ")),g.appendChild(i),g.appendChild(document.createTextNode(" ")),d.appendChild(e),d.appendChild(document.createTextNode(" ")),d.appendChild(f),d.appendChild(g),d.appendChild(k),b.appendChild(d),enableSortableFieldOptions(a),document.getElementById(a+"_option"+c).focus(),c++,document.getElementById(a+"_option_number").value=c}function show_options(a){for(var b,c=0;c<XProfileAdmin.supports_options_field_types.length;c++)document.getElementById(XProfileAdmin.supports_options_field_types[c]).style.display="none";XProfileAdmin.supports_options_field_types.indexOf(a)>=0?(document.getElementById(a).style.display="",b="on"):(jQuery("#do-autolink").val(""),b=""),""===XProfileAdmin.do_autolink&&jQuery("#do-autolink").val(b)}function hide(a){if(!document.getElementById(a))return!1;document.getElementById(a).style.display="none";var b=a.replace("div","option");document.getElementById(b).value=""}function toggle_no_member_type_notice(){var a=jQuery("input.member-type-selector");if(a.length){var b=!1;a.each(function(){return jQuery(this).is(":checked")?(b=!0,!1):void 0}),b?jQuery("p.member-type-none-notice").addClass("hide"):jQuery("p.member-type-none-notice").removeClass("hide")}}function enableSortableFieldOptions(){jQuery(".bp-options-box").sortable({cursor:"move",items:"div.sortable",tolerance:"intersect",axis:"y"}),jQuery(".sortable, .sortable span").css("cursor","move")}function destroySortableFieldOptions(){jQuery(".bp-options-box").sortable("destroy"),jQuery(".sortable, .sortable span").css("cursor","default")}function titleHint(a){a=a||"title";var b=jQuery("#"+a),c=jQuery("#"+a+"-prompt-text");""===b.val()?c.removeClass("screen-reader-text"):c.addClass("screen-reader-text"),c.click(function(){jQuery(this).addClass("screen-reader-text"),b.focus()}),b.blur(function(){""===this.value&&c.removeClass("screen-reader-text")}).focus(function(){c.addClass("screen-reader-text")}).keydown(function(a){c.addClass("screen-reader-text"),jQuery(this).unbind(a)})}var fixHelper=function(a,b){return b.children().each(function(){jQuery(this).width(jQuery(this).width())}),b};jQuery(document).ready(function(){function a(a){b=jQuery("ul:first li",a).droppable({accept:".connectedSortable fieldset",hoverClass:"ui-state-hover",activeClass:"ui-state-acceptable",touch:"pointer",tolerance:"pointer",drop:function(c,d){var e=jQuery(this),f=jQuery(e.find("a").attr("href")).find(".connectedSortable");jQuery(e).removeClass("drop-candidate"),d.draggable.hide("slow",function(){a.tabs("option","active",b.index(e)),jQuery(this).appendTo(f).show("slow").animate({opacity:"1"},500),f=jQuery(e.find("a").attr("href")).find(".connectedSortable"),jQuery(f).find("p.nofields").hide("slow"),jQuery.post(ajaxurl,{action:"xprofile_reorder_fields",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_fields:jQuery("input#_wpnonce_reorder_fields").val(),field_order:jQuery(f).sortable("serialize"),field_group_id:jQuery(f).attr("id")},function(){})})},over:function(){jQuery(this).addClass("drop-candidate")},out:function(){jQuery(this).removeClass("drop-candidate")}})}jQuery("#bp-xprofile-add-field #title").focus(),toggle_no_member_type_notice(),jQuery("input.member-type-selector").on("change",function(){toggle_no_member_type_notice()}),jQuery("a.ajax-option-delete").on("click",function(){var a=this.id.split("-");a=a[1],jQuery.post(ajaxurl,{action:"xprofile_delete_option",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce").val(),option_id:a},function(){})}),jQuery('[id^="sort_order_"]').change(function(){"custom"!==jQuery(this).val()?destroySortableFieldOptions():enableSortableFieldOptions(jQuery("#fieldtype :selected").val())}),jQuery("ul#field-group-tabs").show(),jQuery("ul#field-group-tabs").sortable({cursor:"move",axis:"x",opacity:1,items:"li",tolerance:"intersect",update:function(){jQuery.post(ajaxurl,{action:"xprofile_reorder_groups",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_groups:jQuery("input#_wpnonce_reorder_groups").val(),group_order:jQuery(this).sortable("serialize")},function(){})}}).disableSelection(),jQuery("fieldset.field-group").sortable({cursor:"move",opacity:.7,items:"fieldset",tolerance:"pointer",update:function(){jQuery.post(ajaxurl,{action:"xprofile_reorder_fields",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_fields:jQuery("input#_wpnonce_reorder_fields").val(),field_order:jQuery(this).sortable("serialize"),field_group_id:jQuery(this).attr("id")},function(){})}}).disableSelection(),enableSortableFieldOptions(jQuery("#fieldtype :selected").val()),titleHint("title");var b,c=jQuery("#tabs").tabs();a(c)}); \ No newline at end of file +function add_option(a){var b=document.getElementById(a+"_more"),c=document.getElementById(a+"_option_number").value,d=document.createElement("div"),e=document.createElement("span"),f=document.createElement("input"),g=document.createElement("label"),h=document.createElement("input"),i=document.createTextNode("Default Value"),j=document.createTextNode("Delete"),k=document.createElement("div"),l=document.createElement("a");d.setAttribute("id",a+"_div"+c),d.setAttribute("class","bp-option sortable"),e.setAttribute("class","bp-option-icon grabber"),f.setAttribute("type","text"),f.setAttribute("name",a+"_option["+c+"]"),f.setAttribute("id",a+"_option"+c),"checkbox"===a||"multiselectbox"===a?(h.setAttribute("type","checkbox"),h.setAttribute("name","isDefault_"+a+"_option["+c+"]")):(h.setAttribute("type","radio"),h.setAttribute("name","isDefault_"+a+"_option")),h.setAttribute("value",c),l.setAttribute("href",'javascript:hide("'+a+"_div"+c+'")'),l.setAttribute("class","delete"),l.appendChild(j),k.setAttribute("class","delete-button"),k.appendChild(l),g.appendChild(document.createTextNode(" ")),g.appendChild(h),g.appendChild(document.createTextNode(" ")),g.appendChild(i),g.appendChild(document.createTextNode(" ")),d.appendChild(e),d.appendChild(document.createTextNode(" ")),d.appendChild(f),d.appendChild(g),d.appendChild(k),b.appendChild(d),enableSortableFieldOptions(a),document.getElementById(a+"_option"+c).focus(),c++,document.getElementById(a+"_option_number").value=c}function show_options(a){for(var b,c=0;c<XProfileAdmin.do_settings_section_field_types.length;c++)document.getElementById(XProfileAdmin.do_settings_section_field_types[c]).style.display="none";XProfileAdmin.do_settings_section_field_types.indexOf(a)>=0?(document.getElementById(a).style.display="",b="on"):(jQuery("#do-autolink").val(""),b=""),""===XProfileAdmin.do_autolink&&jQuery("#do-autolink").val(b)}function hide(a){if(!document.getElementById(a))return!1;document.getElementById(a).style.display="none";var b=a.replace("div","option");document.getElementById(b).value=""}function toggle_no_member_type_notice(){var a=jQuery("input.member-type-selector");if(a.length){var b=!1;a.each(function(){if(jQuery(this).is(":checked"))return b=!0,!1}),b?jQuery("p.member-type-none-notice").addClass("hide"):jQuery("p.member-type-none-notice").removeClass("hide")}}function enableSortableFieldOptions(){jQuery(".bp-options-box").sortable({cursor:"move",items:"div.sortable",tolerance:"intersect",axis:"y"}),jQuery(".sortable, .sortable span").css("cursor","move")}function destroySortableFieldOptions(){jQuery(".bp-options-box").sortable("destroy"),jQuery(".sortable, .sortable span").css("cursor","default")}function titleHint(a){a=a||"title";var b=jQuery("#"+a),c=jQuery("#"+a+"-prompt-text");""===b.val()?c.removeClass("screen-reader-text"):c.addClass("screen-reader-text"),c.click(function(){jQuery(this).addClass("screen-reader-text"),b.focus()}),b.blur(function(){""===this.value&&c.removeClass("screen-reader-text")}).focus(function(){c.addClass("screen-reader-text")}).keydown(function(a){c.addClass("screen-reader-text"),jQuery(this).unbind(a)})}var fixHelper=function(a,b){return b.children().each(function(){jQuery(this).width(jQuery(this).width())}),b};jQuery(document).ready(function(){function a(a){g=jQuery("ul:first li",a).droppable({accept:".connectedSortable fieldset",hoverClass:"ui-state-hover",activeClass:"ui-state-acceptable",touch:"pointer",tolerance:"pointer",drop:function(b,c){var d=jQuery(this),e=jQuery(d.find("a").attr("href")).find(".connectedSortable");jQuery(d).removeClass("drop-candidate"),c.draggable.hide("slow",function(){a.tabs("option","active",g.index(d)),jQuery(this).appendTo(e).show("slow").animate({opacity:"1"},500),e=jQuery(d.find("a").attr("href")).find(".connectedSortable"),jQuery(e).find("p.nofields").hide("slow"),jQuery.post(ajaxurl,{action:"xprofile_reorder_fields",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_fields:jQuery("input#_wpnonce_reorder_fields").val(),field_order:jQuery(e).sortable("serialize"),field_group_id:jQuery(e).attr("id")},function(){})})},over:function(){jQuery(this).addClass("drop-candidate")},out:function(){jQuery(this).removeClass("drop-candidate")}})}jQuery("#bp-xprofile-add-field #title").focus(),toggle_no_member_type_notice(),jQuery("input.member-type-selector").on("change",function(){toggle_no_member_type_notice()}),jQuery("a.ajax-option-delete").on("click",function(){var a=this.id.split("-");a=a[1],jQuery.post(ajaxurl,{action:"xprofile_delete_option",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce").val(),option_id:a},function(){})}),jQuery('[id^="sort_order_"]').change(function(){"custom"!==jQuery(this).val()?destroySortableFieldOptions():enableSortableFieldOptions(jQuery("#fieldtype :selected").val())}),jQuery("ul#field-group-tabs").show(),jQuery("ul#field-group-tabs").sortable({cursor:"move",axis:"x",opacity:1,items:"li",tolerance:"intersect",update:function(){jQuery.post(ajaxurl,{action:"xprofile_reorder_groups",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_groups:jQuery("input#_wpnonce_reorder_groups").val(),group_order:jQuery(this).sortable("serialize")},function(){})}}).disableSelection(),jQuery("fieldset.field-group").sortable({cursor:"move",opacity:.7,items:"fieldset",tolerance:"pointer",update:function(){jQuery.post(ajaxurl,{action:"xprofile_reorder_fields",cookie:encodeURIComponent(document.cookie),_wpnonce_reorder_fields:jQuery("input#_wpnonce_reorder_fields").val(),field_order:jQuery(this).sortable("serialize"),field_group_id:jQuery(this).attr("id")},function(){})}}).disableSelection(),enableSortableFieldOptions(jQuery("#fieldtype :selected").val()),titleHint("title");var b=jQuery('input[name="date_format"]'),c=jQuery("#date-format-custom-value"),d=jQuery("#date-format-custom-sample");b.click(function(a){switch(a.target.value){case"elapsed":c.val(""),d.html("");break;case"custom":break;default:c.val(a.target.value),d.html(jQuery(a.target).siblings(".date-format-label").html())}});var e=jQuery("#date-format-custom");c.focus(function(){e.prop("checked","checked")});var f=jQuery("#date-format-custom-spinner");c.change(function(a){f.addClass("is-active"),jQuery.post(ajaxurl,{action:"date_format",date:a.target.value},function(a){f.removeClass("is-active"),d.html(a)})});var g,h=jQuery("#tabs").tabs();a(h)}); \ No newline at end of file diff --git a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-activity.php b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-activity.php index dd5aa74a9058c936977e9a786d411d1edf435a2b..738ad0ac7d4c0b38a62c31087cce5e1d935eea19 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-activity.php +++ b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-activity.php @@ -307,7 +307,7 @@ function bp_xprofile_updated_profile_activity( $user_id, $field_ids = array(), $ */ $throttle_period = apply_filters( 'bp_xprofile_updated_profile_activity_throttle_time', HOUR_IN_SECONDS * 2 ); $then = strtotime( $existing['activities'][0]->date_recorded ); - $now = strtotime( bp_core_current_time() ); + $now = bp_core_current_time( true, 'timestamp' ); // Bail if throttled. if ( ( $now - $then ) < $throttle_period ) { diff --git a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-admin.php b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-admin.php index 352a8b01ad2ebf649d65a5898b574a47abb89446..00778d020c6cfc8eb440663639fcc25ef601a0c7 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-admin.php +++ b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-admin.php @@ -113,7 +113,7 @@ function xprofile_admin_screen( $message = '', $type = 'error' ) { <?php endif; ?> - <div id="tabs"> + <div id="tabs" aria-live="polite" aria-atomic="true" aria-relevant="all"> <ul id="field-group-tabs"> <?php if ( !empty( $groups ) ) : foreach ( $groups as $group ) : ?> @@ -183,7 +183,7 @@ function xprofile_admin_screen( $message = '', $type = 'error' ) { <?php endif; ?> - <fieldset id="<?php echo esc_attr( $group->id ); ?>" class="connectedSortable field-group"> + <fieldset id="<?php echo esc_attr( $group->id ); ?>" class="connectedSortable field-group" aria-live="polite" aria-atomic="true" aria-relevant="all"> <legend class="screen-reader-text"><?php /** This filter is documented in bp-xprofile/bp-xprofile-template.php */ /* translators: accessibility text */ @@ -432,6 +432,11 @@ function xprofile_admin_manage_field( $group_id, $field_id = null ) { bp_xprofile_update_field_meta( $field_id, 'do_autolink', 'off' ); } + if ( $field->type_obj->do_settings_section() ) { + $settings = isset( $_POST['field-settings'] ) ? wp_unslash( $_POST['field-settings'] ) : array(); + $field->admin_save_settings( $settings ); + } + /** * Fires at the end of the process to save a field for a user, if successful. * @@ -548,7 +553,7 @@ add_action( 'wp_ajax_xprofile_reorder_groups', 'xprofile_ajax_reorder_field_grou * * @since 1.5.0 * - * @param object $admin_field Admin field. + * @param BP_XProfile_Field $admin_field Admin field. * @param object $admin_group Admin group object. * @param string $class Classes to append to output. */ diff --git a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-caps.php b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-caps.php index 8d9b28ceb0526ac1cabd3d85ac5c5c6b8cbeb238..6d35bfaa719259e71bb0e9a1313e93c6bdf16b0f 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-caps.php +++ b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-caps.php @@ -25,11 +25,11 @@ defined( 'ABSPATH' ) || exit; function bp_xprofile_map_meta_caps( $caps, $cap, $user_id, $args ) { switch ( $cap ) { case 'bp_xprofile_change_field_visibility' : - $caps = array( 'exist' ); // Must allow for logged-out users during registration. + $caps = array( 'exist' ); // You may pass args manually: $field_id, $profile_user_id. - $field_id = isset( $args[0] ) ? (int)$args[0] : bp_get_the_profile_field_id(); - $profile_user_id = isset( $args[1] ) ? (int)$args[1] : bp_displayed_user_id(); + $field_id = ! empty( $args[0] ) ? (int) $args[0] : bp_get_the_profile_field_id(); + $profile_user_id = isset( $args[1] ) ? (int) $args[1] : bp_displayed_user_id(); // Visibility on the fullname field is not editable. if ( 1 == $field_id ) { @@ -65,3 +65,22 @@ function bp_xprofile_map_meta_caps( $caps, $cap, $user_id, $args ) { return apply_filters( 'bp_xprofile_map_meta_caps', $caps, $cap, $user_id, $args ); } add_filter( 'bp_map_meta_caps', 'bp_xprofile_map_meta_caps', 10, 4 ); + +/** + * Grant the 'bp_xprofile_change_field_visibility' cap to logged-out users. + * + * @since 2.7.1 + * + * @param bool $user_can + * @param int $user_id + * @param string $capability + * @return bool + */ +function bp_xprofile_grant_bp_xprofile_change_field_visibility_for_logged_out_users( $user_can, $user_id, $capability ) { + if ( 'bp_xprofile_change_field_visibility' === $capability && 0 === $user_id ) { + $user_can = true; + } + + return $user_can; +} +add_filter( 'bp_user_can', 'bp_xprofile_grant_bp_xprofile_change_field_visibility_for_logged_out_users', 10, 3 ); diff --git a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-cssjs.php b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-cssjs.php index 221cfaacacd36e27c0db12448559d0025539bf2d..419f5c72f3474516a8f3f5e8828df01fd6c06a00 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-cssjs.php +++ b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-cssjs.php @@ -51,14 +51,14 @@ function xprofile_add_admin_js() { // types that support options, for use in showing/hiding the // "please enter options for this field" section. $strings = array( - 'supports_options_field_types' => array(), + 'do_settings_section_field_types' => array(), 'do_autolink' => '', ); foreach ( bp_xprofile_get_field_types() as $field_type => $field_type_class ) { $field = new $field_type_class(); - if ( $field->supports_options ) { - $strings['supports_options_field_types'][] = $field_type; + if ( $field->do_settings_section() ) { + $strings['do_settings_section_field_types'][] = $field_type; } } diff --git a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php index 1d677299c80f1cec147c84331134a93f203e5ad0..0fdd7ad14c59b7d7eb46aa9f3c40633d6f903f22 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php +++ b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-functions.php @@ -964,7 +964,7 @@ function bp_xprofile_get_meta( $object_id, $object_type, $meta_key = '', $single * @param int $object_id ID of the object the metadata belongs to. * @param string $object_type Type of object. 'group', 'field', or 'data'. * @param string $meta_key Key of the metadata being updated. - * @param mixed $meta_value Value of the metadata being updated. + * @param string $meta_value Value of the metadata being updated. * @param mixed $prev_value Optional. If specified, only update existing * metadata entries with the specified value. * Otherwise update all entries. diff --git a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-loader.php b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-loader.php index a5ea7c124b488a25c8229d9b57e62ec07b292934..d8970213bdd33cae6f1b4dd230dd0a370bf4368b 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-loader.php +++ b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-loader.php @@ -18,7 +18,7 @@ if ( ! buddypress()->do_autoload ) { } /** - * Bootstrap the XProfile component. + * Set up the bp-xprofile component. * * @since 1.6.0 */ diff --git a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-template.php b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-template.php index 4fc3ed4e6dbb1bbdbe34705cc633ddd76457a9e4..e233f23de83b161a8e75c0939dfe8c8d7a58c479 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-template.php +++ b/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-template.php @@ -961,7 +961,7 @@ function bp_profile_get_field_groups() { $groups = wp_cache_get( 'all', 'bp_xprofile_groups' ); if ( false === $groups ) { $groups = bp_xprofile_get_groups( array( 'fetch_fields' => true ) ); - wp_cache_set( 'all', $groups, 'bp_xprofile' ); + wp_cache_set( 'all', $groups, 'bp_xprofile_groups' ); } /** @@ -1229,7 +1229,6 @@ function bp_edit_profile_button() { 'link_href' => trailingslashit( bp_displayed_user_domain() . bp_get_profile_slug() . '/edit' ), 'link_class' => 'edit', 'link_text' => __( 'Edit Profile', 'buddypress' ), - 'link_title' => __( 'Edit Profile', 'buddypress' ), ) ); } @@ -1387,7 +1386,7 @@ function bp_profile_settings_visibility_select( $args = '' ) { <?php else : ?> - <span class="field-visibility-settings-notoggle" title="<?php esc_attr_e( "This field's visibility cannot be changed.", 'buddypress' ); ?>"><?php bp_the_profile_field_visibility_level_label(); ?></span> + <span class="field-visibility-settings-notoggle"><?php bp_the_profile_field_visibility_level_label(); ?></span> <?php endif; diff --git a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php index 6074c5b8ea875c298ba71c34433b0e376e533131..41a8ee98830064f3d8d1eda741771799b5eaf4b8 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php +++ b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php @@ -30,6 +30,8 @@ class BP_XProfile_Field_Type_Datebox extends BP_XProfile_Field_Type { $this->set_format( '/^\d{4}-\d{1,2}-\d{1,2} 00:00:00$/', 'replace' ); // "Y-m-d 00:00:00" + $this->do_settings_section = true; + /** * Fires inside __construct() method for BP_XProfile_Field_Type_Datebox class. * @@ -239,7 +241,17 @@ class BP_XProfile_Field_Type_Datebox extends BP_XProfile_Field_Type { case 'year': $html = sprintf( '<option value="" %1$s>%2$s</option>', selected( $year, 0, false ), /* translators: no option picked in select box */ __( '----', 'buddypress' ) ); - for ( $i = 2037; $i > 1901; $i-- ) { + $settings = $this->get_field_settings( $this->field_obj->id ); + + if ( 'relative' === $settings['range_type'] ) { + $start = date( 'Y' ) + $settings['range_relative_start']; + $end = date( 'Y' ) + $settings['range_relative_end']; + } else { + $start = $settings['range_absolute_start']; + $end = $settings['range_absolute_end']; + } + + for ( $i = $end; $i >= $start; $i-- ) { $html .= sprintf( '<option value="%1$s" %2$s>%3$s</option>', (int) $i, selected( $year, $i, false ), (int) $i ); } break; @@ -315,16 +327,256 @@ class BP_XProfile_Field_Type_Datebox extends BP_XProfile_Field_Type { } /** - * This method usually outputs HTML for this field type's children options on the wp-admin Profile Fields - * "Add Field" and "Edit Field" screens, but for this field type, we don't want it, so it's stubbed out. + * Get settings for a given date field. * - * @since 2.0.0 + * @since 2.7.0 + * + * @param int $field_id ID of the field. + * @return array + */ + public static function get_field_settings( $field_id ) { + $defaults = array( + 'date_format' => 'Y-m-d', + 'date_format_custom' => '', + 'range_type' => 'absolute', + 'range_absolute_start' => date( 'Y' ) - 60, + 'range_absolute_end' => date( 'Y' ) + 10, + 'range_relative_start' => '-10', + 'range_relative_end' => '20', + ); + + $settings = array(); + foreach ( $defaults as $key => $value ) { + $saved = bp_xprofile_get_meta( $field_id, 'field', $key, true ); + + if ( $saved ) { + $settings[ $key ] = $saved; + } else { + $settings[ $key ] = $value; + } + } + + $settings = self::validate_settings( $settings ); + + return $settings; + } + + /** + * Validate date field settings. + * + * @since 2.7.0 + * + * @param array $settings Raw settings. + * @return array Validated settings. + */ + public static function validate_settings( $settings ) { + foreach ( $settings as $key => &$value ) { + switch ( $key ) { + case 'range_type' : + if ( $value !== 'absolute' ) { + $value = 'relative'; + } + break; + + // @todo More date restrictions? + case 'range_absolute_start' : + case 'range_absolute_end' : + $value = absint( $value ); + break; + + case 'range_relative_start' : + case 'range_relative_end' : + $value = intval( $value ); + break; + } + } + + return $settings; + } + + /** + * Save settings from the field edit screen in the Dashboard. + * + * @param int $field_id ID of the field. + * @param array $settings Array of settings. + * @return bool True on success. + */ + public function admin_save_settings( $field_id, $settings ) { + $existing_settings = self::get_field_settings( $field_id ); + + $saved_settings = array(); + foreach ( array_keys( $existing_settings ) as $setting ) { + switch ( $setting ) { + case 'range_relative_start' : + case 'range_relative_end' : + $op_key = $setting . '_type'; + if ( isset( $settings[ $op_key ] ) && 'past' === $settings[ $op_key ] ) { + $value = 0 - intval( $settings[ $setting ] ); + } else { + $value = intval( $settings[ $setting ] ); + } + + $saved_settings[ $setting ] = $value; + break; + + default : + if ( isset( $settings[ $setting ] ) ) { + $saved_settings[ $setting ] = $settings[ $setting ]; + } + break; + } + } + + // Sanitize and validate saved settings. + $saved_settings = self::validate_settings( $saved_settings ); + + foreach ( $saved_settings as $setting_key => $setting_value ) { + bp_xprofile_update_meta( $field_id, 'field', $setting_key, $setting_value ); + } + + return true; + } + + /** + * Generate the settings markup for Date fields. + * + * @since 2.7.0 * * @param BP_XProfile_Field $current_field The current profile field on the add/edit screen. * @param string $control_type Optional. HTML input type used to render the current * field's child options. */ - public function admin_new_field_html( BP_XProfile_Field $current_field, $control_type = '' ) {} + public function admin_new_field_html( BP_XProfile_Field $current_field, $control_type = '' ) { + $type = array_search( get_class( $this ), bp_xprofile_get_field_types() ); + + if ( false === $type ) { + return; + } + + $class = $current_field->type != $type ? 'display: none;' : ''; + + $settings = self::get_field_settings( $current_field->id ); + ?> + +<div id="<?php echo esc_attr( $type ); ?>" class="postbox bp-options-box" style="<?php echo esc_attr( $class ); ?> margin-top: 15px;"> + <table class="form-table bp-date-options"> + <tr> + <th scope="row"> + <?php esc_html_e( 'Date format', 'buddypress' ); ?> + </th> + + <td> + <fieldset> + <legend class="screen-reader-text"> + <?php esc_html_e( 'Date format', 'buddypress' ); ?> + </legend> + + <?php foreach ( $this->get_date_formats() as $format ): ?> + <div class="bp-date-format-option"> + <label for="date-format-<?php echo esc_attr( $format ); ?>"> + <input type="radio" name="field-settings[date_format]" id="date-format-<?php echo esc_attr( $format ); ?>" value="<?php echo esc_attr( $format ); ?>" <?php checked( $format, $settings['date_format'] ); ?> /> + <span class="date-format-label"><?php echo date_i18n( $format ); ?></span> + <code><?php echo esc_html( $format ); ?></code> + </label> + </div> + <?php endforeach;?> + + <div class="bp-date-format-option"> + <label for="date-format-elapsed"> + <input type="radio" name="field-settings[date_format]" id="date-format-elapsed" <?php checked( 'elapsed', $settings['date_format'] ); ?> value="elapsed" aria-describedby="date-format-elapsed-setting" /> + <span class="date-format-label" id="date-format-elapsed-setting"><?php esc_html_e( 'Time elapsed', 'buddypress' ); ?></span> <?php _e( '<code>4 years ago</code>, <code>4 years from now</code>', 'buddypress' ); ?> + </label> + </div> + + <div class="bp-date-format-option"> + <label for="date-format-custom"> + <input type="radio" name="field-settings[date_format]" id="date-format-custom" <?php checked( 'custom', $settings['date_format'] ); ?> value="custom" /> + <span class="date-format-label"><?php esc_html_e( 'Custom:', 'buddypress' ); ?></span> + </label> + <label for="date-format-custom-value" class="screen-reader-text"><?php esc_html_e( 'Enter custom time format', 'buddypress' ); ?></label> + <input type="text" name="field-settings[date_format_custom]" id="date-format-custom-value" class="date-format-custom-value" value="<?php echo esc_attr( $settings['date_format_custom'] ); ?>" aria-describedby="date-format-custom-example" /> <span class="screen-reader-text"><?php esc_html_e( 'Example:', 'buddypress' ); ?></span><span class="date-format-custom-example" id="date-format-custom-sample"><?php if ( $settings['date_format_custom'] ) : ?><?php echo esc_html( date( $settings['date_format_custom'] ) ); endif; ?></span><span class="spinner" id="date-format-custom-spinner" aria-hidden="true"></span> + + <p><a href="https://codex.wordpress.org/Formatting_Date_and_Time"><?php esc_html_e( 'Documentation on date and time formatting', 'buddypress' ); ?></a></p> + </div> + + </fieldset> + </td> + </tr> + + <tr> + <th scope="row"> + <?php esc_html_e( 'Range', 'buddypress' ); ?> + </th> + + <td> + <fieldset class="bp-range-types"> + <legend class="screen-reader-text"> + <?php esc_html_e( 'Range', 'buddypress' ); ?> + </legend> + + <div class="bp-date-format-option"> + <div class="bp-date-range-type-label"> + <label for="range_type_absolute"> + <input type="radio" name="field-settings[range_type]" id="range_type_absolute" value="absolute" <?php checked( 'absolute', $settings['range_type'] ); ?> /> + <?php esc_html_e( 'Absolute', 'buddypress' ); ?> + </label> + </div> + + <div class="bp-date-range-type-values"> + <label for="field-settings[range_absolute_start]" aria-label="Year"><?php esc_html_e( 'Start:', 'buddypress' ); ?></label> + <?php printf( '<input class="date-range-numeric" type="text" name="field-settings[range_absolute_start]" id="field-settings[range_absolute_start]" value="%s" />', esc_attr( $settings['range_absolute_start'] ) ); ?> + <label for="field-settings[range_absolute_end]" aria-label="Year"><?php esc_html_e( 'End:', 'buddypress' ); ?></label> + <?php printf( '<input class="date-range-numeric" type="text" name="field-settings[range_absolute_end]" id="field-settings[range_absolute_end]" value="%s" />', esc_attr( $settings['range_absolute_end'] ) ); ?> + </div> + </div> + + <div class="bp-date-format-option"> + <div class="bp-date-range-type-label"> + <label for="range_type_relative"> + <input type="radio" name="field-settings[range_type]" id="range_type_relative" value="relative" <?php checked( 'relative', $settings['range_type'] ); ?> /> + <?php esc_html_e( 'Relative', 'buddypress' ); ?> + </label> + </div> + + <div class="bp-date-range-type-values"> + <label for="field-settings[range_relative_start]"><?php esc_html_e( 'Start:', 'buddypress' ); ?></label> + <?php printf( '<input type="text" class="date-range-numeric" name="field-settings[range_relative_start]" id="field-settings[range_relative_start]" value="%s" />', + esc_attr( abs( $settings['range_relative_start'] ) ) + ); + ?> + + <label class="screen-reader-text" for="field-settings[range_relative_start_type]"><?php esc_html_e( 'Select range', 'buddypress' ); ?></label> + <?php printf( '<select name="field-settings[range_relative_start_type]" id="field-settings[range_relative_start_type]"><option value="past" %s>%s</option><option value="future" %s>%s</option></select>', + selected( true, $settings['range_relative_start'] <= 0, false ), + esc_attr__( 'years ago', 'buddypress' ), + selected( true, $settings['range_relative_start'] > 0, false ), + esc_attr__( 'years from now', 'buddypress' ) + ); + ?> + + <label for="field-settings[range_relative_end]"><?php esc_html_e( 'End:', 'buddypress' ); ?></label> + <?php printf( '<input type="text" class="date-range-numeric" name="field-settings[range_relative_end]" id="field-settings[range_relative_end]" value="%s" />', + esc_attr( abs( $settings['range_relative_end'] ) ) + ); + ?> + <label class="screen-reader-text" for="field-settings[range_relative_end_type]"><?php esc_html_e( 'Select range', 'buddypress' ); ?></label> + <?php printf( '<select name="field-settings[range_relative_end_type]" id="field-settings[range_relative_end_type]"><option value="past" %s>%s</option><option value="future" %s>%s</option></select>', + selected( true, $settings['range_relative_end'] <= 0, false ), + esc_attr__( 'years ago', 'buddypress' ), + selected( true, $settings['range_relative_end'] > 0, false ), + esc_attr__( 'years from now', 'buddypress' ) + ); + ?> + </div> + </div> + + </fieldset> + </td> + </tr> + </table> +</div> + <?php + } /** * Format Date values for display. @@ -338,12 +590,52 @@ class BP_XProfile_Field_Type_Datebox extends BP_XProfile_Field_Type { * @return string Date formatted by bp_format_time(). */ public static function display_filter( $field_value, $field_id = '' ) { + if ( ! $field_value ) { + return $field_value; + } // If Unix timestamp. if ( ! is_numeric( $field_value ) ) { $field_value = strtotime( $field_value ); } - return bp_format_time( $field_value, true, false ); + $settings = self::get_field_settings( $field_id ); + + switch ( $settings['date_format'] ) { + case 'elapsed' : + $formatted = bp_core_time_since( $field_value ); + break; + + case 'custom' : + $formatted = date( $settings['date_format_custom'], $field_value ); + break; + + default : + $formatted = date( $settings['date_format'], $field_value ); + break; + } + + return $formatted; + } + + /** + * Gets the default date formats available when configuring a Date field. + * + * @since 2.7.0 + * + * @return array + */ + public function get_date_formats() { + $date_formats = array_unique( apply_filters( 'date_formats', array( __( 'F j, Y', 'buddypress' ), 'Y-m-d', 'm/d/Y', 'd/m/Y' ) ) ); + + + /** + * Filters the available date formats for XProfile date fields. + * + * @since 2.7.0 + * + * @param array $date_formats + */ + return apply_filters( 'bp_xprofile_date_field_date_formats', $date_formats ); } } diff --git a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-placeholder.php b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-placeholder.php index 195b52c9bdaa34cdc09fda151d3115d1abe15707..d1aa81feef250d5670282efa04196692bb53acda 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-placeholder.php +++ b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-placeholder.php @@ -25,6 +25,8 @@ class BP_XProfile_Field_Type_Placeholder extends BP_XProfile_Field_Type { * @since 2.0.1 */ public function __construct() { + parent::__construct(); + $this->set_format( '/.*/', 'replace' ); } diff --git a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-url.php b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-url.php index 48e8be5ac41dda15630219d5cdf729b4ee4572fc..ed663639876e327a6ead83f913e2107543424fd9 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-url.php +++ b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type-url.php @@ -144,10 +144,10 @@ class BP_XProfile_Field_Type_URL extends BP_XProfile_Field_Type { } // Run some checks on the submitted value. - if ( false === strpos( $submitted_value, ':' ) - && substr( $submitted_value, 0, 1 ) !== '/' - && substr( $submitted_value, 0, 1 ) !== '#' - && ! preg_match( '/^[a-z0-9-]+?\.php/i', $submitted_value ) + if ( false === strpos( $submitted_value, ':' ) && + substr( $submitted_value, 0, 1 ) !== '/' && + substr( $submitted_value, 0, 1 ) !== '#' && + ! preg_match( '/^[a-z0-9-]+?\.php/i', $submitted_value ) ) { $submitted_value = 'http://' . $submitted_value; } diff --git a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type.php b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type.php index 7fd19403270f309ae0515a6cdbf8291b0e823e78..f282a826c2586b0707520172e57e5ea299b2d671 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type.php +++ b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field-type.php @@ -81,6 +81,14 @@ abstract class BP_XProfile_Field_Type { */ public $supports_richtext = false; + /** + * If the field type has a type-specific settings section on the Edit Field panel. + * + * @since 2.7.0 + * @var bool|null Boolean if set explicitly by the type object, otherwise null. + */ + protected $do_settings_section = null; + /** * If object is created by an BP_XProfile_Field object. * @@ -228,6 +236,23 @@ abstract class BP_XProfile_Field_Type { return (bool) apply_filters( 'bp_xprofile_field_type_is_valid', $validated, $values, $this ); } + /** + * Check whether the current field type should have a settings ("options") section on the Edit Field panel. + * + * Falls back on `supports_options` if no value is set by the field type. + * + * @since 2.7.0 + * + * @return bool + */ + public function do_settings_section() { + if ( null === $this->do_settings_section ) { + $this->do_settings_section = $this->supports_options; + } + + return (bool) $this->do_settings_section; + } + /** * Output the edit field HTML for this field type. * @@ -297,7 +322,7 @@ abstract class BP_XProfile_Field_Type { <div id="<?php echo esc_attr( $type ); ?>" class="postbox bp-options-box" style="<?php echo esc_attr( $class ); ?> margin-top: 15px;"> <h3><?php esc_html_e( 'Please enter options for this Field:', 'buddypress' ); ?></h3> - <div class="inside"> + <div class="inside" aria-live="polite" aria-atomic="true" aria-relevant="all"> <p> <label for="sort_order_<?php echo esc_attr( $type ); ?>"><?php esc_html_e( 'Sort Order:', 'buddypress' ); ?></label> <select name="sort_order_<?php echo esc_attr( $type ); ?>" id="sort_order_<?php echo esc_attr( $type ); ?>" > @@ -451,6 +476,18 @@ abstract class BP_XProfile_Field_Type { return $field_value; } + /** + * Save miscellaneous settings related to this field type. + * + * Override in a specific field type if it requires an admin save routine. + * + * @since 2.7.0 + * + * @param int $field_id Field ID. + * @param array $settings Array of settings. + */ + public function admin_save_settings( $field_id, $settings ) {} + /** Protected *************************************************************/ /** diff --git a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field.php b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field.php index 11c48fdd59bf212a7a276c849ba702ffb45bf5f9..bb75f2913d2ce16e921efb5ab514d3072410b610 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field.php +++ b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field.php @@ -203,8 +203,18 @@ class BP_XProfile_Field { $user_id = isset( $userdata->ID ) ? $userdata->ID : 0; } - $bp = buddypress(); - $field = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$bp->profile->table_name_fields} WHERE id = %d", $id ) ); + $field = wp_cache_get( $id, 'bp_xprofile_fields' ); + if ( false === $field ) { + $bp = buddypress(); + + $field = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$bp->profile->table_name_fields} WHERE id = %d", $id ) ); + + if ( ! $field ) { + return false; + } + + wp_cache_add( $id, $field, 'bp_xprofile_fields' ); + } $this->fill_data( $field ); @@ -231,23 +241,7 @@ class BP_XProfile_Field { return false; } - $field = wp_cache_get( $field_id, 'bp_xprofile_fields' ); - if ( false === $field ) { - $bp = buddypress(); - - $field = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$bp->profile->table_name_fields} WHERE id = %d", $field_id ) ); - - if ( ! $field ) { - return false; - } - - wp_cache_add( $field->id, $field, 'bp_xprofile_fields' ); - } - - $_field = new BP_XProfile_Field(); - $_field->fill_data( $field ); - - return $_field; + return new self( $field_id ); } /** @@ -263,10 +257,21 @@ class BP_XProfile_Field { $args = (array) $args; } + $int_fields = array( + 'id', 'is_required', 'group_id', 'parent_id', 'is_default_option', + 'field_order', 'option_order', 'can_delete' + ); + foreach ( $args as $k => $v ) { if ( 'name' === $k || 'description' === $k ) { $v = stripslashes( $v ); } + + // Cast numeric strings as integers. + if ( true === in_array( $k, $int_fields ) ) { + $v = (int) $v; + } + $this->{$k} = $v; } @@ -499,7 +504,7 @@ class BP_XProfile_Field { * @since 1.2.0 * * @param int $user_id ID of the user to get field data for. - * @return object + * @return BP_XProfile_ProfileData */ public function get_field_data( $user_id = 0 ) { return new BP_XProfile_ProfileData( $this->id, $user_id ); @@ -895,7 +900,7 @@ class BP_XProfile_Field { * @global object $wpdb * * @param string $field_name Name of the field to query the ID for. - * @return boolean + * @return int|null Field ID on success; null on failure. */ public static function get_id_from_name( $field_name = '' ) { global $wpdb; @@ -908,7 +913,9 @@ class BP_XProfile_Field { $sql = $wpdb->prepare( "SELECT id FROM {$bp->profile->table_name_fields} WHERE name = %s AND parent_id = 0", $field_name ); - return $wpdb->get_var( $sql ); + $query = $wpdb->get_var( $sql ); + + return is_numeric( $query ) ? (int) $query : $query; } /** @@ -1098,6 +1105,19 @@ class BP_XProfile_Field { return true; } + /** + * Save miscellaneous settings for this field. + * + * Some field types have type-specific settings, which are saved here. + * + * @since 2.7.0 + * + * @param array $settings Array of settings. + */ + public function admin_save_settings( $settings ) { + return $this->type_obj->admin_save_settings( $this->id, $settings ); + } + /** * Populates the items for radio buttons, checkboxes, and dropdown boxes. */ @@ -1309,7 +1329,7 @@ class BP_XProfile_Field { <div id="titlediv"> <div class="titlewrap"> - <label id="title-prompt-text" for="title"><?php echo esc_html_x( 'Name', 'XProfile admin edit field', 'buddypress' ); ?></label> + <label id="title-prompt-text" for="title"><?php echo esc_html_x( 'Name (required)', 'XProfile admin edit field', 'buddypress' ); ?></label> <input type="text" name="title" id="title" value="<?php echo esc_attr( $this->name ); ?>" autocomplete="off" /> </div> </div> @@ -1504,8 +1524,8 @@ class BP_XProfile_Field { <div class="postbox"> <h2><label for="fieldtype"><?php esc_html_e( 'Type', 'buddypress'); ?></label></h2> - <div class="inside"> - <select name="fieldtype" id="fieldtype" onchange="show_options(this.value)" style="width: 30%"> + <div class="inside" aria-live="polite" aria-atomic="true" aria-relevant="all"> + <select name="fieldtype" id="fieldtype" onchange="show_options(this.value)"> <?php bp_xprofile_admin_form_field_types( $this->type ); ?> diff --git a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-group.php b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-group.php index 0603d4f35e54c31cfca835f46cd65141bdb372a7..a3934a558e76eef232c610028098487333f67918 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-group.php +++ b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-group.php @@ -371,6 +371,10 @@ class BP_XProfile_Group { // Fetch the fields. $field_ids = $wpdb->get_col( "SELECT id FROM {$bp->profile->table_name_fields} WHERE group_id IN ( {$group_ids_in} ) AND parent_id = 0 {$exclude_fields_sql} {$in_sql} ORDER BY field_order" ); + foreach( $groups as $group ) { + $group->fields = array(); + } + // Bail if no fields. if ( empty( $field_ids ) ) { return $groups; @@ -469,7 +473,6 @@ class BP_XProfile_Group { // Merge the field array back in with the group array. foreach( (array) $groups as $group ) { - // Indexes may have been shifted after previous deletions, so we get a // fresh one each time through the loop. $index = array_search( $group, $groups ); @@ -558,6 +561,13 @@ class BP_XProfile_Group { } } + // Integer casting. + foreach ( (array) $groups as $key => $data ) { + $groups[ $key ]->id = (int) $groups[ $key ]->id; + $groups[ $key ]->group_order = (int) $groups[ $key ]->group_order; + $groups[ $key ]->can_delete = (int) $groups[ $key ]->can_delete; + } + // Reset indexes & return. return array_values( $groups ); } @@ -737,7 +747,7 @@ class BP_XProfile_Group { <div id="post-body-content"> <div id="titlediv"> <div class="titlewrap"> - <label id="title-prompt-text" for="title"><?php esc_html_e( 'Field Group Name', 'buddypress') ?></label> + <label id="title-prompt-text" for="title"><?php esc_html_e( 'Field Group Name (required)', 'buddypress') ?></label> <input type="text" name="group_name" id="title" value="<?php echo esc_attr( $this->name ); ?>" autocomplete="off" /> </div> </div> diff --git a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-profiledata.php b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-profiledata.php index fe1383779c1bccf26fd8d0a152f62fb63471f635..8dc10f9d29792e6467be536393f00b76d896be2b 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-profiledata.php +++ b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-profiledata.php @@ -97,16 +97,16 @@ class BP_XProfile_ProfileData { } if ( $profiledata ) { - $this->id = $profiledata->id; - $this->user_id = $profiledata->user_id; - $this->field_id = $profiledata->field_id; + $this->id = (int) $profiledata->id; + $this->user_id = (int) $profiledata->user_id; + $this->field_id = (int) $profiledata->field_id; $this->value = stripslashes( $profiledata->value ); $this->last_updated = $profiledata->last_updated; } else { // When no row is found, we'll need to set these properties manually. - $this->field_id = $field_id; - $this->user_id = $user_id; + $this->field_id = (int) $field_id; + $this->user_id = (int) $user_id; } } @@ -339,6 +339,18 @@ class BP_XProfile_ProfileData { $data[] = wp_cache_get( $cache_key, 'bp_xprofile_data' ); } + // Integer casting. + foreach ( (array) $data as $key => $d ) { + if ( isset( $data[ $key ]->id ) ) { + $data[ $key ]->id = (int) $data[ $key ]->id; + } + if ( isset( $data[ $key ]->user_id ) ) { + $data[ $key ]->user_id = (int) $data[ $key ]->user_id; + } + + $data[ $key ]->field_id = (int) $data[ $key ]->field_id; + } + return $data; } @@ -416,7 +428,7 @@ class BP_XProfile_ProfileData { } } - return $fielddata_id; + return (int) $fielddata_id; } /** @@ -494,6 +506,18 @@ class BP_XProfile_ProfileData { $data[] = wp_cache_get( $cache_key, 'bp_xprofile_data' ); } + // Integer casting. + foreach ( (array) $data as $key => $d ) { + if ( isset( $data[ $key ]->id ) ) { + $data[ $key ]->id = (int) $data[ $key ]->id; + } + if ( isset( $data[ $key ]->user_id ) ) { + $data[ $key ]->user_id = (int) $data[ $key ]->user_id; + } + + $data[ $key ]->field_id = (int) $data[ $key ]->field_id; + } + // If a single ID was passed, just return the value. if ( $return_single_result ) { return $data[0]->value; diff --git a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-query.php b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-query.php index 1807d15bc1985d1952bde8bd4fba434160fbc4c8..18748276c323a09e5d3e00961fee1859b3eafe01 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-query.php +++ b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-query.php @@ -515,7 +515,7 @@ class BP_XProfile_Query { $compatible_compares = array( '=', 'IN', 'BETWEEN', 'LIKE', 'REGEXP', 'RLIKE', '>', '>=', '<', '<=' ); // Clauses joined by AND with "negative" operators share a join only if they also share a key. - } elseif ( isset( $sibling['field_id'] ) && isset( $clause['field_id'] ) && $sibling['field_id'] === $clause['field_id'] ) { + } elseif ( isset( $sibling['field'] ) && isset( $clause['field'] ) && $sibling['field'] === $clause['field'] ) { $compatible_compares = array( '!=', 'NOT IN', 'NOT LIKE' ); } diff --git a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-user-admin.php b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-user-admin.php index 972848d38065f925d4b1ab8faf40a8abdd3b48af..e95fa57deb81b6ffdcda67ce848e8dfbdc5fc6a1 100644 --- a/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-user-admin.php +++ b/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-user-admin.php @@ -481,13 +481,13 @@ class BP_XProfile_User_Admin { $community_url = add_query_arg( $query_args, buddypress()->members->admin->edit_profile_url ); $delete_link = wp_nonce_url( $community_url, 'delete_avatar' ); ?> - <a href="<?php echo esc_url( $delete_link ); ?>" title="<?php esc_attr_e( 'Delete Profile Photo', 'buddypress' ); ?>" class="bp-xprofile-avatar-user-admin"><?php esc_html_e( 'Delete Profile Photo', 'buddypress' ); ?></a> + <a href="<?php echo esc_url( $delete_link ); ?>" class="bp-xprofile-avatar-user-admin"><?php esc_html_e( 'Delete Profile Photo', 'buddypress' ); ?></a> <?php endif; // Load the Avatar UI templates if user avatar uploads are enabled and current WordPress version is supported. if ( ! bp_core_get_root_option( 'bp-disable-avatar-uploads' ) && bp_attachments_is_wp_version_supported() ) : ?> - <a href="#TB_inline?width=800px&height=400px&inlineId=bp-xprofile-avatar-editor" title="<?php esc_attr_e( 'Edit Profile Photo', 'buddypress' );?>" class="thickbox bp-xprofile-avatar-user-edit"><?php esc_html_e( 'Edit Profile Photo', 'buddypress' ); ?></a> + <a href="#TB_inline?width=800px&height=400px&inlineId=bp-xprofile-avatar-editor" class="thickbox bp-xprofile-avatar-user-edit"><?php esc_html_e( 'Edit Profile Photo', 'buddypress' ); ?></a> <div id="bp-xprofile-avatar-editor" style="display:none;"> <?php bp_attachments_get_template_part( 'avatars/index' ); ?> </div> diff --git a/wp-content/plugins/buddypress/buddypress.pot b/wp-content/plugins/buddypress/buddypress.pot index 38e1d529dba0f1afaed8f20998e04c0ae4b6bb11..ff9d1aa2238ddf4fe81633db8649d8ba618fe49a 100644 --- a/wp-content/plugins/buddypress/buddypress.pot +++ b/wp-content/plugins/buddypress/buddypress.pot @@ -2,9 +2,9 @@ # This file is distributed under the GPLv2 or later (license.txt). msgid "" msgstr "" -"Project-Id-Version: BuddyPress 2.6.2\n" +"Project-Id-Version: BuddyPress 2.7.3\n" "Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n" -"POT-Creation-Date: 2016-08-04 22:00:54+00:00\n" +"POT-Creation-Date: 2016-12-07 21:14:32+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -26,7 +26,7 @@ msgid "The activity item has been marked as spam and is no longer visible." msgstr "" #: bp-activity/bp-activity-actions.php:292 -#: bp-templates/bp-legacy/buddypress-functions.php:899 +#: bp-templates/bp-legacy/buddypress-functions.php:914 msgid "Please enter some content to post." msgstr "" @@ -39,7 +39,7 @@ msgid "There was an error when posting your update. Please try again." msgstr "" #: bp-activity/bp-activity-actions.php:365 -#: bp-templates/bp-legacy/buddypress-functions.php:992 +#: bp-templates/bp-legacy/buddypress-functions.php:1007 msgid "Please do not leave the comment area blank." msgstr "" @@ -77,7 +77,7 @@ msgstr "" msgid "Activity feed for the entire site." msgstr "" -#: bp-activity/bp-activity-actions.php:476 bp-groups/bp-groups-actions.php:557 +#: bp-activity/bp-activity-actions.php:476 bp-groups/bp-groups-actions.php:562 #. translators: Personal activity RSS title - "[Site Name] | [User Display #. Name] | Activity" #. translators: Group activity RSS title - "[Site Name] | [Group Name] | @@ -145,8 +145,8 @@ msgstr "" #: bp-core/admin/bp-core-admin-functions.php:525 #: bp-core/admin/bp-core-admin-functions.php:544 #: bp-groups/bp-groups-admin.php:119 bp-groups/bp-groups-admin.php:172 -#: bp-members/classes/class-bp-members-admin.php:715 -#: bp-members/classes/class-bp-members-admin.php:1438 +#: bp-members/classes/class-bp-members-admin.php:771 +#: bp-members/classes/class-bp-members-admin.php:1494 msgid "Overview" msgstr "" @@ -210,8 +210,8 @@ msgstr "" #: bp-core/admin/bp-core-admin-functions.php:531 #: bp-core/admin/bp-core-admin-functions.php:550 #: bp-groups/bp-groups-admin.php:127 bp-groups/bp-groups-admin.php:188 -#: bp-members/classes/class-bp-members-admin.php:724 -#: bp-members/classes/class-bp-members-admin.php:1459 +#: bp-members/classes/class-bp-members-admin.php:780 +#: bp-members/classes/class-bp-members-admin.php:1515 msgid "For more information:" msgstr "" @@ -228,8 +228,8 @@ msgstr "" #: bp-core/admin/bp-core-admin-functions.php:533 #: bp-core/admin/bp-core-admin-functions.php:552 #: bp-groups/bp-groups-admin.php:189 -#: bp-members/classes/class-bp-members-admin.php:726 -#: bp-members/classes/class-bp-members-admin.php:1460 +#: bp-members/classes/class-bp-members-admin.php:782 +#: bp-members/classes/class-bp-members-admin.php:1516 msgid "<a href=\"https://buddypress.org/support/\">Support Forums</a>" msgstr "" @@ -305,12 +305,12 @@ msgid "No activity found with this ID." msgstr "" #: bp-activity/bp-activity-admin.php:724 bp-groups/bp-groups-admin.php:655 -#: bp-members/classes/class-bp-members-admin.php:939 +#: bp-members/classes/class-bp-members-admin.php:995 msgid "Go back and try again." msgstr "" #: bp-activity/bp-activity-admin.php:750 -#: bp-activity/classes/class-bp-activity-list-table.php:677 +#: bp-activity/classes/class-bp-activity-list-table.php:695 msgid "View Activity" msgstr "" @@ -319,16 +319,16 @@ msgid "Approved" msgstr "" #: bp-activity/bp-activity-admin.php:759 -#: bp-activity/classes/class-bp-activity-list-table.php:588 +#: bp-activity/classes/class-bp-activity-list-table.php:606 #: bp-activity/classes/class-bp-akismet.php:205 #: bp-activity/classes/class-bp-akismet.php:234 -#: bp-core/admin/bp-core-admin-functions.php:1011 +#: bp-core/admin/bp-core-admin-functions.php:1033 msgid "Spam" msgstr "" #: bp-activity/bp-activity-admin.php:765 -#: bp-members/classes/class-bp-members-admin.php:1005 -#: bp-members/classes/class-bp-members-admin.php:1065 +#: bp-members/classes/class-bp-members-admin.php:1061 +#: bp-members/classes/class-bp-members-admin.php:1121 #. Translators: Publish box date format, see http:php.net/date. msgid "M j, Y @ G:i" msgstr "" @@ -338,16 +338,16 @@ msgid "Submitted on: %s" msgstr "" #: bp-activity/bp-activity-admin.php:768 -#: bp-activity/classes/class-bp-activity-list-table.php:581 -#: bp-forums/bp-forums-template.php:2786 -#: bp-groups/classes/class-bp-groups-list-table.php:489 -#: bp-xprofile/bp-xprofile-admin.php:611 +#: bp-activity/classes/class-bp-activity-list-table.php:599 +#: bp-forums/bp-forums-template.php:2781 +#: bp-groups/classes/class-bp-groups-list-table.php:527 +#: bp-xprofile/bp-xprofile-admin.php:616 msgid "Edit" msgstr "" #: bp-activity/bp-activity-admin.php:781 -#: bp-xprofile/classes/class-bp-xprofile-field.php:1138 -#: bp-xprofile/classes/class-bp-xprofile-group.php:719 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1158 +#: bp-xprofile/classes/class-bp-xprofile-group.php:729 msgid "Update" msgstr "" @@ -432,7 +432,7 @@ msgid "Activity related to ID #%s" msgstr "" #: bp-activity/bp-activity-admin.php:1020 bp-groups/bp-groups-admin.php:765 -#: bp-members/classes/class-bp-members-admin.php:1881 +#: bp-members/classes/class-bp-members-admin.php:1937 msgid "Search results for “%s”" msgstr "" @@ -446,7 +446,7 @@ msgstr "" #: bp-activity/bp-activity-admin.php:1047 #: bp-activity/bp-activity-admin.php:1053 -#: bp-activity/classes/class-bp-activity-list-table.php:575 +#: bp-activity/classes/class-bp-activity-list-table.php:593 #: bp-templates/bp-legacy/buddypress/activity/comment.php:39 #: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:23 #: bp-templates/bp-legacy/buddypress/groups/single/forum/topic.php:191 @@ -455,11 +455,11 @@ msgid "Reply" msgstr "" #: bp-activity/bp-activity-admin.php:1052 bp-groups/bp-groups-admin.php:712 -#: bp-members/classes/class-bp-members-admin.php:2030 +#: bp-members/classes/class-bp-members-admin.php:2087 #: bp-templates/bp-legacy/buddypress/activity/entry.php:129 -#: bp-templates/bp-legacy/buddypress/forums/index.php:205 -#: bp-xprofile/classes/class-bp-xprofile-field.php:1279 -#: bp-xprofile/classes/class-bp-xprofile-group.php:803 +#: bp-templates/bp-legacy/buddypress/forums/index.php:216 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1299 +#: bp-xprofile/classes/class-bp-xprofile-group.php:813 msgid "Cancel" msgstr "" @@ -485,15 +485,15 @@ msgstr "" msgid "Your browser does not support HTML5 audio" msgstr "" -#: bp-activity/bp-activity-filters.php:447 +#: bp-activity/bp-activity-filters.php:451 msgid "[Read more]" msgstr "" -#: bp-activity/bp-activity-filters.php:458 +#: bp-activity/bp-activity-filters.php:462 msgid "…" msgstr "" -#: bp-activity/bp-activity-filters.php:664 +#: bp-activity/bp-activity-filters.php:668 msgid "Load Newest" msgstr "" @@ -521,52 +521,52 @@ msgstr "" msgid "%s posted a new activity comment" msgstr "" -#: bp-activity/bp-activity-functions.php:2552 -#: bp-templates/bp-legacy/buddypress-functions.php:989 +#: bp-activity/bp-activity-functions.php:2527 +#: bp-templates/bp-legacy/buddypress-functions.php:1004 msgid "There was an error posting your reply. Please try again." msgstr "" -#: bp-activity/bp-activity-functions.php:2580 +#: bp-activity/bp-activity-functions.php:2555 msgid "The item you were replying to no longer exists." msgstr "" -#: bp-activity/bp-activity-functions.php:3118 +#: bp-activity/bp-activity-functions.php:3093 msgid "Thumbnail" msgstr "" -#: bp-activity/bp-activity-notifications.php:225 +#: bp-activity/bp-activity-notifications.php:37 msgid "@%s Mentions" msgstr "" -#: bp-activity/bp-activity-notifications.php:229 +#: bp-activity/bp-activity-notifications.php:41 msgid "You have %1$d new mentions" msgstr "" -#: bp-activity/bp-activity-notifications.php:232 +#: bp-activity/bp-activity-notifications.php:44 msgid "%1$s mentioned you" msgstr "" -#: bp-activity/bp-activity-notifications.php:238 +#: bp-activity/bp-activity-notifications.php:50 msgid "New Activity reply" msgstr "" -#: bp-activity/bp-activity-notifications.php:243 +#: bp-activity/bp-activity-notifications.php:55 msgid "You have %1$d new replies" msgstr "" -#: bp-activity/bp-activity-notifications.php:247 +#: bp-activity/bp-activity-notifications.php:59 msgid "%1$s commented on one of your updates" msgstr "" -#: bp-activity/bp-activity-notifications.php:253 +#: bp-activity/bp-activity-notifications.php:65 msgid "New Activity comment reply" msgstr "" -#: bp-activity/bp-activity-notifications.php:258 +#: bp-activity/bp-activity-notifications.php:70 msgid "You have %1$d new comment replies" msgstr "" -#: bp-activity/bp-activity-notifications.php:262 +#: bp-activity/bp-activity-notifications.php:74 msgid "%1$s replied to one your activity comments" msgstr "" @@ -580,17 +580,17 @@ msgstr "" msgid "Activity" msgstr "" -#: bp-activity/bp-activity-screens.php:332 bp-blogs/bp-blogs-template.php:1041 -#: bp-friends/bp-friends-screens.php:116 bp-groups/bp-groups-screens.php:1438 +#: bp-activity/bp-activity-screens.php:332 bp-blogs/bp-blogs-template.php:1119 +#: bp-friends/bp-friends-screens.php:116 bp-groups/bp-groups-screens.php:1480 #: bp-messages/bp-messages-screens.php:210 -#: bp-templates/bp-legacy/buddypress/members/register.php:307 +#: bp-templates/bp-legacy/buddypress/members/register.php:316 msgid "Yes" msgstr "" -#: bp-activity/bp-activity-screens.php:333 bp-blogs/bp-blogs-template.php:1045 -#: bp-friends/bp-friends-screens.php:117 bp-groups/bp-groups-screens.php:1439 +#: bp-activity/bp-activity-screens.php:333 bp-blogs/bp-blogs-template.php:1123 +#: bp-friends/bp-friends-screens.php:117 bp-groups/bp-groups-screens.php:1481 #: bp-messages/bp-messages-screens.php:211 -#: bp-templates/bp-legacy/buddypress/members/register.php:308 +#: bp-templates/bp-legacy/buddypress/members/register.php:317 msgid "No" msgstr "" @@ -601,9 +601,9 @@ msgstr "" #: bp-activity/bp-activity-screens.php:344 #: bp-activity/bp-activity-screens.php:358 #: bp-friends/bp-friends-screens.php:127 bp-friends/bp-friends-screens.php:139 -#: bp-groups/bp-groups-screens.php:1449 bp-groups/bp-groups-screens.php:1461 -#: bp-groups/bp-groups-screens.php:1473 bp-groups/bp-groups-screens.php:1485 -#: bp-groups/bp-groups-screens.php:1497 bp-messages/bp-messages-screens.php:221 +#: bp-groups/bp-groups-screens.php:1491 bp-groups/bp-groups-screens.php:1503 +#: bp-groups/bp-groups-screens.php:1515 bp-groups/bp-groups-screens.php:1527 +#: bp-groups/bp-groups-screens.php:1539 bp-messages/bp-messages-screens.php:221 #. translators: accessibility text msgid "Yes, send email" msgstr "" @@ -611,9 +611,9 @@ msgstr "" #: bp-activity/bp-activity-screens.php:348 #: bp-activity/bp-activity-screens.php:362 #: bp-friends/bp-friends-screens.php:131 bp-friends/bp-friends-screens.php:143 -#: bp-groups/bp-groups-screens.php:1453 bp-groups/bp-groups-screens.php:1465 -#: bp-groups/bp-groups-screens.php:1477 bp-groups/bp-groups-screens.php:1489 -#: bp-groups/bp-groups-screens.php:1501 bp-messages/bp-messages-screens.php:225 +#: bp-groups/bp-groups-screens.php:1495 bp-groups/bp-groups-screens.php:1507 +#: bp-groups/bp-groups-screens.php:1519 bp-groups/bp-groups-screens.php:1531 +#: bp-groups/bp-groups-screens.php:1543 bp-messages/bp-messages-screens.php:225 #. translators: accessibility text msgid "No, do not send email" msgstr "" @@ -633,29 +633,27 @@ msgstr[0] "" msgstr[1] "" #: bp-activity/bp-activity-template.php:1041 -#: bp-activity/bp-activity-template.php:1214 -#: bp-activity/bp-activity-template.php:1225 -#: bp-activity/classes/class-bp-activity-component.php:355 -#: bp-blogs/classes/class-bp-blogs-component.php:293 +#: bp-activity/bp-activity-template.php:1210 +#: bp-activity/bp-activity-template.php:1221 +#: bp-activity/classes/class-bp-activity-component.php:363 +#: bp-blogs/classes/class-bp-blogs-component.php:298 #: bp-core/deprecated/2.1.php:459 bp-forums/bp-forums-loader.php:263 #: bp-forums/bp-forums-template.php:893 bp-forums/bp-forums-template.php:1224 -#: bp-forums/bp-forums-template.php:2616 -#: bp-friends/classes/class-bp-friends-component.php:269 -#: bp-groups/bp-groups-template.php:1357 bp-groups/bp-groups-template.php:1402 -#: bp-groups/bp-groups-template.php:2169 bp-groups/bp-groups-template.php:2185 -#: bp-groups/bp-groups-template.php:2245 bp-groups/bp-groups-template.php:2261 -#: bp-groups/bp-groups-template.php:3706 bp-groups/bp-groups-template.php:3745 -#: bp-groups/bp-groups-template.php:3786 bp-groups/bp-groups-template.php:5297 +#: bp-forums/bp-forums-template.php:2611 +#: bp-friends/classes/class-bp-friends-component.php:273 +#: bp-groups/bp-groups-template.php:1586 bp-groups/bp-groups-template.php:1618 +#: bp-groups/bp-groups-template.php:2385 bp-groups/bp-groups-template.php:2401 +#: bp-groups/bp-groups-template.php:2461 bp-groups/bp-groups-template.php:2477 +#: bp-groups/bp-groups-template.php:3915 bp-groups/bp-groups-template.php:3954 +#: bp-groups/bp-groups-template.php:3995 bp-groups/bp-groups-template.php:5565 #: bp-groups/classes/class-bp-groups-component.php:811 #: bp-members/bp-members-template.php:808 -#: bp-members/bp-members-template.php:1518 -#: bp-members/bp-members-template.php:1573 -#: bp-members/classes/class-bp-members-component.php:381 +#: bp-members/bp-members-template.php:1560 +#: bp-members/bp-members-template.php:1615 +#: bp-members/classes/class-bp-members-component.php:385 #: bp-messages/bp-messages-template.php:671 -#: bp-messages/classes/class-bp-messages-component.php:340 +#: bp-messages/classes/class-bp-messages-component.php:342 #: bp-notifications/classes/class-bp-notifications-component.php:267 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:273 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:300 msgid "Profile picture of %s" msgstr "" @@ -663,35 +661,35 @@ msgstr "" msgid "Profile picture" msgstr "" -#: bp-activity/bp-activity-template.php:1190 +#: bp-activity/bp-activity-template.php:1186 msgid "Group logo" msgstr "" -#: bp-activity/bp-activity-template.php:1193 -#: bp-groups/bp-groups-template.php:580 -#: bp-groups/classes/class-bp-groups-list-table.php:516 +#: bp-activity/bp-activity-template.php:1189 +#: bp-groups/bp-groups-template.php:792 +#: bp-groups/classes/class-bp-groups-list-table.php:554 msgid "Group logo of %s" msgstr "" -#: bp-activity/bp-activity-template.php:1204 +#: bp-activity/bp-activity-template.php:1200 msgid "Profile picture of the author of the site %s" msgstr "" -#: bp-activity/bp-activity-template.php:1499 +#: bp-activity/bp-activity-template.php:1502 msgid "View Discussion" msgstr "" -#: bp-activity/bp-activity-template.php:2170 +#: bp-activity/bp-activity-template.php:2173 msgid "" "%1$s no longer accepts arguments. See the inline documentation at %2$s for " "more details." msgstr "" -#: bp-activity/bp-activity-template.php:2598 -#: bp-core/bp-core-attachments.php:719 bp-forums/bp-forums-template.php:2787 +#: bp-activity/bp-activity-template.php:2601 +#: bp-core/bp-core-attachments.php:724 bp-forums/bp-forums-template.php:2782 #: bp-groups/classes/class-bp-groups-component.php:688 -#: bp-groups/classes/class-bp-groups-list-table.php:333 -#: bp-groups/classes/class-bp-groups-list-table.php:492 +#: bp-groups/classes/class-bp-groups-list-table.php:371 +#: bp-groups/classes/class-bp-groups-list-table.php:530 #: bp-members/classes/class-bp-members-list-table.php:171 #: bp-members/classes/class-bp-members-list-table.php:319 #: bp-members/classes/class-bp-members-ms-list-table.php:158 @@ -700,35 +698,31 @@ msgstr "" #: bp-notifications/bp-notifications-template.php:788 #: bp-notifications/bp-notifications-template.php:1038 #: bp-templates/bp-legacy/buddypress/activity/comment.php:45 -#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:142 +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:147 #: bp-templates/bp-legacy/buddypress/members/single/messages/single.php:44 -#: bp-xprofile/bp-xprofile-admin.php:616 -#: bp-xprofile/classes/class-bp-xprofile-field-type.php:380 +#: bp-xprofile/bp-xprofile-admin.php:621 +#: bp-xprofile/classes/class-bp-xprofile-field-type.php:405 msgid "Delete" msgstr "" -#: bp-activity/bp-activity-template.php:2703 -#: bp-core/admin/bp-core-admin-functions.php:1017 +#: bp-activity/bp-activity-template.php:2706 +#: bp-core/admin/bp-core-admin-functions.php:1039 #: bp-core/admin/bp-core-admin-slugs.php:149 -#: bp-core/admin/bp-core-admin-slugs.php:212 -#: bp-groups/classes/class-bp-groups-list-table.php:495 -#: bp-members/bp-members-template.php:1045 -#: bp-templates/bp-legacy/buddypress-functions.php:303 +#: bp-core/admin/bp-core-admin-slugs.php:220 +#: bp-groups/classes/class-bp-groups-list-table.php:533 +#: bp-members/bp-members-template.php:1052 +#: bp-templates/bp-legacy/buddypress-functions.php:305 msgid "View" msgstr "" -#: bp-activity/bp-activity-template.php:2812 +#: bp-activity/bp-activity-template.php:2815 msgid "Clear Filter" msgstr "" -#: bp-activity/bp-activity-template.php:3122 +#: bp-activity/bp-activity-template.php:3125 msgid "a user" msgstr "" -#: bp-activity/bp-activity-template.php:3181 -msgid "Send a public message on your activity stream." -msgstr "" - #: bp-activity/bp-activity-template.php:3182 msgid "Public Message" msgstr "" @@ -739,14 +733,14 @@ msgstr "" #: bp-activity/classes/class-bp-activity-activity.php:360 #: bp-activity/classes/class-bp-activity-template.php:144 -#: bp-groups/bp-groups-functions.php:596 +#: bp-groups/bp-groups-functions.php:603 #: bp-groups/classes/class-bp-groups-group-members-template.php:99 -#: bp-groups/classes/class-bp-groups-group.php:733 +#: bp-groups/classes/class-bp-groups-group.php:917 #: bp-groups/classes/class-bp-groups-invite-template.php:84 #: bp-groups/classes/class-bp-groups-membership-requests-template.php:91 #: bp-groups/classes/class-bp-groups-template.php:134 #: bp-messages/classes/class-bp-messages-box-template.php:113 -#: bp-messages/classes/class-bp-messages-thread.php:422 +#: bp-messages/classes/class-bp-messages-thread.php:445 #: bp-xprofile/classes/class-bp-xprofile-data-template.php:129 msgid "" "Arguments passed to %1$s should be in an associative array. See the inline " @@ -754,11 +748,11 @@ msgid "" msgstr "" #: bp-activity/classes/class-bp-activity-component.php:30 -#: bp-core/bp-core-functions.php:2389 +#: bp-core/bp-core-functions.php:2459 msgid "Activity Streams" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:127 +#: bp-activity/classes/class-bp-activity-component.php:135 msgid "Search Activity..." msgstr "" @@ -785,7 +779,7 @@ msgid "Filter activities list" msgstr "" #: bp-activity/classes/class-bp-activity-list-table.php:316 -#: bp-groups/classes/class-bp-groups-list-table.php:296 +#: bp-groups/classes/class-bp-groups-list-table.php:334 msgid "All" msgstr "" @@ -798,13 +792,13 @@ msgid "Mark as Spam" msgstr "" #: bp-activity/classes/class-bp-activity-list-table.php:344 -#: bp-activity/classes/class-bp-activity-list-table.php:586 -#: bp-core/admin/bp-core-admin-functions.php:1005 +#: bp-activity/classes/class-bp-activity-list-table.php:604 +#: bp-core/admin/bp-core-admin-functions.php:1027 msgid "Not Spam" msgstr "" #: bp-activity/classes/class-bp-activity-list-table.php:345 -#: bp-activity/classes/class-bp-activity-list-table.php:591 +#: bp-activity/classes/class-bp-activity-list-table.php:609 #: bp-groups/bp-groups-admin.php:711 msgid "Delete Permanently" msgstr "" @@ -818,44 +812,44 @@ msgstr "" msgid "View all actions" msgstr "" -#: bp-activity/classes/class-bp-activity-list-table.php:453 +#: bp-activity/classes/class-bp-activity-list-table.php:471 msgid "Filter" msgstr "" -#: bp-activity/classes/class-bp-activity-list-table.php:501 +#: bp-activity/classes/class-bp-activity-list-table.php:519 #. translators: accessibility text msgid "Select activity item %1$d" msgstr "" -#: bp-activity/classes/class-bp-activity-list-table.php:532 +#: bp-activity/classes/class-bp-activity-list-table.php:550 msgid "Unregistered action - %s" msgstr "" -#: bp-activity/classes/class-bp-activity-list-table.php:577 +#: bp-activity/classes/class-bp-activity-list-table.php:595 msgid "Replies are disabled for this activity item" msgstr "" -#: bp-activity/classes/class-bp-activity-list-table.php:577 +#: bp-activity/classes/class-bp-activity-list-table.php:595 msgid "Replies disabled" msgstr "" -#: bp-activity/classes/class-bp-activity-list-table.php:591 -#: bp-core/bp-core-cssjs.php:121 +#: bp-activity/classes/class-bp-activity-list-table.php:609 +#: bp-core/bp-core-cssjs.php:165 msgid "Are you sure?" msgstr "" -#: bp-activity/classes/class-bp-activity-list-table.php:608 +#: bp-activity/classes/class-bp-activity-list-table.php:626 #. translators: %s: activity date and time msgid "Submitted on %s" msgstr "" -#: bp-activity/classes/class-bp-activity-list-table.php:614 +#: bp-activity/classes/class-bp-activity-list-table.php:632 #: bp-core/bp-core-template.php:426 #. translators: 1: activity date, 2: activity time msgid "%1$s at %2$s" msgstr "" -#: bp-activity/classes/class-bp-activity-list-table.php:696 +#: bp-activity/classes/class-bp-activity-list-table.php:714 msgid "%s related activity" msgid_plural "%s related activities" msgstr[0] "" @@ -960,148 +954,147 @@ msgstr "" msgid "%1$s commented on the post, %2$s" msgstr "" -#: bp-blogs/bp-blogs-template.php:234 +#: bp-blogs/bp-blogs-template.php:245 msgid "Viewing 1 site" msgstr "" -#: bp-blogs/bp-blogs-template.php:236 +#: bp-blogs/bp-blogs-template.php:247 msgid "Viewing %1$s - %2$s of %3$s site" msgid_plural "Viewing %1$s - %2$s of %3$s sites" msgstr[0] "" msgstr[1] "" -#: bp-blogs/bp-blogs-template.php:321 bp-blogs/bp-blogs-template.php:323 +#: bp-blogs/bp-blogs-template.php:342 bp-blogs/bp-blogs-template.php:344 msgid "Profile picture of site author %s" msgstr "" -#: bp-blogs/bp-blogs-template.php:550 +#: bp-blogs/bp-blogs-template.php:399 +msgid "Site icon for %s" +msgstr "" + +#: bp-blogs/bp-blogs-template.php:629 #: bp-core/classes/class-bp-core-user.php:177 -#: bp-groups/bp-groups-widgets.php:73 -#: bp-groups/classes/class-bp-groups-invite-template.php:240 +#: bp-groups/bp-groups-widgets.php:71 +#: bp-groups/classes/class-bp-groups-invite-template.php:241 #: bp-groups/classes/class-bp-groups-widget.php:143 -#: bp-members/bp-members-template.php:965 -#: bp-members/bp-members-template.php:1655 -#: bp-templates/bp-legacy/buddypress/groups/groups-loop.php:62 +#: bp-members/bp-members-template.php:967 +#: bp-members/bp-members-template.php:1697 +#: bp-templates/bp-legacy/buddypress/groups/groups-loop.php:66 #: bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php:62 #: bp-templates/bp-legacy/buddypress/groups/single/group-header.php:71 msgid "active %s" msgstr "" -#: bp-blogs/bp-blogs-template.php:563 bp-members/bp-members-template.php:978 +#: bp-blogs/bp-blogs-template.php:642 bp-members/bp-members-template.php:985 msgid "Never active" msgstr "" -#: bp-blogs/bp-blogs-template.php:615 +#: bp-blogs/bp-blogs-template.php:694 msgid "Latest Post: %s" msgstr "" -#: bp-blogs/bp-blogs-template.php:952 +#: bp-blogs/bp-blogs-template.php:1031 msgid "There was a problem; please correct the form below and try again." msgstr "" -#: bp-blogs/bp-blogs-template.php:955 +#: bp-blogs/bp-blogs-template.php:1034 msgid "" "By filling out the form below, you can <strong>add a site to your " "account</strong>. There is no limit to the number of sites that you can " "have, so create to your heart's content, but blog responsibly!" msgstr "" -#: bp-blogs/bp-blogs-template.php:957 +#: bp-blogs/bp-blogs-template.php:1036 msgid "" "If you’re not going to use a great domain, leave it for a new user. " "Now have at it!" msgstr "" -#: bp-blogs/bp-blogs-template.php:973 +#: bp-blogs/bp-blogs-template.php:1052 msgid "Create Site" msgstr "" -#: bp-blogs/bp-blogs-template.php:995 +#: bp-blogs/bp-blogs-template.php:1074 msgid "Site Name:" msgstr "" -#: bp-blogs/bp-blogs-template.php:997 +#: bp-blogs/bp-blogs-template.php:1076 msgid "Site Domain:" msgstr "" -#: bp-blogs/bp-blogs-template.php:1011 +#: bp-blogs/bp-blogs-template.php:1090 msgid "Your address will be " msgstr "" -#: bp-blogs/bp-blogs-template.php:1014 +#: bp-blogs/bp-blogs-template.php:1093 msgid "blogname" msgstr "" -#: bp-blogs/bp-blogs-template.php:1016 +#: bp-blogs/bp-blogs-template.php:1095 msgid "domain." msgstr "" -#: bp-blogs/bp-blogs-template.php:1019 +#: bp-blogs/bp-blogs-template.php:1098 msgid "" "Must be at least 4 characters, letters and numbers only. It cannot be " "changed so choose carefully!)" msgstr "" -#: bp-blogs/bp-blogs-template.php:1025 +#: bp-blogs/bp-blogs-template.php:1104 msgid "Site Title:" msgstr "" -#: bp-blogs/bp-blogs-template.php:1036 -msgid "Privacy:" -msgstr "" - -#: bp-blogs/bp-blogs-template.php:1037 -#: bp-templates/bp-legacy/buddypress/members/register.php:297 +#: bp-blogs/bp-blogs-template.php:1115 msgid "" -"I would like my site to appear in search engines, and in public listings " -"around this network." +"Privacy: I would like my site to appear in search engines, and in public " +"listings around this network" msgstr "" -#: bp-blogs/bp-blogs-template.php:1149 +#: bp-blogs/bp-blogs-template.php:1227 msgid "Congratulations! You have successfully registered a new site." msgstr "" -#: bp-blogs/bp-blogs-template.php:1154 +#: bp-blogs/bp-blogs-template.php:1232 msgid "%s is your new site." msgstr "" -#: bp-blogs/bp-blogs-template.php:1159 +#: bp-blogs/bp-blogs-template.php:1237 #. translators: 1: Login URL, 2: User name msgid "<a href=\"%1$s\">Log in</a> as \"%2$s\" using your existing password." msgstr "" -#: bp-blogs/bp-blogs-template.php:1196 bp-blogs/bp-blogs-template.php:1282 -#: bp-blogs/bp-blogs-template.php:1283 -#: bp-blogs/classes/class-bp-blogs-component.php:263 +#: bp-blogs/bp-blogs-template.php:1274 bp-blogs/bp-blogs-template.php:1360 +#: bp-blogs/classes/class-bp-blogs-component.php:268 #: bp-blogs/classes/class-bp-blogs-theme-compat.php:175 -#: bp-core/bp-core-template.php:3141 +#: bp-core/bp-core-template.php:3206 msgid "Create a Site" msgstr "" -#: bp-blogs/bp-blogs-template.php:1212 +#: bp-blogs/bp-blogs-template.php:1290 msgid "%s's Sites" msgstr "" -#: bp-blogs/bp-blogs-template.php:1213 +#: bp-blogs/bp-blogs-template.php:1291 msgid "%s's Recent Posts" msgstr "" -#: bp-blogs/bp-blogs-template.php:1214 +#: bp-blogs/bp-blogs-template.php:1292 msgid "%s's Recent Comments" msgstr "" -#: bp-blogs/bp-blogs-template.php:1242 bp-core/deprecated/1.5.php:426 -#: bp-forums/bp-forums-template.php:2930 bp-groups/bp-groups-template.php:4984 -#: bp-members/bp-members-template.php:1233 +#: bp-blogs/bp-blogs-template.php:1320 bp-core/deprecated/1.5.php:426 +#: bp-forums/bp-forums-template.php:2925 bp-groups/bp-groups-template.php:5222 +#: bp-members/bp-members-template.php:1275 #: bp-messages/bp-messages-template.php:794 +#: bp-templates/bp-legacy/buddypress/common/search/dir-search-form.php:14 msgid "Search" msgstr "" -#: bp-blogs/bp-blogs-template.php:1393 bp-blogs/bp-blogs-template.php:1394 +#: bp-blogs/bp-blogs-template.php:1469 msgid "Visit Site" msgstr "" -#: bp-blogs/bp-blogs-template.php:1454 +#: bp-blogs/bp-blogs-template.php:1529 msgid "%s site" msgid_plural "%s sites" msgstr[0] "" @@ -1111,23 +1104,23 @@ msgstr[1] "" msgid "Site Directory" msgstr "" -#: bp-blogs/classes/class-bp-blogs-component.php:75 +#: bp-blogs/classes/class-bp-blogs-component.php:80 msgid "Search sites..." msgstr "" -#: bp-blogs/classes/class-bp-blogs-component.php:184 +#: bp-blogs/classes/class-bp-blogs-component.php:189 #. translators: %s: Site count for the current user msgid "Sites %s" msgstr "" -#: bp-blogs/classes/class-bp-blogs-component.php:201 -#: bp-blogs/classes/class-bp-blogs-component.php:253 -#: bp-blogs/classes/class-bp-blogs-component.php:284 +#: bp-blogs/classes/class-bp-blogs-component.php:206 +#: bp-blogs/classes/class-bp-blogs-component.php:258 +#: bp-blogs/classes/class-bp-blogs-component.php:289 #: bp-core/deprecated/2.1.php:62 msgid "My Sites" msgstr "" -#: bp-blogs/classes/class-bp-blogs-component.php:245 +#: bp-blogs/classes/class-bp-blogs-component.php:250 #: bp-blogs/classes/class-bp-blogs-theme-compat.php:113 #: bp-blogs/classes/class-bp-blogs-theme-compat.php:177 msgid "Sites" @@ -1168,42 +1161,44 @@ msgstr "" #: bp-core/admin/bp-core-admin-components.php:32 #: bp-core/admin/bp-core-admin-settings.php:280 #: bp-core/admin/bp-core-admin-slugs.php:32 -#: bp-templates/bp-legacy/buddypress/members/single/settings/profile.php:62 +#: bp-templates/bp-legacy/buddypress/members/single/settings/profile.php:67 msgid "Save Settings" msgstr "" #: bp-core/admin/bp-core-admin-components.php:67 -#: bp-core/bp-core-functions.php:2373 +#: bp-core/bp-core-functions.php:2443 msgid "Extended Profiles" msgstr "" #: bp-core/admin/bp-core-admin-components.php:68 -#: bp-core/bp-core-functions.php:2374 +#: bp-core/bp-core-functions.php:2444 msgid "" "Customize your community with fully editable profile fields that allow your " "users to describe themselves." msgstr "" #: bp-core/admin/bp-core-admin-components.php:71 -#: bp-core/bp-core-functions.php:2377 +#: bp-core/bp-core-functions.php:2447 msgid "Account Settings" msgstr "" #: bp-core/admin/bp-core-admin-components.php:72 -#: bp-core/bp-core-functions.php:2378 +#: bp-core/bp-core-functions.php:2448 msgid "" "Allow your users to modify their account and notification settings directly " "from within their profiles." msgstr "" #: bp-core/admin/bp-core-admin-components.php:75 -#: bp-core/bp-core-functions.php:2393 bp-core/deprecated/2.1.php:530 +#: bp-core/bp-core-functions.php:2463 bp-core/deprecated/2.1.php:530 #: bp-notifications/classes/class-bp-notifications-component.php:262 +#: bp-templates/bp-legacy/buddypress/members/single/notifications/read.php:15 +#. translators: accessibility text msgid "Notifications" msgstr "" #: bp-core/admin/bp-core-admin-components.php:76 -#: bp-core/bp-core-functions.php:2394 +#: bp-core/bp-core-functions.php:2464 msgid "" "Notify members of relevant activity with a toolbar bubble and/or via email, " "and allow them to customize their notification settings." @@ -1305,7 +1300,7 @@ msgstr "" #: bp-members/classes/class-bp-members-ms-list-table.php:304 #: bp-members/classes/class-bp-members-ms-list-table.php:308 #: bp-messages/bp-messages-template.php:1207 -#: bp-templates/bp-legacy/buddypress/members/activate.php:56 +#: bp-templates/bp-legacy/buddypress/members/activate.php:59 msgid "Activate" msgstr "" @@ -1325,8 +1320,6 @@ msgstr "" #: bp-core/admin/bp-core-admin-functions.php:309 #: bp-core/admin/bp-core-admin-functions.php:339 #: bp-core/admin/bp-core-admin-settings.php:242 -#: bp-core/admin/bp-core-admin-tools.php:39 -#. translators: accessibility text msgid "Repair" msgstr "" @@ -1439,49 +1432,72 @@ msgstr "" msgid "<em>Logged-Out</em> links are not visible to users who are logged in." msgstr "" -#: bp-core/admin/bp-core-admin-functions.php:809 +#: bp-core/admin/bp-core-admin-functions.php:828 +msgid "Select All" +msgstr "" + +#: bp-core/admin/bp-core-admin-functions.php:831 msgid "Add to Menu" msgstr "" -#: bp-core/admin/bp-core-admin-functions.php:844 +#: bp-core/admin/bp-core-admin-functions.php:866 msgid "" "Are your emails in the wrong language? Go to <a href=\"%s\">BuddyPress " "Tools and run the \"reinstall emails\"</a> tool." msgstr "" -#: bp-core/admin/bp-core-admin-functions.php:864 +#: bp-core/admin/bp-core-admin-functions.php:886 msgid "" "Phrases wrapped in braces <code>{{ }}</code> are email tokens. <a " "href=\"%s\">Learn about tokens on the BuddyPress Codex</a>." msgstr "" -#: bp-core/admin/bp-core-admin-functions.php:907 +#: bp-core/admin/bp-core-admin-functions.php:929 msgid "Choose when this email will be sent." msgstr "" -#: bp-core/admin/bp-core-admin-functions.php:920 -#: bp-core/admin/bp-core-admin-functions.php:938 +#: bp-core/admin/bp-core-admin-functions.php:942 +#: bp-core/admin/bp-core-admin-functions.php:960 #. translators: accessibility text msgid "Plain text email content" msgstr "" -#: bp-core/admin/bp-core-admin-functions.php:941 +#: bp-core/admin/bp-core-admin-functions.php:963 msgid "" "Most email clients support HTML email. However, some people prefer to " "receive plain text email. Enter a plain text alternative version of your " "email here." msgstr "" -#: bp-core/admin/bp-core-admin-functions.php:1069 +#: bp-core/admin/bp-core-admin-functions.php:1091 #: bp-members/bp-members-actions.php:55 -#: bp-members/classes/class-bp-members-admin.php:308 +#: bp-members/classes/class-bp-members-admin.php:364 msgid "User marked as spammer. Spam users are visible only to site admins." msgstr "" -#: bp-core/admin/bp-core-admin-functions.php:1071 +#: bp-core/admin/bp-core-admin-functions.php:1093 msgid "User removed from spam." msgstr "" +#: bp-core/admin/bp-core-admin-functions.php:1239 +msgid "A BuddyPress update is available, but your system is not compatible." +msgstr "" + +#: bp-core/admin/bp-core-admin-functions.php:1240 +#: bp-core/admin/bp-core-admin-functions.php:1294 +msgid "See <a href=\"%s\">the Codex guide</a> for more information." +msgstr "" + +#: bp-core/admin/bp-core-admin-functions.php:1293 +msgid "Your site is not ready for BuddyPress 2.8." +msgstr "" + +#: bp-core/admin/bp-core-admin-functions.php:1294 +msgid "" +"Your site is currently running PHP version %s, while BuddyPress 2.8 will " +"require version 5.3+." +msgstr "" + #: bp-core/admin/bp-core-admin-settings.php:30 msgid "Show the Toolbar for logged out users" msgstr "" @@ -1551,7 +1567,7 @@ msgid "Associate a WordPress Page with each BuddyPress component directory." msgstr "" #: bp-core/admin/bp-core-admin-slugs.php:143 -#: bp-core/admin/bp-core-admin-slugs.php:206 +#: bp-core/admin/bp-core-admin-slugs.php:214 msgid "- None -" msgstr "" @@ -1559,118 +1575,133 @@ msgstr "" msgid "Registration" msgstr "" -#: bp-core/admin/bp-core-admin-slugs.php:187 +#: bp-core/admin/bp-core-admin-slugs.php:188 msgid "Associate WordPress Pages with the following BuddyPress Registration pages." msgstr "" +#: bp-core/admin/bp-core-admin-slugs.php:191 +msgid "" +"Registration is currently disabled. Before associating a page is allowed, " +"please enable registration by selecting either the \"User accounts may be " +"registered\" or \"Both sites and user accounts can be registered\" option " +"on <a href=\"%s\">this page</a>." +msgstr "" + +#: bp-core/admin/bp-core-admin-slugs.php:193 +msgid "" +"Registration is currently disabled. Before associating a page is allowed, " +"please enable registration by clicking on the \"Anyone can register\" " +"checkbox on <a href=\"%s\">this page</a>." +msgstr "" + #: bp-core/admin/bp-core-admin-tools.php:22 -#: bp-core/admin/bp-core-admin-tools.php:416 -#: bp-core/admin/bp-core-admin-tools.php:419 -#: bp-core/classes/class-bp-admin.php:302 +#: bp-core/admin/bp-core-admin-tools.php:407 +#: bp-core/admin/bp-core-admin-tools.php:410 +#: bp-core/classes/class-bp-admin.php:300 msgid "BuddyPress Tools" msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:25 +#: bp-core/admin/bp-core-admin-tools.php:24 msgid "" "BuddyPress keeps track of various relationships between members, groups, " "and activity items. Occasionally these relationships become out of sync, " "most often after an import, update, or migration." msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:26 +#: bp-core/admin/bp-core-admin-tools.php:25 msgid "Use the tools below to manually recalculate these relationships." msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:28 +#: bp-core/admin/bp-core-admin-tools.php:27 msgid "" "Some of these tools create substantial database overhead. Avoid running " "more than one repair job at a time." msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:34 +#: bp-core/admin/bp-core-admin-tools.php:32 msgid "Repair tools" msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:55 +#: bp-core/admin/bp-core-admin-tools.php:41 msgid "Repair Items" msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:111 +#: bp-core/admin/bp-core-admin-tools.php:102 msgid "Repair total members count." msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:117 +#: bp-core/admin/bp-core-admin-tools.php:108 msgid "Repair member \"last activity\" data." msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:126 +#: bp-core/admin/bp-core-admin-tools.php:117 msgid "Repair total friends count for each member." msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:136 +#: bp-core/admin/bp-core-admin-tools.php:127 msgid "Repair total groups count for each member." msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:146 +#: bp-core/admin/bp-core-admin-tools.php:137 msgid "Repopulate site tracking records." msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:155 +#: bp-core/admin/bp-core-admin-tools.php:146 msgid "Reinstall emails (delete and restore from defaults)." msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:185 +#: bp-core/admin/bp-core-admin-tools.php:176 msgid "Counting the number of friends for each user… %s" msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:186 -#: bp-core/admin/bp-core-admin-tools.php:244 -#: bp-core/admin/bp-core-admin-tools.php:289 +#: bp-core/admin/bp-core-admin-tools.php:177 +#: bp-core/admin/bp-core-admin-tools.php:235 +#: bp-core/admin/bp-core-admin-tools.php:280 msgid "Failed!" msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:226 -#: bp-core/admin/bp-core-admin-tools.php:273 -#: bp-core/admin/bp-core-admin-tools.php:301 -#: bp-core/admin/bp-core-admin-tools.php:317 -#: bp-core/admin/bp-core-admin-tools.php:330 +#: bp-core/admin/bp-core-admin-tools.php:217 +#: bp-core/admin/bp-core-admin-tools.php:264 +#: bp-core/admin/bp-core-admin-tools.php:292 +#: bp-core/admin/bp-core-admin-tools.php:308 +#: bp-core/admin/bp-core-admin-tools.php:321 msgid "Complete!" msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:243 +#: bp-core/admin/bp-core-admin-tools.php:234 msgid "Counting the number of groups for each user… %s" msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:286 +#: bp-core/admin/bp-core-admin-tools.php:277 msgid "Repopulating Blogs records… %s" msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:314 +#: bp-core/admin/bp-core-admin-tools.php:305 msgid "Counting the number of active members on the site… %s" msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:328 +#: bp-core/admin/bp-core-admin-tools.php:319 msgid "Determining last activity dates for each user… %s" msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:387 -#: bp-core/classes/class-bp-admin.php:279 -#: bp-core/classes/class-bp-admin.php:280 +#: bp-core/admin/bp-core-admin-tools.php:378 +#: bp-core/classes/class-bp-admin.php:277 +#: bp-core/classes/class-bp-admin.php:278 msgid "Tools" msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:418 +#: bp-core/admin/bp-core-admin-tools.php:409 msgid "" "BuddyPress keeps track of various relationships between users, groups, and " "activity items. Occasionally these relationships become out of sync, most " "often after an import, update, or migration." msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:477 +#: bp-core/admin/bp-core-admin-tools.php:468 msgid "Emails have been successfully reinstalled." msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:497 +#: bp-core/admin/bp-core-admin-tools.php:488 msgid "" "It looks like you have more sites to record. Resume recording by checking " "the \"Repopulate site tracking records\" option." @@ -1695,22 +1726,22 @@ msgstr[0] "" msgstr[1] "" #: bp-core/bp-core-admin.php:34 -#. translators: 1: WordPress version number. +#. translators: 1: BuddyPress version number. msgid "<strong>Version %1$s</strong> addressed a security issue." msgid_plural "<strong>Version %1$s</strong> addressed some security issues." msgstr[0] "" msgstr[1] "" -#: bp-core/bp-core-admin.php:39 -#. translators: 1: WordPress version number, 2: plural number of bugs. +#: bp-core/bp-core-admin.php:41 +#. translators: 1: BuddyPress version number, 2: plural number of bugs. msgid "<strong>Version %1$s</strong> addressed %2$s bug." msgid_plural "<strong>Version %1$s</strong> addressed %2$s bugs." msgstr[0] "" msgstr[1] "" -#: bp-core/bp-core-admin.php:44 -#. translators: 1: WordPress version number, 2: plural number of bugs. Singular -#. security issue. +#: bp-core/bp-core-admin.php:48 +#. translators: 1: BuddyPress version number, 2: plural number of bugs. +#. Singular security issue. msgid "<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug." msgid_plural "" "<strong>Version %1$s</strong> addressed a security issue and fixed %2$s " @@ -1718,8 +1749,8 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: bp-core/bp-core-admin.php:49 -#. translators: 1: WordPress version number, 2: plural number of bugs. More +#: bp-core/bp-core-admin.php:55 +#. translators: 1: BuddyPress version number, 2: plural number of bugs. More #. than one security issue. msgid "" "<strong>Version %1$s</strong> addressed some security issues and fixed %2$s " @@ -1730,7 +1761,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: bp-core/bp-core-admin.php:53 +#: bp-core/bp-core-admin.php:61 msgid "For more information, see <a href=\"%s\">the release notes</a>." msgstr "" @@ -1744,155 +1775,155 @@ msgid "" "toolbar as soon as possible." msgstr "" -#: bp-core/bp-core-attachments.php:592 +#: bp-core/bp-core-attachments.php:597 msgid "You have attempted to queue too many files." msgstr "" -#: bp-core/bp-core-attachments.php:593 +#: bp-core/bp-core-attachments.php:598 msgid "%s exceeds the maximum upload size for this site." msgstr "" -#: bp-core/bp-core-attachments.php:594 +#: bp-core/bp-core-attachments.php:599 msgid "This file is empty. Please try another." msgstr "" -#: bp-core/bp-core-attachments.php:595 +#: bp-core/bp-core-attachments.php:600 msgid "This file type is not allowed. Please try another." msgstr "" -#: bp-core/bp-core-attachments.php:596 +#: bp-core/bp-core-attachments.php:601 msgid "This file is not an image. Please try another." msgstr "" -#: bp-core/bp-core-attachments.php:597 +#: bp-core/bp-core-attachments.php:602 msgid "Memory exceeded. Please try another smaller file." msgstr "" -#: bp-core/bp-core-attachments.php:598 +#: bp-core/bp-core-attachments.php:603 msgid "This is larger than the maximum size. Please try another." msgstr "" -#: bp-core/bp-core-attachments.php:599 +#: bp-core/bp-core-attachments.php:604 msgid "An error occurred. Please try again later." msgstr "" -#: bp-core/bp-core-attachments.php:600 +#: bp-core/bp-core-attachments.php:605 msgid "There was a configuration error. Please contact the server administrator." msgstr "" -#: bp-core/bp-core-attachments.php:601 +#: bp-core/bp-core-attachments.php:606 msgid "You may only upload 1 file." msgstr "" -#: bp-core/bp-core-attachments.php:602 +#: bp-core/bp-core-attachments.php:607 msgid "HTTP error." msgstr "" -#: bp-core/bp-core-attachments.php:603 bp-core/bp-core-avatars.php:1064 +#: bp-core/bp-core-attachments.php:608 bp-core/bp-core-avatars.php:1061 msgid "Upload failed." msgstr "" -#: bp-core/bp-core-attachments.php:604 +#: bp-core/bp-core-attachments.php:609 msgid "Please try uploading this file with the %1$sbrowser uploader%2$s." msgstr "" -#: bp-core/bp-core-attachments.php:605 +#: bp-core/bp-core-attachments.php:610 msgid "" "%s exceeds the maximum upload size for the multi-file uploader when used in " "your browser." msgstr "" -#: bp-core/bp-core-attachments.php:606 +#: bp-core/bp-core-attachments.php:611 msgid "IO error." msgstr "" -#: bp-core/bp-core-attachments.php:607 +#: bp-core/bp-core-attachments.php:612 msgid "Security error." msgstr "" -#: bp-core/bp-core-attachments.php:608 +#: bp-core/bp-core-attachments.php:613 msgid "File canceled." msgstr "" -#: bp-core/bp-core-attachments.php:609 +#: bp-core/bp-core-attachments.php:614 msgid "Upload stopped." msgstr "" -#: bp-core/bp-core-attachments.php:610 +#: bp-core/bp-core-attachments.php:615 msgid "Dismiss" msgstr "" -#: bp-core/bp-core-attachments.php:611 +#: bp-core/bp-core-attachments.php:616 msgid "Crunching…" msgstr "" -#: bp-core/bp-core-attachments.php:612 +#: bp-core/bp-core-attachments.php:617 msgid "Make sure to upload a unique file" msgstr "" -#: bp-core/bp-core-attachments.php:613 +#: bp-core/bp-core-attachments.php:618 msgid "“%s” has failed to upload." msgstr "" -#: bp-core/bp-core-attachments.php:614 +#: bp-core/bp-core-attachments.php:619 msgid "" "If you'd like to delete the existing profile photo but not upload a new " "one, please use the delete tab." msgstr "" -#: bp-core/bp-core-attachments.php:716 +#: bp-core/bp-core-attachments.php:721 msgid "Upload" msgstr "" -#: bp-core/bp-core-attachments.php:724 +#: bp-core/bp-core-attachments.php:729 msgid "Take Photo" msgstr "" -#: bp-core/bp-core-attachments.php:728 +#: bp-core/bp-core-attachments.php:733 msgid "Please allow us to access to your camera." msgstr "" -#: bp-core/bp-core-attachments.php:729 +#: bp-core/bp-core-attachments.php:734 msgid "Please wait as we access your camera." msgstr "" -#: bp-core/bp-core-attachments.php:730 +#: bp-core/bp-core-attachments.php:735 msgid "Camera loaded. Click on the \"Capture\" button to take your photo." msgstr "" -#: bp-core/bp-core-attachments.php:731 +#: bp-core/bp-core-attachments.php:736 msgid "" "It looks like you do not have a webcam or we were unable to get permission " "to use your webcam. Please upload a photo instead." msgstr "" -#: bp-core/bp-core-attachments.php:732 +#: bp-core/bp-core-attachments.php:737 msgid "Your browser is not supported. Please upload a photo instead." msgstr "" -#: bp-core/bp-core-attachments.php:733 +#: bp-core/bp-core-attachments.php:738 msgid "Video error. Please upload a photo instead." msgstr "" -#: bp-core/bp-core-attachments.php:734 +#: bp-core/bp-core-attachments.php:739 msgid "Your profile photo is ready. Click on the \"Save\" button to use this photo." msgstr "" -#: bp-core/bp-core-attachments.php:735 +#: bp-core/bp-core-attachments.php:740 msgid "No photo was captured. Click on the \"Capture\" button to take your photo." msgstr "" -#: bp-core/bp-core-attachments.php:782 +#: bp-core/bp-core-attachments.php:787 msgid "" "For better results, make sure to upload an image that is larger than %1$spx " "wide, and %2$spx tall." msgstr "" -#: bp-core/bp-core-attachments.php:1294 bp-core/bp-core-avatars.php:903 +#: bp-core/bp-core-attachments.php:1296 bp-core/bp-core-avatars.php:903 msgid "Upload Failed! Error was: %s" msgstr "" -#: bp-core/bp-core-attachments.php:1299 +#: bp-core/bp-core-attachments.php:1301 msgid "There was a problem uploading the cover image." msgstr "" @@ -1910,13 +1941,13 @@ msgid "" "results, upload a picture larger than %d x %d pixels." msgstr "" -#: bp-core/bp-core-avatars.php:1428 bp-core/bp-core-template.php:199 +#: bp-core/bp-core-avatars.php:1416 bp-core/bp-core-template.php:199 #: bp-core/bp-core-template.php:218 bp-core/classes/class-bp-core-user.php:174 #: bp-core/classes/class-bp-core-user.php:175 #: bp-core/classes/class-bp-core-user.php:176 -#: bp-groups/classes/class-bp-groups-invite-template.php:234 #: bp-groups/classes/class-bp-groups-invite-template.php:235 #: bp-groups/classes/class-bp-groups-invite-template.php:236 +#: bp-groups/classes/class-bp-groups-invite-template.php:237 msgid "Profile photo of %s" msgstr "" @@ -1925,8 +1956,8 @@ msgstr "" msgid "You do not have access to this page." msgstr "" -#: bp-core/bp-core-caps.php:365 bp-core/bp-core-caps.php:377 -#: bp-core/bp-core-caps.php:391 bp-core/bp-core-caps.php:401 +#: bp-core/bp-core-caps.php:410 bp-core/bp-core-caps.php:422 +#: bp-core/bp-core-caps.php:436 bp-core/bp-core-caps.php:446 msgid "Special community roles no longer exist. Use mapped capabilities instead" msgstr "" @@ -1936,228 +1967,224 @@ msgid "" "profile." msgstr "" -#: bp-core/bp-core-catchuri.php:641 bp-core/bp-core-catchuri.php:718 +#: bp-core/bp-core-catchuri.php:643 bp-core/bp-core-catchuri.php:722 msgid "You must log in to access the page you requested." msgstr "" -#: bp-core/bp-core-customizer-email.php:33 +#: bp-core/bp-core-customizer-email.php:32 msgid "Customize the appearance of emails sent by BuddyPress." msgstr "" -#: bp-core/bp-core-customizer-email.php:286 +#: bp-core/bp-core-customizer-email.php:284 msgid "Email background color" msgstr "" -#: bp-core/bp-core-customizer-email.php:293 +#: bp-core/bp-core-customizer-email.php:291 msgid "Header background color" msgstr "" -#: bp-core/bp-core-customizer-email.php:300 +#: bp-core/bp-core-customizer-email.php:298 msgid "Applied to links and other decorative areas." msgstr "" -#: bp-core/bp-core-customizer-email.php:301 +#: bp-core/bp-core-customizer-email.php:299 msgid "Highlight color" msgstr "" -#: bp-core/bp-core-customizer-email.php:308 -#: bp-core/bp-core-customizer-email.php:337 -#: bp-core/bp-core-customizer-email.php:374 +#: bp-core/bp-core-customizer-email.php:306 +#: bp-core/bp-core-customizer-email.php:335 +#: bp-core/bp-core-customizer-email.php:372 msgid "Text color" msgstr "" -#: bp-core/bp-core-customizer-email.php:315 -#: bp-core/bp-core-customizer-email.php:344 -#: bp-core/bp-core-customizer-email.php:381 +#: bp-core/bp-core-customizer-email.php:313 +#: bp-core/bp-core-customizer-email.php:342 +#: bp-core/bp-core-customizer-email.php:379 msgid "Text size" msgstr "" -#: bp-core/bp-core-customizer-email.php:329 -#: bp-core/bp-core-customizer-email.php:367 +#: bp-core/bp-core-customizer-email.php:327 +#: bp-core/bp-core-customizer-email.php:365 msgid "Background color" msgstr "" -#: bp-core/bp-core-customizer-email.php:358 +#: bp-core/bp-core-customizer-email.php:356 msgid "Change the email footer here" msgstr "" -#: bp-core/bp-core-customizer-email.php:359 +#: bp-core/bp-core-customizer-email.php:357 msgid "Footer text" msgstr "" -#: bp-core/bp-core-dependency.php:230 -msgid "The current user is being initialized without using $wp->init()." -msgstr "" - -#: bp-core/bp-core-filters.php:404 bp-core/bp-core-filters.php:437 +#: bp-core/bp-core-filters.php:408 bp-core/bp-core-filters.php:441 msgid "[User Set]" msgstr "" -#: bp-core/bp-core-filters.php:580 +#: bp-core/bp-core-filters.php:584 msgid "Page %s" msgstr "" -#: bp-core/bp-core-functions.php:1101 +#: bp-core/bp-core-functions.php:1136 msgid "sometime" msgstr "" -#: bp-core/bp-core-functions.php:1110 +#: bp-core/bp-core-functions.php:1145 msgid "right now" msgstr "" -#: bp-core/bp-core-functions.php:1119 +#: bp-core/bp-core-functions.php:1154 msgid "%s ago" msgstr "" -#: bp-core/bp-core-functions.php:1180 +#: bp-core/bp-core-functions.php:1215 msgid "%s year" msgid_plural "%s years" msgstr[0] "" msgstr[1] "" -#: bp-core/bp-core-functions.php:1183 bp-core/bp-core-functions.php:1217 +#: bp-core/bp-core-functions.php:1218 bp-core/bp-core-functions.php:1252 msgid "%s month" msgid_plural "%s months" msgstr[0] "" msgstr[1] "" -#: bp-core/bp-core-functions.php:1186 bp-core/bp-core-functions.php:1220 +#: bp-core/bp-core-functions.php:1221 bp-core/bp-core-functions.php:1255 msgid "%s week" msgid_plural "%s weeks" msgstr[0] "" msgstr[1] "" -#: bp-core/bp-core-functions.php:1189 bp-core/bp-core-functions.php:1223 +#: bp-core/bp-core-functions.php:1224 bp-core/bp-core-functions.php:1258 msgid "%s day" msgid_plural "%s days" msgstr[0] "" msgstr[1] "" -#: bp-core/bp-core-functions.php:1192 bp-core/bp-core-functions.php:1226 +#: bp-core/bp-core-functions.php:1227 bp-core/bp-core-functions.php:1261 msgid "%s hour" msgid_plural "%s hours" msgstr[0] "" msgstr[1] "" -#: bp-core/bp-core-functions.php:1195 bp-core/bp-core-functions.php:1229 +#: bp-core/bp-core-functions.php:1230 bp-core/bp-core-functions.php:1264 msgid "%s minute" msgid_plural "%s minutes" msgstr[0] "" msgstr[1] "" -#: bp-core/bp-core-functions.php:1198 bp-core/bp-core-functions.php:1232 +#: bp-core/bp-core-functions.php:1233 bp-core/bp-core-functions.php:1267 msgid "%s second" msgid_plural "%s seconds" msgstr[0] "" msgstr[1] "" -#: bp-core/bp-core-functions.php:1461 +#: bp-core/bp-core-functions.php:1531 msgid "Not recently active" msgstr "" -#: bp-core/bp-core-functions.php:2355 bp-core/classes/class-bp-core.php:31 +#: bp-core/bp-core-functions.php:2425 bp-core/classes/class-bp-core.php:31 msgid "BuddyPress Core" msgstr "" -#: bp-core/bp-core-functions.php:2356 +#: bp-core/bp-core-functions.php:2426 msgid "It‘s what makes <del>time travel</del> BuddyPress possible!" msgstr "" -#: bp-core/bp-core-functions.php:2359 +#: bp-core/bp-core-functions.php:2429 msgid "Community Members" msgstr "" -#: bp-core/bp-core-functions.php:2360 +#: bp-core/bp-core-functions.php:2430 msgid "Everything in a BuddyPress community revolves around its members." msgstr "" -#: bp-core/bp-core-functions.php:2366 -#: bp-templates/bp-legacy/buddypress/groups/create.php:149 +#: bp-core/bp-core-functions.php:2436 +#: bp-templates/bp-legacy/buddypress/groups/create.php:194 msgid "Group Forums" msgstr "" -#: bp-core/bp-core-functions.php:2367 +#: bp-core/bp-core-functions.php:2437 msgid "BuddyPress Forums are retired. Use %s." msgstr "" -#: bp-core/bp-core-functions.php:2381 +#: bp-core/bp-core-functions.php:2451 msgid "Friend Connections" msgstr "" -#: bp-core/bp-core-functions.php:2382 +#: bp-core/bp-core-functions.php:2452 msgid "" "Let your users make connections so they can track the activity of others " "and focus on the people they care about the most." msgstr "" -#: bp-core/bp-core-functions.php:2385 +#: bp-core/bp-core-functions.php:2455 msgid "Private Messaging" msgstr "" -#: bp-core/bp-core-functions.php:2386 +#: bp-core/bp-core-functions.php:2456 msgid "" "Allow your users to talk to each other directly and in private. Not just " "limited to one-on-one discussions, messages can be sent between any number " "of members." msgstr "" -#: bp-core/bp-core-functions.php:2390 +#: bp-core/bp-core-functions.php:2460 msgid "" "Global, personal, and group activity streams with threaded commenting, " "direct posting, favoriting, and @mentions, all with full RSS feed and email " "notification support." msgstr "" -#: bp-core/bp-core-functions.php:2397 +#: bp-core/bp-core-functions.php:2467 msgid "User Groups" msgstr "" -#: bp-core/bp-core-functions.php:2398 +#: bp-core/bp-core-functions.php:2468 msgid "" "Groups allow your users to organize themselves into specific public, " "private or hidden sections with separate activity streams and member " "listings." msgstr "" -#: bp-core/bp-core-functions.php:2401 +#: bp-core/bp-core-functions.php:2471 msgid "Group Forums (Legacy)" msgstr "" -#: bp-core/bp-core-functions.php:2402 +#: bp-core/bp-core-functions.php:2472 msgid "Group forums allow for focused, bulletin-board style conversations." msgstr "" -#: bp-core/bp-core-functions.php:2405 +#: bp-core/bp-core-functions.php:2475 msgid "Site Tracking" msgstr "" -#: bp-core/bp-core-functions.php:2406 +#: bp-core/bp-core-functions.php:2476 msgid "Record activity for new posts and comments from your site." msgstr "" -#: bp-core/bp-core-functions.php:2412 +#: bp-core/bp-core-functions.php:2482 msgid "Record activity for new sites, posts, and comments across your network." msgstr "" -#: bp-core/bp-core-functions.php:2476 +#: bp-core/bp-core-functions.php:2546 #: bp-core/classes/class-bp-core-login-widget.php:84 #: bp-core/deprecated/1.5.php:313 bp-core/deprecated/2.1.php:258 -#: bp-members/bp-members-template.php:1326 +#: bp-members/bp-members-template.php:1368 msgid "Log Out" msgstr "" -#: bp-core/bp-core-functions.php:2541 +#: bp-core/bp-core-functions.php:2611 #: bp-core/classes/class-bp-core-login-widget.php:116 #: bp-core/deprecated/2.1.php:190 msgid "Log In" msgstr "" -#: bp-core/bp-core-functions.php:3239 +#: bp-core/bp-core-functions.php:3309 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] {{poster.name}} replied to one of your updates" msgstr "" -#: bp-core/bp-core-functions.php:3241 +#: bp-core/bp-core-functions.php:3311 #. translators: do not remove {} brackets or translate its contents. msgid "" "{{poster.name}} replied to one of your updates:\n" @@ -2168,7 +2195,7 @@ msgid "" "on the conversation." msgstr "" -#: bp-core/bp-core-functions.php:3243 +#: bp-core/bp-core-functions.php:3313 #. translators: do not remove {} brackets or translate its contents. msgid "" "{{poster.name}} replied to one of your updates:\n" @@ -2179,12 +2206,12 @@ msgid "" "{{{thread.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3247 +#: bp-core/bp-core-functions.php:3317 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] {{poster.name}} replied to one of your comments" msgstr "" -#: bp-core/bp-core-functions.php:3249 +#: bp-core/bp-core-functions.php:3319 #. translators: do not remove {} brackets or translate its contents. msgid "" "{{poster.name}} replied to one of your comments:\n" @@ -2195,7 +2222,7 @@ msgid "" "on the conversation." msgstr "" -#: bp-core/bp-core-functions.php:3251 +#: bp-core/bp-core-functions.php:3321 #. translators: do not remove {} brackets or translate its contents. msgid "" "{{poster.name}} replied to one of your comments:\n" @@ -2206,12 +2233,12 @@ msgid "" "{{{thread.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3255 +#: bp-core/bp-core-functions.php:3325 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] {{poster.name}} mentioned you in a status update" msgstr "" -#: bp-core/bp-core-functions.php:3257 +#: bp-core/bp-core-functions.php:3327 #. translators: do not remove {} brackets or translate its contents. msgid "" "{{poster.name}} mentioned you in a status update:\n" @@ -2222,7 +2249,7 @@ msgid "" "up on the conversation." msgstr "" -#: bp-core/bp-core-functions.php:3259 +#: bp-core/bp-core-functions.php:3329 #. translators: do not remove {} brackets or translate its contents. msgid "" "{{poster.name}} mentioned you in a status update:\n" @@ -2233,12 +2260,12 @@ msgid "" "{{{mentioned.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3263 +#: bp-core/bp-core-functions.php:3333 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] {{poster.name}} mentioned you in an update" msgstr "" -#: bp-core/bp-core-functions.php:3265 +#: bp-core/bp-core-functions.php:3335 #. translators: do not remove {} brackets or translate its contents. msgid "" "{{poster.name}} mentioned you in the group \"{{group.name}}\":\n" @@ -2249,7 +2276,7 @@ msgid "" "up on the conversation." msgstr "" -#: bp-core/bp-core-functions.php:3267 +#: bp-core/bp-core-functions.php:3337 #. translators: do not remove {} brackets or translate its contents. msgid "" "{{poster.name}} mentioned you in the group \"{{group.name}}\":\n" @@ -2260,12 +2287,12 @@ msgid "" "{{{mentioned.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3271 +#: bp-core/bp-core-functions.php:3341 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] Activate your account" msgstr "" -#: bp-core/bp-core-functions.php:3273 +#: bp-core/bp-core-functions.php:3343 #. translators: do not remove {} brackets or translate its contents. msgid "" "Thanks for registering!\n" @@ -2274,7 +2301,7 @@ msgid "" "href=\"{{{activate.url}}}\">{{{activate.url}}}</a>" msgstr "" -#: bp-core/bp-core-functions.php:3275 +#: bp-core/bp-core-functions.php:3345 #. translators: do not remove {} brackets or translate its contents. msgid "" "Thanks for registering!\n" @@ -2283,12 +2310,12 @@ msgid "" "{{{activate.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3279 +#: bp-core/bp-core-functions.php:3349 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] Activate {{{user-site.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3281 +#: bp-core/bp-core-functions.php:3351 #. translators: do not remove {} brackets or translate its contents. msgid "" "Thanks for registering!\n" @@ -2300,7 +2327,7 @@ msgid "" "href=\"{{{user-site.url}}}\">{{{user-site.url}}}</a>." msgstr "" -#: bp-core/bp-core-functions.php:3283 +#: bp-core/bp-core-functions.php:3353 #. translators: do not remove {} brackets or translate its contents. msgid "" "Thanks for registering!\n" @@ -2311,12 +2338,12 @@ msgid "" "After you activate, you can visit your site at {{{user-site.url}}}." msgstr "" -#: bp-core/bp-core-functions.php:3287 +#: bp-core/bp-core-functions.php:3357 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] New friendship request from {{initiator.name}}" msgstr "" -#: bp-core/bp-core-functions.php:3289 +#: bp-core/bp-core-functions.php:3359 #. translators: do not remove {} brackets or translate its contents. msgid "" "<a href=\"{{{initiator.url}}}\">{{initiator.name}}</a> wants to add you as " @@ -2326,7 +2353,7 @@ msgid "" "href=\"{{{friend-requests.url}}}\">{{{friend-requests.url}}}</a>" msgstr "" -#: bp-core/bp-core-functions.php:3291 +#: bp-core/bp-core-functions.php:3361 #. translators: do not remove {} brackets or translate its contents. msgid "" "{{initiator.name}} wants to add you as a friend.\n" @@ -2337,19 +2364,19 @@ msgid "" "To view {{initiator.name}}'s profile, visit: {{{initiator.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3295 +#: bp-core/bp-core-functions.php:3365 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] {{friend.name}} accepted your friendship request" msgstr "" -#: bp-core/bp-core-functions.php:3297 +#: bp-core/bp-core-functions.php:3367 #. translators: do not remove {} brackets or translate its contents. msgid "" "<a href=\"{{{friendship.url}}}\">{{friend.name}}</a> accepted your friend " "request." msgstr "" -#: bp-core/bp-core-functions.php:3299 +#: bp-core/bp-core-functions.php:3369 #. translators: do not remove {} brackets or translate its contents. msgid "" "{{friend.name}} accepted your friend request.\n" @@ -2357,12 +2384,12 @@ msgid "" "To learn more about them, visit their profile: {{{friendship.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3303 +#: bp-core/bp-core-functions.php:3373 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] Group details updated" msgstr "" -#: bp-core/bp-core-functions.php:3305 +#: bp-core/bp-core-functions.php:3375 #. translators: do not remove {} brackets or translate its contents. msgid "" "Group details for the group "<a " @@ -2370,22 +2397,22 @@ msgid "" "<blockquote>{{changed_text}}</blockquote>" msgstr "" -#: bp-core/bp-core-functions.php:3307 +#: bp-core/bp-core-functions.php:3377 #. translators: do not remove {} brackets or translate its contents. msgid "" -"Group details for the group "{{group.name}}" were updated:\n" +"Group details for the group \"{{group.name}}\" were updated:\n" "\n" "{{changed_text}}\n" "\n" "To view the group, visit: {{{group.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3311 +#: bp-core/bp-core-functions.php:3381 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] You have an invitation to the group: \"{{group.name}}\"" msgstr "" -#: bp-core/bp-core-functions.php:3313 +#: bp-core/bp-core-functions.php:3383 #. translators: do not remove {} brackets or translate its contents. msgid "" "<a href=\"{{{inviter.url}}}\">{{inviter.name}}</a> has invited you to join " @@ -2394,11 +2421,10 @@ msgid "" "href=\"{{{group.url}}}\">visit the group</a> to learn more." msgstr "" -#: bp-core/bp-core-functions.php:3315 +#: bp-core/bp-core-functions.php:3385 #. translators: do not remove {} brackets or translate its contents. msgid "" -"{{inviter.name}} has invited you to join the group: " -""{{group.name}}".\n" +"{{inviter.name}} has invited you to join the group: \"{{group.name}}\".\n" "\n" "To accept your invitation, visit: {{{invites.url}}}\n" "\n" @@ -2406,33 +2432,32 @@ msgid "" "To view {{inviter.name}}'s profile, visit: {{{inviter.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3319 +#: bp-core/bp-core-functions.php:3389 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] You have been promoted in the group: \"{{group.name}}\"" msgstr "" -#: bp-core/bp-core-functions.php:3321 +#: bp-core/bp-core-functions.php:3391 #. translators: do not remove {} brackets or translate its contents. msgid "" "You have been promoted to <b>{{promoted_to}}</b> in the group "<a " "href=\"{{{group.url}}}\">{{group.name}}</a>"." msgstr "" -#: bp-core/bp-core-functions.php:3323 +#: bp-core/bp-core-functions.php:3393 #. translators: do not remove {} brackets or translate its contents. msgid "" -"You have been promoted to {{promoted_to}} in the group: " -""{{group.name}}".\n" +"You have been promoted to {{promoted_to}} in the group: \"{{group.name}}\".\n" "\n" "To visit the group, go to: {{{group.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3327 +#: bp-core/bp-core-functions.php:3397 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] Membership request for group: {{group.name}}" msgstr "" -#: bp-core/bp-core-functions.php:3329 +#: bp-core/bp-core-functions.php:3399 #. translators: do not remove {} brackets or translate its contents. msgid "" "<a href=\"{{{profile.url}}}\">{{requesting-user.name}}</a> wants to join " @@ -2443,12 +2468,12 @@ msgid "" "other pending requests." msgstr "" -#: bp-core/bp-core-functions.php:3331 +#: bp-core/bp-core-functions.php:3401 #. translators: do not remove {} brackets or translate its contents. msgid "" -"{{requesting-user.name}} wants to join the group " -""{{group.name}}". As you are the administrator of this group, you " -"must either accept or reject the membership request.\n" +"{{requesting-user.name}} wants to join the group \"{{group.name}}\". As you " +"are the administrator of this group, you must either accept or reject the " +"membership request.\n" "\n" "To manage this and all other pending requests, visit: " "{{{group-requests.url}}}\n" @@ -2456,12 +2481,12 @@ msgid "" "To view {{requesting-user.name}}'s profile, visit: {{{profile.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3335 +#: bp-core/bp-core-functions.php:3405 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] New message from {{sender.name}}" msgstr "" -#: bp-core/bp-core-functions.php:3337 +#: bp-core/bp-core-functions.php:3407 #. translators: do not remove {} brackets or translate its contents. msgid "" "{{sender.name}} sent you a new message: "{{usersubject}}"\n" @@ -2472,23 +2497,23 @@ msgid "" "on the conversation." msgstr "" -#: bp-core/bp-core-functions.php:3339 +#: bp-core/bp-core-functions.php:3409 #. translators: do not remove {} brackets or translate its contents. msgid "" -"{{sender.name}} sent you a new message: "{{usersubject}}"\n" +"{{sender.name}} sent you a new message: \"{{usersubject}}\"\n" "\n" -""{{usermessage}}"\n" +"\"{{usermessage}}\"\n" "\n" "Go to the discussion to reply or catch up on the conversation: " "{{{message.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3343 +#: bp-core/bp-core-functions.php:3413 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] Verify your new email address" msgstr "" -#: bp-core/bp-core-functions.php:3345 +#: bp-core/bp-core-functions.php:3415 #. translators: do not remove {} brackets or translate its contents. msgid "" "You recently changed the email address associated with your account on " @@ -2499,7 +2524,7 @@ msgid "" "your mind, or if you think you have received this email in error." msgstr "" -#: bp-core/bp-core-functions.php:3347 +#: bp-core/bp-core-functions.php:3417 #. translators: do not remove {} brackets or translate its contents. msgid "" "You recently changed the email address associated with your account on " @@ -2510,114 +2535,181 @@ msgid "" "your mind, or if you think you have received this email in error." msgstr "" -#: bp-core/bp-core-functions.php:3351 +#: bp-core/bp-core-functions.php:3421 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] Membership request for group \"{{group.name}}\" accepted" msgstr "" -#: bp-core/bp-core-functions.php:3353 +#: bp-core/bp-core-functions.php:3423 #. translators: do not remove {} brackets or translate its contents. msgid "" "Your membership request for the group "<a " "href=\"{{{group.url}}}\">{{group.name}}</a>" has been accepted." msgstr "" -#: bp-core/bp-core-functions.php:3355 +#: bp-core/bp-core-functions.php:3425 #. translators: do not remove {} brackets or translate its contents. msgid "" -"Your membership request for the group "{{group.name}}" has been " -"accepted.\n" +"Your membership request for the group \"{{group.name}}\" has been accepted.\n" "\n" "To view the group, visit: {{{group.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3359 +#: bp-core/bp-core-functions.php:3429 #. translators: do not remove {} brackets or translate its contents. msgid "[{{{site.name}}}] Membership request for group \"{{group.name}}\" rejected" msgstr "" -#: bp-core/bp-core-functions.php:3361 +#: bp-core/bp-core-functions.php:3431 #. translators: do not remove {} brackets or translate its contents. msgid "" "Your membership request for the group "<a " "href=\"{{{group.url}}}\">{{group.name}}</a>" has been rejected." msgstr "" -#: bp-core/bp-core-functions.php:3363 +#: bp-core/bp-core-functions.php:3433 #. translators: do not remove {} brackets or translate its contents. msgid "" -"Your membership request for the group "{{group.name}}" has been " -"rejected.\n" +"Your membership request for the group \"{{group.name}}\" has been rejected.\n" "\n" "To request membership again, visit: {{{group.url}}}" msgstr "" -#: bp-core/bp-core-functions.php:3377 +#: bp-core/bp-core-functions.php:3458 msgid "A member has replied to an activity update that the recipient posted." msgstr "" -#: bp-core/bp-core-functions.php:3378 +#: bp-core/bp-core-functions.php:3461 bp-core/bp-core-functions.php:3469 +msgid "" +"You will no longer receive emails when someone replies to an update or " +"comment you posted." +msgstr "" + +#: bp-core/bp-core-functions.php:3466 msgid "" "A member has replied to a comment on an activity update that the recipient " "posted." msgstr "" -#: bp-core/bp-core-functions.php:3379 +#: bp-core/bp-core-functions.php:3474 msgid "Recipient was mentioned in an activity update." msgstr "" -#: bp-core/bp-core-functions.php:3380 +#: bp-core/bp-core-functions.php:3477 bp-core/bp-core-functions.php:3485 +msgid "You will no longer receive emails when someone mentions you in an update." +msgstr "" + +#: bp-core/bp-core-functions.php:3482 msgid "Recipient was mentioned in a group activity update." msgstr "" -#: bp-core/bp-core-functions.php:3381 +#: bp-core/bp-core-functions.php:3490 msgid "Recipient has registered for an account." msgstr "" -#: bp-core/bp-core-functions.php:3382 +#: bp-core/bp-core-functions.php:3495 msgid "Recipient has registered for an account and site." msgstr "" -#: bp-core/bp-core-functions.php:3383 +#: bp-core/bp-core-functions.php:3500 msgid "A member has sent a friend request to the recipient." msgstr "" -#: bp-core/bp-core-functions.php:3384 +#: bp-core/bp-core-functions.php:3503 +msgid "You will no longer receive emails when someone sends you a friend request." +msgstr "" + +#: bp-core/bp-core-functions.php:3508 msgid "Recipient has had a friend request accepted by a member." msgstr "" -#: bp-core/bp-core-functions.php:3385 +#: bp-core/bp-core-functions.php:3511 +msgid "" +"You will no longer receive emails when someone accepts your friendship " +"request." +msgstr "" + +#: bp-core/bp-core-functions.php:3516 bp-core/bp-core-functions.php:3524 msgid "A group's details were updated." msgstr "" -#: bp-core/bp-core-functions.php:3386 +#: bp-core/bp-core-functions.php:3519 bp-core/bp-core-functions.php:3527 +msgid "You will no longer receive emails when one of your groups is updated." +msgstr "" + +#: bp-core/bp-core-functions.php:3532 msgid "A member has sent a group invitation to the recipient." msgstr "" -#: bp-core/bp-core-functions.php:3387 +#: bp-core/bp-core-functions.php:3535 +msgid "You will no longer receive emails when you are invited to join a group." +msgstr "" + +#: bp-core/bp-core-functions.php:3540 bp-core/bp-core-functions.php:3548 msgid "Recipient's status within a group has changed." msgstr "" -#: bp-core/bp-core-functions.php:3388 +#: bp-core/bp-core-functions.php:3543 bp-core/bp-core-functions.php:3551 +msgid "You will no longer receive emails when you have been promoted in a group." +msgstr "" + +#: bp-core/bp-core-functions.php:3556 msgid "A member has requested permission to join a group." msgstr "" -#: bp-core/bp-core-functions.php:3389 +#: bp-core/bp-core-functions.php:3559 +msgid "" +"You will no longer receive emails when someone requests to be a member of " +"your group." +msgstr "" + +#: bp-core/bp-core-functions.php:3564 msgid "Recipient has received a private message." msgstr "" -#: bp-core/bp-core-functions.php:3390 +#: bp-core/bp-core-functions.php:3567 +msgid "You will no longer receive emails when someone sends you a message." +msgstr "" + +#: bp-core/bp-core-functions.php:3572 msgid "Recipient has changed their email address." msgstr "" -#: bp-core/bp-core-functions.php:3391 +#: bp-core/bp-core-functions.php:3577 msgid "Recipient had requested to join a group, which was accepted." msgstr "" -#: bp-core/bp-core-functions.php:3392 +#: bp-core/bp-core-functions.php:3580 bp-core/bp-core-functions.php:3588 +msgid "" +"You will no longer receive emails when your request to join a group has " +"been accepted or denied." +msgstr "" + +#: bp-core/bp-core-functions.php:3585 msgid "Recipient had requested to join a group, which was rejected." msgstr "" +#: bp-core/bp-core-functions.php:3633 bp-core/bp-core-functions.php:3639 +#: bp-core/bp-core-functions.php:3644 +msgid "Something has gone wrong." +msgstr "" + +#: bp-core/bp-core-functions.php:3634 bp-core/bp-core-functions.php:3640 +msgid "" +"Please log in and go to your settings to unsubscribe from notification " +"emails." +msgstr "" + +#: bp-core/bp-core-functions.php:3645 +msgid "Please go to your notifications settings to unsubscribe from emails." +msgstr "" + +#: bp-core/bp-core-functions.php:3673 +msgid "" +"You can change this or any other email notification preferences in your " +"email settings." +msgstr "" + #: bp-core/bp-core-moderation.php:135 msgid "You have posted too many links" msgstr "" @@ -2626,137 +2718,136 @@ msgstr "" msgid "%s Directory" msgstr "" -#: bp-core/bp-core-template.php:615 +#: bp-core/bp-core-template.php:680 msgid "Search anything..." msgstr "" -#: bp-core/bp-core-template.php:815 +#: bp-core/bp-core-template.php:880 msgid " […]" msgstr "" -#: bp-core/bp-core-template.php:1152 +#: bp-core/bp-core-template.php:1217 msgid "Community" msgstr "" -#: bp-core/bp-core-template.php:3129 +#: bp-core/bp-core-template.php:3194 #: bp-members/classes/class-bp-registration-theme-compat.php:100 msgid "Create an Account" msgstr "" -#: bp-core/bp-core-template.php:3133 +#: bp-core/bp-core-template.php:3198 #: bp-members/classes/class-bp-registration-theme-compat.php:108 msgid "Activate Your Account" msgstr "" -#: bp-core/bp-core-template.php:3137 bp-groups/bp-groups-template.php:3356 -#: bp-groups/bp-groups-template.php:3357 +#: bp-core/bp-core-template.php:3202 bp-groups/bp-groups-template.php:3566 msgid "Create a Group" msgstr "" -#: bp-core/classes/class-bp-admin.php:208 -#: bp-core/classes/class-bp-admin.php:209 -#: bp-core/classes/class-bp-admin.php:217 -#: bp-core/classes/class-bp-admin.php:218 +#: bp-core/classes/class-bp-admin.php:206 +#: bp-core/classes/class-bp-admin.php:207 +#: bp-core/classes/class-bp-admin.php:215 +#: bp-core/classes/class-bp-admin.php:216 msgid "Welcome to BuddyPress" msgstr "" -#: bp-core/classes/class-bp-admin.php:238 +#: bp-core/classes/class-bp-admin.php:236 msgid "BuddyPress Help" msgstr "" -#: bp-core/classes/class-bp-admin.php:239 +#: bp-core/classes/class-bp-admin.php:237 msgid "Help" msgstr "" -#: bp-core/classes/class-bp-admin.php:248 +#: bp-core/classes/class-bp-admin.php:246 msgid "BuddyPress Components" msgstr "" -#: bp-core/classes/class-bp-admin.php:257 -#: bp-core/classes/class-bp-admin.php:258 +#: bp-core/classes/class-bp-admin.php:255 +#: bp-core/classes/class-bp-admin.php:256 msgid "BuddyPress Pages" msgstr "" -#: bp-core/classes/class-bp-admin.php:266 -#: bp-core/classes/class-bp-admin.php:267 +#: bp-core/classes/class-bp-admin.php:264 +#: bp-core/classes/class-bp-admin.php:265 msgid "BuddyPress Options" msgstr "" -#: bp-core/classes/class-bp-admin.php:290 -#: bp-core/classes/class-bp-admin.php:291 +#: bp-core/classes/class-bp-admin.php:288 +#: bp-core/classes/class-bp-admin.php:289 msgid "Available Tools" msgstr "" -#: bp-core/classes/class-bp-admin.php:383 +#: bp-core/classes/class-bp-admin.php:381 msgid "Main Settings" msgstr "" -#: bp-core/classes/class-bp-admin.php:386 -#: bp-core/classes/class-bp-admin.php:391 +#: bp-core/classes/class-bp-admin.php:384 +#: bp-core/classes/class-bp-admin.php:389 msgid "Toolbar" msgstr "" -#: bp-core/classes/class-bp-admin.php:396 +#: bp-core/classes/class-bp-admin.php:394 msgid "Account Deletion" msgstr "" -#: bp-core/classes/class-bp-admin.php:407 +#: bp-core/classes/class-bp-admin.php:405 msgid "Profile Photo Uploads" msgstr "" -#: bp-core/classes/class-bp-admin.php:412 +#: bp-core/classes/class-bp-admin.php:410 msgid "Cover Image Uploads" msgstr "" -#: bp-core/classes/class-bp-admin.php:417 +#: bp-core/classes/class-bp-admin.php:415 msgid "Profile Syncing" msgstr "" -#: bp-core/classes/class-bp-admin.php:426 +#: bp-core/classes/class-bp-admin.php:424 msgid "Groups Settings" msgstr "" -#: bp-core/classes/class-bp-admin.php:429 +#: bp-core/classes/class-bp-admin.php:427 msgid "Group Creation" msgstr "" -#: bp-core/classes/class-bp-admin.php:433 +#: bp-core/classes/class-bp-admin.php:431 msgid "Group Photo Uploads" msgstr "" -#: bp-core/classes/class-bp-admin.php:438 +#: bp-core/classes/class-bp-admin.php:436 msgid "Group Cover Image Uploads" msgstr "" -#: bp-core/classes/class-bp-admin.php:448 +#: bp-core/classes/class-bp-admin.php:446 msgid "Legacy Group Forums" msgstr "" -#: bp-core/classes/class-bp-admin.php:451 +#: bp-core/classes/class-bp-admin.php:449 msgid "bbPress Configuration" msgstr "" -#: bp-core/classes/class-bp-admin.php:460 +#: bp-core/classes/class-bp-admin.php:458 msgid "Activity Settings" msgstr "" -#: bp-core/classes/class-bp-admin.php:463 +#: bp-core/classes/class-bp-admin.php:461 msgid "Blog & Forum Comments" msgstr "" -#: bp-core/classes/class-bp-admin.php:467 +#: bp-core/classes/class-bp-admin.php:465 msgid "Activity auto-refresh" msgstr "" -#: bp-core/classes/class-bp-admin.php:472 +#: bp-core/classes/class-bp-admin.php:470 msgid "Akismet" msgstr "" -#: bp-core/classes/class-bp-admin.php:490 +#: bp-core/classes/class-bp-admin.php:488 msgid "About BuddyPress" msgstr "" -#: bp-core/classes/class-bp-admin.php:514 +#: bp-core/classes/class-bp-admin.php:512 #: bp-groups/classes/class-bp-groups-component.php:652 #: bp-settings/classes/class-bp-settings-component.php:28 #: bp-settings/classes/class-bp-settings-component.php:101 @@ -2764,69 +2855,69 @@ msgstr "" msgid "Settings" msgstr "" -#: bp-core/classes/class-bp-admin.php:515 +#: bp-core/classes/class-bp-admin.php:513 msgid "About" msgstr "" -#: bp-core/classes/class-bp-admin.php:572 +#: bp-core/classes/class-bp-admin.php:570 msgid "Getting Started with BuddyPress" msgstr "" -#: bp-core/classes/class-bp-admin.php:575 +#: bp-core/classes/class-bp-admin.php:573 msgid "Configure BuddyPress" msgstr "" -#: bp-core/classes/class-bp-admin.php:578 +#: bp-core/classes/class-bp-admin.php:576 msgid "Set Up Components" msgstr "" -#: bp-core/classes/class-bp-admin.php:581 +#: bp-core/classes/class-bp-admin.php:579 msgid "Assign Components to Pages" msgstr "" -#: bp-core/classes/class-bp-admin.php:584 +#: bp-core/classes/class-bp-admin.php:582 msgid "Customize Settings" msgstr "" -#: bp-core/classes/class-bp-admin.php:587 +#: bp-core/classes/class-bp-admin.php:585 msgid "Get Started" msgstr "" -#: bp-core/classes/class-bp-admin.php:590 +#: bp-core/classes/class-bp-admin.php:588 msgid "Administration Tools" msgstr "" -#: bp-core/classes/class-bp-admin.php:593 +#: bp-core/classes/class-bp-admin.php:591 msgid "Add User Profile Fields" msgstr "" -#: bp-core/classes/class-bp-admin.php:595 +#: bp-core/classes/class-bp-admin.php:593 msgid "Manage User Signups" msgstr "" -#: bp-core/classes/class-bp-admin.php:597 +#: bp-core/classes/class-bp-admin.php:595 msgid "Moderate Activity Streams" msgstr "" -#: bp-core/classes/class-bp-admin.php:600 +#: bp-core/classes/class-bp-admin.php:598 msgid "Manage Groups" msgstr "" -#: bp-core/classes/class-bp-admin.php:602 +#: bp-core/classes/class-bp-admin.php:600 msgid "Repair Data" msgstr "" -#: bp-core/classes/class-bp-admin.php:607 +#: bp-core/classes/class-bp-admin.php:605 msgid "Community and Support" msgstr "" -#: bp-core/classes/class-bp-admin.php:608 +#: bp-core/classes/class-bp-admin.php:606 msgid "" "Looking for help? The <a href=\"https://codex.buddypress.org/\">BuddyPress " "Codex</a> has you covered." msgstr "" -#: bp-core/classes/class-bp-admin.php:609 +#: bp-core/classes/class-bp-admin.php:607 msgid "" "Can’t find what you need? Stop by <a " "href=\"https://buddypress.org/support/\">our support forums</a>, where " @@ -2834,224 +2925,232 @@ msgid "" msgstr "" #: bp-core/classes/class-bp-admin.php:618 -msgid "Activity Embeds" +msgid "Groups Query Overhaul" +msgstr "" + +#: bp-core/classes/class-bp-admin.php:622 +#. translators: %s: URL to the development post about this feature +msgid "" +"Huge performance improvements on sites using persistent caching. <a " +"href=\"%s\">Learn more about the Groups Query rewrite</a>." msgstr "" #: bp-core/classes/class-bp-admin.php:630 -#: bp-core/classes/class-bp-admin.php:638 -msgid "View the Activity Embeds demo" +msgid "For Developers & Site Builders" msgstr "" -#: bp-core/classes/class-bp-admin.php:631 -#: bp-core/classes/class-bp-admin.php:637 -msgid "Embed activities into your WordPress posts or pages." +#: bp-core/classes/class-bp-admin.php:634 +msgid "Improved Profile Date Field" msgstr "" -#: bp-core/classes/class-bp-admin.php:638 +#: bp-core/classes/class-bp-admin.php:635 msgid "" -"Copy the permalink URL of the activity of your choice, paste it into the " -"content editor of your WordPress post or page, and <em>voilà</em>!, " -"you've embedded an activity update." +"New Date Field settings, \"Date format\" and \"Range\", make it easier for " +"site administrators to decide how date-based data will be collected and " +"displayed." msgstr "" -#: bp-core/classes/class-bp-admin.php:646 bp-forums/deprecated/1.6.php:71 -#: bp-forums/deprecated/1.6.php:221 -msgid "Features" +#: bp-core/classes/class-bp-admin.php:640 +msgid "Group Types Integration in Templates" msgstr "" -#: bp-core/classes/class-bp-admin.php:649 -msgid "Custom Front Page for Member Profile " +#: bp-core/classes/class-bp-admin.php:643 +#. translators: %s: URL to the BuddyPress Codex article +msgid "" +"Enable developers to show Group Types on the front end as well as control " +"where the group type information is rendered. <a href=\"%s\">Learn how to " +"implement this feature</a>." msgstr "" #: bp-core/classes/class-bp-admin.php:650 -msgid "A member custom front page using widgets." +msgid "Use the Site Icon as Your Site’s Profile Photo" msgstr "" -#: bp-core/classes/class-bp-admin.php:651 +#: bp-core/classes/class-bp-admin.php:653 +#. translators: %s: URL to the WordPress Codex article msgid "" -"Theme developers or site owners can create custom front pages for their " -"community's members by adding a <code>front.php</code> template to " -"their template overrides. A specific template hierarchy is also available " -"to make them even more unique." -msgstr "" - -#: bp-core/classes/class-bp-admin.php:651 -msgid "Read all about this new feature." +"BuddyPress sets the site admin’s profile photo as the default site " +"profile photo on the Sites Directory page. You can now <a href=\"%s\">use " +"the Site Icon introduced in WordPress 4.3</a> instead." msgstr "" -#: bp-core/classes/class-bp-admin.php:655 -msgid "Group Types API" +#: bp-core/classes/class-bp-admin.php:660 +msgid "Member Type and Group Type Filters in Users and Groups Admin Screens" msgstr "" -#: bp-core/classes/class-bp-admin.php:656 -msgid "Group types metabox in Groups admin page." -msgstr "" - -#: bp-core/classes/class-bp-admin.php:657 +#: bp-core/classes/class-bp-admin.php:661 msgid "" -"Registering group types finally enables a strict separation of different " -"and explicit types of groups. This new feature is available to plugin " -"developers starting with BuddyPress 2.6." +"Easily filter your members and groups by type and set types in bulk on the " +"users and groups list tables in the dashboard." msgstr "" -#: bp-core/classes/class-bp-admin.php:657 -msgid "Learn how to set up Group Types." +#: bp-core/classes/class-bp-admin.php:666 +msgid "Localized Timestamps" msgstr "" -#: bp-core/classes/class-bp-admin.php:661 -msgid "New Navigation API" +#: bp-core/classes/class-bp-admin.php:667 +msgid "" +"Fix inaccurate timestamps due to time zones or page caching with new " +"client-side timestamp handling." msgstr "" -#: bp-core/classes/class-bp-admin.php:662 -msgid "Sample code for using the new navigation API" +#: bp-core/classes/class-bp-admin.php:672 +msgid "Links to Unsubscribe from Emails" msgstr "" -#: bp-core/classes/class-bp-admin.php:663 +#: bp-core/classes/class-bp-admin.php:673 msgid "" -"The member and group navigation system has been totally rewritten, making " -"it easier than ever to customize BuddyPress nav items." +"Improve user experience by facilitating the removal of any or all " +"subscriptions via new email tokens and unsubscribe links." msgstr "" -#: bp-core/classes/class-bp-admin.php:663 -msgid "Read the informative commit message." +#: bp-core/classes/class-bp-admin.php:678 +msgid "Use WP Page Names for Headings of BP Directory Pages" msgstr "" -#: bp-core/classes/class-bp-admin.php:667 -msgid "Stylesheets for Twenty Eleven and Twenty Ten" +#: bp-core/classes/class-bp-admin.php:679 +msgid "" +"Whatever you choose as the title of your Activity, Sites, Members, or " +"Groups directory pages on the back end, is what you’ll get as the " +"heading on the front end." msgstr "" -#: bp-core/classes/class-bp-admin.php:668 -msgid "Styled BuddyPress components in Twenty Eleven and Twenty Ten" +#: bp-core/classes/class-bp-admin.php:684 +msgid "Accessibility Updates for the Front End and Back End" msgstr "" -#: bp-core/classes/class-bp-admin.php:669 +#: bp-core/classes/class-bp-admin.php:685 msgid "" -"BuddyPress feels right at home now in the classic default themes, Twenty " -"Ten and Twenty Eleven." -msgstr "" - -#: bp-core/classes/class-bp-admin.php:674 -msgid "Under The Hood" +"Continued improvements for universal access help make BuddyPress back- and " +"front-end screens usable for everyone (and on more devices)." msgstr "" -#: bp-core/classes/class-bp-admin.php:678 -msgid "Performance Enhancements" +#: bp-core/classes/class-bp-admin.php:692 +#. translators: %s: BP_Button +msgid "Refactored %s Class to Accept New Arguments" msgstr "" -#: bp-core/classes/class-bp-admin.php:679 +#: bp-core/classes/class-bp-admin.php:694 msgid "" -"Class autoloading reduces the memory needed to run BuddyPress on your " -"server. Improved caching strategies for group membership statuses mean " -"fewer round trips to your overworked database server." +"Provides developers with improved syntax and more control over the " +"rendering of buttons." msgstr "" -#: bp-core/classes/class-bp-admin.php:680 -msgid "Localization Improvements" +#: bp-core/classes/class-bp-admin.php:699 +msgid "Improvements to a Single Group’s Management Screens" msgstr "" -#: bp-core/classes/class-bp-admin.php:681 +#: bp-core/classes/class-bp-admin.php:700 msgid "" -"Improved localization strings and comments help translators do their " -"much-appreciated work: making BuddyPress available in many languages." +"Improved markup, new modular group management templates, and a new member " +"search form are just some of the enhancements added to the single group " +"admin screens." msgstr "" -#: bp-core/classes/class-bp-admin.php:685 -msgid "Notifications Updates" +#: bp-core/classes/class-bp-admin.php:707 +#. translators: %s: parent_id +msgid "Support for Querying for Groups by New Column %s" msgstr "" -#: bp-core/classes/class-bp-admin.php:686 +#: bp-core/classes/class-bp-admin.php:709 msgid "" -"Adjustments to the notifications component allow members to receive timely " -"and relevant updates about activity in your community." +"Query support for hierarchical groups makes it much easier for developers " +"to add custom front-end functionality." msgstr "" -#: bp-core/classes/class-bp-admin.php:687 -msgid "Accessibility Upgrades" +#: bp-core/classes/class-bp-admin.php:714 +msgid "Many, Many Performance Improvements" msgstr "" -#: bp-core/classes/class-bp-admin.php:688 +#: bp-core/classes/class-bp-admin.php:717 +#. translators: %s: bp_get_user_groups() msgid "" -"Continued improvements help make BuddyPress' back- and front-end " -"screens usable for everyone (and on more devices)." +"Improved performance by removing extra database queries, adding new cache " +"calls, and removing the number of loops in %s." msgstr "" -#: bp-core/classes/class-bp-admin.php:689 -msgid "Developer Reference" +#: bp-core/classes/class-bp-admin.php:726 +msgid "And so much more!" msgstr "" -#: bp-core/classes/class-bp-admin.php:690 -msgid "" -"Regular updates to inline code documentation make it easier for developers " -"to understand how BuddyPress works." +#: bp-core/classes/class-bp-admin.php:729 +#. translators: %s: URL to the BuddyPress Codex article +msgid "<a href=\"%s\">Changelog for BuddyPress 2.7.</a>" msgstr "" -#: bp-core/classes/class-bp-admin.php:724 +#: bp-core/classes/class-bp-admin.php:763 msgid "BuddyPress is created by a worldwide network of friendly folks like these." msgstr "" -#: bp-core/classes/class-bp-admin.php:726 +#: bp-core/classes/class-bp-admin.php:765 msgid "Project Leaders" msgstr "" -#: bp-core/classes/class-bp-admin.php:731 +#: bp-core/classes/class-bp-admin.php:770 msgid "Project Lead" msgstr "" -#: bp-core/classes/class-bp-admin.php:736 -#: bp-core/classes/class-bp-admin.php:741 +#: bp-core/classes/class-bp-admin.php:775 +#: bp-core/classes/class-bp-admin.php:780 msgid "Lead Developer" msgstr "" -#: bp-core/classes/class-bp-admin.php:745 -msgid "Core Team" +#: bp-core/classes/class-bp-admin.php:784 +msgid "BuddyPress Team" msgstr "" -#: bp-core/classes/class-bp-admin.php:750 -#: bp-core/classes/class-bp-admin.php:755 -#: bp-core/classes/class-bp-admin.php:765 -#: bp-core/classes/class-bp-admin.php:770 -#: bp-core/classes/class-bp-admin.php:775 +#: bp-core/classes/class-bp-admin.php:789 +msgid "2.7 Release Lead" +msgstr "" + +#: bp-core/classes/class-bp-admin.php:794 +#: bp-core/classes/class-bp-admin.php:799 +#: bp-core/classes/class-bp-admin.php:804 +#: bp-core/classes/class-bp-admin.php:809 +#: bp-core/classes/class-bp-admin.php:814 msgid "Core Developer" msgstr "" -#: bp-core/classes/class-bp-admin.php:760 -msgid "Navigator" +#: bp-core/classes/class-bp-admin.php:819 +#: bp-core/classes/class-bp-admin.php:824 +#: bp-core/classes/class-bp-admin.php:829 +msgid "Community Support" msgstr "" -#: bp-core/classes/class-bp-admin.php:779 +#: bp-core/classes/class-bp-admin.php:833 msgid "🌟Recent Rockstars🌟" msgstr "" -#: bp-core/classes/class-bp-admin.php:820 +#: bp-core/classes/class-bp-admin.php:865 msgid "Contributors to BuddyPress %s" msgstr "" -#: bp-core/classes/class-bp-admin.php:866 +#: bp-core/classes/class-bp-admin.php:907 msgid "💖With our thanks to these Open Source projects💖" msgstr "" -#: bp-core/classes/class-bp-admin.php:892 +#: bp-core/classes/class-bp-admin.php:935 msgid "" -"Thank you for installing BuddyPress! BuddyPress helps you build any type of " -"community website using WordPress, with member profiles, activity streams, " -"user groups, messaging, and more." +"Thank you for installing BuddyPress! BuddyPress helps site builders and " +"WordPress developers add community features to their websites, with user " +"profile fields, activity streams, messaging, and notifications." msgstr "" -#: bp-core/classes/class-bp-admin.php:893 +#: bp-core/classes/class-bp-admin.php:936 msgid "" "Thank you for updating! BuddyPress %s has many new features that you will " "enjoy." msgstr "" -#: bp-core/classes/class-bp-admin.php:897 +#: bp-core/classes/class-bp-admin.php:940 msgid "Welcome to BuddyPress %s" msgstr "" -#: bp-core/classes/class-bp-admin.php:926 +#: bp-core/classes/class-bp-admin.php:969 msgid "What’s New" msgstr "" -#: bp-core/classes/class-bp-admin.php:928 +#: bp-core/classes/class-bp-admin.php:971 msgid "Credits" msgstr "" @@ -3066,43 +3165,43 @@ msgid_plural "Please upload only these file types: %s." msgstr[0] "" msgstr[1] "" -#: bp-core/classes/class-bp-attachment-avatar.php:369 +#: bp-core/classes/class-bp-attachment-avatar.php:366 #: bp-xprofile/bp-xprofile-screens.php:261 msgid "There was a problem cropping your profile photo." msgstr "" -#: bp-core/classes/class-bp-attachment-avatar.php:370 +#: bp-core/classes/class-bp-attachment-avatar.php:367 #: bp-xprofile/bp-xprofile-screens.php:275 msgid "Your new profile photo was uploaded successfully." msgstr "" -#: bp-core/classes/class-bp-attachment-avatar.php:371 +#: bp-core/classes/class-bp-attachment-avatar.php:368 #: bp-xprofile/bp-xprofile-actions.php:42 msgid "There was a problem deleting your profile photo. Please try again." msgstr "" -#: bp-core/classes/class-bp-attachment-avatar.php:372 +#: bp-core/classes/class-bp-attachment-avatar.php:369 #: bp-xprofile/bp-xprofile-actions.php:40 msgid "Your profile photo was deleted successfully!" msgstr "" -#: bp-core/classes/class-bp-attachment-avatar.php:387 -#: bp-groups/bp-groups-screens.php:1024 +#: bp-core/classes/class-bp-attachment-avatar.php:384 +#: bp-groups/bp-groups-screens.php:1066 msgid "There was a problem cropping the group profile photo." msgstr "" -#: bp-core/classes/class-bp-attachment-avatar.php:388 -#: bp-groups/bp-groups-actions.php:361 +#: bp-core/classes/class-bp-attachment-avatar.php:385 +#: bp-groups/bp-groups-actions.php:366 msgid "The group profile photo was uploaded successfully." msgstr "" -#: bp-core/classes/class-bp-attachment-avatar.php:389 -#: bp-groups/bp-groups-screens.php:981 +#: bp-core/classes/class-bp-attachment-avatar.php:386 +#: bp-groups/bp-groups-screens.php:1023 msgid "There was a problem deleting the group profile photo. Please try again." msgstr "" -#: bp-core/classes/class-bp-attachment-avatar.php:390 -#: bp-groups/bp-groups-screens.php:979 +#: bp-core/classes/class-bp-attachment-avatar.php:387 +#: bp-groups/bp-groups-screens.php:1021 msgid "The group profile photo was deleted successfully!" msgstr "" @@ -3211,7 +3310,7 @@ msgstr "" #: bp-core/classes/class-bp-core-login-widget.php:108 #: bp-members/classes/class-bp-members-list-table.php:150 #: bp-members/classes/class-bp-members-ms-list-table.php:137 -#: bp-templates/bp-legacy/buddypress/members/register.php:76 +#: bp-templates/bp-legacy/buddypress/members/register.php:84 msgid "Username" msgstr "" @@ -3229,18 +3328,18 @@ msgstr "" #: bp-core/classes/class-bp-core-login-widget.php:180 #: bp-groups/classes/class-bp-groups-widget.php:215 -#: bp-members/classes/class-bp-core-members-widget.php:211 -#: bp-members/classes/class-bp-core-recently-active-widget.php:145 -#: bp-members/classes/class-bp-core-whos-online-widget.php:145 +#: bp-members/classes/class-bp-core-members-widget.php:207 +#: bp-members/classes/class-bp-core-recently-active-widget.php:143 +#: bp-members/classes/class-bp-core-whos-online-widget.php:142 #: bp-messages/classes/class-bp-messages-sitewide-notices-widget.php:116 -#: bp-templates/bp-legacy/buddypress/forums/index.php:168 +#: bp-templates/bp-legacy/buddypress/forums/index.php:179 #: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:74 #: bp-templates/bp-legacy/buddypress/groups/single/forum.php:106 msgid "Title:" msgstr "" #: bp-core/classes/class-bp-core-user.php:191 -#: bp-groups/classes/class-bp-groups-invite-template.php:244 +#: bp-groups/classes/class-bp-groups-invite-template.php:245 msgid "%d group" msgid_plural "%d groups" msgstr[0] "" @@ -3300,25 +3399,25 @@ msgid "" msgstr "" #: bp-core/deprecated/1.6.php:127 bp-core/deprecated/1.6.php:148 -#: bp-groups/bp-groups-template.php:5008 bp-groups/bp-groups-template.php:5031 +#: bp-groups/bp-groups-template.php:5246 bp-groups/bp-groups-template.php:5269 msgid "Recently Active" msgstr "" #: bp-core/deprecated/1.6.php:128 bp-core/deprecated/1.6.php:151 #: bp-friends/classes/class-bp-core-friends-widget.php:105 -#: bp-friends/classes/class-bp-core-friends-widget.php:200 -#: bp-groups/bp-groups-template.php:4284 +#: bp-friends/classes/class-bp-core-friends-widget.php:197 +#: bp-groups/bp-groups-template.php:4522 #: bp-groups/classes/class-bp-groups-widget.php:121 #: bp-groups/classes/class-bp-groups-widget.php:224 -#: bp-members/classes/class-bp-core-members-widget.php:114 -#: bp-members/classes/class-bp-core-members-widget.php:233 -#: bp-templates/bp-legacy/buddypress/blogs/index.php:90 +#: bp-members/classes/class-bp-core-members-widget.php:111 +#: bp-members/classes/class-bp-core-members-widget.php:229 +#: bp-templates/bp-legacy/buddypress/blogs/index.php:99 #: bp-templates/bp-legacy/buddypress/members/single/blogs.php:21 msgid "Newest" msgstr "" #: bp-core/deprecated/1.6.php:129 bp-core/deprecated/1.6.php:154 -#: bp-groups/bp-groups-template.php:5013 bp-groups/bp-groups-template.php:5046 +#: bp-groups/bp-groups-template.php:5251 bp-groups/bp-groups-template.php:5284 msgid "Alphabetically" msgstr "" @@ -3375,6 +3474,8 @@ msgid "Edit Details" msgstr "" #: bp-core/deprecated/2.1.php:369 +#: bp-templates/bp-legacy/buddypress/groups/create.php:102 +#. translators: accessibility text msgid "Group Settings" msgstr "" @@ -3388,6 +3489,7 @@ msgid "Manage Invitations" msgstr "" #: bp-core/deprecated/2.1.php:383 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:11 msgid "Manage Members" msgstr "" @@ -3395,8 +3497,9 @@ msgstr "" msgid "Membership Requests" msgstr "" -#: bp-core/deprecated/2.1.php:391 bp-groups/bp-groups-admin.php:1026 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:487 +#: bp-core/deprecated/2.1.php:391 bp-groups/bp-groups-admin.php:1022 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php:11 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php:38 #: bp-xprofile/bp-xprofile-admin.php:157 msgid "Delete Group" msgstr "" @@ -3453,19 +3556,19 @@ msgstr "" msgid "The forums component has not been set up yet." msgstr "" -#: bp-forums/bp-forums-screens.php:56 bp-groups/bp-groups-screens.php:530 +#: bp-forums/bp-forums-screens.php:56 bp-groups/bp-groups-screens.php:546 msgid "Please provide a title for your forum topic." msgstr "" -#: bp-forums/bp-forums-screens.php:58 bp-groups/bp-groups-screens.php:532 +#: bp-forums/bp-forums-screens.php:58 bp-groups/bp-groups-screens.php:548 msgid "Forum posts cannot be empty. Please enter some text." msgstr "" -#: bp-forums/bp-forums-screens.php:65 bp-groups/bp-groups-screens.php:544 +#: bp-forums/bp-forums-screens.php:65 bp-groups/bp-groups-screens.php:560 msgid "There was an error when creating the topic" msgstr "" -#: bp-forums/bp-forums-screens.php:68 bp-groups/bp-groups-screens.php:547 +#: bp-forums/bp-forums-screens.php:68 bp-groups/bp-groups-screens.php:563 msgid "The topic was created successfully" msgstr "" @@ -3473,17 +3576,16 @@ msgstr "" msgid "Please pick the group forum where you would like to post this topic." msgstr "" -#: bp-forums/bp-forums-screens.php:301 bp-groups/bp-groups-template.php:3164 -#: bp-groups/bp-groups-template.php:3165 +#: bp-forums/bp-forums-screens.php:301 bp-groups/bp-groups-template.php:3380 #: bp-templates/bp-legacy/buddypress/groups/single/forum.php:30 msgid "New Topic" msgstr "" #: bp-forums/bp-forums-template.php:930 bp-forums/bp-forums-template.php:1111 -#: bp-forums/bp-forums-template.php:2651 -#: bp-messages/bp-messages-template.php:1627 -#: bp-messages/bp-messages-template.php:1878 -#: bp-messages/classes/class-bp-messages-thread.php:800 +#: bp-forums/bp-forums-template.php:2646 +#: bp-messages/bp-messages-template.php:1626 +#: bp-messages/bp-messages-template.php:1877 +#: bp-messages/classes/class-bp-messages-thread.php:823 msgid "Deleted User" msgstr "" @@ -3491,57 +3593,55 @@ msgstr "" msgid "Group logo for %s" msgstr "" -#: bp-forums/bp-forums-template.php:1463 bp-groups/bp-groups-template.php:1914 +#: bp-forums/bp-forums-template.php:1454 bp-groups/bp-groups-template.php:2130 msgid "%d post" -msgstr "" - -#: bp-forums/bp-forums-template.php:1467 bp-groups/bp-groups-template.php:1916 -msgid "%d posts" -msgstr "" +msgid_plural "%d posts" +msgstr[0] "" +msgstr[1] "" -#: bp-forums/bp-forums-template.php:1730 +#: bp-forums/bp-forums-template.php:1725 msgid "Edit Topic" msgstr "" -#: bp-forums/bp-forums-template.php:1734 +#: bp-forums/bp-forums-template.php:1729 msgid "Sticky Topic" msgstr "" -#: bp-forums/bp-forums-template.php:1736 +#: bp-forums/bp-forums-template.php:1731 msgid "Un-stick Topic" msgstr "" -#: bp-forums/bp-forums-template.php:1739 +#: bp-forums/bp-forums-template.php:1734 msgid "Open Topic" msgstr "" -#: bp-forums/bp-forums-template.php:1741 +#: bp-forums/bp-forums-template.php:1736 msgid "Close Topic" msgstr "" -#: bp-forums/bp-forums-template.php:1743 +#: bp-forums/bp-forums-template.php:1738 msgid "Delete Topic" msgstr "" -#: bp-forums/bp-forums-template.php:2053 +#: bp-forums/bp-forums-template.php:2048 msgid " matching tag \"%s\"" msgstr "" -#: bp-forums/bp-forums-template.php:2056 +#: bp-forums/bp-forums-template.php:2051 msgid "Viewing 1 topic" msgstr "" -#: bp-forums/bp-forums-template.php:2058 +#: bp-forums/bp-forums-template.php:2053 msgid "Viewing %1$s - %2$s of %3$s topic" msgid_plural "Viewing %1$s - %2$s of %3$s topics" msgstr[0] "" msgstr[1] "" -#: bp-forums/bp-forums-template.php:2872 +#: bp-forums/bp-forums-template.php:2867 msgid "Viewing 1 post" msgstr "" -#: bp-forums/bp-forums-template.php:2874 +#: bp-forums/bp-forums-template.php:2869 msgid "Viewing %1$s - %2$s of %3$s post" msgid_plural "Viewing %1$s - %2$s of %3$s posts" msgstr[0] "" @@ -3579,6 +3679,10 @@ msgid "" "the future. Only use this component if your current site relies on it." msgstr "" +#: bp-forums/deprecated/1.6.php:71 bp-forums/deprecated/1.6.php:221 +msgid "Features" +msgstr "" + #: bp-forums/deprecated/1.6.php:73 bp-forums/deprecated/1.6.php:223 msgid "Group Integration" msgstr "" @@ -3744,7 +3848,7 @@ msgid "You already have a pending friendship request with this user" msgstr "" #: bp-friends/bp-friends-actions.php:80 -#: bp-templates/bp-legacy/buddypress-functions.php:1345 +#: bp-templates/bp-legacy/buddypress-functions.php:1360 msgid "Friendship could not be canceled." msgstr "" @@ -3766,7 +3870,7 @@ msgstr "" #: bp-friends/bp-friends-activity.php:106 #: bp-friends/bp-friends-activity.php:115 -#: bp-friends/classes/class-bp-friends-component.php:264 +#: bp-friends/classes/class-bp-friends-component.php:268 msgid "Friendships" msgstr "" @@ -3783,19 +3887,19 @@ msgstr "" msgid "%1$s and %2$s are now friends" msgstr "" -#: bp-friends/bp-friends-notifications.php:106 +#: bp-friends/bp-friends-notifications.php:41 msgid "%d friends accepted your friendship requests" msgstr "" -#: bp-friends/bp-friends-notifications.php:109 +#: bp-friends/bp-friends-notifications.php:44 msgid "%s accepted your friendship request" msgstr "" -#: bp-friends/bp-friends-notifications.php:122 +#: bp-friends/bp-friends-notifications.php:57 msgid "You have %d pending friendship requests" msgstr "" -#: bp-friends/bp-friends-notifications.php:125 +#: bp-friends/bp-friends-notifications.php:60 msgid "You have a friendship request from %s" msgstr "" @@ -3861,32 +3965,25 @@ msgid "%d friends" msgstr "" #: bp-friends/bp-friends-template.php:371 -#: bp-templates/bp-legacy/buddypress-functions.php:1357 +#: bp-templates/bp-legacy/buddypress-functions.php:1372 msgid "Cancel Friendship Request" msgstr "" -#: bp-friends/bp-friends-template.php:372 -msgid "Cancel Friendship Requested" -msgstr "" - -#: bp-friends/bp-friends-template.php:388 -#: bp-friends/bp-friends-template.php:389 +#: bp-friends/bp-friends-template.php:387 msgid "Friendship Requested" msgstr "" -#: bp-friends/bp-friends-template.php:405 -#: bp-friends/bp-friends-template.php:406 +#: bp-friends/bp-friends-template.php:403 msgid "Cancel Friendship" msgstr "" -#: bp-friends/bp-friends-template.php:422 -#: bp-friends/bp-friends-template.php:423 -#: bp-templates/bp-legacy/buddypress-functions.php:1347 -#: bp-templates/bp-legacy/buddypress-functions.php:1365 +#: bp-friends/bp-friends-template.php:419 +#: bp-templates/bp-legacy/buddypress-functions.php:1362 +#: bp-templates/bp-legacy/buddypress-functions.php:1380 msgid "Add Friend" msgstr "" -#: bp-friends/bp-friends-template.php:723 +#: bp-friends/bp-friends-template.php:719 msgid "%s friend" msgid_plural "%s friends" msgstr[0] "" @@ -3903,47 +4000,47 @@ msgid "" msgstr "" #: bp-friends/classes/class-bp-core-friends-widget.php:106 -#: bp-friends/classes/class-bp-core-friends-widget.php:201 +#: bp-friends/classes/class-bp-core-friends-widget.php:198 #: bp-groups/classes/class-bp-groups-widget.php:123 #: bp-groups/classes/class-bp-groups-widget.php:225 -#: bp-members/classes/class-bp-core-members-widget.php:116 -#: bp-members/classes/class-bp-core-members-widget.php:234 -#: bp-members/classes/class-bp-members-admin.php:995 +#: bp-members/classes/class-bp-core-members-widget.php:113 +#: bp-members/classes/class-bp-core-members-widget.php:230 +#: bp-members/classes/class-bp-members-admin.php:1051 msgid "Active" msgstr "" #: bp-friends/classes/class-bp-core-friends-widget.php:107 -#: bp-friends/classes/class-bp-core-friends-widget.php:202 +#: bp-friends/classes/class-bp-core-friends-widget.php:199 #: bp-groups/classes/class-bp-groups-widget.php:125 #: bp-groups/classes/class-bp-groups-widget.php:226 -#: bp-members/classes/class-bp-core-members-widget.php:120 -#: bp-members/classes/class-bp-core-members-widget.php:235 +#: bp-members/classes/class-bp-core-members-widget.php:117 +#: bp-members/classes/class-bp-core-members-widget.php:231 msgid "Popular" msgstr "" -#: bp-friends/classes/class-bp-core-friends-widget.php:142 +#: bp-friends/classes/class-bp-core-friends-widget.php:139 #: bp-templates/bp-legacy/buddypress/members/members-loop.php:142 msgid "Sorry, no members were found." msgstr "" -#: bp-friends/classes/class-bp-core-friends-widget.php:193 -#: bp-members/classes/class-bp-core-members-widget.php:219 +#: bp-friends/classes/class-bp-core-friends-widget.php:190 +#: bp-members/classes/class-bp-core-members-widget.php:215 msgid "Link widget title to Members directory" msgstr "" -#: bp-friends/classes/class-bp-core-friends-widget.php:195 +#: bp-friends/classes/class-bp-core-friends-widget.php:192 msgid "Max friends to show:" msgstr "" -#: bp-friends/classes/class-bp-core-friends-widget.php:198 +#: bp-friends/classes/class-bp-core-friends-widget.php:195 msgid "Default friends to show:" msgstr "" -#: bp-friends/classes/class-bp-friends-component.php:104 +#: bp-friends/classes/class-bp-friends-component.php:108 msgid "Search Friends..." msgstr "" -#: bp-friends/classes/class-bp-friends-component.php:145 +#: bp-friends/classes/class-bp-friends-component.php:149 #. translators: %s: Friend count for the current user msgid "Friends %s" msgstr "" @@ -3973,41 +4070,41 @@ msgstr "" msgid "Please fill in all of the required fields" msgstr "" -#: bp-groups/bp-groups-actions.php:326 bp-groups/bp-groups-screens.php:686 +#: bp-groups/bp-groups-actions.php:331 bp-groups/bp-groups-screens.php:702 msgid "Invite successfully removed" msgstr "" -#: bp-groups/bp-groups-actions.php:330 bp-groups/bp-groups-screens.php:697 +#: bp-groups/bp-groups-actions.php:335 bp-groups/bp-groups-screens.php:713 msgid "There was an error removing the invite" msgstr "" -#: bp-groups/bp-groups-actions.php:359 +#: bp-groups/bp-groups-actions.php:364 msgid "" "There was an error saving the group profile photo, please try uploading " "again." msgstr "" -#: bp-groups/bp-groups-actions.php:400 bp-groups/bp-groups-actions.php:407 +#: bp-groups/bp-groups-actions.php:405 bp-groups/bp-groups-actions.php:412 msgid "There was an error joining the group." msgstr "" -#: bp-groups/bp-groups-actions.php:409 +#: bp-groups/bp-groups-actions.php:414 msgid "You joined the group!" msgstr "" -#: bp-groups/bp-groups-actions.php:456 bp-groups/bp-groups-screens.php:1140 +#: bp-groups/bp-groups-actions.php:461 bp-groups/bp-groups-screens.php:1182 msgid "This group must have at least one admin" msgstr "" -#: bp-groups/bp-groups-actions.php:458 +#: bp-groups/bp-groups-actions.php:463 msgid "There was an error leaving the group." msgstr "" -#: bp-groups/bp-groups-actions.php:460 bp-groups/bp-groups-functions.php:453 +#: bp-groups/bp-groups-actions.php:465 bp-groups/bp-groups-functions.php:460 msgid "You successfully left the group." msgstr "" -#: bp-groups/bp-groups-actions.php:560 +#: bp-groups/bp-groups-actions.php:565 msgid "Activity feed for the group, %s." msgstr "" @@ -4051,27 +4148,27 @@ msgstr "" msgid "Forum Replies" msgstr "" -#: bp-groups/bp-groups-activity.php:107 +#: bp-groups/bp-groups-activity.php:104 msgid "%1$s created the group %2$s" msgstr "" -#: bp-groups/bp-groups-activity.php:138 bp-groups/bp-groups-activity.php:444 +#: bp-groups/bp-groups-activity.php:132 bp-groups/bp-groups-activity.php:435 msgid "%1$s joined the group %2$s" msgstr "" -#: bp-groups/bp-groups-activity.php:188 +#: bp-groups/bp-groups-activity.php:179 msgid "%1$s updated details for the group %2$s" msgstr "" -#: bp-groups/bp-groups-activity.php:192 +#: bp-groups/bp-groups-activity.php:183 msgid "%1$s changed the name and description of the group %2$s" msgstr "" -#: bp-groups/bp-groups-activity.php:196 +#: bp-groups/bp-groups-activity.php:187 msgid "%1$s changed the name of the group %2$s from \"%3$s\" to \"%4$s\"" msgstr "" -#: bp-groups/bp-groups-activity.php:200 +#: bp-groups/bp-groups-activity.php:191 msgid "%1$s changed the description of the group %2$s from \"%3$s\" to \"%4$s\"" msgstr "" @@ -4225,7 +4322,7 @@ msgid "You are about to delete the following groups:" msgstr "" #: bp-groups/bp-groups-admin.php:709 -#: bp-members/classes/class-bp-members-admin.php:2025 +#: bp-members/classes/class-bp-members-admin.php:2082 msgid "This action cannot be undone." msgstr "" @@ -4235,10 +4332,10 @@ msgid_plural "%s groups have been permanently deleted." msgstr[0] "" msgstr[1] "" -#: bp-groups/bp-groups-admin.php:758 bp-groups/bp-groups-notifications.php:444 -#: bp-groups/bp-groups-notifications.php:533 -#: bp-groups/bp-groups-notifications.php:619 -#: bp-groups/bp-groups-notifications.php:701 +#: bp-groups/bp-groups-admin.php:758 bp-groups/bp-groups-notifications.php:486 +#: bp-groups/bp-groups-notifications.php:575 +#: bp-groups/bp-groups-notifications.php:661 +#: bp-groups/bp-groups-notifications.php:743 #: bp-groups/classes/class-bp-groups-widget.php:75 #: bp-groups/classes/class-bp-groups-widget.php:202 msgid "Groups" @@ -4249,8 +4346,8 @@ msgid "Search all Groups" msgstr "" #: bp-groups/bp-groups-admin.php:801 -#: bp-templates/bp-legacy/buddypress/groups/create.php:156 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:91 +#: bp-templates/bp-legacy/buddypress/groups/create.php:201 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:27 msgid "Enable discussion forum" msgstr "" @@ -4258,172 +4355,174 @@ msgstr "" msgid "Privacy" msgstr "" -#: bp-groups/bp-groups-admin.php:810 bp-groups/bp-groups-template.php:1007 -#: bp-groups/classes/class-bp-groups-list-table.php:563 +#: bp-groups/bp-groups-admin.php:809 bp-groups/bp-groups-template.php:1233 +#: bp-groups/classes/class-bp-groups-list-table.php:601 msgid "Public" msgstr "" -#: bp-groups/bp-groups-admin.php:811 bp-groups/bp-groups-template.php:1009 -#: bp-groups/classes/class-bp-groups-list-table.php:566 +#: bp-groups/bp-groups-admin.php:810 bp-groups/bp-groups-template.php:1235 +#: bp-groups/classes/class-bp-groups-list-table.php:604 msgid "Private" msgstr "" -#: bp-groups/bp-groups-admin.php:812 -#: bp-groups/classes/class-bp-groups-list-table.php:569 +#: bp-groups/bp-groups-admin.php:811 +#: bp-groups/classes/class-bp-groups-list-table.php:607 msgid "Hidden" msgstr "" -#: bp-groups/bp-groups-admin.php:819 +#: bp-groups/bp-groups-admin.php:817 msgid "Who can invite others to this group?" msgstr "" -#: bp-groups/bp-groups-admin.php:822 -#: bp-templates/bp-legacy/buddypress/groups/create.php:139 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:138 +#: bp-groups/bp-groups-admin.php:819 +#: bp-templates/bp-legacy/buddypress/groups/create.php:182 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:104 msgid "All group members" msgstr "" -#: bp-groups/bp-groups-admin.php:823 -#: bp-templates/bp-legacy/buddypress/groups/create.php:141 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:140 +#: bp-groups/bp-groups-admin.php:820 +#: bp-templates/bp-legacy/buddypress/groups/create.php:184 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:106 msgid "Group admins and mods only" msgstr "" -#: bp-groups/bp-groups-admin.php:824 -#: bp-templates/bp-legacy/buddypress/groups/create.php:143 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:142 +#: bp-groups/bp-groups-admin.php:821 +#: bp-templates/bp-legacy/buddypress/groups/create.php:186 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:108 msgid "Group admins only" msgstr "" -#: bp-groups/bp-groups-admin.php:844 +#: bp-groups/bp-groups-admin.php:840 #. translators: accessibility text msgid "Add new members" msgstr "" -#: bp-groups/bp-groups-admin.php:846 +#: bp-groups/bp-groups-admin.php:842 msgid "Enter a comma-separated list of user logins." msgstr "" -#: bp-groups/bp-groups-admin.php:901 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:265 +#: bp-groups/bp-groups-admin.php:897 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:25 msgid "Administrators" msgstr "" -#: bp-groups/bp-groups-admin.php:902 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:293 +#: bp-groups/bp-groups-admin.php:898 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:118 msgid "Moderators" msgstr "" -#: bp-groups/bp-groups-admin.php:903 +#: bp-groups/bp-groups-admin.php:899 bp-groups/bp-groups-template.php:4501 #: bp-groups/classes/class-bp-groups-component.php:674 -#: bp-members/classes/class-bp-core-members-widget.php:253 +#: bp-members/classes/class-bp-core-members-widget.php:249 #: bp-members/classes/class-bp-members-component.php:38 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:319 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:213 +#. translators: accessibility text msgid "Members" msgstr "" -#: bp-groups/bp-groups-admin.php:904 +#: bp-groups/bp-groups-admin.php:900 msgid "Banned Members" msgstr "" -#: bp-groups/bp-groups-admin.php:941 +#: bp-groups/bp-groups-admin.php:937 #. translators: accessibility text msgid "Select group role for member" msgstr "" -#: bp-groups/bp-groups-admin.php:944 +#: bp-groups/bp-groups-admin.php:940 msgid "Roles" msgstr "" -#: bp-groups/bp-groups-admin.php:945 +#: bp-groups/bp-groups-admin.php:941 msgid "Administrator" msgstr "" -#: bp-groups/bp-groups-admin.php:946 +#: bp-groups/bp-groups-admin.php:942 msgid "Moderator" msgstr "" -#: bp-groups/bp-groups-admin.php:947 -#: bp-members/classes/class-bp-members-admin.php:760 +#: bp-groups/bp-groups-admin.php:943 +#: bp-members/classes/class-bp-members-admin.php:816 msgid "Member" msgstr "" -#: bp-groups/bp-groups-admin.php:949 +#: bp-groups/bp-groups-admin.php:945 msgid "Banned" msgstr "" -#: bp-groups/bp-groups-admin.php:952 -#: bp-members/classes/class-bp-members-admin.php:1448 -#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:80 +#: bp-groups/bp-groups-admin.php:948 +#: bp-members/classes/class-bp-members-admin.php:1504 +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:85 #: bp-templates/bp-legacy/buddypress/members/single/notifications/notifications-loop.php:21 msgid "Actions" msgstr "" -#: bp-groups/bp-groups-admin.php:953 +#: bp-groups/bp-groups-admin.php:949 msgid "Remove" msgstr "" -#: bp-groups/bp-groups-admin.php:955 +#: bp-groups/bp-groups-admin.php:951 msgid "Ban" msgstr "" -#: bp-groups/bp-groups-admin.php:1001 +#: bp-groups/bp-groups-admin.php:997 msgid "No members of this type" msgstr "" -#: bp-groups/bp-groups-admin.php:1030 +#: bp-groups/bp-groups-admin.php:1026 #: bp-groups/classes/class-bp-group-extension.php:522 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:69 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:157 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php:52 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:123 #: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:92 #: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:126 #: bp-templates/bp-legacy/buddypress/members/single/profile/edit.php:105 -#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:43 -#: bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php:34 +#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:48 +#: bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php:39 msgid "Save Changes" msgstr "" -#: bp-groups/bp-groups-admin.php:1059 +#: bp-groups/bp-groups-admin.php:1056 #. translators: accessibility text msgid "Select group type" msgstr "" -#: bp-groups/bp-groups-admin.php:1062 -#: bp-members/classes/class-bp-members-admin.php:1116 -#: bp-templates/bp-legacy/buddypress/forums/index.php:180 -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:209 -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:232 -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:240 -#: bp-xprofile/classes/class-bp-xprofile-field-type-selectbox.php:104 -#. translators: no option picked in select box -msgid "----" +#: bp-groups/bp-groups-admin.php:1066 +msgid "(Not available on the frontend)" msgstr "" -#: bp-groups/bp-groups-admin.php:1146 +#: bp-groups/bp-groups-admin.php:1151 msgid "«" msgstr "" -#: bp-groups/bp-groups-admin.php:1147 +#: bp-groups/bp-groups-admin.php:1152 msgid "»" msgstr "" -#: bp-groups/bp-groups-admin.php:1153 bp-groups/bp-groups-template.php:4115 +#: bp-groups/bp-groups-admin.php:1158 bp-groups/bp-groups-template.php:4348 #: bp-members/bp-members-template.php:504 msgid "Viewing 1 member" msgstr "" -#: bp-groups/bp-groups-admin.php:1156 bp-groups/bp-groups-template.php:4117 +#: bp-groups/bp-groups-admin.php:1161 bp-groups/bp-groups-template.php:4350 #: bp-members/bp-members-template.php:506 msgid "Viewing %1$s - %2$s of %3$s member" msgid_plural "Viewing %1$s - %2$s of %3$s members" msgstr[0] "" msgstr[1] "" -#: bp-groups/bp-groups-admin.php:1222 +#: bp-groups/bp-groups-admin.php:1227 #. Translators: 1: user_login, 2: user_email. msgid "%1$s (%2$s)" msgstr "" +#: bp-groups/bp-groups-admin.php:1323 +msgid "There was an error while changing group type. Please try again." +msgstr "" + +#: bp-groups/bp-groups-admin.php:1326 +msgid "Group type was changed successfully." +msgstr "" + #: bp-groups/bp-groups-forums.php:148 bp-groups/bp-groups-forums.php:444 msgid "%1$s replied to the forum topic %2$s in the group %3$s" msgstr "" @@ -4436,457 +4535,474 @@ msgstr "" msgid "%1$s edited the forum topic %2$s in the group %3$s" msgstr "" -#: bp-groups/bp-groups-functions.php:168 +#: bp-groups/bp-groups-functions.php:170 #: bp-groups/classes/class-bp-groups-member.php:299 msgid "Group Admin" msgstr "" -#: bp-groups/bp-groups-functions.php:444 +#: bp-groups/bp-groups-functions.php:451 msgid "As the only admin, you cannot leave the group." msgstr "" -#: bp-groups/bp-groups-functions.php:1210 +#: bp-groups/bp-groups-functions.php:1221 msgid "%1$s posted an update in the group %2$s" msgstr "" -#: bp-groups/bp-groups-functions.php:2134 +#: bp-groups/bp-groups-functions.php:2160 msgid "Group type already exists." msgstr "" -#: bp-groups/bp-groups-functions.php:2156 +#: bp-groups/bp-groups-functions.php:2187 msgid "You may not register a group type with this name." msgstr "" -#: bp-groups/bp-groups-notifications.php:207 +#: bp-groups/bp-groups-notifications.php:236 msgid "an administrator" msgstr "" -#: bp-groups/bp-groups-notifications.php:210 +#: bp-groups/bp-groups-notifications.php:239 msgid "a moderator" msgstr "" -#: bp-groups/bp-groups-notifications.php:325 +#: bp-groups/bp-groups-notifications.php:367 msgid "%1$d new membership requests for the group \"%2$s\"" msgstr "" -#: bp-groups/bp-groups-notifications.php:346 +#: bp-groups/bp-groups-notifications.php:388 msgid "Group Membership Requests" msgstr "" -#: bp-groups/bp-groups-notifications.php:371 -#: bp-groups/bp-groups-notifications.php:391 +#: bp-groups/bp-groups-notifications.php:413 +#: bp-groups/bp-groups-notifications.php:433 msgid "%s requests group membership" msgstr "" -#: bp-groups/bp-groups-notifications.php:426 +#: bp-groups/bp-groups-notifications.php:468 msgid "%d accepted group membership requests" msgstr "" -#: bp-groups/bp-groups-notifications.php:465 +#: bp-groups/bp-groups-notifications.php:507 msgid "Membership for group \"%s\" accepted" msgstr "" -#: bp-groups/bp-groups-notifications.php:515 +#: bp-groups/bp-groups-notifications.php:557 msgid "%d rejected group membership requests" msgstr "" -#: bp-groups/bp-groups-notifications.php:554 +#: bp-groups/bp-groups-notifications.php:596 msgid "Membership for group \"%s\" rejected" msgstr "" -#: bp-groups/bp-groups-notifications.php:603 +#: bp-groups/bp-groups-notifications.php:645 msgid "You were promoted to an admin in %d groups" msgstr "" -#: bp-groups/bp-groups-notifications.php:638 +#: bp-groups/bp-groups-notifications.php:680 msgid "You were promoted to an admin in the group \"%s\"" msgstr "" -#: bp-groups/bp-groups-notifications.php:685 +#: bp-groups/bp-groups-notifications.php:727 msgid "You were promoted to a mod in %d groups" msgstr "" -#: bp-groups/bp-groups-notifications.php:720 +#: bp-groups/bp-groups-notifications.php:762 msgid "You were promoted to a mod in the group \"%s\"" msgstr "" -#: bp-groups/bp-groups-notifications.php:768 +#: bp-groups/bp-groups-notifications.php:810 msgid "You have %d new group invitations" msgstr "" -#: bp-groups/bp-groups-notifications.php:783 +#: bp-groups/bp-groups-notifications.php:825 +#: bp-templates/bp-legacy/buddypress/groups/create.php:350 +#. translators: accessibility text msgid "Group Invites" msgstr "" -#: bp-groups/bp-groups-notifications.php:802 +#: bp-groups/bp-groups-notifications.php:844 msgid "You have an invitation to the group: %s" msgstr "" -#: bp-groups/bp-groups-screens.php:87 +#: bp-groups/bp-groups-screens.php:103 msgid "Group invite could not be accepted" msgstr "" -#: bp-groups/bp-groups-screens.php:89 bp-groups/bp-groups-screens.php:724 +#: bp-groups/bp-groups-screens.php:105 bp-groups/bp-groups-screens.php:740 msgid "Group invite accepted" msgstr "" -#: bp-groups/bp-groups-screens.php:114 +#: bp-groups/bp-groups-screens.php:130 msgid "Group invite could not be rejected" msgstr "" -#: bp-groups/bp-groups-screens.php:116 +#: bp-groups/bp-groups-screens.php:132 msgid "Group invite rejected" msgstr "" -#: bp-groups/bp-groups-screens.php:225 +#: bp-groups/bp-groups-screens.php:241 msgid "It looks like you've already said that!" msgstr "" -#: bp-groups/bp-groups-screens.php:228 +#: bp-groups/bp-groups-screens.php:244 msgid "There was an error when replying to that topic" msgstr "" -#: bp-groups/bp-groups-screens.php:230 +#: bp-groups/bp-groups-screens.php:246 msgid "Your reply was posted successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:251 +#: bp-groups/bp-groups-screens.php:267 msgid "There was an error when making that topic a sticky" msgstr "" -#: bp-groups/bp-groups-screens.php:253 +#: bp-groups/bp-groups-screens.php:269 msgid "The topic was made sticky successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:273 +#: bp-groups/bp-groups-screens.php:289 msgid "There was an error when unsticking that topic" msgstr "" -#: bp-groups/bp-groups-screens.php:275 +#: bp-groups/bp-groups-screens.php:291 msgid "The topic was unstuck successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:295 +#: bp-groups/bp-groups-screens.php:311 msgid "There was an error when closing that topic" msgstr "" -#: bp-groups/bp-groups-screens.php:297 +#: bp-groups/bp-groups-screens.php:313 msgid "The topic was closed successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:317 +#: bp-groups/bp-groups-screens.php:333 msgid "There was an error when opening that topic" msgstr "" -#: bp-groups/bp-groups-screens.php:319 +#: bp-groups/bp-groups-screens.php:335 msgid "The topic was opened successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:356 +#: bp-groups/bp-groups-screens.php:372 msgid "There was an error deleting the topic" msgstr "" -#: bp-groups/bp-groups-screens.php:358 +#: bp-groups/bp-groups-screens.php:374 msgid "The topic was deleted successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:389 +#: bp-groups/bp-groups-screens.php:405 msgid "There was an error when editing that topic" msgstr "" -#: bp-groups/bp-groups-screens.php:391 +#: bp-groups/bp-groups-screens.php:407 msgid "The topic was edited successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:437 +#: bp-groups/bp-groups-screens.php:453 msgid "There was an error deleting that post" msgstr "" -#: bp-groups/bp-groups-screens.php:439 +#: bp-groups/bp-groups-screens.php:455 msgid "The post was deleted successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:470 +#: bp-groups/bp-groups-screens.php:486 msgid "There was an error when editing that post" msgstr "" -#: bp-groups/bp-groups-screens.php:472 +#: bp-groups/bp-groups-screens.php:488 msgid "The post was edited successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:496 bp-groups/bp-groups-screens.php:522 +#: bp-groups/bp-groups-screens.php:512 bp-groups/bp-groups-screens.php:538 msgid "You have been banned from this group." msgstr "" -#: bp-groups/bp-groups-screens.php:536 +#: bp-groups/bp-groups-screens.php:552 msgid "This group does not have a forum setup yet." msgstr "" -#: bp-groups/bp-groups-screens.php:635 +#: bp-groups/bp-groups-screens.php:651 msgid "Group invites sent." msgstr "" -#: bp-groups/bp-groups-screens.php:691 +#: bp-groups/bp-groups-screens.php:707 msgid "You are not allowed to send or remove invites" msgstr "" -#: bp-groups/bp-groups-screens.php:694 +#: bp-groups/bp-groups-screens.php:710 msgid "The member requested to join the group" msgstr "" -#: bp-groups/bp-groups-screens.php:726 +#: bp-groups/bp-groups-screens.php:742 msgid "There was an error accepting the group invitation. Please try again." msgstr "" -#: bp-groups/bp-groups-screens.php:738 +#: bp-groups/bp-groups-screens.php:754 msgid "There was an error sending your group membership request. Please try again." msgstr "" -#: bp-groups/bp-groups-screens.php:740 +#: bp-groups/bp-groups-screens.php:756 msgid "" "Your membership request was sent to the group administrator successfully. " "You will be notified when the group administrator responds to your request." msgstr "" -#: bp-groups/bp-groups-screens.php:847 +#: bp-groups/bp-groups-screens.php:863 msgid "There was an error updating group details. Please try again." msgstr "" -#: bp-groups/bp-groups-screens.php:849 +#: bp-groups/bp-groups-screens.php:865 msgid "Group details were successfully updated." msgstr "" -#: bp-groups/bp-groups-screens.php:919 +#: bp-groups/bp-groups-screens.php:961 msgid "There was an error updating group settings. Please try again." msgstr "" -#: bp-groups/bp-groups-screens.php:921 +#: bp-groups/bp-groups-screens.php:963 msgid "Group settings were successfully updated." msgstr "" -#: bp-groups/bp-groups-screens.php:1026 +#: bp-groups/bp-groups-screens.php:1068 msgid "The new group profile photo was uploaded successfully." msgstr "" -#: bp-groups/bp-groups-screens.php:1111 +#: bp-groups/bp-groups-screens.php:1153 msgid "There was an error when promoting that user. Please try again." msgstr "" -#: bp-groups/bp-groups-screens.php:1113 +#: bp-groups/bp-groups-screens.php:1155 msgid "User promoted successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:1144 +#: bp-groups/bp-groups-screens.php:1186 msgid "There was an error when demoting that user. Please try again." msgstr "" -#: bp-groups/bp-groups-screens.php:1146 +#: bp-groups/bp-groups-screens.php:1188 msgid "User demoted successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:1170 +#: bp-groups/bp-groups-screens.php:1212 msgid "There was an error when banning that user. Please try again." msgstr "" -#: bp-groups/bp-groups-screens.php:1172 +#: bp-groups/bp-groups-screens.php:1214 msgid "User banned successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:1196 +#: bp-groups/bp-groups-screens.php:1238 msgid "There was an error when unbanning that user. Please try again." msgstr "" -#: bp-groups/bp-groups-screens.php:1198 +#: bp-groups/bp-groups-screens.php:1240 msgid "User ban removed successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:1222 +#: bp-groups/bp-groups-screens.php:1264 msgid "There was an error removing that user from the group. Please try again." msgstr "" -#: bp-groups/bp-groups-screens.php:1224 +#: bp-groups/bp-groups-screens.php:1266 msgid "User removed successfully" msgstr "" -#: bp-groups/bp-groups-screens.php:1288 +#: bp-groups/bp-groups-screens.php:1330 msgid "There was an error accepting the membership request. Please try again." msgstr "" -#: bp-groups/bp-groups-screens.php:1290 +#: bp-groups/bp-groups-screens.php:1332 msgid "Group membership request accepted" msgstr "" -#: bp-groups/bp-groups-screens.php:1299 +#: bp-groups/bp-groups-screens.php:1341 msgid "There was an error rejecting the membership request. Please try again." msgstr "" -#: bp-groups/bp-groups-screens.php:1301 +#: bp-groups/bp-groups-screens.php:1343 msgid "Group membership request rejected" msgstr "" -#: bp-groups/bp-groups-screens.php:1370 bp-xprofile/bp-xprofile-admin.php:322 +#: bp-groups/bp-groups-screens.php:1412 bp-xprofile/bp-xprofile-admin.php:322 msgid "There was an error deleting the group. Please try again." msgstr "" -#: bp-groups/bp-groups-screens.php:1372 bp-xprofile/bp-xprofile-admin.php:325 +#: bp-groups/bp-groups-screens.php:1414 bp-xprofile/bp-xprofile-admin.php:325 msgid "The group was deleted successfully." msgstr "" -#: bp-groups/bp-groups-template.php:474 +#: bp-groups/bp-groups-template.php:242 +msgid "Group Types:" +msgstr "" + +#: bp-groups/bp-groups-template.php:686 msgid "Public Group" msgstr "" -#: bp-groups/bp-groups-template.php:476 +#: bp-groups/bp-groups-template.php:688 msgid "Hidden Group" msgstr "" -#: bp-groups/bp-groups-template.php:478 +#: bp-groups/bp-groups-template.php:690 msgid "Private Group" msgstr "" -#: bp-groups/bp-groups-template.php:480 +#: bp-groups/bp-groups-template.php:692 msgid "Group" msgstr "" -#: bp-groups/bp-groups-template.php:717 +#: bp-groups/bp-groups-template.php:945 msgid "not yet active" msgstr "" -#: bp-groups/bp-groups-template.php:1279 +#: bp-groups/bp-groups-template.php:1521 msgid "Group creator profile photo of %s" msgstr "" -#: bp-groups/bp-groups-template.php:1362 +#: bp-groups/bp-groups-template.php:1591 msgid "No Admins" msgstr "" -#: bp-groups/bp-groups-template.php:1411 +#: bp-groups/bp-groups-template.php:1627 msgid "No Mods" msgstr "" -#: bp-groups/bp-groups-template.php:1551 +#: bp-groups/bp-groups-template.php:1767 msgid "Filter Groups" msgstr "" -#: bp-groups/bp-groups-template.php:1651 +#: bp-groups/bp-groups-template.php:1867 msgid "Viewing 1 group" msgstr "" -#: bp-groups/bp-groups-template.php:1653 +#: bp-groups/bp-groups-template.php:1869 msgid "Viewing %1$s - %2$s of %3$s group" msgid_plural "Viewing %1$s - %2$s of %3$s groups" msgstr[0] "" msgstr[1] "" -#: bp-groups/bp-groups-template.php:1753 +#: bp-groups/bp-groups-template.php:1969 msgid "%s member" msgid_plural "%s members" msgstr[0] "" msgstr[1] "" -#: bp-groups/bp-groups-template.php:1848 +#: bp-groups/bp-groups-template.php:2064 msgid "%d topic" msgstr "" -#: bp-groups/bp-groups-template.php:1850 +#: bp-groups/bp-groups-template.php:2066 msgid "%d topics" msgstr "" -#: bp-groups/bp-groups-template.php:2176 bp-groups/bp-groups-template.php:2252 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:278 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:305 -msgid "Demote to Member" +#: bp-groups/bp-groups-template.php:2132 +msgid "%d posts" +msgstr "" + +#: bp-groups/bp-groups-template.php:2392 bp-groups/bp-groups-template.php:2468 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:74 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:168 +msgid "Demote to Member" msgstr "" -#: bp-groups/bp-groups-template.php:2189 bp-groups/bp-groups-template.php:2265 -#: bp-groups/bp-groups-template.php:4001 +#: bp-groups/bp-groups-template.php:2405 bp-groups/bp-groups-template.php:2481 +#: bp-groups/bp-groups-template.php:4234 msgid "joined %s" msgstr "" -#: bp-groups/bp-groups-template.php:2212 +#: bp-groups/bp-groups-template.php:2428 msgid "This group has no administrators" msgstr "" -#: bp-groups/bp-groups-template.php:2251 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:304 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:360 +#: bp-groups/bp-groups-template.php:2467 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:167 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:276 msgid "Promote to Admin" msgstr "" -#: bp-groups/bp-groups-template.php:2285 +#: bp-groups/bp-groups-template.php:2501 msgid "This group has no moderators" msgstr "" -#: bp-groups/bp-groups-template.php:2646 +#: bp-groups/bp-groups-template.php:2862 msgid "" "This action should not be used directly. Please use the BuddyPress Group " "Extension API to generate Manage tabs." msgstr "" -#: bp-groups/bp-groups-template.php:3234 bp-groups/bp-groups-template.php:3235 -#: bp-templates/bp-legacy/buddypress-functions.php:1446 -#: bp-templates/bp-legacy/buddypress-functions.php:1459 +#: bp-groups/bp-groups-template.php:3449 +#: bp-templates/bp-legacy/buddypress-functions.php:1461 +#: bp-templates/bp-legacy/buddypress-functions.php:1474 msgid "Leave Group" msgstr "" -#: bp-groups/bp-groups-template.php:3256 bp-groups/bp-groups-template.php:3257 -#: bp-templates/bp-legacy/buddypress-functions.php:1480 +#: bp-groups/bp-groups-template.php:3470 +#: bp-templates/bp-legacy/buddypress-functions.php:1495 msgid "Join Group" msgstr "" -#: bp-groups/bp-groups-template.php:3275 bp-groups/bp-groups-template.php:3276 +#: bp-groups/bp-groups-template.php:3488 msgid "Accept Invitation" msgstr "" -#: bp-groups/bp-groups-template.php:3291 bp-groups/bp-groups-template.php:3292 -#: bp-templates/bp-legacy/buddypress-functions.php:1469 +#: bp-groups/bp-groups-template.php:3503 +#: bp-templates/bp-legacy/buddypress-functions.php:1484 msgid "Request Sent" msgstr "" -#: bp-groups/bp-groups-template.php:3307 bp-groups/bp-groups-template.php:3308 -#: bp-templates/bp-legacy/buddypress-functions.php:1482 +#: bp-groups/bp-groups-template.php:3518 +#: bp-templates/bp-legacy/buddypress-functions.php:1497 msgid "Request Membership" msgstr "" -#: bp-groups/bp-groups-template.php:3454 +#: bp-groups/bp-groups-template.php:3663 msgid "This group is not currently accessible." msgstr "" -#: bp-groups/bp-groups-template.php:3465 +#: bp-groups/bp-groups-template.php:3674 msgid "" "You must accept your pending invitation before you can access this private " "group." msgstr "" -#: bp-groups/bp-groups-template.php:3467 +#: bp-groups/bp-groups-template.php:3676 msgid "" "This is a private group and you must request group membership in order to " "join." msgstr "" -#: bp-groups/bp-groups-template.php:3470 +#: bp-groups/bp-groups-template.php:3679 msgid "" "This is a private group. To join you must be a registered site member and " "request group membership." msgstr "" -#: bp-groups/bp-groups-template.php:3473 +#: bp-groups/bp-groups-template.php:3682 msgid "" "This is a private group. Your membership request is awaiting approval from " "the group administrator." msgstr "" -#: bp-groups/bp-groups-template.php:3481 +#: bp-groups/bp-groups-template.php:3690 msgid "This is a hidden group and only invited members can join." msgstr "" -#: bp-groups/bp-groups-template.php:4282 +#: bp-groups/bp-groups-template.php:4478 +#: bp-templates/bp-legacy/buddypress/groups/single/activity.php:10 +#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:10 +#: bp-templates/bp-legacy/buddypress/groups/single/forum.php:24 +msgid "Group secondary navigation" +msgstr "" + +#: bp-groups/bp-groups-template.php:4520 #: bp-notifications/bp-notifications-template.php:1004 -#: bp-templates/bp-legacy/buddypress/blogs/index.php:87 -#: bp-templates/bp-legacy/buddypress/forums/index.php:86 -#: bp-templates/bp-legacy/buddypress/groups/index.php:80 +#: bp-templates/bp-legacy/buddypress/blogs/index.php:96 +#: bp-templates/bp-legacy/buddypress/forums/index.php:94 +#: bp-templates/bp-legacy/buddypress/groups/index.php:92 #: bp-templates/bp-legacy/buddypress/groups/single/forum.php:50 -#: bp-templates/bp-legacy/buddypress/members/index.php:83 +#: bp-templates/bp-legacy/buddypress/members/index.php:91 #: bp-templates/bp-legacy/buddypress/members/single/blogs.php:18 #: bp-templates/bp-legacy/buddypress/members/single/forums.php:17 #: bp-templates/bp-legacy/buddypress/members/single/friends.php:19 @@ -4894,92 +5010,96 @@ msgstr "" msgid "Order By:" msgstr "" -#: bp-groups/bp-groups-template.php:4285 +#: bp-groups/bp-groups-template.php:4523 msgid "Oldest" msgstr "" -#: bp-groups/bp-groups-template.php:4288 +#: bp-groups/bp-groups-template.php:4526 msgid "Group Activity" msgstr "" -#: bp-groups/bp-groups-template.php:4291 -#: bp-templates/bp-legacy/buddypress/blogs/index.php:91 -#: bp-templates/bp-legacy/buddypress/groups/index.php:86 -#: bp-templates/bp-legacy/buddypress/members/index.php:89 +#: bp-groups/bp-groups-template.php:4529 +#: bp-templates/bp-legacy/buddypress/blogs/index.php:100 +#: bp-templates/bp-legacy/buddypress/groups/index.php:98 +#: bp-templates/bp-legacy/buddypress/members/index.php:97 #: bp-templates/bp-legacy/buddypress/members/single/blogs.php:22 #: bp-templates/bp-legacy/buddypress/members/single/friends.php:23 #: bp-templates/bp-legacy/buddypress/members/single/groups.php:24 msgid "Alphabetical" msgstr "" -#: bp-groups/bp-groups-template.php:4713 +#: bp-groups/bp-groups-template.php:4951 msgid "Group photo" msgstr "" -#: bp-groups/bp-groups-template.php:5009 bp-groups/bp-groups-template.php:5034 +#: bp-groups/bp-groups-template.php:5247 bp-groups/bp-groups-template.php:5272 msgid "Recently Joined" msgstr "" -#: bp-groups/bp-groups-template.php:5010 bp-groups/bp-groups-template.php:5037 +#: bp-groups/bp-groups-template.php:5248 bp-groups/bp-groups-template.php:5275 msgid "Most Popular" msgstr "" -#: bp-groups/bp-groups-template.php:5011 bp-groups/bp-groups-template.php:5040 +#: bp-groups/bp-groups-template.php:5249 bp-groups/bp-groups-template.php:5278 msgid "Administrator Of" msgstr "" -#: bp-groups/bp-groups-template.php:5012 bp-groups/bp-groups-template.php:5043 +#: bp-groups/bp-groups-template.php:5250 bp-groups/bp-groups-template.php:5281 msgid "Moderator Of" msgstr "" -#: bp-groups/bp-groups-template.php:5124 +#: bp-groups/bp-groups-template.php:5308 +msgid "Viewing groups of the type: %s" +msgstr "" + +#: bp-groups/bp-groups-template.php:5392 msgid "Group avatar" msgstr "" -#: bp-groups/bp-groups-template.php:5387 +#: bp-groups/bp-groups-template.php:5655 msgid "requested %s" msgstr "" -#: bp-groups/bp-groups-template.php:5458 +#: bp-groups/bp-groups-template.php:5726 msgid "Viewing 1 request" msgstr "" -#: bp-groups/bp-groups-template.php:5460 +#: bp-groups/bp-groups-template.php:5728 msgid "Viewing %1$s - %2$s of %3$s request" msgid_plural "Viewing %1$s - %2$s of %3$s requests" msgstr[0] "" msgstr[1] "" -#: bp-groups/bp-groups-template.php:5727 +#: bp-groups/bp-groups-template.php:5995 msgid "Viewing 1 invitation" msgstr "" -#: bp-groups/bp-groups-template.php:5729 +#: bp-groups/bp-groups-template.php:5997 msgid "Viewing %1$s - %2$s of %3$s invitation" msgid_plural "Viewing %1$s - %2$s of %3$s invitations" msgstr[0] "" msgstr[1] "" -#: bp-groups/bp-groups-template.php:5750 +#: bp-groups/bp-groups-template.php:6018 msgid "Group Activity RSS Feed" msgstr "" -#: bp-groups/bp-groups-template.php:6032 +#: bp-groups/bp-groups-template.php:6300 msgid "%s group" msgid_plural "%s groups" msgstr[0] "" msgstr[1] "" -#: bp-groups/bp-groups-widgets.php:71 +#: bp-groups/bp-groups-widgets.php:69 #: bp-groups/classes/class-bp-groups-widget.php:141 msgid "created %s" msgstr "" -#: bp-groups/bp-groups-widgets.php:89 +#: bp-groups/bp-groups-widgets.php:85 msgid "No groups matched the current filter." msgstr "" -#: bp-groups/classes/class-bp-group-extension.php:857 +#: bp-groups/classes/class-bp-group-extension.php:851 msgid "You do not have access to this content." msgstr "" @@ -5001,6 +5121,9 @@ msgid "Photo" msgstr "" #: bp-groups/classes/class-bp-groups-component.php:667 +#: bp-templates/bp-legacy/buddypress/groups/create.php:314 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-cover-image.php:11 +#. translators: accessibility text msgid "Cover Image" msgstr "" @@ -5012,43 +5135,59 @@ msgstr "" msgid "No Group Profile Photo" msgstr "" -#: bp-groups/classes/class-bp-groups-list-table.php:208 +#: bp-groups/classes/class-bp-groups-list-table.php:227 msgid "No groups found." msgstr "" -#: bp-groups/classes/class-bp-groups-list-table.php:221 +#: bp-groups/classes/class-bp-groups-list-table.php:240 #. translators: accessibility text msgid "Groups list" msgstr "" -#: bp-groups/classes/class-bp-groups-list-table.php:292 +#: bp-groups/classes/class-bp-groups-list-table.php:330 #. translators: accessibility text msgid "Filter groups list" msgstr "" -#: bp-groups/classes/class-bp-groups-list-table.php:297 +#: bp-groups/classes/class-bp-groups-list-table.php:335 msgid "Public <span class=\"count\">(%s)</span>" msgid_plural "Public <span class=\"count\">(%s)</span>" msgstr[0] "" msgstr[1] "" -#: bp-groups/classes/class-bp-groups-list-table.php:298 +#: bp-groups/classes/class-bp-groups-list-table.php:336 msgid "Private <span class=\"count\">(%s)</span>" msgid_plural "Private <span class=\"count\">(%s)</span>" msgstr[0] "" msgstr[1] "" -#: bp-groups/classes/class-bp-groups-list-table.php:299 +#: bp-groups/classes/class-bp-groups-list-table.php:337 msgid "Hidden <span class=\"count\">(%s)</span>" msgid_plural "Hidden <span class=\"count\">(%s)</span>" msgstr[0] "" msgstr[1] "" -#: bp-groups/classes/class-bp-groups-list-table.php:432 +#: bp-groups/classes/class-bp-groups-list-table.php:470 #. translators: accessibility text msgid "Select group %1$d" msgstr "" +#: bp-groups/classes/class-bp-groups-list-table.php:772 +#: bp-groups/classes/class-bp-groups-list-table.php:774 +msgid "Change group type to…" +msgstr "" + +#: bp-groups/classes/class-bp-groups-list-table.php:782 +msgid "No Group Type" +msgstr "" + +#: bp-groups/classes/class-bp-groups-list-table.php:787 +#: bp-members/classes/class-bp-members-admin.php:2135 +#: bp-templates/bp-legacy/buddypress/members/single/profile/edit.php:62 +#: bp-xprofile/classes/class-bp-xprofile-user-admin.php:400 +msgid "Change" +msgstr "" + #: bp-groups/classes/class-bp-groups-member.php:293 msgid "Group Mod" msgstr "" @@ -5077,12 +5216,12 @@ msgstr "" msgid "Cheatin’ huh?" msgstr "" -#: bp-loader.php:752 +#: bp-loader.php:753 msgid "BuddyPress Default" msgstr "" #: bp-members/bp-members-actions.php:57 -#: bp-members/classes/class-bp-members-admin.php:302 +#: bp-members/classes/class-bp-members-admin.php:358 msgid "User removed as spammer." msgstr "" @@ -5119,12 +5258,11 @@ msgid "Edit Member" msgstr "" #: bp-members/bp-members-adminbar.php:104 -#: bp-members/classes/class-bp-members-admin.php:379 -#: bp-members/classes/class-bp-members-admin.php:380 -#: bp-members/classes/class-bp-members-admin.php:416 -#: bp-members/classes/class-bp-members-admin.php:417 +#: bp-members/classes/class-bp-members-admin.php:435 +#: bp-members/classes/class-bp-members-admin.php:436 +#: bp-members/classes/class-bp-members-admin.php:472 +#: bp-members/classes/class-bp-members-admin.php:473 #: bp-xprofile/bp-xprofile-template.php:1231 -#: bp-xprofile/bp-xprofile-template.php:1232 msgid "Edit Profile" msgstr "" @@ -5243,11 +5381,11 @@ msgstr "" msgid "Activation email resent! Please check your inbox or spam folder." msgstr "" -#: bp-members/bp-members-functions.php:2534 +#: bp-members/bp-members-functions.php:2561 msgid "Member type already exists." msgstr "" -#: bp-members/bp-members-functions.php:2557 +#: bp-members/bp-members-functions.php:2584 msgid "You may not register a member type with this name." msgstr "" @@ -5297,15 +5435,15 @@ msgid_plural "Viewing %1$s - %2$s of %3$s online members" msgstr[0] "" msgstr[1] "" -#: bp-members/bp-members-template.php:1969 +#: bp-members/bp-members-template.php:2012 msgid "Viewing members of the type: %s" msgstr "" -#: bp-members/bp-members-template.php:2396 +#: bp-members/bp-members-template.php:2439 msgid "Your Profile Photo" msgstr "" -#: bp-members/bp-members-template.php:2503 +#: bp-members/bp-members-template.php:2529 msgid "Activity RSS Feed" msgstr "" @@ -5313,17 +5451,17 @@ msgstr "" msgid "A dynamic list of recently active, popular, and newest members" msgstr "" -#: bp-members/classes/class-bp-core-members-widget.php:161 +#: bp-members/classes/class-bp-core-members-widget.php:157 msgid "No one has signed up yet!" msgstr "" -#: bp-members/classes/class-bp-core-members-widget.php:225 -#: bp-members/classes/class-bp-core-recently-active-widget.php:152 -#: bp-members/classes/class-bp-core-whos-online-widget.php:152 +#: bp-members/classes/class-bp-core-members-widget.php:221 +#: bp-members/classes/class-bp-core-recently-active-widget.php:150 +#: bp-members/classes/class-bp-core-whos-online-widget.php:149 msgid "Max members to show:" msgstr "" -#: bp-members/classes/class-bp-core-members-widget.php:231 +#: bp-members/classes/class-bp-core-members-widget.php:227 msgid "Default members to show:" msgstr "" @@ -5331,11 +5469,11 @@ msgstr "" msgid "Profile photos of recently active members" msgstr "" -#: bp-members/classes/class-bp-core-recently-active-widget.php:100 +#: bp-members/classes/class-bp-core-recently-active-widget.php:98 msgid "There are no recently active members" msgstr "" -#: bp-members/classes/class-bp-core-recently-active-widget.php:171 +#: bp-members/classes/class-bp-core-recently-active-widget.php:169 msgid "Recently Active Members" msgstr "" @@ -5343,285 +5481,312 @@ msgstr "" msgid "Profile photos of online users" msgstr "" -#: bp-members/classes/class-bp-core-whos-online-widget.php:100 +#: bp-members/classes/class-bp-core-whos-online-widget.php:97 msgid "There are no users currently online" msgstr "" -#: bp-members/classes/class-bp-core-whos-online-widget.php:171 +#: bp-members/classes/class-bp-core-whos-online-widget.php:168 msgid "Who's Online" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:296 +#: bp-members/classes/class-bp-members-admin.php:352 msgid "Profile photo was deleted." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:314 +#: bp-members/classes/class-bp-members-admin.php:370 msgid "Profile updated." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:326 +#: bp-members/classes/class-bp-members-admin.php:382 msgid "There was a problem deleting that profile photo. Please try again." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:332 +#: bp-members/classes/class-bp-members-admin.php:388 msgid "User could not be removed as spammer." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:338 +#: bp-members/classes/class-bp-members-admin.php:394 msgid "User could not be marked as spammer." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:344 +#: bp-members/classes/class-bp-members-admin.php:400 msgid "An error occurred while trying to update the profile." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:350 +#: bp-members/classes/class-bp-members-admin.php:406 #: bp-xprofile/bp-xprofile-screens.php:111 msgid "" "Please make sure you fill in all required fields in this profile field " "group before saving." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:356 +#: bp-members/classes/class-bp-members-admin.php:412 #: bp-xprofile/bp-xprofile-screens.php:177 msgid "" "There was a problem updating some of your profile information. Please try " "again." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:428 -#: bp-members/classes/class-bp-members-admin.php:429 +#: bp-members/classes/class-bp-members-admin.php:484 +#: bp-members/classes/class-bp-members-admin.php:485 msgid "Manage Signups" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:649 -#: bp-members/classes/class-bp-members-admin.php:855 +#: bp-members/classes/class-bp-members-admin.php:705 +#: bp-members/classes/class-bp-members-admin.php:911 msgid "Profile" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:653 +#: bp-members/classes/class-bp-members-admin.php:709 msgid "Extended Profile" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:675 +#: bp-members/classes/class-bp-members-admin.php:731 msgid "You cannot edit the requested user." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:717 +#: bp-members/classes/class-bp-members-admin.php:773 msgid "This is the admin view of a user's profile." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:718 +#: bp-members/classes/class-bp-members-admin.php:774 msgid "" "In the main column, you can edit the fields of the user's extended " "profile." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:719 +#: bp-members/classes/class-bp-members-admin.php:775 msgid "" "In the right-hand column, you can update the user's status, delete the " "user's avatar, and view recent statistics." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:725 +#: bp-members/classes/class-bp-members-admin.php:781 msgid "" "<a " "href=\"https://codex.buddypress.org/administrator-guide/extended-profiles/\"" ">Managing Profiles</a>" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:857 +#: bp-members/classes/class-bp-members-admin.php:913 msgid "Edit User" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:879 +#: bp-members/classes/class-bp-members-admin.php:935 msgid "← Back to Users" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:937 +#: bp-members/classes/class-bp-members-admin.php:993 msgid "No user found with this ID." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:970 +#: bp-members/classes/class-bp-members-admin.php:1026 msgid "User account has not yet been activated" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:996 +#: bp-members/classes/class-bp-members-admin.php:1052 msgid "Spammer" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1008 +#: bp-members/classes/class-bp-members-admin.php:1064 msgid "Registered on: %s" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1018 +#: bp-members/classes/class-bp-members-admin.php:1074 msgid "View Profile" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1019 +#: bp-members/classes/class-bp-members-admin.php:1075 msgid "Update Profile" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1038 +#: bp-members/classes/class-bp-members-admin.php:1094 #: bp-xprofile/classes/class-bp-xprofile-user-admin.php:444 msgid "" "%s has been marked as a spammer. All BuddyPress data associated with the " "user has been removed" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1069 +#: bp-members/classes/class-bp-members-admin.php:1125 msgid "Last active: %1$s" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1111 +#: bp-members/classes/class-bp-members-admin.php:1167 #. translators: accessibility text msgid "Select member type" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1194 +#: bp-members/classes/class-bp-members-admin.php:1172 +#: bp-templates/bp-legacy/buddypress/forums/index.php:191 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:211 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:234 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:242 +#: bp-xprofile/classes/class-bp-xprofile-field-type-selectbox.php:104 +#. translators: no option picked in select box +msgid "----" +msgstr "" + +#: bp-members/classes/class-bp-members-admin.php:1250 msgid "Extended" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1440 +#: bp-members/classes/class-bp-members-admin.php:1496 msgid "This is the administration screen for pending accounts on your site." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1441 +#: bp-members/classes/class-bp-members-admin.php:1497 msgid "" "From the screen options, you can customize the displayed columns and the " "pagination of this screen." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1442 +#: bp-members/classes/class-bp-members-admin.php:1498 msgid "" "You can reorder the list of your pending accounts by clicking on the " "Username, Email or Registered column headers." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1443 +#: bp-members/classes/class-bp-members-admin.php:1499 msgid "" "Using the search form, you can find pending accounts more easily. The " "Username and Email fields will be included in the search." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1450 +#: bp-members/classes/class-bp-members-admin.php:1506 msgid "" "Hovering over a row in the pending accounts list will display action links " "that allow you to manage pending accounts. You can perform the following " "actions:" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1451 +#: bp-members/classes/class-bp-members-admin.php:1507 msgid "" "\"Email\" takes you to the confirmation screen before being able to send " "the activation link to the desired pending account. You can only send the " "activation email once per day." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1452 +#: bp-members/classes/class-bp-members-admin.php:1508 msgid "" "\"Delete\" allows you to delete a pending account from your site. You will " "be asked to confirm this deletion." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1453 +#: bp-members/classes/class-bp-members-admin.php:1509 msgid "" "By clicking on a Username you will be able to activate a pending account " "from the confirmation screen." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1454 +#: bp-members/classes/class-bp-members-admin.php:1510 msgid "Bulk actions allow you to perform these 3 actions for the selected rows." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1467 +#: bp-members/classes/class-bp-members-admin.php:1523 #. translators: accessibility text msgid "Filter users list" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1469 +#: bp-members/classes/class-bp-members-admin.php:1525 #. translators: accessibility text msgid "Pending users list navigation" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1471 +#: bp-members/classes/class-bp-members-admin.php:1527 #. translators: accessibility text msgid "Pending users list" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1732 +#: bp-members/classes/class-bp-members-admin.php:1788 msgid "There was a problem sending the activation emails. Please try again." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1739 +#: bp-members/classes/class-bp-members-admin.php:1795 msgid "There was a problem activating accounts. Please try again." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1746 +#: bp-members/classes/class-bp-members-admin.php:1802 msgid "There was a problem deleting sign-ups. Please try again." msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1868 +#: bp-members/classes/class-bp-members-admin.php:1924 msgid "Users" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1892 +#: bp-members/classes/class-bp-members-admin.php:1948 msgid "Search Pending Users" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1939 +#: bp-members/classes/class-bp-members-admin.php:1996 msgid "Delete Pending Accounts" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1941 +#: bp-members/classes/class-bp-members-admin.php:1998 msgid "You are about to delete the following account:" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1943 +#: bp-members/classes/class-bp-members-admin.php:2000 msgid "You are about to delete the following accounts:" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1948 +#: bp-members/classes/class-bp-members-admin.php:2005 msgid "Activate Pending Accounts" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1950 +#: bp-members/classes/class-bp-members-admin.php:2007 msgid "You are about to activate the following account:" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1952 +#: bp-members/classes/class-bp-members-admin.php:2009 msgid "You are about to activate the following accounts:" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1957 +#: bp-members/classes/class-bp-members-admin.php:2014 msgid "Resend Activation Emails" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1959 +#: bp-members/classes/class-bp-members-admin.php:2016 msgid "You are about to resend an activation email to the following account:" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1961 +#: bp-members/classes/class-bp-members-admin.php:2018 msgid "You are about to resend an activation email to the following accounts:" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:2007 +#: bp-members/classes/class-bp-members-admin.php:2064 msgid "Last notified: %s" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:2011 +#: bp-members/classes/class-bp-members-admin.php:2068 msgid "(less than 24 hours ago)" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:2029 +#: bp-members/classes/class-bp-members-admin.php:2086 msgid "Confirm" msgstr "" -#: bp-members/classes/class-bp-members-component.php:117 +#: bp-members/classes/class-bp-members-admin.php:2120 +#: bp-members/classes/class-bp-members-admin.php:2122 +msgid "Change member type to…" +msgstr "" + +#: bp-members/classes/class-bp-members-admin.php:2130 +msgid "No Member Type" +msgstr "" + +#: bp-members/classes/class-bp-members-admin.php:2225 +msgid "There was an error while changing member type. Please try again." +msgstr "" + +#: bp-members/classes/class-bp-members-admin.php:2228 +msgid "Member type was changed successfully." +msgstr "" + +#: bp-members/classes/class-bp-members-component.php:121 msgid "Search Members..." msgstr "" -#: bp-members/classes/class-bp-members-component.php:375 +#: bp-members/classes/class-bp-members-component.php:379 msgid "You" msgstr "" @@ -5765,7 +5930,7 @@ msgstr "" #: bp-messages/bp-messages-actions.php:419 #: bp-messages/bp-messages-actions.php:465 -#: bp-templates/bp-legacy/buddypress-functions.php:1642 +#: bp-templates/bp-legacy/buddypress-functions.php:1657 msgid "Messages deleted." msgstr "" @@ -5807,21 +5972,21 @@ msgstr "" msgid "Message was not sent. Please try again." msgstr "" -#: bp-messages/bp-messages-notifications.php:108 -#: bp-messages/classes/class-bp-messages-component.php:178 -#: bp-messages/classes/class-bp-messages-component.php:262 +#: bp-messages/bp-messages-notifications.php:31 +#: bp-messages/classes/class-bp-messages-component.php:180 +#: bp-messages/classes/class-bp-messages-component.php:264 msgid "Inbox" msgstr "" -#: bp-messages/bp-messages-notifications.php:114 +#: bp-messages/bp-messages-notifications.php:37 msgid "You have %d new messages" msgstr "" -#: bp-messages/bp-messages-notifications.php:125 +#: bp-messages/bp-messages-notifications.php:48 msgid "%s sent you a new private message" msgstr "" -#: bp-messages/bp-messages-notifications.php:127 +#: bp-messages/bp-messages-notifications.php:50 msgid "You have %s new private message" msgid_plural "You have %s new private messages" msgstr[0] "" @@ -5832,8 +5997,8 @@ msgid "Messages <span class=\"%s\">%s</span>" msgstr "" #: bp-messages/bp-messages-screens.php:209 -#: bp-messages/classes/class-bp-messages-component.php:162 -#: bp-messages/classes/class-bp-messages-component.php:261 +#: bp-messages/classes/class-bp-messages-component.php:164 +#: bp-messages/classes/class-bp-messages-component.php:263 msgid "Messages" msgstr "" @@ -5842,36 +6007,36 @@ msgid "A member sends you a new message" msgstr "" #: bp-messages/bp-messages-star.php:107 -#: bp-templates/bp-legacy/buddypress-functions.php:330 +#: bp-templates/bp-legacy/buddypress-functions.php:332 msgid "Unstar" msgstr "" #: bp-messages/bp-messages-star.php:108 -#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:76 -#: bp-templates/bp-legacy/buddypress-functions.php:331 +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:81 +#: bp-templates/bp-legacy/buddypress-functions.php:333 #. translators: accessibility text msgid "Star" msgstr "" #: bp-messages/bp-messages-star.php:109 -#: bp-messages/classes/class-bp-messages-component.php:189 -#: bp-messages/classes/class-bp-messages-component.php:287 -#: bp-templates/bp-legacy/buddypress-functions.php:332 +#: bp-messages/classes/class-bp-messages-component.php:191 +#: bp-messages/classes/class-bp-messages-component.php:289 +#: bp-templates/bp-legacy/buddypress-functions.php:334 msgid "Starred" msgstr "" #: bp-messages/bp-messages-star.php:110 -#: bp-templates/bp-legacy/buddypress-functions.php:333 +#: bp-templates/bp-legacy/buddypress-functions.php:335 msgid "Not starred" msgstr "" #: bp-messages/bp-messages-star.php:111 -#: bp-templates/bp-legacy/buddypress-functions.php:334 +#: bp-templates/bp-legacy/buddypress-functions.php:336 msgid "Remove all starred messages in this thread" msgstr "" #: bp-messages/bp-messages-star.php:112 -#: bp-templates/bp-legacy/buddypress-functions.php:335 +#: bp-templates/bp-legacy/buddypress-functions.php:337 msgid "Star the first message in this thread" msgstr "" @@ -5969,26 +6134,22 @@ msgid "Deactivate" msgstr "" #: bp-messages/bp-messages-template.php:1271 -#: bp-templates/bp-legacy/buddypress/members/register.php:194 +#: bp-templates/bp-legacy/buddypress/members/register.php:202 #: bp-templates/bp-legacy/buddypress/members/single/profile/edit.php:72 -#: bp-templates/bp-legacy/buddypress-functions.php:292 +#: bp-templates/bp-legacy/buddypress-functions.php:294 #: bp-xprofile/classes/class-bp-xprofile-user-admin.php:414 msgid "Close" msgstr "" #: bp-messages/bp-messages-template.php:1348 -msgid "Send a private message to this user." -msgstr "" - -#: bp-messages/bp-messages-template.php:1349 msgid "Private Message" msgstr "" -#: bp-messages/bp-messages-template.php:1564 +#: bp-messages/bp-messages-template.php:1563 msgid "%s recipients" msgstr "" -#: bp-messages/bp-messages-template.php:1943 +#: bp-messages/bp-messages-template.php:1942 msgid "Sent %s" msgstr "" @@ -5996,40 +6157,40 @@ msgstr "" msgid "Private Messages" msgstr "" -#: bp-messages/classes/class-bp-messages-component.php:121 +#: bp-messages/classes/class-bp-messages-component.php:123 msgid "Search Messages..." msgstr "" -#: bp-messages/classes/class-bp-messages-component.php:154 -#: bp-messages/classes/class-bp-messages-component.php:252 +#: bp-messages/classes/class-bp-messages-component.php:156 +#: bp-messages/classes/class-bp-messages-component.php:254 #. translators: %s: Unread message count for the current user msgid "Messages %s" msgstr "" -#: bp-messages/classes/class-bp-messages-component.php:200 -#: bp-messages/classes/class-bp-messages-component.php:297 +#: bp-messages/classes/class-bp-messages-component.php:202 +#: bp-messages/classes/class-bp-messages-component.php:299 msgid "Sent" msgstr "" -#: bp-messages/classes/class-bp-messages-component.php:210 -#: bp-messages/classes/class-bp-messages-component.php:306 +#: bp-messages/classes/class-bp-messages-component.php:212 +#: bp-messages/classes/class-bp-messages-component.php:308 msgid "Compose" msgstr "" -#: bp-messages/classes/class-bp-messages-component.php:221 +#: bp-messages/classes/class-bp-messages-component.php:223 msgid "Notices" msgstr "" -#: bp-messages/classes/class-bp-messages-component.php:257 +#: bp-messages/classes/class-bp-messages-component.php:259 #. translators: %s: Unread message count for the current user msgid "Inbox %s" msgstr "" -#: bp-messages/classes/class-bp-messages-component.php:316 +#: bp-messages/classes/class-bp-messages-component.php:318 msgid "All Member Notices" msgstr "" -#: bp-messages/classes/class-bp-messages-component.php:335 +#: bp-messages/classes/class-bp-messages-component.php:337 msgid "My Messages" msgstr "" @@ -6041,7 +6202,7 @@ msgstr "" msgid "Display Sitewide Notices posted by the site administrator" msgstr "" -#: bp-messages/classes/class-bp-messages-thread.php:791 +#: bp-messages/classes/class-bp-messages-thread.php:814 msgid "%s Recipients" msgstr "" @@ -6091,12 +6252,12 @@ msgid "Date not found" msgstr "" #: bp-notifications/bp-notifications-template.php:562 -#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:137 +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:142 msgid "Read" msgstr "" #: bp-notifications/bp-notifications-template.php:654 -#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:139 +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:144 msgid "Unread" msgstr "" @@ -6223,10 +6384,11 @@ msgstr "" #: bp-templates/bp-legacy/buddypress/activity/comment.php:29 #. translators: 1: user profile link, 2: user name, 3: activity permalink, 4: -#. activity timestamp +#. ISO8601 timestamp, 5: activity relative timestamp msgid "" "<a href=\"%1$s\">%2$s</a> replied <a href=\"%3$s\" " -"class=\"activity-time-since\"><span class=\"time-since\">%4$s</span></a>" +"class=\"activity-time-since\"><span class=\"time-since\" " +"data-livestamp=\"%4$s\">%5$s</span></a>" msgstr "" #: bp-templates/bp-legacy/buddypress/activity/entry.php:59 @@ -6238,20 +6400,16 @@ msgid "Comment %s" msgstr "" #: bp-templates/bp-legacy/buddypress/activity/entry.php:75 -msgid "Mark as Favorite" -msgstr "" - -#: bp-templates/bp-legacy/buddypress/activity/entry.php:75 -#: bp-templates/bp-legacy/buddypress-functions.php:295 -#: bp-templates/bp-legacy/buddypress-functions.php:1175 -#: bp-templates/bp-legacy/buddypress-functions.php:1193 +#: bp-templates/bp-legacy/buddypress-functions.php:297 +#: bp-templates/bp-legacy/buddypress-functions.php:1190 +#: bp-templates/bp-legacy/buddypress-functions.php:1208 msgid "Favorite" msgstr "" #: bp-templates/bp-legacy/buddypress/activity/entry.php:79 -#: bp-templates/bp-legacy/buddypress-functions.php:298 -#: bp-templates/bp-legacy/buddypress-functions.php:1173 -#: bp-templates/bp-legacy/buddypress-functions.php:1195 +#: bp-templates/bp-legacy/buddypress-functions.php:300 +#: bp-templates/bp-legacy/buddypress-functions.php:1188 +#: bp-templates/bp-legacy/buddypress-functions.php:1210 msgid "Remove Favorite" msgstr "" @@ -6264,66 +6422,54 @@ msgstr "" msgid "Post" msgstr "" -#: bp-templates/bp-legacy/buddypress/activity/index.php:55 -msgid "The public activity for everyone on this site." +#: bp-templates/bp-legacy/buddypress/activity/index.php:47 +msgid "Sitewide activities navigation" msgstr "" -#: bp-templates/bp-legacy/buddypress/activity/index.php:55 -#: bp-templates/bp-legacy/buddypress/members/index.php:53 +#: bp-templates/bp-legacy/buddypress/activity/index.php:58 +#: bp-templates/bp-legacy/buddypress/members/index.php:61 msgid "All Members %s" msgstr "" -#: bp-templates/bp-legacy/buddypress/activity/index.php:72 -msgid "The activity of my friends only." -msgstr "" - -#: bp-templates/bp-legacy/buddypress/activity/index.php:72 -#: bp-templates/bp-legacy/buddypress/members/index.php:56 +#: bp-templates/bp-legacy/buddypress/activity/index.php:75 +#: bp-templates/bp-legacy/buddypress/members/index.php:64 msgid "My Friends %s" msgstr "" -#: bp-templates/bp-legacy/buddypress/activity/index.php:91 -msgid "The activity of groups I am a member of." -msgstr "" - -#: bp-templates/bp-legacy/buddypress/activity/index.php:91 -#: bp-templates/bp-legacy/buddypress/groups/index.php:52 +#: bp-templates/bp-legacy/buddypress/activity/index.php:94 +#: bp-templates/bp-legacy/buddypress/groups/index.php:64 msgid "My Groups %s" msgstr "" -#: bp-templates/bp-legacy/buddypress/activity/index.php:108 -msgid "The activity I've marked as a favorite." -msgstr "" - -#: bp-templates/bp-legacy/buddypress/activity/index.php:108 +#: bp-templates/bp-legacy/buddypress/activity/index.php:111 msgid "My Favorites %s" msgstr "" -#: bp-templates/bp-legacy/buddypress/activity/index.php:123 -msgid "Activity that I have been mentioned in." +#: bp-templates/bp-legacy/buddypress/activity/index.php:126 +msgid "Mentions" msgstr "" -#: bp-templates/bp-legacy/buddypress/activity/index.php:123 -msgid "Mentions" +#: bp-templates/bp-legacy/buddypress/activity/index.php:143 +msgid "Activity secondary navigation" msgstr "" -#: bp-templates/bp-legacy/buddypress/activity/index.php:142 +#: bp-templates/bp-legacy/buddypress/activity/index.php:145 #: bp-templates/bp-legacy/buddypress/groups/single/activity.php:12 msgid "RSS Feed" msgstr "" -#: bp-templates/bp-legacy/buddypress/activity/index.php:142 +#: bp-templates/bp-legacy/buddypress/activity/index.php:145 #: bp-templates/bp-legacy/buddypress/groups/single/activity.php:12 msgid "RSS" msgstr "" -#: bp-templates/bp-legacy/buddypress/activity/index.php:154 +#: bp-templates/bp-legacy/buddypress/activity/index.php:157 #: bp-templates/bp-legacy/buddypress/groups/single/activity.php:24 #: bp-templates/bp-legacy/buddypress/members/single/activity.php:17 msgid "Show:" msgstr "" -#: bp-templates/bp-legacy/buddypress/activity/index.php:156 +#: bp-templates/bp-legacy/buddypress/activity/index.php:159 #: bp-templates/bp-legacy/buddypress/groups/single/activity.php:26 #: bp-templates/bp-legacy/buddypress/members/single/activity.php:19 msgid "— Everything —" @@ -6362,14 +6508,14 @@ msgstr "" #: bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/camera.php:25 #: bp-templates/bp-legacy/buddypress/members/single/settings/capabilities.php:29 -#: bp-xprofile/classes/class-bp-xprofile-field.php:1122 -#: bp-xprofile/classes/class-bp-xprofile-group.php:713 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1142 +#: bp-xprofile/classes/class-bp-xprofile-group.php:723 msgid "Save" msgstr "" #: bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/crop.php:23 -#: bp-templates/bp-legacy/buddypress/groups/create.php:235 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:209 +#: bp-templates/bp-legacy/buddypress/groups/create.php:285 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php:57 #: bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php:60 msgid "Crop Image" msgstr "" @@ -6381,26 +6527,20 @@ msgid "" "one, please use the delete profile photo button." msgstr "" -#: bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/index.php:38 -#: bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php:45 -#: bp-xprofile/classes/class-bp-xprofile-user-admin.php:484 -msgid "Delete Profile Photo" -msgstr "" - #: bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/index.php:38 #: bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php:45 msgid "Delete My Profile Photo" msgstr "" #: bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/index.php:40 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:181 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php:29 msgid "" "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." msgstr "" #: bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/index.php:41 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:183 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php:31 msgid "Delete Group Profile Photo" msgstr "" @@ -6410,11 +6550,6 @@ msgid "" "please use the delete Cover Image button." msgstr "" -#: bp-templates/bp-legacy/buddypress/assets/_attachments/cover-images/index.php:27 -#: bp-templates/bp-legacy/buddypress/assets/_attachments/cover-images/index.php:30 -msgid "Delete Cover Image" -msgstr "" - #: bp-templates/bp-legacy/buddypress/assets/_attachments/cover-images/index.php:27 msgid "Delete My Cover Image" msgstr "" @@ -6451,23 +6586,31 @@ msgstr "" msgid "Sorry, there were no sites found." msgstr "" -#: bp-templates/bp-legacy/buddypress/blogs/create.php:37 +#: bp-templates/bp-legacy/buddypress/blogs/create.php:40 msgid "Site registration is currently disabled" msgstr "" -#: bp-templates/bp-legacy/buddypress/blogs/index.php:53 +#: bp-templates/bp-legacy/buddypress/blogs/index.php:60 +msgid "Sites directory main navigation" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/blogs/index.php:62 msgid "All Sites %s" msgstr "" -#: bp-templates/bp-legacy/buddypress/blogs/index.php:57 +#: bp-templates/bp-legacy/buddypress/blogs/index.php:66 msgid "My Sites %s" msgstr "" -#: bp-templates/bp-legacy/buddypress/blogs/index.php:89 -#: bp-templates/bp-legacy/buddypress/forums/index.php:88 -#: bp-templates/bp-legacy/buddypress/groups/index.php:83 +#: bp-templates/bp-legacy/buddypress/blogs/index.php:82 +msgid "Sites directory secondary navigation" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/blogs/index.php:98 +#: bp-templates/bp-legacy/buddypress/forums/index.php:96 +#: bp-templates/bp-legacy/buddypress/groups/index.php:95 #: bp-templates/bp-legacy/buddypress/groups/single/forum.php:52 -#: bp-templates/bp-legacy/buddypress/members/index.php:85 +#: bp-templates/bp-legacy/buddypress/members/index.php:93 #: bp-templates/bp-legacy/buddypress/members/single/blogs.php:20 #: bp-templates/bp-legacy/buddypress/members/single/forums.php:19 #: bp-templates/bp-legacy/buddypress/members/single/friends.php:21 @@ -6475,6 +6618,11 @@ msgstr "" msgid "Last Active" msgstr "" +#: bp-templates/bp-legacy/buddypress/blogs/index.php:118 +#. translators: accessibility text +msgid "Sites directory" +msgstr "" + #: bp-templates/bp-legacy/buddypress/forums/forums-loop.php:52 msgid "Topic" msgstr "" @@ -6502,52 +6650,62 @@ msgstr "" msgid "Sorry, there were no forum topics found." msgstr "" -#: bp-templates/bp-legacy/buddypress/forums/index.php:52 +#: bp-templates/bp-legacy/buddypress/forums/index.php:58 +msgid "Forums directory main navigation" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/forums/index.php:60 msgid "All Topics %s" msgstr "" -#: bp-templates/bp-legacy/buddypress/forums/index.php:56 +#: bp-templates/bp-legacy/buddypress/forums/index.php:64 msgid "My Topics %s" msgstr "" -#: bp-templates/bp-legacy/buddypress/forums/index.php:89 +#: bp-templates/bp-legacy/buddypress/forums/index.php:80 +#: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:20 +#: bp-templates/bp-legacy/buddypress/groups/single/forum/topic.php:17 +msgid "Forums secondary navigation" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/forums/index.php:97 #: bp-templates/bp-legacy/buddypress/groups/single/forum.php:53 #: bp-templates/bp-legacy/buddypress/members/single/forums.php:20 msgid "Most Posts" msgstr "" -#: bp-templates/bp-legacy/buddypress/forums/index.php:90 +#: bp-templates/bp-legacy/buddypress/forums/index.php:98 #: bp-templates/bp-legacy/buddypress/groups/single/forum.php:54 #: bp-templates/bp-legacy/buddypress/members/single/forums.php:21 msgid "Unreplied" msgstr "" -#: bp-templates/bp-legacy/buddypress/forums/index.php:161 +#: bp-templates/bp-legacy/buddypress/forums/index.php:169 msgid "Create New Topic:" msgstr "" -#: bp-templates/bp-legacy/buddypress/forums/index.php:171 +#: bp-templates/bp-legacy/buddypress/forums/index.php:182 #: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:77 #: bp-templates/bp-legacy/buddypress/groups/single/forum.php:109 msgid "Content:" msgstr "" -#: bp-templates/bp-legacy/buddypress/forums/index.php:174 +#: bp-templates/bp-legacy/buddypress/forums/index.php:185 #: bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php:80 #: bp-templates/bp-legacy/buddypress/groups/single/forum.php:112 msgid "Tags (comma separated):" msgstr "" -#: bp-templates/bp-legacy/buddypress/forums/index.php:177 +#: bp-templates/bp-legacy/buddypress/forums/index.php:188 msgid "Post In Group Forum:" msgstr "" -#: bp-templates/bp-legacy/buddypress/forums/index.php:204 +#: bp-templates/bp-legacy/buddypress/forums/index.php:215 #: bp-templates/bp-legacy/buddypress/groups/single/forum.php:125 msgid "Post Topic" msgstr "" -#: bp-templates/bp-legacy/buddypress/forums/index.php:216 +#: bp-templates/bp-legacy/buddypress/forums/index.php:227 msgid "" "You are not a member of any groups so you don't have any group forums you " "can post in. To start posting, first find a group that matches the topic " @@ -6556,257 +6714,304 @@ msgid "" "you can post your topic in that group's forum." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:66 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:39 +#: bp-templates/bp-legacy/buddypress/groups/create.php:61 +#. translators: accessibility text +msgid "Group Details" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/create.php:74 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php:22 msgid "Group Name (required)" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:71 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:42 +#: bp-templates/bp-legacy/buddypress/groups/create.php:79 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php:25 msgid "Group Description (required)" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:101 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:100 +#: bp-templates/bp-legacy/buddypress/groups/create.php:116 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:38 msgid "Privacy Options" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:105 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:104 +#: bp-templates/bp-legacy/buddypress/groups/create.php:120 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:42 msgid "This is a public group" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:108 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:107 +#: bp-templates/bp-legacy/buddypress/groups/create.php:123 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:45 msgid "Any site member can join this group." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:109 -#: bp-templates/bp-legacy/buddypress/groups/create.php:118 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:108 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:116 +#: bp-templates/bp-legacy/buddypress/groups/create.php:124 +#: bp-templates/bp-legacy/buddypress/groups/create.php:132 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:46 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:54 msgid "This group will be listed in the groups directory and in search results." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:110 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:109 +#: bp-templates/bp-legacy/buddypress/groups/create.php:125 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:47 msgid "Group content and activity will be visible to any site member." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:114 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:112 +#: bp-templates/bp-legacy/buddypress/groups/create.php:128 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:50 msgid "This is a private group" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:117 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:115 +#: bp-templates/bp-legacy/buddypress/groups/create.php:131 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:53 msgid "Only users who request membership and are accepted can join the group." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:119 -#: bp-templates/bp-legacy/buddypress/groups/create.php:128 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:117 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:125 +#: bp-templates/bp-legacy/buddypress/groups/create.php:133 +#: bp-templates/bp-legacy/buddypress/groups/create.php:141 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:55 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:63 msgid "Group content and activity will only be visible to members of the group." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:123 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:120 +#: bp-templates/bp-legacy/buddypress/groups/create.php:136 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:58 msgid "This is a hidden group" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:126 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:123 +#: bp-templates/bp-legacy/buddypress/groups/create.php:139 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:61 msgid "Only users who are invited can join the group." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:127 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:124 +#: bp-templates/bp-legacy/buddypress/groups/create.php:140 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:62 msgid "This group will not be listed in the groups directory or search results." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:133 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:132 +#: bp-templates/bp-legacy/buddypress/groups/create.php:152 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:74 +msgid "Group Types" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/create.php:154 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:76 +msgid "Select the types this group should be a part of." +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/create.php:162 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:84 +#. translators: Group type description shown when creating a group. +msgid "– %s" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/create.php:176 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:98 msgid "Group Invitations" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:135 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:134 +#: bp-templates/bp-legacy/buddypress/groups/create.php:178 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:100 msgid "Which members of this group are allowed to invite others?" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:153 +#: bp-templates/bp-legacy/buddypress/groups/create.php:198 msgid "Should this group have a forum?" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:160 +#: bp-templates/bp-legacy/buddypress/groups/create.php:205 msgid "" "<strong>Attention Site Admin:</strong> Group forums require the <a " "href=\"%s\">correct setup and configuration</a> of a bbPress installation." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:200 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:167 +#: bp-templates/bp-legacy/buddypress/groups/create.php:229 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php:11 +#. translators: accessibility text +msgid "Group Avatar" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/create.php:250 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php:15 msgid "" "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." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:205 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:172 +#: bp-templates/bp-legacy/buddypress/groups/create.php:255 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php:20 #: bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php:36 #. translators: accessibility text msgid "Select an image" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:208 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:175 +#: bp-templates/bp-legacy/buddypress/groups/create.php:258 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php:23 #: bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php:39 msgid "Upload Image" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:212 +#: bp-templates/bp-legacy/buddypress/groups/create.php:262 msgid "" "To skip the group profile photo upload process, hit the \"Next Step\" " "button." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:227 +#: bp-templates/bp-legacy/buddypress/groups/create.php:277 msgid "Crop Group Profile Photo" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:229 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:203 +#: bp-templates/bp-legacy/buddypress/groups/create.php:279 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php:51 #: bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php:54 msgid "Profile photo to crop" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:232 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:206 +#: bp-templates/bp-legacy/buddypress/groups/create.php:282 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php:54 #: bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php:57 msgid "Profile photo preview" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:273 -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:237 +#: bp-templates/bp-legacy/buddypress/groups/create.php:328 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-cover-image.php:22 msgid "The Cover Image will be used to customize the header of your group." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:319 +#: bp-templates/bp-legacy/buddypress/groups/create.php:379 msgid "Select people to invite from your friends list." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:337 +#: bp-templates/bp-legacy/buddypress/groups/create.php:397 #: bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php:74 -#: bp-templates/bp-legacy/buddypress-functions.php:1295 +#: bp-templates/bp-legacy/buddypress-functions.php:1310 msgid "Remove Invite" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:354 +#: bp-templates/bp-legacy/buddypress/groups/create.php:414 msgid "" "Once you have built up friend connections you will be able to invite others " "to your group." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:399 +#: bp-templates/bp-legacy/buddypress/groups/create.php:459 msgid "Back to Previous Step" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:406 +#: bp-templates/bp-legacy/buddypress/groups/create.php:466 msgid "Next Step" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:413 +#: bp-templates/bp-legacy/buddypress/groups/create.php:473 msgid "Create Group and Continue" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/create.php:420 +#: bp-templates/bp-legacy/buddypress/groups/create.php:480 msgid "Finish" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/groups-loop.php:131 +#: bp-templates/bp-legacy/buddypress/groups/groups-loop.php:135 msgid "There were no groups found." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/index.php:49 +#: bp-templates/bp-legacy/buddypress/groups/index.php:59 +msgid "Groups directory main navigation" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/index.php:61 msgid "All Groups %s" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/index.php:84 +#: bp-templates/bp-legacy/buddypress/groups/index.php:79 +msgid "Groups directory secondary navigation" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/index.php:96 #: bp-templates/bp-legacy/buddypress/members/single/groups.php:22 msgid "Most Members" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/index.php:85 +#: bp-templates/bp-legacy/buddypress/groups/index.php:97 #: bp-templates/bp-legacy/buddypress/members/single/groups.php:23 msgid "Newly Created" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:56 +#: bp-templates/bp-legacy/buddypress/groups/index.php:115 +#. translators: accessibility text +msgid "Groups directory" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php:23 +msgid "" +"WARNING: Deleting this group will completely remove ALL content associated " +"with it. There is no way back, please be careful with this option." +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php:26 +msgid "I understand the consequences of deleting this group." +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php:11 +msgid "Manage Group Details" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php:39 msgid "Notify group members of these changes via email" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:201 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php:49 msgid "Crop Profile Photo" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:226 -#: bp-templates/bp-legacy/buddypress/members/single/profile/change-cover-image.php:11 -msgid "Change Cover Image" +#: bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php:11 +msgid "Manage Group Settings" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:111 +msgid "No group administrators were found." +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:206 +msgid "No group moderators were found." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:348 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:247 msgid "(banned)" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:354 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:270 msgid "Unban this member" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:354 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:270 msgid "Remove Ban" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:358 -msgid "Kick and ban this member" -msgstr "" - -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:358 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:274 msgid "Kick & Ban" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:359 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:275 msgid "Promote to Mod" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:364 -msgid "Remove this member" -msgstr "" - -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:364 +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:280 msgid "Remove from group" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:401 -msgid "This group has no members." -msgstr "" - -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:472 -msgid "" -"WARNING: Deleting this group will completely remove ALL content associated " -"with it. There is no way back, please be careful with this option." +#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:317 +msgid "No group members were found." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/admin.php:475 -msgid "I understand the consequences of deleting this group." +#: bp-templates/bp-legacy/buddypress/groups/single/admin/membership-requests.php:11 +msgid "Manage Membership Requests" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php:73 +#: bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php:74 #: bp-templates/bp-legacy/buddypress/groups/single/group-header.php:22 msgid "Group Admins" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php:93 +#: bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php:94 #: bp-templates/bp-legacy/buddypress/groups/single/group-header.php:42 msgid "Group Mods" msgstr "" @@ -6870,6 +7075,10 @@ msgstr "" msgid "Post a New Topic:" msgstr "" +#: bp-templates/bp-legacy/buddypress/groups/single/home.php:39 +msgid "Group primary navigation" +msgstr "" + #: bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php:110 msgid "Select friends to invite." msgstr "" @@ -6878,27 +7087,32 @@ msgstr "" msgid "No members were found." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/request-membership.php:17 +#: bp-templates/bp-legacy/buddypress/groups/single/request-membership.php:19 +#. translators: accessibility text +msgid "Request form" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/single/request-membership.php:22 msgid "You are requesting to become a member of the group '%s'." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/request-membership.php:20 +#: bp-templates/bp-legacy/buddypress/groups/single/request-membership.php:25 msgid "Comments (optional)" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/request-membership.php:32 +#: bp-templates/bp-legacy/buddypress/groups/single/request-membership.php:37 msgid "Send Request" msgstr "" #: bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php:57 -#: bp-templates/bp-legacy/buddypress/members/single/friends/requests.php:57 -#: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:45 +#: bp-templates/bp-legacy/buddypress/members/single/friends/requests.php:62 +#: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:50 msgid "Accept" msgstr "" #: bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php:59 -#: bp-templates/bp-legacy/buddypress/members/single/friends/requests.php:58 -#: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:46 +#: bp-templates/bp-legacy/buddypress/members/single/friends/requests.php:63 +#: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:51 msgid "Reject" msgstr "" @@ -6906,193 +7120,273 @@ msgstr "" msgid "There are no pending membership requests." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/send-invites.php:28 +#: bp-templates/bp-legacy/buddypress/groups/single/send-invites.php:20 +msgid "Send invites" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/groups/single/send-invites.php:30 msgid "Send Invites" msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/send-invites.php:43 +#: bp-templates/bp-legacy/buddypress/groups/single/send-invites.php:45 msgid "Group invitations can only be extended to friends." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/send-invites.php:44 +#: bp-templates/bp-legacy/buddypress/groups/single/send-invites.php:46 msgid "" "Once you've made some friendships, you'll be able to invite those members " "to this group." msgstr "" -#: bp-templates/bp-legacy/buddypress/groups/single/send-invites.php:52 +#: bp-templates/bp-legacy/buddypress/groups/single/send-invites.php:54 msgid "All of your friends already belong to this group." msgstr "" -#: bp-templates/bp-legacy/buddypress/members/activate.php:41 +#: bp-templates/bp-legacy/buddypress/members/activate.php:44 msgid "" "Your account was activated successfully! Your account details have been " "sent to you in a separate email." msgstr "" -#: bp-templates/bp-legacy/buddypress/members/activate.php:43 +#: bp-templates/bp-legacy/buddypress/members/activate.php:46 msgid "" "Your account was activated successfully! You can now <a href=\"%s\">log " "in</a> with the username and password you provided when you signed up." msgstr "" -#: bp-templates/bp-legacy/buddypress/members/activate.php:48 +#: bp-templates/bp-legacy/buddypress/members/activate.php:51 msgid "Please provide a valid activation key." msgstr "" -#: bp-templates/bp-legacy/buddypress/members/activate.php:52 +#: bp-templates/bp-legacy/buddypress/members/activate.php:55 msgid "Activation Key:" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/index.php:86 +#: bp-templates/bp-legacy/buddypress/members/index.php:59 +msgid "Members directory main navigation" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/index.php:79 +msgid "Members directory secondary navigation" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/index.php:94 #: bp-templates/bp-legacy/buddypress/members/single/friends.php:22 msgid "Newest Registered" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:40 +#: bp-templates/bp-legacy/buddypress/members/index.php:115 +#. translators: accessibility text +msgid "Members directory" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/register.php:45 msgid "User registration is currently not allowed." msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:59 +#: bp-templates/bp-legacy/buddypress/members/register.php:67 msgid "" "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." msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:74 +#: bp-templates/bp-legacy/buddypress/members/register.php:82 msgid "Account Details" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:76 -#: bp-templates/bp-legacy/buddypress/members/register.php:87 -#: bp-templates/bp-legacy/buddypress/members/register.php:98 -#: bp-templates/bp-legacy/buddypress/members/register.php:110 -#: bp-templates/bp-legacy/buddypress/members/register.php:270 -#: bp-templates/bp-legacy/buddypress/members/register.php:286 -#: bp-xprofile/bp-xprofile-template.php:1433 +#: bp-templates/bp-legacy/buddypress/members/register.php:84 +#: bp-templates/bp-legacy/buddypress/members/register.php:95 +#: bp-templates/bp-legacy/buddypress/members/register.php:106 +#: bp-templates/bp-legacy/buddypress/members/register.php:118 +#: bp-templates/bp-legacy/buddypress/members/register.php:278 +#: bp-templates/bp-legacy/buddypress/members/register.php:294 +#: bp-xprofile/bp-xprofile-template.php:1432 msgid "(required)" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:87 +#: bp-templates/bp-legacy/buddypress/members/register.php:95 msgid "Email Address" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:98 +#: bp-templates/bp-legacy/buddypress/members/register.php:106 msgid "Choose a Password" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:110 +#: bp-templates/bp-legacy/buddypress/members/register.php:118 msgid "Confirm Password" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:156 +#: bp-templates/bp-legacy/buddypress/members/register.php:164 msgid "Profile Details" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:180 -#: bp-templates/bp-legacy/buddypress/members/register.php:201 +#: bp-templates/bp-legacy/buddypress/members/register.php:188 +#: bp-templates/bp-legacy/buddypress/members/register.php:209 #: bp-templates/bp-legacy/buddypress/members/single/profile/edit.php:58 #: bp-templates/bp-legacy/buddypress/members/single/profile/edit.php:78 #: bp-xprofile/classes/class-bp-xprofile-user-admin.php:393 msgid "This field can be seen by: %s" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:189 +#: bp-templates/bp-legacy/buddypress/members/register.php:197 #: bp-templates/bp-legacy/buddypress/members/single/profile/edit.php:67 #: bp-xprofile/classes/class-bp-xprofile-user-admin.php:409 msgid "Who can see this field?" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:264 +#: bp-templates/bp-legacy/buddypress/members/register.php:272 msgid "Blog Details" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:266 +#: bp-templates/bp-legacy/buddypress/members/register.php:274 msgid "Yes, I'd like to create a new site" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:270 +#: bp-templates/bp-legacy/buddypress/members/register.php:278 msgid "Blog URL" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:286 +#: bp-templates/bp-legacy/buddypress/members/register.php:294 msgid "Site Title" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:344 +#: bp-templates/bp-legacy/buddypress/members/register.php:306 +msgid "" +"Privacy: I would like my site to appear in search engines, and in public " +"listings around this network." +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/register.php:354 msgid "Complete Sign Up" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:376 +#: bp-templates/bp-legacy/buddypress/members/register.php:391 msgid "" "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." msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:378 +#: bp-templates/bp-legacy/buddypress/members/register.php:393 msgid "" "You have successfully created your account! Please log in using the " "username and password you have just created." msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/friends/requests.php:102 +#: bp-templates/bp-legacy/buddypress/members/single/activity.php:11 +#: bp-templates/bp-legacy/buddypress/members/single/blogs.php:11 +#: bp-templates/bp-legacy/buddypress/members/single/forums.php:11 +#: bp-templates/bp-legacy/buddypress/members/single/friends.php:11 +#: bp-templates/bp-legacy/buddypress/members/single/groups.php:11 +#: bp-templates/bp-legacy/buddypress/members/single/messages.php:11 +#: bp-templates/bp-legacy/buddypress/members/single/notifications.php:11 +#: bp-templates/bp-legacy/buddypress/members/single/plugins.php:21 +#: bp-templates/bp-legacy/buddypress/members/single/profile.php:11 +#: bp-templates/bp-legacy/buddypress/members/single/settings.php:11 +msgid "Member secondary navigation" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/friends/requests.php:20 +#. translators: accessibility text +msgid "Friendship requests" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/friends/requests.php:107 msgid "You have no pending friendship requests." msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:66 +#: bp-templates/bp-legacy/buddypress/members/single/friends.php:58 +#. translators: accessibility text +msgid "My friends" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/friends.php:63 +#. translators: accessibility text +msgid "Friends" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:20 +#. translators: accessibility text +msgid "Group invitations" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:71 msgid "You have no outstanding group invites." msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/messages/compose.php:21 +#: bp-templates/bp-legacy/buddypress/members/single/groups.php:60 +#. translators: accessibility text +msgid "My groups" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/groups.php:65 +#. translators: accessibility text +msgid "Member's groups" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/home.php:38 +msgid "Member primary navigation" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/messages/compose.php:12 +#. translators: accessibility text +msgid "Compose Message" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/messages/compose.php:26 msgid "Send To (Username or Friend's Name)" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/messages/compose.php:30 +#: bp-templates/bp-legacy/buddypress/members/single/messages/compose.php:35 msgid "This is a notice to all users." msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/messages/compose.php:33 -#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:59 +#: bp-templates/bp-legacy/buddypress/members/single/messages/compose.php:38 +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:64 msgid "Subject" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/messages/compose.php:36 +#: bp-templates/bp-legacy/buddypress/members/single/messages/compose.php:41 msgid "Message" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/messages/compose.php:51 +#: bp-templates/bp-legacy/buddypress/members/single/messages/compose.php:56 msgid "Send Message" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:56 +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:20 +#. translators: accessibility text +msgid "Starred messages" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:61 #: bp-templates/bp-legacy/buddypress/members/single/notifications/notifications-loop.php:17 #. translators: accessibility text msgid "Select all" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:58 +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:63 msgid "From" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:92 +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:97 #. translators: accessibility text msgid "Select this message" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:99 +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:104 msgid "From:" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:106 +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:111 msgid "To:" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:113 +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:118 msgid "View Message" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:189 +#: bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php:194 msgid "Sorry, no messages were found." msgstr "" @@ -7137,6 +7431,21 @@ msgstr "" msgid "Send Reply" msgstr "" +#: bp-templates/bp-legacy/buddypress/members/single/messages.php:43 +#. translators: accessibility text +msgid "Messages inbox" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/messages.php:48 +#. translators: accessibility text +msgid "Sent Messages" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/messages.php:88 +#. translators: accessibility text +msgid "Sitewide Notices" +msgstr "" + #: bp-templates/bp-legacy/buddypress/members/single/notifications/feedback-no-notifications.php:16 msgid "You have no unread notifications." msgstr "" @@ -7166,6 +7475,11 @@ msgstr "" msgid "Select this notification" msgstr "" +#: bp-templates/bp-legacy/buddypress/members/single/notifications/unread.php:15 +#. translators: accessibility text +msgid "Unread notifications" +msgstr "" + #: bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php:11 msgid "Change Profile Photo" msgstr "" @@ -7196,6 +7510,10 @@ msgid "" "you used to register with this site." msgstr "" +#: bp-templates/bp-legacy/buddypress/members/single/profile/change-cover-image.php:11 +msgid "Change Cover Image" +msgstr "" + #: bp-templates/bp-legacy/buddypress/members/single/profile/change-cover-image.php:22 msgid "Your Cover Image will be used to customize the header of your profile." msgstr "" @@ -7204,9 +7522,8 @@ msgstr "" msgid "Editing '%s' Profile Group" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/profile/edit.php:62 -#: bp-xprofile/classes/class-bp-xprofile-user-admin.php:400 -msgid "Change" +#: bp-templates/bp-legacy/buddypress/members/single/profile/edit.php:29 +msgid "Profile field groups" msgstr "" #: bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php:28 @@ -7233,44 +7550,59 @@ msgstr "" msgid "I understand the consequences." msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:16 +#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:14 +#. translators: accessibility text +msgid "Account settings" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:21 msgid "" "Current Password <span>(required to update email or change current " "password)</span>" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:17 +#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:22 msgid "Password Lost and Found" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:17 +#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:22 msgid "Lost your password?" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:21 +#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:26 msgid "Account Email" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:24 +#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:29 msgid "Change Password <span>(leave blank for no change)</span>" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:25 +#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:30 msgid "New Password" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:29 -#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:31 +#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:34 +#: bp-templates/bp-legacy/buddypress/members/single/settings/general.php:36 #. translators: accessibility text msgid "Repeat New Password" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php:13 +#: bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php:14 +#. translators: accessibility text +msgid "Notification settings" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php:18 msgid "Send an email notice when:" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/settings/profile.php:28 -#: bp-xprofile/classes/class-bp-xprofile-field.php:1399 +#: bp-templates/bp-legacy/buddypress/members/single/settings/profile.php:18 +#. translators: accessibility text +msgid "Profile visibility settings" +msgstr "" + +#: bp-templates/bp-legacy/buddypress/members/single/settings/profile.php:33 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1419 msgid "Visibility" msgstr "" @@ -7278,109 +7610,109 @@ msgstr "" msgid "BuddyPress Legacy" msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:291 +#: bp-templates/bp-legacy/buddypress-functions.php:293 msgid "Accepted" msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:293 +#: bp-templates/bp-legacy/buddypress-functions.php:295 msgid "comments" msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:294 +#: bp-templates/bp-legacy/buddypress-functions.php:296 msgid "Are you sure you want to leave this group?" msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:296 +#: bp-templates/bp-legacy/buddypress-functions.php:298 msgid "My Favorites" msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:297 +#: bp-templates/bp-legacy/buddypress-functions.php:299 msgid "Rejected" msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:299 +#: bp-templates/bp-legacy/buddypress-functions.php:301 msgid "Show all" msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:300 +#: bp-templates/bp-legacy/buddypress-functions.php:302 msgid "Show all comments for this thread" msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:301 +#: bp-templates/bp-legacy/buddypress-functions.php:303 msgid "Show all %d comments" msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:302 +#: bp-templates/bp-legacy/buddypress-functions.php:304 msgid "" "Your profile has unsaved changes. If you leave the page, the changes will " "be lost." msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:935 +#: bp-templates/bp-legacy/buddypress-functions.php:950 msgid "There was a problem posting your update. Please try again." msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1069 -#: bp-templates/bp-legacy/buddypress-functions.php:1107 +#: bp-templates/bp-legacy/buddypress-functions.php:1084 +#: bp-templates/bp-legacy/buddypress-functions.php:1122 msgid "There was a problem when deleting. Please try again." msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1299 +#: bp-templates/bp-legacy/buddypress-functions.php:1314 msgid "" "%s has previously requested to join this group. Sending an invitation will " "automatically add the member to the group." msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1355 +#: bp-templates/bp-legacy/buddypress-functions.php:1370 msgid " Friendship could not be requested." msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1367 +#: bp-templates/bp-legacy/buddypress-functions.php:1382 msgid "Friendship request could not be cancelled." msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1372 +#: bp-templates/bp-legacy/buddypress-functions.php:1387 msgid "Request Pending" msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1393 +#: bp-templates/bp-legacy/buddypress-functions.php:1408 msgid "There was a problem accepting that request. Please try again." msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1413 +#: bp-templates/bp-legacy/buddypress-functions.php:1428 msgid "There was a problem rejecting that request. Please try again." msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1444 +#: bp-templates/bp-legacy/buddypress-functions.php:1459 msgid "Error joining group" msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1457 -#: bp-templates/bp-legacy/buddypress-functions.php:1467 +#: bp-templates/bp-legacy/buddypress-functions.php:1472 +#: bp-templates/bp-legacy/buddypress-functions.php:1482 msgid "Error requesting membership" msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1478 +#: bp-templates/bp-legacy/buddypress-functions.php:1493 msgid "Error leaving group" msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1502 +#: bp-templates/bp-legacy/buddypress-functions.php:1517 msgid "There was a problem closing the notice." msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1565 +#: bp-templates/bp-legacy/buddypress-functions.php:1580 msgid "There was a problem sending that reply. Please try again." msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1584 +#: bp-templates/bp-legacy/buddypress-functions.php:1599 msgid "There was a problem marking messages as unread." msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1610 +#: bp-templates/bp-legacy/buddypress-functions.php:1625 msgid "There was a problem marking messages as read." msgstr "" -#: bp-templates/bp-legacy/buddypress-functions.php:1636 +#: bp-templates/bp-legacy/buddypress-functions.php:1651 msgid "There was a problem deleting messages." msgstr "" @@ -7410,16 +7742,16 @@ msgid "%s's profile was updated" msgstr "" #: bp-xprofile/bp-xprofile-admin.php:97 -#: bp-xprofile/classes/class-bp-xprofile-group.php:711 +#: bp-xprofile/classes/class-bp-xprofile-group.php:721 msgid "Add New Field Group" msgstr "" -#: bp-xprofile/bp-xprofile-admin.php:129 bp-xprofile/bp-xprofile-admin.php:565 +#: bp-xprofile/bp-xprofile-admin.php:129 bp-xprofile/bp-xprofile-admin.php:570 msgid "(Primary)" msgstr "" #: bp-xprofile/bp-xprofile-admin.php:151 -#: bp-xprofile/classes/class-bp-xprofile-field.php:1120 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1140 msgid "Add New Field" msgstr "" @@ -7460,23 +7792,23 @@ msgstr "" msgid "The field was saved successfully." msgstr "" -#: bp-xprofile/bp-xprofile-admin.php:476 +#: bp-xprofile/bp-xprofile-admin.php:481 msgid "field" msgstr "" -#: bp-xprofile/bp-xprofile-admin.php:476 +#: bp-xprofile/bp-xprofile-admin.php:481 msgid "option" msgstr "" -#: bp-xprofile/bp-xprofile-admin.php:480 +#: bp-xprofile/bp-xprofile-admin.php:485 msgid "There was an error deleting the %s. Please try again." msgstr "" -#: bp-xprofile/bp-xprofile-admin.php:483 +#: bp-xprofile/bp-xprofile-admin.php:488 msgid "The %s was deleted successfully!" msgstr "" -#: bp-xprofile/bp-xprofile-admin.php:567 +#: bp-xprofile/bp-xprofile-admin.php:572 msgid "(Sign-up)" msgstr "" @@ -7500,81 +7832,148 @@ msgstr "" msgid "Profile updated %s" msgstr "" -#: bp-xprofile/bp-xprofile-template.php:1376 +#: bp-xprofile/bp-xprofile-template.php:1375 #. translators: accessibility text msgid "Select visibility" msgstr "" -#: bp-xprofile/bp-xprofile-template.php:1390 -msgid "This field's visibility cannot be changed." -msgstr "" - -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:106 -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:292 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:108 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:304 #. translators: accessibility text msgid "Select day" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:117 -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:300 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:119 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:312 #. translators: accessibility text msgid "Select month" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:128 -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:308 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:130 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:320 #. translators: accessibility text msgid "Select year" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:218 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:220 msgid "January" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:219 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:221 msgid "February" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:220 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:222 msgid "March" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:221 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:223 msgid "April" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:222 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:224 msgid "May" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:223 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:225 msgid "June" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:224 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:226 msgid "July" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:225 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:227 msgid "August" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:226 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:228 msgid "September" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:227 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:229 msgid "October" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:228 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:230 msgid "November" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:229 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:231 msgid "December" msgstr "" +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:465 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:471 +msgid "Date format" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:487 +msgid "Time elapsed" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:487 +msgid "<code>4 years ago</code>, <code>4 years from now</code>" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:494 +msgid "Custom:" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:496 +msgid "Enter custom time format" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:497 +msgid "Example:" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:499 +msgid "Documentation on date and time formatting" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:508 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:514 +msgid "Range" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:521 +msgid "Absolute" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:526 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:542 +msgid "Start:" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:528 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:557 +msgid "End:" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:537 +msgid "Relative" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:548 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:562 +msgid "Select range" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:551 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:565 +msgid "years ago" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:553 +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:567 +msgid "years from now" +msgstr "" + +#: bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php:629 +msgid "F j, Y" +msgstr "" + #: bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php:95 #: bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php:85 #: bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php:180 @@ -7596,175 +7995,180 @@ msgstr "" msgid "URL" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type.php:299 +#: bp-xprofile/classes/class-bp-xprofile-field-type.php:324 msgid "Please enter options for this Field:" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type.php:302 +#: bp-xprofile/classes/class-bp-xprofile-field-type.php:327 msgid "Sort Order:" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type.php:304 +#: bp-xprofile/classes/class-bp-xprofile-field-type.php:329 msgid "Custom" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type.php:305 +#: bp-xprofile/classes/class-bp-xprofile-field-type.php:330 msgid "Ascending" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type.php:306 +#: bp-xprofile/classes/class-bp-xprofile-field-type.php:331 msgid "Descending" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type.php:370 +#: bp-xprofile/classes/class-bp-xprofile-field-type.php:395 #. translators: accessibility text msgid "Add an option" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type.php:375 +#: bp-xprofile/classes/class-bp-xprofile-field-type.php:400 msgid "Default Value" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field-type.php:392 +#: bp-xprofile/classes/class-bp-xprofile-field-type.php:417 msgid "Add Another Option" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:748 -#: bp-xprofile/classes/class-bp-xprofile-field.php:1370 +#: bp-xprofile/classes/class-bp-xprofile-field.php:753 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1390 msgid "Users with no member type" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:751 +#: bp-xprofile/classes/class-bp-xprofile-field.php:756 msgid "(Member types: %s)" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:753 +#: bp-xprofile/classes/class-bp-xprofile-field.php:758 msgid "(Unavailable to all members)" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1043 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1050 msgid "Profile fields must have a name." msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1049 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1056 msgid "Profile field requirement is missing." msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1055 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1062 msgid "Profile field type is missing." msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1061 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1068 msgid "The profile field type %s is not registered." msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1076 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1083 msgid "These field options are invalid." msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1087 -#: bp-xprofile/classes/class-bp-xprofile-field.php:1093 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1094 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1100 msgid "%s require at least one option." msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1136 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1156 msgid "Edit Field" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1252 -#: bp-xprofile/classes/class-bp-xprofile-group.php:782 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1272 +#: bp-xprofile/classes/class-bp-xprofile-group.php:792 msgid "Submit" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1322 -#: bp-xprofile/classes/class-bp-xprofile-group.php:749 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1342 +#: bp-xprofile/classes/class-bp-xprofile-group.php:759 #. translators: accessibility text msgid "Add description" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1353 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1373 msgid "Member Types" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1355 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1375 msgid "This field should be available to:" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1375 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1395 msgid "Unavailable to all members." msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1419 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1439 msgid "Allow members to override" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1423 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1443 msgid "Enforce field visibility" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1448 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1468 msgid "Requirement" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1451 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1471 msgid "Not Required" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1452 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1472 msgid "Required" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1471 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1491 msgid "Autolink" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1473 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1493 msgid "" "On user profiles, link this field to a search of the Members directory, " "using the field value as a search term." msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1478 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1498 #. translators: accessibility text msgid "Autolink status for this field" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1481 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1501 msgid "Enabled" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1482 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1502 msgid "Disabled" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1506 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1526 msgid "Type" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-group.php:579 +#: bp-xprofile/classes/class-bp-xprofile-group.php:589 msgid "Please make sure you give the group a name." msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-group.php:717 +#: bp-xprofile/classes/class-bp-xprofile-group.php:727 msgid "Edit Field Group" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-group.php:740 -msgid "Field Group Name" +#: bp-xprofile/classes/class-bp-xprofile-group.php:750 +msgid "Field Group Name (required)" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-group.php:745 +#: bp-xprofile/classes/class-bp-xprofile-group.php:755 msgid "Field Group Description" msgstr "" +#: bp-xprofile/classes/class-bp-xprofile-user-admin.php:484 +msgid "Delete Profile Photo" +msgstr "" + #. Author URI of the plugin/theme msgid "https://buddypress.org/" msgstr "" #. Description of the plugin/theme msgid "" -"BuddyPress helps you build any type of community website using WordPress, " -"with member profiles, activity streams, user groups, messaging, and more." +"BuddyPress helps site builders and WordPress developers add community " +"features to their websites, with user profile fields, activity streams, " +"messaging, and notifications." msgstr "" #. Author of the plugin/theme @@ -7851,98 +8255,73 @@ msgctxt "Activity Custom Post Type post comment action" msgid "%1$s commented on the <a href=\"%2$s\">item</a>" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:125 -msgctxt "component directory title" -msgid "Site-Wide Activity" -msgstr "" - -#: bp-blogs/classes/class-bp-blogs-component.php:73 -msgctxt "component directory title" -msgid "Sites" -msgstr "" - -#: bp-core/bp-core-template.php:3121 -msgctxt "component directory title" -msgid "Directory" -msgstr "" - -#: bp-groups/classes/class-bp-groups-component.php:177 -msgctxt "component directory title" -msgid "Groups" -msgstr "" - -#: bp-members/classes/class-bp-members-component.php:116 -msgctxt "component directory title" -msgid "Members" -msgstr "" - -#: bp-activity/classes/class-bp-activity-component.php:166 +#: bp-activity/classes/class-bp-activity-component.php:174 msgctxt "Profile activity screen nav" msgid "Activity" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:176 +#: bp-activity/classes/class-bp-activity-component.php:184 msgctxt "Profile activity screen sub nav" msgid "Personal" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:187 +#: bp-activity/classes/class-bp-activity-component.php:195 msgctxt "Profile activity screen sub nav" msgid "Mentions" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:200 +#: bp-activity/classes/class-bp-activity-component.php:208 msgctxt "Profile activity screen sub nav" msgid "Favorites" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:213 +#: bp-activity/classes/class-bp-activity-component.php:221 msgctxt "Profile activity screen sub nav" msgid "Friends" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:226 +#: bp-activity/classes/class-bp-activity-component.php:234 msgctxt "Profile activity screen sub nav" msgid "Groups" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:264 +#: bp-activity/classes/class-bp-activity-component.php:272 #. translators: %s: Unread mention count for the current user msgctxt "Toolbar Mention logged in user" msgid "Mentions %s" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:268 +#: bp-activity/classes/class-bp-activity-component.php:276 msgctxt "Toolbar Mention logged in user" msgid "Mentions" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:276 +#: bp-activity/classes/class-bp-activity-component.php:284 msgctxt "My Account Activity sub nav" msgid "Activity" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:284 +#: bp-activity/classes/class-bp-activity-component.php:292 msgctxt "My Account Activity sub nav" msgid "Personal" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:305 +#: bp-activity/classes/class-bp-activity-component.php:313 msgctxt "My Account Activity sub nav" msgid "Favorites" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:316 +#: bp-activity/classes/class-bp-activity-component.php:324 msgctxt "My Account Activity sub nav" msgid "Friends" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:327 +#: bp-activity/classes/class-bp-activity-component.php:335 msgctxt "My Account Activity sub nav" msgid "Groups" msgstr "" -#: bp-activity/classes/class-bp-activity-component.php:350 +#: bp-activity/classes/class-bp-activity-component.php:358 msgctxt "Page and <title>" msgid "My Activity" msgstr "" @@ -8034,48 +8413,48 @@ msgid_plural "All <span class=\"count\">(%s)</span>" msgstr[0] "" msgstr[1] "" -#: bp-core/admin/bp-core-admin-schema.php:333 +#: bp-core/admin/bp-core-admin-schema.php:318 msgctxt "First field-group name" msgid "General" msgstr "" -#: bp-core/admin/bp-core-admin-schema.php:337 +#: bp-core/admin/bp-core-admin-schema.php:322 msgctxt "Display name field" msgid "Display Name" msgstr "" -#: bp-core/admin/bp-core-admin-tools.php:419 +#: bp-core/admin/bp-core-admin-tools.php:410 msgctxt "buddypress tools intro" msgid "Use the %s to repair these relationships." msgstr "" -#: bp-core/bp-core-customizer-email.php:34 bp-core/bp-core-filters.php:1109 +#: bp-core/bp-core-customizer-email.php:33 bp-core/bp-core-filters.php:1119 msgctxt "screen heading" msgid "BuddyPress Emails" msgstr "" -#: bp-core/classes/class-bp-admin.php:349 -#: bp-core/classes/class-bp-admin.php:350 +#: bp-core/classes/class-bp-admin.php:347 +#: bp-core/classes/class-bp-admin.php:348 msgctxt "screen heading" msgid "Emails" msgstr "" -#: bp-core/bp-core-customizer-email.php:147 +#: bp-core/bp-core-customizer-email.php:145 msgctxt "email" msgid "Header" msgstr "" -#: bp-core/bp-core-customizer-email.php:152 +#: bp-core/bp-core-customizer-email.php:150 msgctxt "email" msgid "Body" msgstr "" -#: bp-core/bp-core-customizer-email.php:157 +#: bp-core/bp-core-customizer-email.php:155 msgctxt "email" msgid "Footer" msgstr "" -#: bp-core/bp-core-functions.php:3146 +#: bp-core/bp-core-functions.php:3216 #. translators: email disclaimer, e.g. "© 2016 Site Name". msgctxt "email" msgid "© %s %s" @@ -8086,207 +8465,207 @@ msgctxt "email" msgid "unsubscribe" msgstr "" -#: bp-core/bp-core-filters.php:776 +#: bp-core/bp-core-filters.php:780 msgctxt "customizer menu type label" msgid "Custom Link" msgstr "" -#: bp-core/bp-core-filters.php:797 +#: bp-core/bp-core-filters.php:801 msgctxt "customizer menu section title" msgid "BuddyPress (logged-in)" msgstr "" -#: bp-core/bp-core-filters.php:802 +#: bp-core/bp-core-filters.php:806 msgctxt "customizer menu section title" msgid "BuddyPress (logged-out)" msgstr "" -#: bp-core/bp-core-functions.php:634 +#: bp-core/bp-core-functions.php:707 msgctxt "Page title for the Activity directory." msgid "Activity" msgstr "" -#: bp-core/bp-core-functions.php:635 +#: bp-core/bp-core-functions.php:708 msgctxt "Page title for the Groups directory." msgid "Groups" msgstr "" -#: bp-core/bp-core-functions.php:636 +#: bp-core/bp-core-functions.php:709 msgctxt "Page title for the Sites directory." msgid "Sites" msgstr "" -#: bp-core/bp-core-functions.php:637 +#: bp-core/bp-core-functions.php:710 msgctxt "Page title for the Members directory." msgid "Members" msgstr "" -#: bp-core/bp-core-functions.php:638 +#: bp-core/bp-core-functions.php:711 msgctxt "Page title for the user activation screen." msgid "Activate" msgstr "" -#: bp-core/bp-core-functions.php:639 +#: bp-core/bp-core-functions.php:712 msgctxt "Page title for the user registration screen." msgid "Register" msgstr "" -#: bp-core/bp-core-functions.php:1213 +#: bp-core/bp-core-functions.php:1248 msgctxt "Separator in time since" msgid "," msgstr "" -#: bp-core/bp-core-functions.php:2773 +#: bp-core/bp-core-functions.php:2843 msgctxt "email post type label" msgid "Add New" msgstr "" -#: bp-core/bp-core-functions.php:2774 +#: bp-core/bp-core-functions.php:2844 msgctxt "email post type label" msgid "Add a New Email" msgstr "" -#: bp-core/bp-core-functions.php:2775 +#: bp-core/bp-core-functions.php:2845 msgctxt "email post type label" msgid "All Emails" msgstr "" -#: bp-core/bp-core-functions.php:2776 +#: bp-core/bp-core-functions.php:2846 msgctxt "email post type label" msgid "Edit Email" msgstr "" -#: bp-core/bp-core-functions.php:2777 +#: bp-core/bp-core-functions.php:2847 msgctxt "email post type label" msgid "Filter email list" msgstr "" -#: bp-core/bp-core-functions.php:2778 +#: bp-core/bp-core-functions.php:2848 msgctxt "email post type label" msgid "Email list" msgstr "" -#: bp-core/bp-core-functions.php:2779 +#: bp-core/bp-core-functions.php:2849 msgctxt "email post type label" msgid "Email list navigation" msgstr "" -#: bp-core/bp-core-functions.php:2781 +#: bp-core/bp-core-functions.php:2851 msgctxt "email post type label" msgid "BuddyPress Emails" msgstr "" -#: bp-core/bp-core-functions.php:2782 +#: bp-core/bp-core-functions.php:2852 msgctxt "email post type label" msgid "New Email" msgstr "" -#: bp-core/bp-core-functions.php:2783 +#: bp-core/bp-core-functions.php:2853 msgctxt "email post type label" msgid "No emails found" msgstr "" -#: bp-core/bp-core-functions.php:2784 +#: bp-core/bp-core-functions.php:2854 msgctxt "email post type label" msgid "No emails found in Trash" msgstr "" -#: bp-core/bp-core-functions.php:2785 +#: bp-core/bp-core-functions.php:2855 msgctxt "email post type label" msgid "Search Emails" msgstr "" -#: bp-core/bp-core-functions.php:2787 +#: bp-core/bp-core-functions.php:2857 msgctxt "email post type label" msgid "Uploaded to this email" msgstr "" -#: bp-core/bp-core-functions.php:2788 +#: bp-core/bp-core-functions.php:2858 msgctxt "email post type label" msgid "View Email" msgstr "" -#: bp-core/bp-core-functions.php:2780 +#: bp-core/bp-core-functions.php:2850 msgctxt "email post type name" msgid "Emails" msgstr "" -#: bp-core/bp-core-functions.php:2786 +#: bp-core/bp-core-functions.php:2856 msgctxt "email post type singular name" msgid "Email" msgstr "" -#: bp-core/bp-core-functions.php:2864 +#: bp-core/bp-core-functions.php:2934 msgctxt "email type taxonomy label" msgid "New Email Situation" msgstr "" -#: bp-core/bp-core-functions.php:2865 +#: bp-core/bp-core-functions.php:2935 msgctxt "email type taxonomy label" msgid "All Email Situations" msgstr "" -#: bp-core/bp-core-functions.php:2866 +#: bp-core/bp-core-functions.php:2936 msgctxt "email type taxonomy label" msgid "Edit Email Situations" msgstr "" -#: bp-core/bp-core-functions.php:2867 +#: bp-core/bp-core-functions.php:2937 msgctxt "email type taxonomy label" msgid "Email list" msgstr "" -#: bp-core/bp-core-functions.php:2868 +#: bp-core/bp-core-functions.php:2938 msgctxt "email type taxonomy label" msgid "Email list navigation" msgstr "" -#: bp-core/bp-core-functions.php:2869 +#: bp-core/bp-core-functions.php:2939 msgctxt "email type taxonomy label" msgid "Situations" msgstr "" -#: bp-core/bp-core-functions.php:2871 +#: bp-core/bp-core-functions.php:2941 msgctxt "email type taxonomy label" msgid "New email situation name" msgstr "" -#: bp-core/bp-core-functions.php:2872 +#: bp-core/bp-core-functions.php:2942 msgctxt "email type taxonomy label" msgid "No email situations found." msgstr "" -#: bp-core/bp-core-functions.php:2873 +#: bp-core/bp-core-functions.php:2943 msgctxt "email type taxonomy label" msgid "No email situations" msgstr "" -#: bp-core/bp-core-functions.php:2874 +#: bp-core/bp-core-functions.php:2944 msgctxt "email type taxonomy label" msgid "Popular Email Situation" msgstr "" -#: bp-core/bp-core-functions.php:2875 +#: bp-core/bp-core-functions.php:2945 msgctxt "email type taxonomy label" msgid "Search Emails" msgstr "" -#: bp-core/bp-core-functions.php:2877 +#: bp-core/bp-core-functions.php:2947 msgctxt "email type taxonomy label" msgid "Update Email Situation" msgstr "" -#: bp-core/bp-core-functions.php:2878 +#: bp-core/bp-core-functions.php:2948 msgctxt "email type taxonomy label" msgid "View Email Situation" msgstr "" -#: bp-core/bp-core-functions.php:2870 +#: bp-core/bp-core-functions.php:2940 msgctxt "email type taxonomy name" msgid "Situation" msgstr "" -#: bp-core/bp-core-functions.php:2876 +#: bp-core/bp-core-functions.php:2946 msgctxt "email type taxonomy singular name" msgid "Email" msgstr "" @@ -8336,68 +8715,93 @@ msgctxt "search form" msgid "Search these:" msgstr "" -#: bp-core/bp-core-template.php:3755 +#: bp-core/bp-core-template.php:3186 +msgctxt "component directory title" +msgid "Directory" +msgstr "" + +#: bp-core/bp-core-update.php:607 +msgctxt "component directory title" +msgid "Site-Wide Activity" +msgstr "" + +#: bp-core/bp-core-update.php:608 +msgctxt "component directory title" +msgid "Sites" +msgstr "" + +#: bp-core/bp-core-update.php:609 +msgctxt "component directory title" +msgid "Groups" +msgstr "" + +#: bp-core/bp-core-update.php:610 +msgctxt "component directory title" +msgid "Members" +msgstr "" + +#: bp-core/bp-core-template.php:3824 msgctxt "recipient salutation" msgid "Hi %s," msgstr "" -#: bp-core/classes/class-bp-admin.php:359 -#: bp-core/classes/class-bp-admin.php:360 +#: bp-core/classes/class-bp-admin.php:357 +#: bp-core/classes/class-bp-admin.php:358 msgctxt "email menu label" msgid "Customize" msgstr "" -#: bp-core/classes/class-bp-admin.php:404 +#: bp-core/classes/class-bp-admin.php:402 msgctxt "BuddyPress setting tab" msgid "Profile Settings" msgstr "" -#: bp-core/classes/class-bp-admin.php:697 +#: bp-core/classes/class-bp-admin.php:736 msgctxt "About screen, website links" msgid "Learn more:" msgstr "" -#: bp-core/classes/class-bp-admin.php:697 +#: bp-core/classes/class-bp-admin.php:736 msgctxt "About screen, link to project blog" msgid "News" msgstr "" -#: bp-core/classes/class-bp-admin.php:697 +#: bp-core/classes/class-bp-admin.php:736 msgctxt "About screen, link to support site" msgid "Support" msgstr "" -#: bp-core/classes/class-bp-admin.php:697 +#: bp-core/classes/class-bp-admin.php:736 msgctxt "About screen, link to documentation" msgid "Documentation" msgstr "" -#: bp-core/classes/class-bp-admin.php:697 +#: bp-core/classes/class-bp-admin.php:736 msgctxt "About screen, link to development blog" msgid "Development Blog" msgstr "" -#: bp-core/classes/class-bp-admin.php:699 +#: bp-core/classes/class-bp-admin.php:738 msgctxt "official Twitter accounts:" msgid "Twitter:" msgstr "" -#: bp-core/classes/class-bp-admin.php:699 +#: bp-core/classes/class-bp-admin.php:738 msgctxt "@buddypress twitter account name" msgid "BuddyPress" msgstr "" -#: bp-core/classes/class-bp-admin.php:699 +#: bp-core/classes/class-bp-admin.php:738 msgctxt "@bptrac twitter account name" msgid "Trac" msgstr "" -#: bp-core/classes/class-bp-admin.php:699 +#: bp-core/classes/class-bp-admin.php:738 msgctxt "@buddypressdev twitter account name" msgid "Development" msgstr "" -#: bp-core/classes/class-bp-admin.php:947 +#: bp-core/classes/class-bp-admin.php:990 msgctxt "Email post type" msgid "Situations" msgstr "" @@ -8442,12 +8846,12 @@ msgctxt "Forum topic pagination next text" msgid "→" msgstr "" -#: bp-forums/bp-forums-template.php:2285 +#: bp-forums/bp-forums-template.php:2280 msgctxt "Forum thread pagination previous text" msgid "←" msgstr "" -#: bp-forums/bp-forums-template.php:2286 +#: bp-forums/bp-forums-template.php:2281 msgctxt "Forum thread pagination next text" msgid "→" msgstr "" @@ -8472,39 +8876,39 @@ msgctxt "Friends screen page <title>" msgid "Friend Connections" msgstr "" -#: bp-friends/classes/class-bp-friends-component.php:164 +#: bp-friends/classes/class-bp-friends-component.php:168 msgctxt "Friends screen sub nav" msgid "Friendships" msgstr "" -#: bp-friends/classes/class-bp-friends-component.php:174 +#: bp-friends/classes/class-bp-friends-component.php:178 msgctxt "Friends screen sub nav" msgid "Requests" msgstr "" -#: bp-friends/classes/class-bp-friends-component.php:209 +#: bp-friends/classes/class-bp-friends-component.php:213 #. translators: %s: Pending friend request count for the current user msgctxt "My Account Friends menu" msgid "Friends %s" msgstr "" -#: bp-friends/classes/class-bp-friends-component.php:218 +#: bp-friends/classes/class-bp-friends-component.php:222 msgctxt "My Account Friends menu" msgid "Friends" msgstr "" -#: bp-friends/classes/class-bp-friends-component.php:214 +#: bp-friends/classes/class-bp-friends-component.php:218 #. translators: %s: Pending friend request count for the current user msgctxt "My Account Friends menu sub nav" msgid "Pending Requests %s" msgstr "" -#: bp-friends/classes/class-bp-friends-component.php:219 +#: bp-friends/classes/class-bp-friends-component.php:223 msgctxt "My Account Friends menu sub nav" msgid "No Pending Requests" msgstr "" -#: bp-friends/classes/class-bp-friends-component.php:234 +#: bp-friends/classes/class-bp-friends-component.php:238 msgctxt "My Account Friends menu sub nav" msgid "Friendships" msgstr "" @@ -8549,17 +8953,17 @@ msgctxt "Groups per page (screen options)" msgid "Groups" msgstr "" -#: bp-groups/bp-groups-admin.php:916 +#: bp-groups/bp-groups-admin.php:912 msgctxt "Group member user_id in group admin" msgid "ID" msgstr "" -#: bp-groups/bp-groups-admin.php:917 +#: bp-groups/bp-groups-admin.php:913 msgctxt "Group member name in group admin" msgid "Name" msgstr "" -#: bp-groups/bp-groups-admin.php:918 +#: bp-groups/bp-groups-admin.php:914 msgctxt "Group member role in group admin" msgid "Group Role" msgstr "" @@ -8584,42 +8988,47 @@ msgctxt "Group update email text" msgid "* Description changed from \"%s\" to \"%s\"." msgstr "" -#: bp-groups/bp-groups-screens.php:1437 +#: bp-groups/bp-groups-screens.php:1479 msgctxt "Group settings on notification settings page" msgid "Groups" msgstr "" -#: bp-groups/bp-groups-screens.php:1446 +#: bp-groups/bp-groups-screens.php:1488 msgctxt "group settings on notification settings page" msgid "A member invites you to join a group" msgstr "" -#: bp-groups/bp-groups-screens.php:1458 +#: bp-groups/bp-groups-screens.php:1500 msgctxt "group settings on notification settings page" msgid "Group information is updated" msgstr "" -#: bp-groups/bp-groups-screens.php:1470 +#: bp-groups/bp-groups-screens.php:1512 msgctxt "group settings on notification settings page" msgid "You are promoted to a group administrator or moderator" msgstr "" -#: bp-groups/bp-groups-screens.php:1482 +#: bp-groups/bp-groups-screens.php:1524 msgctxt "group settings on notification settings page" msgid "A member requests to join a private group for which you are an admin" msgstr "" -#: bp-groups/bp-groups-screens.php:1494 +#: bp-groups/bp-groups-screens.php:1536 msgctxt "group settings on notification settings page" msgid "Your request to join a group has been approved or denied" msgstr "" -#: bp-groups/classes/class-bp-groups-component.php:95 +#: bp-groups/bp-groups-template.php:101 +msgctxt "group type URL base" +msgid "type" +msgstr "" + +#: bp-groups/classes/class-bp-groups-component.php:105 msgctxt "Group screen page <title>" msgid "User Groups" msgstr "" -#: bp-groups/classes/class-bp-groups-component.php:179 +#: bp-groups/classes/class-bp-groups-component.php:193 msgctxt "Component directory search" msgid "Search Groups..." msgstr "" @@ -8732,42 +9141,47 @@ msgctxt "My Groups page <title>" msgid "Memberships" msgstr "" -#: bp-groups/classes/class-bp-groups-list-table.php:357 +#: bp-groups/classes/class-bp-groups-list-table.php:395 msgctxt "Groups admin Group Name column header" msgid "Name" msgstr "" -#: bp-groups/classes/class-bp-groups-list-table.php:358 +#: bp-groups/classes/class-bp-groups-list-table.php:396 msgctxt "Groups admin Group Description column header" msgid "Description" msgstr "" -#: bp-groups/classes/class-bp-groups-list-table.php:359 +#: bp-groups/classes/class-bp-groups-list-table.php:397 msgctxt "Groups admin Privacy Status column header" msgid "Status" msgstr "" -#: bp-groups/classes/class-bp-groups-list-table.php:360 +#: bp-groups/classes/class-bp-groups-list-table.php:398 msgctxt "Groups admin Members column header" msgid "# Members" msgstr "" -#: bp-groups/classes/class-bp-groups-list-table.php:361 +#: bp-groups/classes/class-bp-groups-list-table.php:399 msgctxt "Groups admin Last Active column header" msgid "Last Active" msgstr "" -#: bp-groups/classes/class-bp-groups-template.php:295 +#: bp-groups/classes/class-bp-groups-list-table.php:699 +msgctxt "Label for the WP groups table group type column" +msgid "Group Type" +msgstr "" + +#: bp-groups/classes/class-bp-groups-template.php:294 msgctxt "Group pagination previous text" msgid "←" msgstr "" -#: bp-groups/classes/class-bp-groups-template.php:296 +#: bp-groups/classes/class-bp-groups-template.php:295 msgctxt "Group pagination next text" msgid "→" msgstr "" -#: bp-groups/classes/class-bp-groups-theme-compat.php:173 +#: bp-groups/classes/class-bp-groups-theme-compat.php:177 msgctxt "Group creation page" msgid "Groups" msgstr "" @@ -8777,12 +9191,12 @@ msgctxt "member type URL base" msgid "type" msgstr "" -#: bp-members/bp-members-template.php:1040 +#: bp-members/bp-members-template.php:1047 msgctxt "member latest update in member directory" msgid "- "%s"" msgstr "" -#: bp-members/bp-members-template.php:1168 +#: bp-members/bp-members-template.php:1210 msgctxt "Records the timestamp that the user registered into the activity stream" msgid "registered %s" msgstr "" @@ -8797,96 +9211,101 @@ msgctxt "Member pagination next text" msgid "→" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:732 +#: bp-members/classes/class-bp-members-admin.php:788 msgctxt "members user-admin edit screen" msgid "Status" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:766 +#: bp-members/classes/class-bp-members-admin.php:822 msgctxt "members user-admin edit screen" msgid "%s's Stats" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:778 +#: bp-members/classes/class-bp-members-admin.php:834 msgctxt "members user-admin edit screen" msgid "Member Type" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:894 -#: bp-members/classes/class-bp-members-admin.php:1872 +#: bp-members/classes/class-bp-members-admin.php:950 +#: bp-members/classes/class-bp-members-admin.php:1928 msgctxt "user" msgid "Add New" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:898 -#: bp-members/classes/class-bp-members-admin.php:1876 +#: bp-members/classes/class-bp-members-admin.php:954 +#: bp-members/classes/class-bp-members-admin.php:1932 msgctxt "user" msgid "Add Existing" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1355 +#: bp-members/classes/class-bp-members-admin.php:1411 msgctxt "signup users" msgid "Pending %s" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1434 +#: bp-members/classes/class-bp-members-admin.php:1490 msgctxt "Pending Accounts per page (screen options)" msgid "Pending Accounts" msgstr "" -#: bp-members/classes/class-bp-members-admin.php:1630 +#: bp-members/classes/class-bp-members-admin.php:1686 msgctxt "signup resent" msgid "%s activation email successfully sent! " msgid_plural "%s activation emails successfully sent! " msgstr[0] "" msgstr[1] "" -#: bp-members/classes/class-bp-members-admin.php:1664 +#: bp-members/classes/class-bp-members-admin.php:1720 msgctxt "signup resent" msgid "%s account successfully activated! " msgid_plural "%s accounts successfully activated! " msgstr[0] "" msgstr[1] "" -#: bp-members/classes/class-bp-members-admin.php:1641 +#: bp-members/classes/class-bp-members-admin.php:1697 msgctxt "signup notsent" msgid "%s activation email was not sent." msgid_plural "%s activation emails were not sent." msgstr[0] "" msgstr[1] "" -#: bp-members/classes/class-bp-members-admin.php:1675 +#: bp-members/classes/class-bp-members-admin.php:1731 msgctxt "signup notsent" msgid "%s account was not activated." msgid_plural "%s accounts were not activated." msgstr[0] "" msgstr[1] "" -#: bp-members/classes/class-bp-members-admin.php:1698 +#: bp-members/classes/class-bp-members-admin.php:1754 msgctxt "signup deleted" msgid "%s sign-up successfully deleted!" msgid_plural "%s sign-ups successfully deleted!" msgstr[0] "" msgstr[1] "" -#: bp-members/classes/class-bp-members-admin.php:1709 +#: bp-members/classes/class-bp-members-admin.php:1765 msgctxt "signup notdeleted" msgid "%s sign-up was not deleted." msgid_plural "%s sign-ups were not deleted." msgstr[0] "" msgstr[1] "" -#: bp-members/classes/class-bp-members-component.php:279 +#: bp-members/classes/class-bp-members-admin.php:2246 +msgctxt "Label for the WP users table member type column" +msgid "Member Type" +msgstr "" + +#: bp-members/classes/class-bp-members-component.php:283 msgctxt "Member profile main navigation" msgid "Profile" msgstr "" -#: bp-members/classes/class-bp-members-component.php:295 +#: bp-members/classes/class-bp-members-component.php:299 msgctxt "Member profile view" msgid "View" msgstr "" -#: bp-members/classes/class-bp-members-component.php:309 +#: bp-members/classes/class-bp-members-component.php:313 msgctxt "Member Home page" msgid "Home" msgstr "" @@ -9001,7 +9420,7 @@ msgctxt "Notifications pagination next text" msgid "→" msgstr "" -#: bp-templates/bp-legacy/buddypress/activity/index.php:123 +#: bp-templates/bp-legacy/buddypress/activity/index.php:126 msgctxt "Number of new activity mentions" msgid "%s new" msgid_plural "%s new" @@ -9013,12 +9432,12 @@ msgctxt "Uploader: Drop your file here - or - Select your File" msgid "or" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/register.php:184 +#: bp-templates/bp-legacy/buddypress/members/register.php:192 msgctxt "Change profile field visibility level" msgid "Change" msgstr "" -#: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:29 +#: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:34 msgctxt "Group member count" msgid "%d member" msgid_plural "%d members" @@ -9040,7 +9459,7 @@ msgctxt "Settings page header" msgid "Profile Fields" msgstr "" -#: bp-xprofile/bp-xprofile-admin.php:662 +#: bp-xprofile/bp-xprofile-admin.php:667 msgctxt "xprofile field type category" msgid "Other" msgstr "" @@ -9202,12 +9621,12 @@ msgctxt "xprofile field type" msgid "URL" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1312 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1332 msgctxt "XProfile admin edit field" -msgid "Name" +msgid "Name (required)" msgstr "" -#: bp-xprofile/classes/class-bp-xprofile-field.php:1318 +#: bp-xprofile/classes/class-bp-xprofile-field.php:1338 msgctxt "XProfile admin edit field" msgid "Description" msgstr "" diff --git a/wp-content/plugins/buddypress/composer.json b/wp-content/plugins/buddypress/composer.json index af8240febbe02ec2cf04ddc4e64afbf87595b9ac..ff4087a335b3f88df8e708caaf360e4729ee30b8 100644 --- a/wp-content/plugins/buddypress/composer.json +++ b/wp-content/plugins/buddypress/composer.json @@ -1,6 +1,6 @@ { "name": "buddypress/buddypress", - "description": "BuddyPress helps you build any type of community website using WordPress, with member profiles, activity streams, user groups, messaging, and more.", + "description": "BuddyPress helps site builders and WordPress developers add community features to their websites, with user profile fields, activity streams, messaging, and notifications.", "type": "wordpress-plugin", "keywords": [ "activity", @@ -21,13 +21,14 @@ } ], "support": { "forum": "https://buddypress.org/support/", - "irc": "irc://irc.freenode.net/buddypress-dev", + "docs": "https://codex.buddypress.org/", "issues": "https://buddypress.trac.wordpress.org/", - "wiki": "https://codex.buddypress.org/", - "source": "https://buddypress.trac.wordpress.org/browser" + "rss": "https://buddypress.org/feed/", + "source": "https://buddypress.trac.wordpress.org/browser/", + "wiki": "https://codex.buddypress.org/" }, "require": { "composer/installers": "~1.0", "php": ">=5.2.4" } -} \ No newline at end of file +} diff --git a/wp-content/plugins/buddypress/humans.txt b/wp-content/plugins/buddypress/humans.txt index 65c157b5c991b8c5d62633bcf63b7de9ce42acd5..748a882bdecad5a514e7b7c2bfa0b49a86a0b46b 100644 --- a/wp-content/plugins/buddypress/humans.txt +++ b/wp-content/plugins/buddypress/humans.txt @@ -76,9 +76,22 @@ Title: Core Developer Twitter: hnla Favourite Food: Sunday Roast or Curries +Name: Henry Wright +Title: Community Support +Twitter: henrywright +Favourite Food: Broccoli + +Name: danbp +Title: Community Support +Twitter: danbpfr +Favorite Food: Saltimbocca alla Romana + +Name: shanebp +Title: Community Support + /* THANKS */ modemlooper, cnorris23, karmatosed, photomatt /* META */ -Updated: 2015/05/09 +Updated: 2016/10/06 See: http://humanstxt.org/ diff --git a/wp-content/plugins/buddypress/readme.txt b/wp-content/plugins/buddypress/readme.txt index f255e26049964fe13c60013f732932b97ed0ee88..dd2a69b7ee8304cb127680d3c7ab33f01bd1eee2 100644 --- a/wp-content/plugins/buddypress/readme.txt +++ b/wp-content/plugins/buddypress/readme.txt @@ -1,13 +1,13 @@ === BuddyPress === Contributors: johnjamesjacoby, DJPaul, boonebgorges, r-a-y, imath, mercime, tw2113, dcavins, hnla Tags: social networking, activity, profiles, messaging, friends, groups, forums, notifications, settings, social, community, networks, networking -Requires at least: 4.1 -Tested up to: 4.5.3 -Stable tag: 2.6.2 +Requires at least: 4.2 +Tested up to: 4.7 +Stable tag: 2.7.3 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html -BuddyPress helps you build any type of community website using WordPress, with member profiles, activity streams, user groups, messaging, and more. +BuddyPress helps site builders and WordPress developers add community features to their websites, with user profile fields, activity streams, messaging, and notifications. == Description == @@ -19,7 +19,7 @@ Enable registered members to create profiles, have private conversations, make c = Extensions = -BuddyPress has an ever-increasing array of extended features developed by an active and thriving plugin development community, with hundreds of free-and-open BuddyPress-compatible plugins available. We list them on both <a href="https://buddypress.org/extend/recommended-plugins/">our plugin directory</a> and <a href="https://wordpress.org/plugins/search.php?q=buddypress">WordPress.org</a>. Any plugin can be conveniently installed using the plugin installer in your WordPress Dashboard. +BuddyPress has an ever-increasing array of extended features developed by an active and thriving plugin development community, with hundreds of free-and-open BuddyPress-compatible plugins available at <a href="https://wordpress.org/plugins/search.php?q=buddypress">WordPress.org</a>. Any plugin can be conveniently installed using the plugin installer in your WordPress Dashboard. = More Information = @@ -81,8 +81,6 @@ Yes! If your WordPress installation has multisite enabled, BuddyPress will suppo Our community provides free support at <a href="https://buddypress.org/support/">https://buddypress.org/support/</a>. -For dedicated consultations, see our <a href="https://buddypress.org/consulting/">unofficial list</a> of freelancers, contractors, and agencies offering BuddyPress services. - = Where can I find documentation? = Our codex can be found at <a href="https://codex.buddypress.org/">https://codex.buddypress.org/</a>. @@ -118,6 +116,18 @@ Please consider helping translate BuddyPress at our <a href="https://translate.w == Upgrade Notice == += 2.7.3 = +See: https://codex.buddypress.org/releases/version-2-7-3/ + += 2.7.2 = +See: https://codex.buddypress.org/releases/version-2-7-2/ + += 2.7.1 = +See: https://codex.buddypress.org/releases/version-2-7-1/ + += 2.7.0 = +See: https://codex.buddypress.org/releases/version-2-7-0/ + = 2.6.2 = See: https://codex.buddypress.org/releases/version-2-6-2/ @@ -132,6 +142,18 @@ See: https://codex.buddypress.org/releases/version-2-6-0/ == Changelog == += 2.7.3 = +See: https://codex.buddypress.org/releases/version-2-7-3/ + += 2.7.2 = +See: https://codex.buddypress.org/releases/version-2-7-2/ + += 2.7.1 = +See: https://codex.buddypress.org/releases/version-2-7-1/ + += 2.7.0 = +See: https://codex.buddypress.org/releases/version-2-7-0/ + = 2.6.2 = See: https://codex.buddypress.org/releases/version-2-6-2/