Ticket #5509: 5509-2.patch
| File 5509-2.patch, 4.5 KB (added by , 11 years ago) |
|---|
-
src/bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php
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 : ?> 78 <div id="message" class="info"> 79 <p><?php _e( 'Select people to invite from your friends list.', 'buddypress' ); ?></p> 80 <?php else: ?> 81 82 <div id="message"> 83 <p class="info"><?php _e('Select members from your friends list to invite to this group.', '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> -
src/bp-templates/bp-legacy/buddypress/groups/single/send-invites.php
1 <h2 class="manage-invites-heading"><?php _e( 'Manage your member invites for this group', '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() ) ) : ?>4 5 6 <?php 7 /* You may have friends but they may all be members of this group, invite list would then return false. 8 Check user has friends and check that 'bp_get_new_group_invite_friend_list' is true else skip to 9 the end and either say all your friends are group members or that you have no friends yet to invite. */ 10 11 if ( bp_get_total_friend_count( bp_loggedin_user_id() ) && bp_get_new_group_invite_friend_list() ) : ?> 12 5 13 <?php /* 'send-invite-form' is important for AJAX support */ ?> 6 14 <form action="<?php bp_group_send_invite_form_action(); ?>" method="post" id="send-invite-form" class="standard-form" role="main"> 7 15 … … 16 24 17 25 </form><!-- #send-invite-form --> 18 26 27 <?php elseif( !bp_get_new_group_invite_friend_list() ): ?> 28 29 <div id="message-block"> 30 <p class="notice"><?php _e('Your friends are currently all members of this group.', 'buddypress'); ?></p> 31 <p class="message-body"><?php _e('When you have any new friends you will be able to return to this screen to invite them to join this group.', 'buddypress'); ?></p> 32 </div> 33 34 <?php else: ?> 35 36 <div id="message-block"> 37 <p class="notice"><?php _e('You currently have no friends to invite.', 'buddypress'); ?></p> 38 <p class="message-body"><?php _e('When you have built up a friends list you will be able to invite them to this group.', 'buddypress'); ?></p> 39 </div> 40 19 41 <?php endif; ?> 20 42 43 21 44 <?php do_action( 'bp_after_group_send_invites_content' ); ?> -
src/bp-templates/bp-legacy/css/buddypress.css
514 514 clear: both; 515 515 display: block; 516 516 } 517 #buddypress div#message-block, 517 518 #buddypress div#message p, 518 519 #sitewide-notice p { 519 520 font-size: 90%; 520 521 display: block; 521 522 padding: 10px 15px; 522 523 } 524 #buddypress div#message-block { 525 margin: 20px 0; 526 padding: .5em; 527 } 523 528 #buddypress div#message.error p { 524 529 background-color: #fdc; 525 530 border: 1px solid #a00; … … 1374 1379 overflow: auto; 1375 1380 list-style: none; 1376 1381 } 1377 1378 1382 #buddypress .manage-invites-heading, 1383 #buddypress .invite-list-heading { 1384 clear: none; 1385 margin: 20px 0; 1386 } 1387 #buddypress .manage-invites-heading { 1388 font-size: 120%; 1389 } 1390 #buddypress .invite-list-heading { 1391 font-size: 100%; 1392 } 1379 1393 /*-------------------------------------------------------------- 1380 1394 3.9 - Private Messaging Threads 1381 1395 --------------------------------------------------------------*/