Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/13/2010 01:08:31 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Committing patch from #2566 for easier review and testing. Adds BP_Button class and associated template tags. Also includes code formatting fixes, phpdoc, widget fixes when friends component is disabled, and possibly the kitchen sink.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-themes/bp-default/groups/single/group-header.php

    r3109 r3260  
    3636        <?php bp_group_description() ?>
    3737
    38         <?php if ( bp_is_group_forum() && is_user_logged_in() && !bp_is_group_forum_topic() ) : ?>
    39             <div class="generic-button group-button">
    40                 <a href="#post-new" class=""><?php _e( 'New Topic', 'buddypress' ) ?></a>
    41             </div>
    42         <?php endif; ?>
     38        <div id="item-buttons">
    4339
    44         <?php bp_group_join_button() ?>
     40            <?php do_action( 'bp_group_header_actions' ); ?>
     41
     42        </div><!-- #item-buttons -->
    4543
    4644        <?php do_action( 'bp_group_header_meta' ) ?>
Note: See TracChangeset for help on using the changeset viewer.