} } } $_AUTH['saved_work']['submissions']['individual'][$nID] = array('id' => $nID, 'panel_size' => $_POST['panel_size']); lovd_saveWork(); // Thank the user... header('Refresh: 3; url=' . lovd_getInstallURL() . 'submit/individual/' . $nID); $_T->printHeader(); $_T->printTitle(); lovd_showInfoTable('Successfully created the individual information entry!', 'success'); $_T->printFooter(); exit; } } else { // Default values. $_DATA->setDefaultValues(); } $_T->printHeader(); $_T->printTitle(); if (GET) { print ' To create a new individual information entry, please fill out the form below.<BR>' . "\n" . ' <BR>' . "\n\n"; } lovd_errorPrint(); // Tooltip JS code. lovd_includeJS('inc-js-tooltip.php'); lovd_includeJS('inc-js-custom_links.php'); // Table. print ' <FORM action="' . CURRENT_PATH . '?' . ACTION . '" method="post">' . "\n"; // Array which will make up the form table. $aForm = array_merge($_DATA->getForm(), array(array('', '', 'submit', 'Create individual information entry'))); lovd_viewForm($aForm);