diff --git src/bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php src/bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php
index ffc1164..6b547e3 100644
|
|
|
|
| | 1 | |
| 1 | 2 | <div class="left-menu"> |
| 2 | 3 | |
| 3 | 4 | <div id="invite-list"> |
| … |
… |
|
| 11 | 12 | </div> |
| 12 | 13 | |
| 13 | 14 | </div><!-- .left-menu --> |
| 14 | | |
| | 15 | |
| 15 | 16 | <div class="main-column"> |
| 16 | 17 | |
| 17 | 18 | <?php do_action( 'bp_before_group_send_invites_list' ); ?> |
| 18 | 19 | |
| 19 | 20 | <?php if ( bp_group_has_invites( bp_ajax_querystring( 'invite' ) . '&per_page=10' ) ) : ?> |
| 20 | 21 | |
| | 22 | <h3 class="invite-list-heading"><?php _e('Your current invitations','buddypress'); ?></h3> |
| | 23 | |
| 21 | 24 | <div id="pag-top" class="pagination"> |
| 22 | 25 | |
| 23 | 26 | <div class="pag-count" id="group-invite-count-top"> |
| … |
… |
|
| 74 | 77 | |
| 75 | 78 | </div> |
| 76 | 79 | |
| 77 | | <?php else : ?> |
| | 80 | <?php else: ?> |
| | 81 | |
| 78 | 82 | <div id="message" class="info"> |
| 79 | | <p><?php _e( 'Select people to invite from your friends list.', 'buddypress' ); ?></p> |
| | 83 | <p><?php _e( 'Select friends to invite.', 'buddypress' ); ?></p> |
| 80 | 84 | </div> |
| | 85 | |
| 81 | 86 | <?php endif; ?> |
| 82 | 87 | |
| 83 | 88 | <?php do_action( 'bp_after_group_send_invites_list' ); ?> |
| 84 | 89 | |
| 85 | 90 | </div><!-- .main-column --> |
| 86 | 91 | |
| 87 | | <div class="clear"></div> |
| 88 | | |
| 89 | 92 | <div class="submit"> |
| 90 | 93 | <input type="submit" name="submit" id="submit" value="<?php esc_attr_e( 'Send Invites', 'buddypress' ); ?>" /> |
| 91 | 94 | </div> |
diff --git src/bp-templates/bp-legacy/buddypress/groups/single/send-invites.php src/bp-templates/bp-legacy/buddypress/groups/single/send-invites.php
index 6f3d9ef..37f97e7 100644
|
|
|
|
| | 1 | <h2 class="manage-invites-heading"><?php _e( 'Manage your group invitations', 'buddypress' ); ?></h2> |
| | 2 | |
| 1 | 3 | <?php do_action( 'bp_before_group_send_invites_content' ); ?> |
| 2 | 4 | |
| 3 | | <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> |
| | 5 | <?php |
| | 6 | /* Does the user have friends that could be invited to the group? */ |
| | 7 | if ( bp_get_new_group_invite_friend_list() ) : ?> |
| 4 | 8 | |
| 5 | 9 | <?php /* 'send-invite-form' is important for AJAX support */ ?> |
| 6 | 10 | <form action="<?php bp_group_send_invite_form_action(); ?>" method="post" id="send-invite-form" class="standard-form" role="main"> |
| … |
… |
|
| 16 | 20 | |
| 17 | 21 | </form><!-- #send-invite-form --> |
| 18 | 22 | |
| | 23 | <?php /* No eligible friends? Maybe the user doesn't have any friends yet. */ |
| | 24 | elseif ( 0 == bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> |
| | 25 | |
| | 26 | <div id="message" class="info"> |
| | 27 | <p class="notice"><?php _e('Group invitations can only be extended to friends.', 'buddypress'); ?></p> |
| | 28 | <p class="message-body"><?php _e('Once you\'ve made some friendships, you\'ll be able to invite those members to this group.', 'buddypress'); ?></p> |
| | 29 | </div> |
| | 30 | |
| | 31 | <?php /* The user does have friends, but none are eligible to be invited to this group. */ |
| | 32 | else : ?> |
| | 33 | |
| | 34 | <div id="message" class="info"> |
| | 35 | <p class="notice"><?php _e('All of your friends already belong to this group.', 'buddypress'); ?></p> |
| | 36 | </div> |
| | 37 | |
| 19 | 38 | <?php endif; ?> |
| 20 | 39 | |
| 21 | 40 | <?php do_action( 'bp_after_group_send_invites_content' ); ?> |
diff --git src/bp-templates/bp-legacy/css/buddypress.css src/bp-templates/bp-legacy/css/buddypress.css
index 8de03ac..4cfa387 100644
|
|
|
body.activity-permalink #buddypress ul.item-list li.activity-item { |
| 1374 | 1374 | overflow: auto; |
| 1375 | 1375 | list-style: none; |
| 1376 | 1376 | } |
| 1377 | | |
| | 1377 | #buddypress .manage-invites-heading, |
| | 1378 | #buddypress .invite-list-heading { |
| | 1379 | clear: none; |
| | 1380 | margin: 20px 0; |
| | 1381 | } |
| | 1382 | #buddypress .manage-invites-heading { |
| | 1383 | font-size: 120%; |
| | 1384 | } |
| | 1385 | #buddypress .invite-list-heading { |
| | 1386 | font-size: 100%; |
| | 1387 | } |
| 1378 | 1388 | |
| 1379 | 1389 | /*-------------------------------------------------------------- |
| 1380 | 1390 | 3.9 - Private Messaging Threads |