function theme_signup_signups_closed in Signup 5.2
Same name and namespace in other branches
- 6.2 theme/node.inc \theme_signup_signups_closed()
- 6 theme/node.inc \theme_signup_signups_closed()
- 7 theme/node.inc \theme_signup_signups_closed()
Controls the output displayed if this node is closed for signups.
Parameters
$node: The fully loaded node object.
$current_signup: If the user already signed up, an HTML representation of their current signup information, otherwise an empty string.
Return value
Themed output to display for a node with closed signups.
See also
_signup_print_current_signup()
1 theme call to theme_signup_signups_closed()
- _signup_node_output in ./
signup.module - Generate all the signup-related output for a given node.
File
- ./
signup.module, line 808 - The Signup module (http://drupal.org/project/signup) manages replies to nodes. In particular, it's good for event management. Signup supports sending reminder emails and automatically closing signups for nodes with a start time, via the Event…
Code
function theme_signup_signups_closed($node, $current_signup = '') {
$output = '<h3>' . t('Signups closed for this %node_type', array(
'%node_type' => node_get_types('name', $node->type),
)) . '</h3>';
$output .= $current_signup;
return $output;
}