Ticket #5790: 5790_1.diff
File 5790_1.diff, 2.5 KB (added by , 9 years ago) |
---|
-
src/bp-templates/bp-legacy/buddypress-functions.php
1461 1461 if ( ! groups_send_membership_request( bp_loggedin_user_id(), $group->id ) ) { 1462 1462 _e( 'Error requesting membership', 'buddypress' ); 1463 1463 } 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>'; 1465 1465 } 1466 1466 } 1467 1467 } … … 1474 1474 } elseif ( 'public' == $group->status ) { 1475 1475 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>'; 1476 1476 } 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>'; 1478 1478 } 1479 1479 } 1480 1480 -
src/bp-templates/bp-legacy/css/buddypress.css
772 772 #buddypress input[type=button], 773 773 #buddypress input[type=reset], 774 774 #buddypress ul.button-nav li a, 775 #buddypress div.generic-button a,775 #buddypress .generic-button a, 776 776 #buddypress .comment-reply-link, 777 777 a.bp-title-button { 778 778 background: #fff; /* Old browsers */