Changeset 3635 for trunk/bp-activity/bp-activity-templatetags.php
- Timestamp:
- 01/01/2011 06:26:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-templatetags.php
r3610 r3635 457 457 'height' => 20, 458 458 'class' => 'avatar', 459 'alt' => __( ' Avatar', 'buddypress' ),459 'alt' => __( 'Profile picture of %s', 'buddypress' ), 460 460 'email' => false 461 461 ); … … 503 503 'height' => 20, 504 504 'class' => 'avatar', 505 'alt' => __( 'Avatar', 'buddypress' ),506 505 'email' => false 507 506 ); … … 515 514 $object = 'group'; 516 515 $item_id = $activities_template->activity->item_id; 516 517 if ( !$alt ) 518 $alt = __( 'Group logo of %s', 'buddypress' ); 519 517 520 break; 518 521 case 'blogs' : 519 522 $object = 'blog'; 520 523 $item_id = $activities_template->activity->item_id; 524 525 if ( !$alt ) 526 $alt = sprintf( __( 'Blog authored by %s', 'buddypress' ), get_blog_option( $item_id, 'blogname' ) ); 527 521 528 break; 522 529 case 'friends' : 523 530 $object = 'user'; 524 531 $item_id = $activities_template->activity->secondary_item_id; 532 533 if ( !$alt ) 534 $alt = __( 'Profile picture of %s', 'buddypress' ); 535 525 536 break; 526 537 default : … … 528 539 $item_id = $activities_template->activity->user_id; 529 540 $email = $activities_template->activity->user_email; 541 542 if ( !$alt ) 543 $alt = __( 'Profile picture of %s', 'buddypress' ); 544 530 545 break; 531 546 }
Note: See TracChangeset
for help on using the changeset viewer.