/** * Return HTML code for avatar image (with full path) * @param string $sSize type of avatar: large, medium, tiny * @param bool $boolNoCache if true, then add a timestamp to url, making * browser not to use cached version and to get a fresh new one * * @return string the HTML code for image src which actually * includes 2 images - an avatar and a tiny facebook icon. */ public function getAvatarImgSrc($sSize = 'medium', $boolNoCache = false) { $strAvatar = parent::getAvatarImgSrc($sSize, $boolNoCache); $strAvatar .= '<img width="14" height="14" class="iconfb" alt="Facebook Connect User" src="{_IMAGE_SITE_}{_DIR_}/images/fb-user.gif">'; return $strAvatar; }
/** * Return HTML code for avatar image (with full path) * @param string $sSize type of avatar: large, medium, tiny * @param bool $boolNoCache if true, then add a timestamp to url, making * browser not to use cached version and to get a fresh new one * * @return string the HTML code for image src which actually * includes 2 images - an avatar and a tiny facebook icon. */ public function getAvatarImgSrc($sSize = 'medium', $boolNoCache = false) { $strAvatar = parent::getAvatarImgSrc($sSize, $boolNoCache); $strAvatar .= '<img width="16" height="16" class="icontw" alt="Twitter User" src="/images/tw-user.png" />'; return $strAvatar; }
/** * Return HTML code for avatar image (with full path) * @param string $sSize type of avatar: large, medium, tiny * @param bool $boolNoCache if true, then add a timestamp to url, making * browser not to use cached version and to get a fresh new one * * @return string the HTML code for image src which actually * includes 2 images - an avatar and a tiny LinkedIn icon. */ public function getAvatarImgSrc($sSize = 'medium', $boolNoCache = false) { $strAvatar = parent::getAvatarImgSrc($sSize, $boolNoCache); $strAvatar .= '<img width="14" height="14" class="iconfb" alt="LinkedIn User" src="{_IMAGE_SITE_}{_DIR_}/images/linkedin_16.png">'; return $strAvatar; }