function theme_signup_node_admin_page in Signup 5.2
Same name and namespace in other branches
- 6.2 theme/node.admin.inc \theme_signup_node_admin_page()
- 6 theme/node.admin.inc \theme_signup_node_admin_page()
- 7 theme/node.admin.inc \theme_signup_node_admin_page()
Theme function for the signup administrative tab (node/N/signups).
This is responsible for rendering the signup summary form (allows admins to open/close signups, set a signup limit, and see the total number of signups), the table of signup details (generated by signup_node_admin_details_form), and if the node is signup-enabled, the form to signup other users.
Parameters
$signup_node_admin_summary_form: The rendered HTML for the signup node summary form (to set the signup limit, open/close signups, see the total number of signups, etc).
$signup_node_admin_details_form: The rendered HTML for the signup node details form (to view all the users who have signed up, their full signup details, and checkboxes to cancel multiple signups at once.
$signup_form: If the signups are open on this node, the HTML to signup another user, otherwise, and empty string.
1 theme call to theme_signup_node_admin_page()
- signup_node_admin_page in ./
signup.module - Prints the signup details for a single node when the signups tab is clicked
File
- ./
signup.module, line 2053 - 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_node_admin_page($node, $signup_node_admin_summary_form, $signup_node_admin_details_form, $signup_form) {
$output = '';
// Administrative summary table to control signups for this node.
$output .= $signup_node_admin_summary_form;
// Details for each user who signed up.
$output .= $signup_node_admin_details_form;
// Form for admins to signup other users (if signups are still open).
$output .= $signup_form;
return $output;
}