'; // Add CSRF token as javascript variable and add to every form on page // init_functions.php createCsrfToken() does not work on pages with defined('PLUGIN') // CSRF token is required for call to advanced logic checking in // Surveys/automated_invitations_check_logic.php from LongitudinalReports.js function saveReport() var redcap_csrf_token = '<?php echo getCsrfToken(); ?> '; $(function(){ appendCsrfTokenToForm(); }); </script> <?php // Tabs LongitudinalReports::renderTabs(); // Output content print $html; // If displaying the "add/edit report" table, do direct Print to page because $html might get very big if (isset($_GET['addedit'])) { LongitudinalReports::outputCreateReportTable($_GET['report_id']); } // Footer include APP_PATH_DOCROOT . 'ProjectGeneral/footer.php'; // Classes for backward-compatibility with versions < 6.13.0 if (version_compare($redcap_version, '6.13.0', '<')) { ?> <style type='text/css'> .labelrc { font-family: "Helvetica Neue",Helvetica,Arial,Helvetica,sans-serif; font-size: 12px;