Skip to:
Content

BuddyPress.org

Changeset 3287


Ignore:
Timestamp:
10/07/2010 10:58:43 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2662 (branch) props PaulGibbs

Location:
branches/1.2
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-activity/bp-activity-templatetags.php

    r3260 r3287  
    657657
    658658                $content .= '<li id="acomment-' . $comment->id . '">';
    659                 $content .= '<div class="acomment-avatar"><a href="' . bp_core_get_user_domain( $comment->user_id, $comment->user_nicename, $comment->user_login ) . '">' . bp_core_fetch_avatar( array( 'item_id' => $comment->user_id, 'width' => 25, 'height' => 25, 'email' => $comment->user_email ) ) . '</a></div>';
     659                $content .= '<div class="acomment-avatar"><a href="' . bp_core_get_user_domain( $comment->user_id, $comment->user_nicename, $comment->user_login ) . '">' . bp_core_fetch_avatar( array( 'item_id' => $comment->user_id, 'width' => 20, 'height' => 20, 'email' => $comment->user_email ) ) . '</a></div>';
    660660                $content .= '<div class="acomment-meta"><a href="' . bp_core_get_user_domain( $comment->user_id, $comment->user_nicename, $comment->user_login ) . '">' . apply_filters( 'bp_acomment_name', $comment->user_fullname, $comment ) . '</a> &middot; ' . sprintf( __( '%s ago', 'buddypress' ), bp_core_time_since( $comment->date_recorded ) );
    661661
  • branches/1.2/bp-themes/bp-default/_inc/ajax.php

    r3192 r3287  
    184184            <li id="acomment-<?php bp_activity_id() ?>">
    185185                <div class="acomment-avatar">
    186                     <?php bp_activity_avatar( array( 'width' => 25, 'height' => 25 ) ) ?>
     186                    <?php bp_activity_avatar() ?>
    187187                </div>
    188188
  • branches/1.2/bp-themes/bp-default/_inc/css/default.css

    r3225 r3287  
    10011001    form#whats-new-form textarea {
    10021002        width: 100%;
    1003         height: 60px;
     1003        height: 50px;
    10041004        font-size: 14px;
    10051005        font-family: inherit;
     
    11161116
    11171117.activity-list .activity-avatar img {
    1118     width: 60px;
    1119     height: 60px;
     1118    width: 50px;
     1119    height: 50px;
    11201120}
    11211121        body.activity-permalink .activity-list .activity-avatar img {
  • branches/1.2/bp-themes/bp-default/activity/entry.php

    r2753 r3287  
    66    <div class="activity-avatar">
    77        <a href="<?php bp_activity_user_link() ?>">
    8             <?php bp_activity_avatar( 'type=full&width=100&height=100' ) ?>
     8            <?php bp_activity_avatar( 'type=thumb&width=' . BP_AVATAR_THUMB_WIDTH . '&height=' . BP_AVATAR_THUMB_HEIGHT ) ?>
    99        </a>
    1010    </div>
     
    5656            <?php if ( is_user_logged_in() ) : ?>
    5757            <form action="<?php bp_activity_comment_form_action() ?>" method="post" id="ac-form-<?php bp_activity_id() ?>" class="ac-form"<?php bp_activity_comment_form_nojs_display() ?>>
    58                 <div class="ac-reply-avatar"><?php bp_loggedin_user_avatar( 'width=25&height=25' ) ?></div>
     58                <div class="ac-reply-avatar"><?php bp_loggedin_user_avatar( 'width=20&height=20' ) ?></div>
    5959                <div class="ac-reply-content">
    6060                    <div class="ac-textarea">
  • branches/1.2/bp-themes/bp-default/activity/post-form.php

    r2993 r3287  
    1111    <div id="whats-new-avatar">
    1212        <a href="<?php echo bp_loggedin_user_domain() ?>">
    13             <?php bp_loggedin_user_avatar( 'width=60&height=60' ) ?>
     13            <?php bp_loggedin_user_avatar( 'width=' . BP_AVATAR_THUMB_WIDTH . '&height=' . BP_AVATAR_THUMB_HEIGHT ) ?>
    1414        </a>
    1515    </div>
Note: See TracChangeset for help on using the changeset viewer.