Skip to:
Content

BuddyPress.org

Changeset 2132


Ignore:
Timestamp:
11/26/2009 10:48:12 AM (17 years ago)
Author:
apeatling
Message:

Adding CSS action class to activity items

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-templatetags.php

    r2128 r2132  
    450450                global $activities_template;
    451451
    452                 return apply_filters( 'bp_get_activity_css_class', $activities_template->activity->component_name );
     452                return apply_filters( 'bp_get_activity_css_class', $activities_template->activity->component_name . ' ' . $activities_template->activity->component_action );
    453453        }
    454454
  • trunk/bp-themes/bp-sn-parent/activity/entry.php

    r2126 r2132  
    1010                <?php if ( is_user_logged_in() ) : ?>
    1111                <div class="activity-meta">
    12                         <a href="#acomment-<?php bp_activity_id() ?>" class="acomment-reply" id="acomment-comment-<?php bp_activity_id() ?>"><?php _e( 'Comment', 'callisto' ) ?> (<?php bp_activity_comment_count() ?>)</a>
     12                        <a href="#acomment-<?php bp_activity_id() ?>" class="acomment-reply" id="acomment-comment-<?php bp_activity_id() ?>"><?php _e( 'Comment', 'buddypress' ) ?> (<?php bp_activity_comment_count() ?>)</a>
    1313                </div>
    1414                <?php endif; ?>
    … …  
    2323                        <div class="ac-reply-content">
    2424                                <textarea id="ac-input-<?php bp_activity_id() ?>" class="ac-input" name="ac-input-<?php bp_activity_id() ?>"></textarea>
    25                                 <input type="submit" name="ac-form-submit" value="<?php _e( 'Post', 'callisto' ) ?> &rarr;" />
     25                                <input type="submit" name="ac-form-submit" value="<?php _e( 'Post', 'buddypress' ) ?> &rarr;" />
    2626                        </div>
    2727                        <?php wp_nonce_field( 'new_activity_comment', '_wpnonce_new_activity_comment' ) ?>
Note: See TracChangeset for help on using the changeset viewer.