- Timestamp:
- 12/30/11 03:17:23 (5 months ago)
- File:
-
- 1 edited
-
tags/7.0/templates/base/scripts/BxBaseCmtsView.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tags/7.0/templates/base/scripts/BxBaseCmtsView.php
r15589 r15815 386 386 function _getAuthorIcon ($a) { 387 387 global $oFunctions; 388 return $oFunctions->getMemberIcon($a['cmt_author_id']); 388 if (!$a['cmt_author_id'] || !getProfileInfo($a['cmt_author_id'])) { 389 if (!@include_once (BX_DIRECTORY_PATH_MODULES . 'boonex/avatar/include.php')) 390 return ''; 391 return '<div class="thumbnail_block" style="float:none;width:'.(BX_AVA_ICON_W+8).'px;height:'.(BX_AVA_ICON_H+8).'px;"><div class="thumbnail_image" style="width:'.(BX_AVA_ICON_W+4).'px;height:'.(BX_AVA_ICON_H+4).'px;"><img src="' . $oFunctions->getSexPic('', 'small') . '" /></div></div>'; 392 } else { 393 return $oFunctions->getMemberIcon($a['cmt_author_id']); 394 } 389 395 } 390 396 function _getBrowse() {
Note: See TracChangeset
for help on using the changeset viewer.