function theme_invite_user_overview in Invite 5.2
Same name and namespace in other branches
- 6.2 invite_admin.inc \theme_invite_user_overview()
- 7.2 invite.pages.inc \theme_invite_user_overview()
Theme function; display the invite overview table.
Parameters
$items: An array of table rows.
1 theme call to theme_invite_user_overview()
- _invite_user_overview in ./
invite_admin.inc - Menu callback; display an overview of sent invitations.
File
- ./
invite_admin.inc, line 403 - Administration functions for invite module.
Code
function theme_invite_user_overview($items) {
if (count($items) > 0) {
$headers = array(
t('E-mail'),
t('Status'),
array(
'data' => t('Operations'),
'colspan' => 2,
),
);
$output = theme('table', $headers, $items, array(
'id' => 'invites',
));
$output .= theme('pager', NULL, 50, 0);
}
else {
$output = t('No invitations available.');
}
return $output;
}