rsvp_attendee_status

Definition

rsvp_attendee_status($hash)
rsvp/rsvp.module, line 592

Description

  • Displays html formatted attendee reply status for an invite
*
  • *

Parameters

$hash The hash value of the invite.

  • @return html formatted view of the requested invite status.

Code

<?php
function rsvp_attendee_status($hash) {
  $invite = _rsvp_get_invite($hash);
  $list[] = ($invite->invited ? t('Attendee has been invited') : t('Attendee has not been invited'));
  $list[] = ($invite->received ? t('Attendee has viewed the invitation') : t('Attendee has not viewed the invitation'));
  $list[] = t('Attendee response: %response', array('%response' => $invite->response));

  return theme('item_list', $list, $invite->email);
}
?>