Skip to:
Content

bbPress.org


Ignore:
Timestamp:
02/05/2011 06:00:15 AM (16 years ago)
Author:
johnjamesjacoby
Message:

Let there be life! Show avatars for 'started by' post meta, and show last poster avatar and profile link in freshness columns. Swap out is_int checks for is_numeric in places where the value passed is numeric, but may be cast as a string from previous routines. Also introduce admin.dev.css file for further development of the green admin style.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-themes/bbp-twentyten/loop-bbp_topics.php

    r2818 r2844  
    4040                                                <p class="bbp-topic-meta">
    4141
    42                                                         <?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link() ); ?>
     42                                                        <?php printf( __( 'Started by: %1$s %2$s', 'bbpress' ), bbp_get_topic_author_avatar( bbp_get_topic_id(), 15 ), bbp_get_topic_author_link() ); ?>
    4343
    4444                                                        <?php if ( !bbp_is_forum() ) printf( __( 'in: <a href="%1$s">%2$s</a>', 'bbpress' ), bbp_get_forum_permalink( bbp_get_topic_forum_id() ), bbp_get_forum_title( bbp_get_topic_forum_id() ) ); ?>
    … …  
    5252                                        <td class="bbp-topic-voice-count"><?php bbp_topic_voice_count(); ?></td>
    5353
    54                                         <td class="bbp-topic-freshness"><?php bbp_topic_freshness_link(); ?></td>
     54                                        <td class="bbp-topic-freshness">
     55
     56                                                <?php bbp_topic_freshness_link(); ?>
     57
     58                                                <p class="bbp-topic-meta">
     59
     60                                                        <?php bbp_reply_author_avatar( bbp_get_topic_last_reply_id(), 15 ); ?>
     61                                                        <?php bbp_reply_author_link( bbp_get_topic_last_reply_id() ); ?>
     62
     63                                                </p>
     64                                        </td>
    5565
    5666                                        <?php if ( bbp_is_user_home() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.