function theme_invite_stats_count in Invite 7.2
Same name and namespace in other branches
- 5.2 invite_stats.module \theme_invite_stats_count()
- 5 invite_stats.module \theme_invite_stats_count()
- 6.2 invite_stats.module \theme_invite_stats_count()
Theme an invite count.
Parameters
$count: A number.
1 theme call to theme_invite_stats_count()
- theme_invite_stats_ranking in modules/
invite_stats/ invite_stats.module - Theme the Top inviters/user rank block.
File
- modules/
invite_stats/ invite_stats.module, line 240 - Displays some statistics about sent invitations.
Code
function theme_invite_stats_count($vars) {
$title = format_plural($vars['count'], '1 invite', '@count invites', array(
'@count' => $vars['count'],
));
return '<span class="count" title="' . $title . '">' . $vars['count'] . '</span>';
}