You are here

function theme_signup_attended_text in Signup 6

Same name and namespace in other branches
  1. 6.2 theme/node.admin.inc \theme_signup_attended_text()
  2. 7 theme/node.admin.inc \theme_signup_attended_text()
4 theme calls to theme_signup_attended_text()
hook_signup_cancel in ./signup.api.php
Hook invoked when a signup is being canceled.
signup_edit_form in includes/signup_edit_form.inc
Build the form for editing existing signups.
signup_handler_field_signup_user_attended::render in views/handlers/signup_handler_field_signup_user_attended.inc
signup_token_values in ./signup.module
Implement hook_token_values() (from token.module)

File

theme/node.admin.inc, line 147
Theme functions for the signup node administration page (node/N/signups).

Code

function theme_signup_attended_text($attended = NULL) {
  if ($attended === NULL) {
    return '';
  }
  if ($attended == 0) {
    return t('Did not attend');
  }
  else {
    return t('Attended');
  }
}