Changeset 9357
- Timestamp:
- 01/14/2015 09:51:53 PM (10 years ago)
- Location:
- trunk/src/bp-templates/bp-legacy/buddypress/groups/single
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php
r8958 r9357 1 1 2 <div class="left-menu"> 2 3 … … 76 77 77 78 <?php else : ?> 79 78 80 <div id="message" class="info"> 79 <p><?php _e( 'Select people to invite from your friends list.', 'buddypress' ); ?></p>81 <p><?php _e( 'Select friends to invite.', 'buddypress' ); ?></p> 80 82 </div> 83 81 84 <?php endif; ?> 82 85 … … 85 88 </div><!-- .main-column --> 86 89 87 <div class="clear"></div>88 89 90 <div class="submit"> 90 91 <input type="submit" name="submit" id="submit" value="<?php esc_attr_e( 'Send Invites', 'buddypress' ); ?>" /> -
trunk/src/bp-templates/bp-legacy/buddypress/groups/single/send-invites.php
r8063 r9357 1 1 <?php do_action( 'bp_before_group_send_invites_content' ); ?> 2 2 3 <?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> 3 <?php 4 /* Does the user have friends that could be invited to the group? */ 5 if ( bp_get_new_group_invite_friend_list() ) : ?> 4 6 5 7 <?php /* 'send-invite-form' is important for AJAX support */ ?> … … 7 9 8 10 <div class="invite"> 9 10 11 <?php bp_get_template_part( 'groups/single/invites-loop' ); ?> 11 12 12 </div> 13 13 … … 17 17 </form><!-- #send-invite-form --> 18 18 19 <?php 20 /* No eligible friends? Maybe the user doesn't have any friends yet. */ 21 elseif ( 0 == bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?> 22 23 <div id="message" class="info"> 24 <p class="notice"><?php _e( 'Group invitations can only be extended to friends.', 'buddypress' ); ?></p> 25 <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> 26 </div> 27 28 <?php 29 /* The user does have friends, but none are eligible to be invited to this group. */ 30 else : ?> 31 32 <div id="message" class="info"> 33 <p class="notice"><?php _e( 'All of your friends already belong to this group.', 'buddypress' ); ?></p> 34 </div> 35 19 36 <?php endif; ?> 20 37
Note: See TracChangeset
for help on using the changeset viewer.