function theme_signup_signups_closed in Signup 6
Same name and namespace in other branches
- 5.2 signup.module \theme_signup_signups_closed()
- 6.2 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_current_user_signup in includes/
node_output.inc - Helper function to generate the output for the current user's signup.
File
- theme/
node.inc, line 24 - Theme functions when viewing a signup-enabled node.
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;
}