parseHtmlByName($sTemplate, array( 'thumb_url' => $this->getThumb(), 'title' => $this->getDisplayName() )); } /** * Check whether a profile has real image uploaded by user. */ public function hasImage() { return false; } /** * Get picture url */ public function getPicture() { return BxDolTemplate::getInstance()->getImageUrl('account-picture.png'); } /** * Get profile avatar */ public function getAvatar() { return BxDolTemplate::getInstance()->getImageUrl('account-avatar.png'); } /** * Get profile thumb */ public function getThumb() { return BxDolTemplate::getInstance()->getImageUrl('account-thumb.png'); } /** * Get profile icon */ public function getIcon() { return BxDolTemplate::getInstance()->getImageUrl('account-icon.png'); } /** * Get module icon */ public function getIconModule($iProfileId = 0) { return 'user'; } /** * Get profile edit url */ public function getEditUrl() { return ''; } /** * @see iBxDolProfile::checkAllowedProfileView */ public function checkAllowedProfileView($iProfileId = 0) { return CHECK_ACTION_RESULT_ALLOWED; } /** * @see iBxDolProfile::checkAllowedPostInProfile */ public function checkAllowedPostInProfile($iProfileId = 0) { return _t('_sys_txt_access_denied'); } /** * Check if profile is active */ public function isActive($iProfileId = false) { return true; } /** * Is profile online */ public function isOnline($iProfileId = false) { return false; } } /** @} */