Changeset 1600
- Timestamp:
- 07/14/2009 06:05:08 PM (15 years ago)
- Location:
- trunk/bp-themes/bpmember
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bpmember/activity/just-me.php
r1366 r1600 29 29 30 30 <div class="info-group"> 31 <h4><?php echo bp_word_or_name( __( "My Activity", 'buddypress' ), __( "%s's Activity", 'buddypress' ), true, false ) ?> </h4>31 <h4><?php echo bp_word_or_name( __( "My Activity", 'buddypress' ), __( "%s's Activity", 'buddypress' ), true, false ) ?> <a href="<?php bp_activities_member_rss_link() ?>" title="<?php _e( 'RSS Feed', 'buddypress' ) ?>"><?php _e( 'RSS Feed', 'buddypress' ) ?></a></h4> 32 32 33 <?php if ( bp_has_activities( 'type=personal&max=30' ) ) : ?> 33 <ul id="activity-filter-links"> 34 <?php bp_activity_filter_links() ?> 35 </ul> 34 36 35 <div id="activity-rss"> 36 <p><a href="<?php bp_activities_member_rss_link() ?>" title="<?php _e( 'RSS Feed', 'buddypress' ) ?>"><?php _e( 'RSS Feed', 'buddypress' ) ?></a></p> 37 <?php if ( bp_has_activities( 'type=personal&per_page=25&max=500' ) ) : ?> 38 39 <div class="pag-count" id="activity-count"> 40 <?php bp_activity_pagination_count() ?> 41 </div> 42 43 <div class="pagination-links" id="activity-pag"> 44 <?php bp_activity_pagination_links() ?> 37 45 </div> 38 46 -
trunk/bp-themes/bpmember/activity/my-friends.php
r1366 r1600 21 21 22 22 <div class="info-group"> 23 <h4><?php _e( 'My Friends Activity', 'buddypress' ) ?> </h4>23 <h4><?php _e( 'My Friends Activity', 'buddypress' ) ?> <a href="<?php bp_activities_member_rss_link() ?>" title="<?php _e( 'RSS Feed', 'buddypress' ) ?>"><?php _e( 'RSS Feed', 'buddypress' ) ?></a></h4> 24 24 25 <?php if ( bp_has_activities( 'type=friends&max=30' ) ) : ?> 25 <ul id="activity-filter-links"> 26 <?php bp_activity_filter_links() ?> 27 </ul> 26 28 27 <div id="activity-rss"> 28 <p><a href="<?php bp_activities_member_rss_link() ?>" title="<?php _e( 'RSS Feed', 'buddypress' ) ?>"><?php _e( 'RSS Feed', 'buddypress' ) ?></a></p> 29 <?php if ( bp_has_activities( 'type=friends&per_page=25&max=500' ) ) : ?> 30 31 <div class="pag-count" id="activity-count"> 32 <?php bp_activity_pagination_count() ?> 33 </div> 34 35 <div class="pagination-links" id="activity-pag"> 36 <?php bp_activity_pagination_links() ?> 29 37 </div> 30 38 -
trunk/bp-themes/bpmember/css/base.css
r1468 r1600 482 482 color: #888; 483 483 } 484 div.info-group { 485 position: relative; 486 } 484 487 485 488 div.info-group h4 { -
trunk/bp-themes/bpmember/css/components.css
r1570 r1600 1 1 /**** ACTIVITY STREAMS ***************************/ 2 3 #activity-list { 4 background: url(../images/item_list_back.gif) top left repeat-x; 5 padding: 5px 15px; 6 } 2 7 3 8 #activity-list li { 4 9 padding-left: 21px; 5 10 } 6 #activity-list li.blogs {11 #activity-list li.blogs, ul#activity-filter-links li#afilter-blogs a { 7 12 background: url(../images/blog_bullet.gif) 0 4px no-repeat; 8 13 } 9 14 10 #activity-list li.profile {15 #activity-list li.profile, ul#activity-filter-links li#afilter-profile a { 11 16 background: url(../images/profile_bullet.gif) 0 4px no-repeat; 12 17 } 13 18 14 #activity-list li.friends {19 #activity-list li.friends, ul#activity-filter-links li#afilter-friends a { 15 20 background: url(../images/friends_bullet.gif) 0 4px no-repeat; 16 21 } 17 22 18 #activity-list li.groups {23 #activity-list li.groups, ul#activity-filter-links li#afilter-groups a { 19 24 background: url(../images/groups_bullet.gif) 0 4px no-repeat; 20 25 } 21 26 22 #activity-list li.wire {27 #activity-list li.wire, ul#activity-filter-links li#afilter-wire a { 23 28 background: url(../images/wire_bullet.gif) 0 4px no-repeat; 24 29 } 25 30 26 #activity-list li.status {31 #activity-list li.status, ul#activity-filter-links li#afilter-status a { 27 32 background: url(../images/status_bullet.gif) 0 4px no-repeat; 28 33 } 29 30 34 31 35 #activity-list li blockquote { … … 37 41 color: #999; 38 42 } 43 44 #activity-count, #activity-pag { 45 position: absolute; 46 top: 45px; 47 } 48 #activity-pag { 49 right: 0; 50 } 39 51 40 52 #activity-rss p { … … 48 60 padding-left: 15px; 49 61 } 62 63 ul#activity-filter-links { 64 background: url(../images/item_list_back.gif) top left repeat-x; 65 padding: 15px; 66 min-height: 22px; 67 margin-top: 34px; 68 } 69 70 ul#activity-filter-links li { 71 float: left; 72 } 73 ul#activity-filter-links li a { 74 display: block; 75 padding: 2px 8px 2px 30px; 76 background-color: #fff !important; 77 background-position: 8px 6px !important; 78 border-radius: 5px; 79 -moz-border-radius: 5px; 80 -webkit-border-radius: 5px; 81 margin: 0 5px 0 0; 82 border: 1px solid #eee; 83 text-decoration: none; 84 } 85 ul#activity-filter-links li a.selected { 86 border: 1px solid #ccc; 87 font-weight: bold; 88 } 89 90 ul#activity-filter-links li#afilter-clear a { 91 background: url(../images/error_icon.gif) 0 4px no-repeat; 92 border-color: #ffa6ac; 93 color: #ff5560; 94 } 50 95 51 96 /**** BLOGS *****************/ … … 216 261 } 217 262 218 div#skip-continue {219 border-top: 1px solid #ddd;220 }221 div#skip-continue input {222 font-size: 1em;223 }224 225 263 #create-group-form ul, #group-settings-form ul { 226 264 margin: 5px 0 0 33px; … … 286 324 margin-top: -20px; 287 325 padding-right: 10px; 326 } 327 328 #previous-next { 329 margin: 25px 0 0 0; 330 padding: 5px 0 0 0; 331 border-top: 1px solid #ddd; 332 } 333 #previous-next input#group-creation-previous { 334 width: auto; 335 } 336 337 #previous-next input#group-creation-next, #previous-next input#group-creation-finish { 338 width: auto; 339 margin-left: 20px; 288 340 } 289 341 … … 436 488 } 437 489 438 input#save, .standard-form input[type='submit'] {490 input#save, input#previous, .standard-form input[type='submit'] { 439 491 font-size: 1.4em; 440 492 } -
trunk/bp-themes/bpmember/profile/index.php
r1366 r1600 9 9 10 10 <div class="left-menu"> 11 <?php bp_the_avatar() ?> 12 13 <div class="button-block"> 14 <?php if ( function_exists('bp_add_friend_button') ) : ?> 15 <?php bp_add_friend_button() ?> 16 <?php endif; ?> 17 18 <?php if ( function_exists('bp_send_message_button') ) : ?> 19 <?php bp_send_message_button() ?> 20 <?php endif; ?> 21 </div> 22 23 <?php bp_custom_profile_sidebar_boxes() ?> 11 <!-- Profile Menu (Avatar, Add Friend, Send Message buttons etc) --> 12 <?php load_template( TEMPLATEPATH . '/profile/profile-menu.php' ) ?> 24 13 </div> 25 14 26 15 <div class="main-column"> 27 16 <div class="inner-tube"> 28 <?php bp_get_profile_header() ?> 17 18 <!-- Profile Header (Name & Status) --> 19 <?php load_template( TEMPLATEPATH . '/profile/profile-header.php' ) ?> 29 20 30 <?php if ( function_exists('xprofile_get_profile') ) : ?> 31 <?php xprofile_get_profile() ?> 32 <?php else : ?> 33 <?php bp_core_get_wp_profile() ?> 34 <?php endif; ?> 21 <!-- Profile Data Loop --> 22 <?php load_template( TEMPLATEPATH . '/profile/profile-loop.php' ) ?> 35 23 24 <!-- Latest Activity Loop --> 36 25 <?php if ( function_exists( 'bp_activity_install')) : ?> 37 26 <div class="info-group"> 38 <h4><?php echo bp_word_or_name( __( "My Activity", 'buddypress' ), __( "%s's Activity", 'buddypress' ), true, false ) ?></h4>27 <h4><?php echo bp_word_or_name( __( "My Latest Activity", 'buddypress' ), __( "%s's Latest Activity", 'buddypress' ), true, false ) ?> <a href="<?php echo bp_displayed_user_domain() . BP_ACTIVITY_SLUG ?>"><?php _e( 'See All', 'buddypress' ) ?> →</a></h4> 39 28 40 29 <?php if ( bp_has_activities( 'type=personal&max=5' ) ) : ?> … … 62 51 <?php endif; ?> 63 52 64 <?php if ( function_exists('bp_groups_random_groups') ) : ?> 65 <?php bp_groups_random_groups() ?> 66 <?php endif; ?> 67 68 <?php if ( function_exists('bp_friends_random_friends') ) : ?> 69 <?php bp_friends_random_friends() ?> 53 <!-- Random Groups Loop --> 54 <?php if ( function_exists( 'bp_has_groups' ) ) : ?> 55 56 <?php if ( bp_has_groups( 'type=random&max=5' ) ) : ?> 57 <div class="info-group"> 58 <h4><?php bp_word_or_name( __( "My Groups", 'buddypress' ), __( "%s's Groups", 'buddypress' ) ) ?> (<?php bp_group_total_for_member() ?>) <a href="<?php echo bp_displayed_user_domain() . BP_GROUPS_SLUG ?>"><?php _e( 'See All', 'buddypress' ) ?> →</a></h4> 59 60 <ul class="horiz-gallery"> 61 <?php while ( bp_groups() ) : bp_the_group(); ?> 62 <li> 63 <a href="<?php bp_group_permalink() ?>"><?php bp_group_avatar_thumb() ?></a> 64 <h5><a href="<?php bp_group_permalink() ?>"><?php bp_group_name() ?></a></h5> 65 </li> 66 <?php endwhile; ?> 67 </ul> 68 69 <div class="clear"></div> 70 </div> 71 72 <?php endif; ?> 73 70 74 <?php endif; ?> 71 75 72 <?php bp_custom_profile_boxes() ?> 76 <!-- Random Friends Loop --> 77 <?php if ( function_exists( 'bp_has_friendships' ) ) : ?> 73 78 79 <?php if ( bp_has_friendships( 'type=random&max=5' ) ) : ?> 80 <div class="info-group"> 81 <h4><?php bp_word_or_name( __( "My Friends", 'buddypress' ), __( "%s's Friends", 'buddypress' ) ) ?> (<?php bp_friend_total_for_member() ?>) <a href="<?php echo bp_displayed_user_domain() . BP_FRIENDS_SLUG ?>"><?php _e( 'See All', 'buddypress' ) ?> →</a></h4> 82 83 <ul class="horiz-gallery"> 84 <?php while ( bp_user_friendships() ) : bp_the_friendship(); ?> 85 <li> 86 <a href="<?php bp_friend_url() ?>"><?php bp_friend_avatar_thumb() ?></a> 87 <h5><a href="<?php bp_friend_url() ?>"><?php bp_friend_name() ?></a></h5> 88 </li> 89 <?php endwhile; ?> 90 </ul> 91 92 <div class="clear"></div> 93 </div> 94 95 <?php endif; ?> 96 97 <?php endif; ?> 98 99 <!-- Hook for including new profile boxes --> 100 <?php do_action( 'bp_custom_profile_boxes' ) ?> 101 102 <!-- Profile Wire Loop - uses [TEMPLATEPATH]/wire/post-list.php --> 74 103 <?php if ( function_exists('bp_wire_get_post_list') ) : ?> 75 104 <?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() ) ?> 76 105 <?php endif; ?> 106 77 107 </div> 78 108 </div> -
trunk/bp-themes/bpmember/profile/profile-loop.php
r1442 r1600 1 <?php if ( bp_has_profile() ) : ?> 2 <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?> 1 <?php if ( function_exists('xprofile_get_profile') ) : ?> 2 3 <?php if ( bp_has_profile() ) : ?> 4 <?php while ( bp_profile_groups() ) : bp_the_profile_group(); ?> 3 5 4 <?php if ( bp_profile_group_has_fields() ) : ?>5 <div class="info-group">6 <h4><?php bp_the_profile_group_name() ?></h4>6 <?php if ( bp_profile_group_has_fields() ) : ?> 7 <div class="info-group"> 8 <h4><?php bp_the_profile_group_name() ?></h4> 7 9 8 <table class="profile-fields">9 <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>10 <table class="profile-fields"> 11 <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?> 10 12 11 <?php if ( bp_field_has_data() ) : ?>12 <tr<?php bp_field_css_class() ?>>13 <td class="label">14 <?php bp_the_profile_field_name() ?>15 </td>16 <td class="data">17 <?php bp_the_profile_field_value() ?>18 </td>19 </tr>20 <?php endif; ?>13 <?php if ( bp_field_has_data() ) : ?> 14 <tr<?php bp_field_css_class() ?>> 15 <td class="label"> 16 <?php bp_the_profile_field_name() ?> 17 </td> 18 <td class="data"> 19 <?php bp_the_profile_field_value() ?> 20 </td> 21 </tr> 22 <?php endif; ?> 21 23 22 <?php endwhile; ?>23 </table>24 </div>25 <?php endif; ?>24 <?php endwhile; ?> 25 </table> 26 </div> 27 <?php endif; ?> 26 28 27 <?php endwhile; ?>29 <?php endwhile; ?> 28 30 29 <div class="button-block">30 <?php if ( bp_is_home() ) : ?>31 <?php bp_edit_profile_button() ?>32 <?php endif; ?>33 </div>31 <div class="button-block"> 32 <?php if ( bp_is_home() ) : ?> 33 <?php bp_edit_profile_button() ?> 34 <?php endif; ?> 35 </div> 34 36 35 <?php else: ?>37 <?php else: ?> 36 38 37 <div id="message" class="info">38 <p><?php _e( 'Sorry, this person does not have a public profile.', 'buddypress' ) ?></p>39 </div>39 <div id="message" class="info"> 40 <p><?php _e( 'Sorry, this person does not have a public profile.', 'buddypress' ) ?></p> 41 </div> 40 42 41 <?php endif;?> 43 <?php endif;?> 44 45 <?php else : ?> 46 47 <?php bp_core_get_wp_profile() ?> 48 49 <?php endif; ?> -
trunk/bp-themes/bpmember/style.css
r1522 r1600 3 3 Theme URI: http://buddypress.org 4 4 Description: The default member theme for BuddyPress. This theme handles all non-blog pages. 5 Version: 1. 0.15 Version: 1.1-pre 6 6 Author: Andy Peatling 7 7 Author URI: http://apeatling.wordpress.com
Note: See TracChangeset
for help on using the changeset viewer.