Index: trunk/extensions/SocialProfile/UserGifts/SpecialViewGift.php |
— | — | @@ -70,9 +70,6 @@ |
71 | 71 | $removeGiftLink = SpecialPage::getTitleFor( 'RemoveGift' ); |
72 | 72 | $giveGiftLink = SpecialPage::getTitleFor( 'GiveGift' ); |
73 | 73 | |
74 | | - $avatar = new wAvatar( $gift['user_id_from'], 's' ); |
75 | | - $avatar_img = '<img src="' . $wgUploadPath . '/avatars/' . |
76 | | - $avatar->getAvatarImage() . '" alt="" border="0" />'; |
77 | 74 | $giftImage = '<img src="' . $wgUploadPath . '/awards/' . |
78 | 75 | Gifts::getGiftImage( $gift['gift_id'], 'l' ) . |
79 | 76 | '" border="0" alt="" />'; |
— | — | @@ -80,8 +77,8 @@ |
81 | 78 | $message = $wgOut->parse( trim( $gift['message'] ), false ); |
82 | 79 | |
83 | 80 | $output .= '<div class="g-description-container">'; |
84 | | - $output .= '<div class="g-description">' |
85 | | - . $giftImage . |
| 81 | + $output .= '<div class="g-description">' . |
| 82 | + $giftImage . |
86 | 83 | '<div class="g-name">' . $gift['name'] . '</div> |
87 | 84 | <div class="g-timestamp">(' . $gift['timestamp'] . ')</div> |
88 | 85 | <div class="g-from">' . wfMsg( |
— | — | @@ -98,9 +95,7 @@ |
99 | 96 | <a href="' . $giveGiftLink->escapeFullURL( 'gift_id=' . $gift['gift_id'] ) . '">' . |
100 | 97 | wfMsg( 'g-to-another' ) . '</a>'; |
101 | 98 | if ( $gift['user_name_to'] == $wgUser->getName() ) { |
102 | | - $output .= ' '; |
103 | 99 | $output .= wfMsgExt( 'pipe-separator', 'escapenoentities' ); |
104 | | - $output .= ' '; |
105 | 100 | $output .= '<a href="' . $removeGiftLink->escapeFullURL( 'gift_id=' . $gift['id'] ) . '">' . |
106 | 101 | wfMsg( 'g-remove-gift' ) . '</a>'; |
107 | 102 | } |