function signup_admin_form_submit in Signup 7
Same name and namespace in other branches
- 5.2 signup.module \signup_admin_form_submit()
- 6.2 includes/admin.signup_administration.inc \signup_admin_form_submit()
- 6 includes/admin.signup_administration.inc \signup_admin_form_submit()
Form submission handler for signup_admin_form().
See also
File
- includes/
admin.signup_administration.inc, line 250 - Code related to the Signup administration page (admin/content/signup).
Code
function signup_admin_form_submit($form, &$form_state) {
$limit = $form_state['values']['limit'];
$status = $form_state['values']['status'];
$nodes = $form_state['values']['nodes'];
module_load_include('inc', 'signup', 'includes/node_admin_summary');
foreach ($nodes as $nid => $selected) {
if ($selected) {
$temp_state['values'] = array(
'nid' => $nid,
'limit' => $limit[$nid],
'status' => $status[$nid],
);
signup_node_admin_summary_form_submit($form, $temp_state);
}
}
}