-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathleapInfo.php
More file actions
17 lines (14 loc) · 818 Bytes
/
leapInfo.php
File metadata and controls
17 lines (14 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
require_once APP_PATH_DOCROOT . 'ControlCenter/header.php';
$settings = $module->getSystemSetting('leap_auth');
?>
<h4><img src="<?php echo APP_PATH_IMAGES; ?>application_go.png"> LEAP External Module</h4>
<?php if ($settings): ?>
<p>Your LEAP authentication key is:</p>
<h3><?php echo $settings ?></h3>
<a href="https://github.com/leap-project/leap/wiki/REDCap-External-Module-APIs" target="_blank">Click here to latest API documentation.</a>
<?php else: ?>
<p>Generate a key by going to the External Module Config in the control center. For more information, visit:</p>
<a href="https://github.com/leap-project/leap/wiki/Setup-a-REDCap-Connection" target="_blank">Setup a REDCap Connection to LEAP</a>
<?php endif; ?>
<?php require_once APP_PATH_DOCROOT . 'ControlCenter/footer.php'; ?>