You are here

function theme_invite_stats_count in Invite 5

Same name and namespace in other branches
  1. 5.2 invite_stats.module \theme_invite_stats_count()
  2. 6.2 invite_stats.module \theme_invite_stats_count()
  3. 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 220
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>';
}