Skip to:
Content

bbPress.org

Changeset 2969


Ignore:
Timestamp:
03/29/2011 04:34:45 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Check for bbp_show_lead_topic() and adjust verbiage from "Replies" to "Posts" and show favorites/subscription links if set to false

File:
1 edited

Legend:

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

    r2955 r2969  
    1818            <tr>
    1919                <th class="bbp-reply-author"><?php  _e( 'Author',  'bbpress' ); ?></th>
    20                 <th class="bbp-reply-content"><?php _e( 'Replies', 'bbpress' ); ?></th>
     20                <th class="bbp-reply-content">
     21               
     22                    <?php if ( !bbp_show_lead_topic() ) : ?>
     23
     24                        <?php _e( 'Posts', 'bbpress' ); ?>
     25
     26                        <?php bbp_user_subscribe_link(); ?>
     27
     28                        <?php bbp_user_favorites_link(); ?>
     29
     30                    <?php else : ?>
     31
     32                        <?php _e( 'Replies', 'bbpress' ); ?>
     33
     34                    <?php endif; ?>
     35
     36                </th>
    2137            </tr>
    2238        </thead>
     
    2541            <tr>
    2642                <th class="bbp-reply-author"><?php  _e( 'Author',  'bbpress' ); ?></th>
    27                 <th class="bbp-reply-content"><?php _e( 'Replies', 'bbpress' ); ?></th>
     43                <th class="bbp-reply-content">
     44
     45                    <?php if ( !bbp_show_lead_topic() ) : ?>
     46
     47                        <?php _e( 'Posts', 'bbpress' ); ?>
     48
     49                    <?php else : ?>
     50
     51                        <?php _e( 'Replies', 'bbpress' ); ?>
     52
     53                    <?php endif; ?>
     54
     55                </th>
    2856            </tr>
    2957        </tfoot>
Note: See TracChangeset for help on using the changeset viewer.