Skip to:
Content

BuddyPress.org

Ticket #5790: 5790_1.diff

File 5790_1.diff, 2.5 KB (added by lakrisgubben, 9 years ago)
  • src/bp-templates/bp-legacy/buddypress-functions.php

     
    14611461                                if ( ! groups_send_membership_request( bp_loggedin_user_id(), $group->id ) ) {
    14621462                                        _e( 'Error requesting membership', 'buddypress' );
    14631463                                } else {
    1464                                         echo '<a id="group-' . esc_attr( $group->id ) . '" class="membership-requested" rel="membership-requested" title="' . __( 'Membership Requested', 'buddypress' ) . '" href="' . bp_get_group_permalink( $group ) . '">' . __( 'Membership Requested', 'buddypress' ) . '</a>';
     1464                                        echo '<a id="group-' . esc_attr( $group->id ) . '" class="group-button disabled pending membership-requested" rel="membership-requested" title="' . __( 'Request Sent', 'buddypress' ) . '" href="' . bp_get_group_permalink( $group ) . '">' . __( 'Request Sent', 'buddypress' ) . '</a>';
    14651465                                }
    14661466                        }
    14671467                }
     
    14741474                } elseif ( 'public' == $group->status ) {
    14751475                        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>';
    14761476                } elseif ( 'private' == $group->status ) {
    1477                         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_send_membership_request' ) . '">' . __( 'Request Membership', 'buddypress' ) . '</a>';
     1477                        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>';
    14781478                }
    14791479        }
    14801480
  • src/bp-templates/bp-legacy/css/buddypress.css

     
    772772#buddypress input[type=button],
    773773#buddypress input[type=reset],
    774774#buddypress ul.button-nav li a,
    775 #buddypress div.generic-button a,
     775#buddypress .generic-button a,
    776776#buddypress .comment-reply-link,
    777777a.bp-title-button {
    778778        background: #fff; /* Old browsers */