function theme_invite_registered_user_notification in Invite 7.4
Registered User Notification.
File
- modules/
invite_notifications/ invite_notifications.module, line 113 - Main file for the Invite Notifications.
Code
function theme_invite_registered_user_notification($variables) {
$message = $variables['message'];
$invitee = user_load($message->inviter);
$invitation = invite_load($message->iid);
return array(
'message' => array(
'#type' => 'markup',
'#markup' => t('!user has sent you invitation. You could !accept or !withdrawn it.', array(
'!user' => theme('username', array(
'account' => $invitee,
)),
'@email' => $invitee->mail,
'!accept' => l(t('accept'), 'invite/accept/' . $invitation->reg_code),
'!withdrawn' => l(t('accept'), 'invite/withdraw/' . $invitation->reg_code),
)),
),
);
}