function theme_invite_stats_count in Invite 5.2
Same name and namespace in other branches
- 5 invite_stats.module \theme_invite_stats_count()
- 6.2 invite_stats.module \theme_invite_stats_count()
- 7.2 modules/invite_stats/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 ./
invite_stats.module - Theme the Top inviters/user rank block.
File
- ./
invite_stats.module, line 204 - Displays some statistics about sent invitations.
Code
function theme_invite_stats_count($count) {
$title = format_plural($count, '1 invite', '@count invites');
return '<span class="count" title="' . $title . '">' . $count . '</span>';
}