Ejemplo n.º 1
0
// 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;
        background: #F0F0F0 url(../images/label-bg.gif) repeat-x scroll 0 0;
	padding: 2px; border: 1px solid #CCCCCC; font-weight: bold; padding-left: 5px; padding-right: 5px; 
}
.labelrc a:link, .labelrc a:visited, .labelrc a:active, .labelrc a:hover {
	text-decoration: underline;