Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/21/2011 09:26:34 PM (11 years ago)
Author:
djpaul
Message:

Improve alignment of "edit this entry" link when viewing a post. Also improves i18n. Fixes #3163

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/index.php

    r4126 r4223  
    1818                        <div class="author-box">
    1919                            <?php echo get_avatar( get_the_author_meta( 'user_email' ), '50' ); ?>
    20                             <p><?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></p>
     20                            <p><?php printf( _x( 'by %s', 'Post written by...', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></p>
    2121                        </div>
    2222
     
    2424                            <h2 class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'Permanent Link to', 'buddypress' ) ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    2525
    26                             <p class="date"><?php echo get_the_date() ?> <em><?php _e( 'in', 'buddypress' ) ?> <?php the_category(', ') ?> <?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></em></p>
     26                            <p class="date"><?php printf( __( '%1$s <span>in %2$s by %3$s</span>', 'buddypress' ), get_the_date(), get_the_category_list( ', ' ), bp_core_get_userlink( $post->post_author ) ); ?></p>
    2727
    2828                            <div class="entry">
Note: See TracChangeset for help on using the changeset viewer.