Ticket #3500: 3500.02.patch
File 3500.02.patch, 1.1 KB (added by , 13 years ago) |
---|
-
bp-activity/bp-activity-template.php
function bp_activity_avatar( $args = '' ) { 565 565 function bp_get_activity_avatar( $args = '' ) { 566 566 global $activities_template, $bp; 567 567 568 $type_default = bp_is_single_activity() ? 'full' : 'thumb'; 569 568 570 $defaults = array( 569 571 'alt' => __( 'Profile picture of %s', 'buddypress' ), 570 572 'class' => 'avatar', 571 573 'email' => false, 572 'type' => 'thumb',574 'type' => $type_default, 573 575 'user_id' => false 574 576 ); 575 577 -
bp-themes/bp-default/activity/entry.php
18 18 <div class="activity-avatar"> 19 19 <a href="<?php bp_activity_user_link(); ?>"> 20 20 21 <?php bp_activity_avatar( 'type=thumb'); ?>21 <?php bp_activity_avatar(); ?> 22 22 23 23 </a> 24 24 </div>