Changeset 2205
- Timestamp:
- 12/18/2009 02:59:39 PM (16 years ago)
- Location:
- trunk/bp-themes/bp-default
- Files:
-
- 4 edited
-
_inc/css/default.css (modified) (1 diff)
-
archive.php (modified) (2 diffs)
-
header.php (modified) (1 diff)
-
search.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/_inc/css/default.css
r2204 r2205 1520 1520 } 1521 1521 1522 h2.pagetitle { 1523 color: #888; 1524 font-size: 18px; 1525 padding: 10px 0; 1526 margin: 10px 0; 1527 border-bottom: 1px solid #e4e4e4; 1528 border-top: 1px solid #e4e4e4; 1529 font-weight: normal; 1530 } 1531 1522 1532 /* > WordPress Blog Comment Styles 1523 1533 -------------------------------------------------------------- */ -
trunk/bp-themes/bp-default/archive.php
r2170 r2205 8 8 <div class="page" id="blog-archives"> 9 9 10 <h2 class="pagetitle"><?php _e( 'Blog', 'buddypress' )?></h2>10 <h2 class="pagetitle"><?php printf( __( 'You are browsing the archive for %1$s.', 'buddypress' ), wp_title( false, false ) ); ?></h2> 11 11 12 12 <?php if ( have_posts() ) : ?> 13 14 <h3><?php printf( __( 'You are browsing the archive for %1$s.', 'buddypress' ), wp_title( false, false ) ); ?></h3>15 13 16 14 <div class="navigation"> … … 25 23 <?php do_action( 'bp_before_blog_post' ) ?> 26 24 27 <div class="post" >25 <div class="post" id="post-<?php the_ID(); ?>"> 28 26 29 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' ) ?> <?php the_title(); ?>"><?php the_title(); ?></a></h3> 30 <small><?php the_time('F j, Y') ?></small> 31 32 <div class="entry"> 33 <?php the_content() ?> 27 <div class="author-box"> 28 <?php echo get_avatar( get_the_author_email(), '50' ); ?> 29 <p><?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></p> 34 30 </div> 35 31 36 <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link( __( 'Edit', 'buddypress' ), '', ' | '); ?> <?php comments_popup_link( __( 'No Comments »', 'buddypress' ), __( '1 Comment »', 'buddypress' ), __( '% Comments »', 'buddypress' ) ); ?></p> 32 <div class="post-content"> 33 <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' ) ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> 34 35 <p class="date"><?php the_time('F j, Y') ?> <em><?php _e( 'in', 'buddypress' ) ?> <?php the_category(', ') ?> <?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></em></p> 36 37 <div class="entry"> 38 <?php the_content( __( 'Read the rest of this entry »', 'buddypress' ) ); ?> 39 </div> 40 41 <p class="postmetadata"><span class="tags"><?php the_tags( __( 'Tags: ', 'buddypress' ), ', ', '<br />'); ?></span> <span class="comments"><?php comments_popup_link( __( 'No Comments »', 'buddypress' ), __( '1 Comment »', 'buddypress' ), __( '% Comments »', 'buddypress' ) ); ?></span></p> 42 </div> 37 43 38 44 </div> -
trunk/bp-themes/bp-default/header.php
r2184 r2205 34 34 <div id="header"> 35 35 36 <h1 id="logo"><a href="<?php echo get_option('home') ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></a></h1>36 <h1 id="logo"><a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php bp_site_name() ?></a></h1> 37 37 38 38 <ul id="nav"> 39 <li<?php if ( bp_is_page( 'home' ) ) : ?> class="selected"<?php endif; ?>><a href="<?php echo get_option('home') ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a></li> 40 <li<?php if ( bp_is_page( BP_HOME_BLOG_SLUG ) ) : ?> class="selected"<?php endif; ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_HOME_BLOG_SLUG ?>" title="<?php _e( 'Blog', 'buddypress' ) ?>"><?php _e( 'Blog', 'buddypress' ) ?></a></li> 41 <li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) : ?> class="selected"<?php endif; ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_MEMBERS_SLUG ?>" title="<?php _e( 'Members', 'buddypress' ) ?>"><?php _e( 'Members', 'buddypress' ) ?></a></li> 39 <li<?php if ( bp_is_page( 'home' ) ) : ?> class="selected"<?php endif; ?>> 40 <a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a> 41 </li> 42 43 <li<?php if ( bp_is_page( BP_HOME_BLOG_SLUG ) || bp_is_blog_page() && !is_front_page() ) : ?> class="selected"<?php endif; ?>> 44 <a href="<?php echo site_url() ?>/<?php echo BP_HOME_BLOG_SLUG ?>" title="<?php _e( 'Blog', 'buddypress' ) ?>"><?php _e( 'Blog', 'buddypress' ) ?></a> 45 </li> 46 47 <li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) : ?> class="selected"<?php endif; ?>> 48 <a href="<?php echo site_url() ?>/<?php echo BP_MEMBERS_SLUG ?>" title="<?php _e( 'Members', 'buddypress' ) ?>"><?php _e( 'Members', 'buddypress' ) ?></a> 49 </li> 42 50 43 51 <?php if ( function_exists( 'groups_install' ) ) : ?> 44 <li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_GROUPS_SLUG ?>" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?></a></li> 52 <li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>> 53 <a href="<?php echo site_url() ?>/<?php echo BP_GROUPS_SLUG ?>" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?></a> 54 </li> 45 55 <?php endif; ?> 46 56 47 57 <?php if ( function_exists( 'groups_install' ) && ( function_exists( 'bp_forums_setup' ) && !(int) get_site_option( 'bp-disable-forum-directory' ) ) ) : ?> 48 <li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_FORUMS_SLUG ?>" title="<?php _e( 'Forums', 'buddypress' ) ?>"><?php _e( 'Forums', 'buddypress' ) ?></a></li> 58 <li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>> 59 <a href="<?php echo site_url() ?>/<?php echo BP_FORUMS_SLUG ?>" title="<?php _e( 'Forums', 'buddypress' ) ?>"><?php _e( 'Forums', 'buddypress' ) ?></a> 60 </li> 49 61 <?php endif; ?> 50 62 51 63 <?php if ( function_exists( 'bp_blogs_install' ) ) : ?> 52 <li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?> class="selected"<?php endif; ?>><a href="<?php echo get_option('home') ?>/<?php echo BP_BLOGS_SLUG ?>" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?></a></li> 64 <li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?> class="selected"<?php endif; ?>> 65 <a href="<?php echo site_url() ?>/<?php echo BP_BLOGS_SLUG ?>" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?></a> 66 </li> 53 67 <?php endif; ?> 54 68 -
trunk/bp-themes/bp-default/search.php
r2170 r2205 23 23 <?php do_action( 'bp_before_blog_post' ) ?> 24 24 25 <div class="post" >25 <div class="post" id="post-<?php the_ID(); ?>"> 26 26 27 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' ) ?> <?php the_title(); ?>"><?php the_title(); ?></a></h3> 28 <small><?php the_time('l, F jS, Y') ?></small> 27 <div class="author-box"> 28 <?php echo get_avatar( get_the_author_email(), '50' ); ?> 29 <p><?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></p> 30 </div> 29 31 30 <p class="postmetadata"><?php _e( 'Posted in', 'buddypress' ) ?> <?php the_category(', ') ?> | <?php edit_post_link( __( 'Edit', 'buddypress' ), '', ' | '); ?> <?php comments_popup_link( __( 'No Comments »', 'buddypress' ), __( '1 Comment »', 'buddypress' ), __( '% Comments »', 'buddypress' ) ); ?></p> 32 <div class="post-content"> 33 <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' ) ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> 31 34 32 <?php do_action( 'bp_blog_post' ) ?> 35 <p class="date"><?php the_time('F j, Y') ?> <em><?php _e( 'in', 'buddypress' ) ?> <?php the_category(', ') ?> <?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></em></p> 36 37 <div class="entry"> 38 <?php the_content( __( 'Read the rest of this entry »', 'buddypress' ) ); ?> 39 </div> 40 41 <p class="postmetadata"><span class="tags"><?php the_tags( __( 'Tags: ', 'buddypress' ), ', ', '<br />'); ?></span> <span class="comments"><?php comments_popup_link( __( 'No Comments »', 'buddypress' ), __( '1 Comment »', 'buddypress' ), __( '% Comments »', 'buddypress' ) ); ?></span></p> 42 </div> 33 43 34 44 </div>
Note: See TracChangeset
for help on using the changeset viewer.