Changeset 541
- Timestamp:
- 11/13/2008 11:21:58 PM (17 years ago)
- Location:
- trunk/buddypress-theme/buddypress-member
- Files:
-
- 10 edited
-
groups/admin/manage-members.php (modified) (1 diff)
-
groups/forum.php (modified) (1 diff)
-
groups/group-finder.php (modified) (1 diff)
-
groups/group-home.php (modified) (1 diff)
-
groups/group-loop.php (modified) (2 diffs)
-
groups/leave-group-confirm.php (modified) (1 diff)
-
groups/list-members.php (modified) (1 diff)
-
groups/wire.php (modified) (1 diff)
-
profile/index.php (modified) (1 diff)
-
style.css (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/buddypress-theme/buddypress-member/groups/admin/manage-members.php
r483 r541 1 <?php if ( bp_has_groups() ) : while ( bp_groups() ) : bp_the_group(); ?> 2 3 <div class="content-header"> 4 <ul class="content-header-nav"> 5 <?php bp_group_admin_tabs(); ?> 6 </ul> 7 </div> 8 9 <div id="content"> 10 11 <h2>Manage Members</h2> 12 13 <?php do_action( 'template_notices' ) // (error/success feedback) ?> 14 15 <div class="info-group"> 16 <h4>Administrators</h4> 17 <?php bp_group_admin_memberlist( true ) ?> 18 </div> 19 20 <?php if ( bp_group_has_moderators() ) : ?> 21 <div class="info-group"> 22 <h4>Moderators</h4> 23 <?php bp_group_mod_memberlist( true ) ?> 24 </div> 25 <?php endif; ?> 26 27 <div class="info-group"> 28 <h4>Members</h4> 29 30 <form action="<?php bp_group_admin_form_action('manage-members') ?>" name="group-members-form" id="group-members-form" class="standard-form" method="post"> 31 <?php if ( bp_group_has_members( false, 5, true, false ) ) : ?> 32 33 <?php if ( bp_group_member_needs_pagination() ) : ?> 34 <div id="member-count" class="pag-count"> 35 <?php bp_group_member_pagination_count() ?> 36 </div> 37 38 <div id="member-admin-pagination" class="pagination-links"> 39 <?php bp_group_member_admin_pagination() ?> 40 </div> 41 <?php endif; ?> 42 43 <ul id="members-list" class="item-list single-line"> 44 <?php while ( bp_group_members() ) : bp_group_the_member(); ?> 45 <?php if ( bp_group_member_is_banned() ) : ?> 46 <li class="banned-user"> 47 <?php bp_group_member_avatar_mini() ?> 48 49 <h5><?php bp_group_member_link() ?> (banned) <span class="small"> — <a href="<?php bp_group_member_unban_link() ?>" title="Kick and ban this member">Remove Ban</a> </h5> 50 <?php else : ?> 51 <li> 52 <?php bp_group_member_avatar_mini() ?> 53 <h5><?php bp_group_member_link() ?> <span class="small"> — <a href="<?php bp_group_member_ban_link() ?>" title="Kick and ban this member">Kick & Ban</a> | <a href="<?php bp_group_member_promote_link() ?>" title="Promote this member">Promote to Moderator</a></span></h5> 54 55 <?php endif; ?> 56 </li> 57 <?php endwhile; ?> 58 </ul> 59 <?php else: ?> 60 61 <div id="message" class="info"> 62 <p>This group has no members.</p> 63 </div> 64 65 <?php endif;?> 66 67 <input type="hidden" name="group_id" id="group_id" value="<?php bp_group_id() ?>" /> 68 </form> 69 </div> 70 </div> 71 72 <?php endwhile; endif; ?> -
trunk/buddypress-theme/buddypress-member/groups/forum.php
r395 r541 10 10 11 11 <?php bp_group_join_button() ?> 12 12 13 13 <div class="info-group"> 14 14 <h4>Admins</h4> 15 15 <?php bp_group_list_admins() ?> 16 16 </div> 17 18 <?php if ( bp_group_has_moderators() ) : ?> 19 <div class="info-group"> 20 <h4>Mods</h4> 21 <?php bp_group_list_mods() ?> 22 </div> 23 <?php endif; ?> 17 24 </div> 18 25 19 26 <div class="main-column"> 27 <div class="inner-tube"> 28 29 <div id="group-name"> 30 <h1><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a></h1> 31 <p class="status"><?php bp_group_type() ?></p> 32 </div> 20 33 21 <div id="group-name"> 22 <h1><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a></h1> 23 <p class="status"><?php bp_group_type() ?></p> 34 <div class="info-group"> 35 <h4>Forum</h4> 36 <h3>A bbPress forum for the group will go here in the next version.</h3> 37 </div> 38 24 39 </div> 25 26 <div class="info-group">27 <h4>Forum</h4>28 <h3>A bbPress forum for the group will go here in the next version.</h3>29 </div>30 31 40 </div> 32 41 -
trunk/buddypress-theme/buddypress-member/groups/group-finder.php
r537 r541 23 23 </div> 24 24 25 <div id="group-loop">26 25 <?php load_template( TEMPLATEPATH . '/groups/group-loop.php') ?> 27 </div>28 26 29 27 </div> -
trunk/buddypress-theme/buddypress-member/groups/group-home.php
r503 r541 17 17 <?php bp_group_list_admins() ?> 18 18 </div> 19 20 <?php if ( bp_group_has_moderators() ) : ?> 21 <div class="info-group"> 22 <h4>Mods</h4> 23 <?php bp_group_list_mods() ?> 24 </div> 25 <?php endif; ?> 19 26 </div> 20 27 21 28 <div class="main-column"> 29 <div class="inner-tube"> 30 31 <div id="group-name"> 32 <h1><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a></h1> 33 <p class="status"><?php bp_group_type() ?></p> 34 </div> 22 35 23 <div id="group-name"> 24 <h1><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a></h1> 25 <p class="status"><?php bp_group_type() ?></p> 36 <?php if ( !bp_group_is_visible() ) : ?> 37 <div id="message" class="info"> 38 <p><?php bp_group_status_message() ?></p> 39 </div> 40 <?php endif;?> 41 42 <div class="info-group"> 43 <h4>Description</h4> 44 <p><?php bp_group_description() ?></p> 45 </div> 46 47 <?php if ( bp_group_is_visible() ) : ?> 48 <div class="info-group"> 49 <h4>News</h4> 50 <p><?php bp_group_news() ?></p> 51 </div> 52 <?php endif; ?> 53 54 <?php if ( bp_group_is_visible() ) : ?> 55 <div class="info-group"> 56 <h4>Members <a href="<?php bp_group_all_members_permalink() ?>">See All »</a></h4> 57 <?php bp_group_random_members() ?> 58 </div> 59 <?php endif; ?> 60 61 <?php if ( bp_group_is_visible() ) : ?> 62 <?php if ( function_exists('bp_wire_get_post_list') ) : ?> 63 <?php bp_wire_get_post_list( bp_group_id(false), 'Group Wire', 'The are no wire posts for ' . bp_group_name(false), bp_group_is_member(), true ) ?> 64 <?php endif; ?> 65 <?php endif; ?> 66 26 67 </div> 27 28 <?php if ( !bp_group_is_visible() ) : ?> 29 <div id="message" class="info"> 30 <p><?php bp_group_status_message() ?></p> 31 </div> 32 <?php endif;?> 33 34 <div class="info-group"> 35 <h4>Description</h4> 36 <p><?php bp_group_description() ?></p> 37 </div> 38 39 <?php if ( bp_group_is_visible() ) : ?> 40 <div class="info-group"> 41 <h4>News</h4> 42 <p><?php bp_group_news() ?></p> 43 </div> 44 <?php endif; ?> 45 46 <?php if ( bp_group_is_visible() ) : ?> 47 <div class="info-group"> 48 <h4>Members <a href="<?php bp_group_all_members_permalink() ?>">See All »</a></h4> 49 <?php bp_group_random_members() ?> 50 </div> 51 <?php endif; ?> 52 53 <?php if ( bp_group_is_visible() ) : ?> 54 <?php if ( function_exists('bp_wire_get_post_list') ) : ?> 55 <?php bp_wire_get_post_list( bp_group_id(false), 'Group Wire', 'The are no wire posts for ' . bp_group_name(false), bp_group_is_member(), true ) ?> 56 <?php endif; ?> 57 <?php endif; ?> 58 68 59 69 <?php endwhile; else: ?> 60 70 <div id="message" class="error"> -
trunk/buddypress-theme/buddypress-member/groups/group-loop.php
r537 r541 1 <div id="group-loop"> 1 2 <?php if ( bp_has_groups() ) : ?> 2 3 <div class="pagination-links" id="<?php bp_group_pag_id() ?>"> … … 29 30 30 31 <?php endif;?> 32 </div> -
trunk/buddypress-theme/buddypress-member/groups/leave-group-confirm.php
r395 r541 10 10 11 11 <?php bp_group_join_button() ?> 12 12 13 13 <div class="info-group"> 14 14 <h4>Admins</h4> 15 15 <?php bp_group_list_admins() ?> 16 16 </div> 17 18 <?php if ( bp_group_has_moderators() ) : ?> 19 <div class="info-group"> 20 <h4>Mods</h4> 21 <?php bp_group_list_mods() ?> 22 </div> 23 <?php endif; ?> 17 24 </div> 18 25 19 26 <div class="main-column"> 27 <div class="inner-tube"> 20 28 21 <div id="group-name"> 22 <h1><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a></h1> 23 <p class="status"><?php bp_group_type() ?></p> 29 <div id="group-name"> 30 <h1><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a></h1> 31 <p class="status"><?php bp_group_type() ?></p> 32 </div> 33 34 <div class="info-group"> 35 <h4>Confirm Leave Group</h4> 36 <h3>Are you sure you want to leave this group?</h3> 37 38 <p> 39 <a href="<?php bp_group_leave_confirm_link() ?>">Yes, I'd like to leave this group.</a> | 40 <a href="<?php bp_group_leave_reject_link() ?>">No, I'll stay!</a> 41 </p> 42 </div> 43 24 44 </div> 25 26 <div class="info-group">27 <h4>Confirm Leave Group</h4>28 <h3>Are you sure you want to leave this group?</h3>29 30 <p>31 <a href="<?php bp_group_leave_confirm_link() ?>">Yes, I'd like to leave this group.</a> |32 <a href="<?php bp_group_leave_reject_link() ?>">No, I'll stay!</a>33 </p>34 </div>35 36 45 </div> 37 46 -
trunk/buddypress-theme/buddypress-member/groups/list-members.php
r533 r541 8 8 <div class="left-menu"> 9 9 <?php bp_group_avatar() ?> 10 10 11 11 <?php bp_group_join_button() ?> 12 12 13 13 <div class="info-group"> 14 14 <h4>Admins</h4> 15 15 <?php bp_group_list_admins() ?> 16 16 </div> 17 18 <?php if ( bp_group_has_moderators() ) : ?> 19 <div class="info-group"> 20 <h4>Mods</h4> 21 <?php bp_group_list_mods() ?> 22 </div> 23 <?php endif; ?> 17 24 </div> 18 25 19 26 <div class="main-column"> 27 <div class="inner-tube"> 28 29 <div id="group-name"> 30 <h1><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a></h1> 31 <p class="status"><?php bp_group_type() ?></p> 32 </div> 33 34 <div class="info-group"> 35 <h4>Administrators</h4> 36 <?php bp_group_admin_memberlist() ?> 37 </div> 38 39 <?php if ( bp_group_has_moderators() ) : ?> 40 <div class="info-group"> 41 <h4>Moderators</h4> 42 <?php bp_group_mod_memberlist() ?> 43 </div> 44 <?php endif; ?> 20 45 21 <div id="group-name"> 22 <h1><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a></h1> 23 <p class="status"><?php bp_group_type() ?></p> 24 </div> 46 <div class="info-group"> 47 <h4>Group Members</h4> 48 49 <form action="<?php bp_group_form_action('members') ?>" method="post" id="group-members-form"> 50 <?php if ( bp_group_has_members() ) : ?> 51 52 <?php if ( bp_group_member_needs_pagination() ) : ?> 53 <div id="member-count" class="pag-count"> 54 <?php bp_group_member_pagination_count() ?> 55 </div> 25 56 26 <div class="info-group"> 27 <h4>Group Members</h4> 28 29 <form action="<?php bp_group_form_action('members') ?>" method="post" id="group-members-form"> 30 <?php if ( bp_group_has_members() ) : ?> 57 <div id="member-pagination" class="pagination-links"> 58 <?php bp_group_member_pagination() ?> 59 </div> 60 <?php endif; ?> 31 61 32 <?php if ( bp_group_member_needs_pagination() ) : ?> 33 <div id="member-count" class="pag-count"> 34 <?php bp_group_member_pagination_count() ?> 62 <ul id="member-list" class="item-list"> 63 <?php while ( bp_group_members() ) : bp_group_the_member(); ?> 64 <li> 65 <?php bp_group_member_avatar() ?> 66 <h5><?php bp_group_member_link() ?></h5> 67 <span class="activity"><?php bp_group_member_joined_since() ?></span> 68 69 <?php if ( function_exists( 'friends_install' ) ) : ?> 70 <div class="action"> 71 <?php bp_add_friend_button( bp_group_member_id() ) ?> 72 </div> 73 <?php endif; ?> 74 </li> 75 <?php endwhile; ?> 76 </ul> 77 <?php else: ?> 78 79 <div id="message" class="info"> 80 <p>This group has no members.</p> 35 81 </div> 36 82 37 <div id="member-pagination" class="pagination-links"> 38 <?php bp_group_member_pagination() ?> 39 </div> 40 <?php endif; ?> 41 42 <ul id="member-list" class="item-list"> 43 <?php while ( bp_group_members() ) : bp_group_the_member(); ?> 44 <li> 45 <?php bp_group_member_avatar() ?> 46 <h5><?php bp_group_member_link() ?></h5> 47 <span class="activity"><?php bp_group_member_joined_since() ?></span> 48 49 <?php if ( function_exists( 'friends_install' ) ) : ?> 50 <div class="action"> 51 <?php bp_add_friend_button( bp_group_member_id() ) ?> 52 </div> 53 <?php endif; ?> 54 </li> 55 <?php endwhile; ?> 56 </ul> 57 <?php else: ?> 58 59 <div id="message" class="info"> 60 <p>This group has no members.</p> 61 </div> 62 63 <?php endif;?> 83 <?php endif;?> 64 84 65 <input type="hidden" name="group_id" id="group_id" value="<?php bp_group_id() ?>" /> 66 </form> 85 <input type="hidden" name="group_id" id="group_id" value="<?php bp_group_id() ?>" /> 86 </form> 87 </div> 88 67 89 </div> 68 90 -
trunk/buddypress-theme/buddypress-member/groups/wire.php
r488 r541 12 12 13 13 <?php bp_group_join_button() ?> 14 14 15 15 <div class="info-group"> 16 16 <h4>Admins</h4> 17 17 <?php bp_group_list_admins() ?> 18 18 </div> 19 20 <?php if ( bp_group_has_moderators() ) : ?> 21 <div class="info-group"> 22 <h4>Mods</h4> 23 <?php bp_group_list_mods() ?> 24 </div> 25 <?php endif; ?> 19 26 </div> 20 27 21 28 <div class="main-column"> 29 <div class="inner-tube"> 30 31 <div id="group-name"> 32 <h1><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a></h1> 33 <p class="status"><?php bp_group_type() ?></p> 34 </div> 22 35 23 <div id="group-name"> 24 <h1><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a></h1> 25 <p class="status"><?php bp_group_type() ?></p> 36 <div class="info-group"> 37 <?php if ( function_exists('bp_wire_get_post_list') ) : ?> 38 <?php bp_wire_get_post_list( bp_group_id(false), 'Group Wire', 'The are no wire posts for ' . bp_group_name(false), bp_group_is_member(), true ) ?> 39 <?php endif; ?> 40 </div> 41 26 42 </div> 27 28 <div class="info-group">29 <?php if ( function_exists('bp_wire_get_post_list') ) : ?>30 <?php bp_wire_get_post_list( bp_group_id(false), 'Group Wire', 'The are no wire posts for ' . bp_group_name(false), bp_group_is_member(), true ) ?>31 <?php endif; ?>32 </div>33 34 43 </div> 35 44 -
trunk/buddypress-theme/buddypress-member/profile/index.php
r447 r541 15 15 16 16 <div class="main-column"> 17 <?php bp_get_profile_header() ?> 17 <div class="inner-tube"> 18 <?php bp_get_profile_header() ?> 18 19 19 <?php if ( function_exists('xprofile_get_profile') ) : ?>20 <?php xprofile_get_profile() ?>21 <?php else : ?>22 <?php bp_core_get_wp_profile() ?>23 <?php endif; ?>20 <?php if ( function_exists('xprofile_get_profile') ) : ?> 21 <?php xprofile_get_profile() ?> 22 <?php else : ?> 23 <?php bp_core_get_wp_profile() ?> 24 <?php endif; ?> 24 25 25 <?php if ( function_exists('bp_activity_get_list') ) : ?>26 <?php bp_activity_get_list( bp_current_user_id(), bp_word_or_name( __( "My Activity", 'buddypress' ), __( "%s's Activity", 'buddypress' ), true, false ), bp_word_or_name( __( "You haven't done anything recently.", 'buddypress' ), __( "%s has not done anything recently.", 'buddypress' ), true, false ), 5 ) ?>27 <?php endif; ?>26 <?php if ( function_exists('bp_activity_get_list') ) : ?> 27 <?php bp_activity_get_list( bp_current_user_id(), bp_word_or_name( __( "My Activity", 'buddypress' ), __( "%s's Activity", 'buddypress' ), true, false ), bp_word_or_name( __( "You haven't done anything recently.", 'buddypress' ), __( "%s has not done anything recently.", 'buddypress' ), true, false ), 5 ) ?> 28 <?php endif; ?> 28 29 29 <?php if ( function_exists('bp_groups_random_groups') ) : ?>30 <?php bp_groups_random_groups() ?>31 <?php endif; ?>30 <?php if ( function_exists('bp_groups_random_groups') ) : ?> 31 <?php bp_groups_random_groups() ?> 32 <?php endif; ?> 32 33 33 <?php if ( function_exists('bp_friends_random_friends') ) : ?>34 <?php bp_friends_random_friends() ?>35 <?php endif; ?>34 <?php if ( function_exists('bp_friends_random_friends') ) : ?> 35 <?php bp_friends_random_friends() ?> 36 <?php endif; ?> 36 37 37 <?php if ( function_exists('bp_wire_get_post_list') ) : ?> 38 <?php bp_wire_get_post_list( bp_current_user_id(), bp_word_or_name( __( "My Wire", 'buddypress' ), __( "%s's Wire", 'buddypress' ), true, false ), bp_word_or_name( __( "No one has posted to your wire yet.", 'buddypress' ), __( "No one has posted to %s's wire yet.", 'buddypress' ), true, false), bp_profile_wire_can_post() ) ?> 39 <?php endif; ?> 38 <?php if ( function_exists('bp_wire_get_post_list') ) : ?> 39 <?php bp_wire_get_post_list( bp_current_user_id(), bp_word_or_name( __( "My Wire", 'buddypress' ), __( "%s's Wire", 'buddypress' ), true, false ), bp_word_or_name( __( "No one has posted to your wire yet.", 'buddypress' ), __( "No one has posted to %s's wire yet.", 'buddypress' ), true, false), bp_profile_wire_can_post() ) ?> 40 <?php endif; ?> 41 </div> 40 42 </div> 41 43 -
trunk/buddypress-theme/buddypress-member/style.css
r533 r541 59 59 } 60 60 .info-group div.clear { 61 clear: left;61 clear: both; 62 62 } 63 63 64 64 input, select, textarea { width: 100%; } 65 66 .inner-tube { 67 float: right; 68 width: 100%; 69 } 65 70 66 71 /************************** … … 324 329 325 330 #main #content { 331 position: relative; 326 332 padding: 2em 3em; 327 333 } … … 343 349 float: left; 344 350 width: 158px; 345 margin-bottom: 1em;346 351 } 347 352 … … 969 974 } 970 975 971 ul#group-list li, ul#member-list li, ul#blog-list li, ul#comment-list li {976 ul#group-list li, ul#member-list li, ul#blog-list li, ul#comment-list li, ul.item-list li { 972 977 position: relative; 973 978 background: url(images/message_thread_back.gif) top left repeat-x; … … 975 980 min-height: 60px; 976 981 } 977 978 #group-list li img.avatar, #member-list li img.avatar { 982 ul.item-list li.banned-user img.avatar { 983 border-color: red !important; 984 } 985 ul.item-list li.banned-user a { color: red; } 986 987 #group-list li img.avatar, #member-list li img.avatar, ul.item-list li img.avatar { 979 988 float: left; 980 989 margin: 0 1em 0 0; 981 990 } 982 #group-list li span.small, #member-list li span.small, #comment-list li span.small {991 #group-list li span.small, #member-list li span.small, #comment-list li span.small, ul.item-list li span.small { 983 992 font-size: 0.95em; 984 993 color: #888; 985 994 } 986 987 #group-list p.desc { 995 h5 span.small a { color: #888; text-decoration: underline; } 996 997 #group-list p.desc, ul.item-list p.desc { 988 998 margin-left: 70px; 989 999 font-size: 0.9em; … … 991 1001 .invites p.desc { width: 45%; } 992 1002 993 #group-list .action, #member-list .action {1003 #group-list .action, #member-list .action, .item-list .action { 994 1004 position: absolute; 995 1005 top: 30%; 996 1006 right: 1em; 997 1007 } 1008 1009 1010 1011 .single-line li { 1012 min-height: 35px !important; 1013 } 998 1014 999 1015 #group-admins img.avatar { … … 1013 1029 letter-spacing: 0.5px; 1014 1030 } 1015 1031 1032 .mods-list li { 1033 padding-bottom: 15px; 1034 } 1016 1035 1017 1036 /**** WIRE ***********************/
Note: See TracChangeset
for help on using the changeset viewer.