function theme_signup_attended_text in Signup 6.2
Same name and namespace in other branches
- 6 theme/node.admin.inc \theme_signup_attended_text()
- 7 theme/node.admin.inc \theme_signup_attended_text()
5 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_node_admin_details_form in includes/
node_admin.inc - signup_token_values in ./
signup.module - Implement hook_token_values() (from token.module)
File
- theme/
node.admin.inc, line 154 - 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');
}
}