Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/21/2011 09:26:34 PM (12 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/archive.php

    r4126 r4223  
    2727                        <div class="author-box">
    2828                            <?php echo get_avatar( get_the_author_meta( 'user_email' ), '50' ); ?>
    29                             <p><?php printf( __( 'by %s', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></p>
     29                            <p><?php printf( _x( 'by %s', 'Post written by...', 'buddypress' ), bp_core_get_userlink( $post->post_author ) ) ?></p>
    3030                        </div>
    3131
     
    3333                            <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>
    3434
    35                             <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>
     35                            <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>
    3636
    3737                            <div class="entry">
Note: See TracChangeset for help on using the changeset viewer.