Файл: content/themes/facebook/templates/ajax.users.hovercard.tpl
Строк: 39
<div class="hoverCardHeader">
<div
class="hoverCardAvatar"><a
href="{$SITE_URL}/{$user.UserName}"><img
src="{$SITE_URL}/{$user.UserAvatarPath}"
/></a></div>
<div
class="hoverCardInfo">
<ul
class="hoverCardStat">
<li><a
class="hoverCardCount"
href="{$SITE_URL}/{$user.UserName}/news">{$user.UserPosts}<span
class="hoverCardCounter">Posts</span></a></li>
<li><a class="hoverCardCount"
href="{$SITE_URL}/{$user.UserName}/people/followings">{$user.UserFollowings}<span
class="hoverCardCounter">Following</span></a></li>
<li><a class="hoverCardCount"
href="{$SITE_URL}/{$user.UserName}/people/followers"><span
class="followersCounter">{$user.UserFollowers}</span><span
class="hoverCardCounter">Followers</span></a></li>
</ul>
</div>
</div>
<div
class="hoverCardFooter">
{if $user.UserID !=
$userArray.UserID}
{if $user.FollowingHim == true}<input
type="button" value="Unfollow" class="uiButton
doFollow" id="{$user.UserID}" />{else}<input
type="button" value="Follow" class="uiButton
doFollow" id="{$user.UserID}" />{/if}<div
class="inline mr5 hidden"><img
src="{$spinner.small}" /></div>
<input
type="button" class="uiButton composeMessage"
value="Send Message" id="{$user.UserID}"
name="{$user.UserFirstName} {$user.UserLastName}" />
{/if}
</div>