You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.0 KiB
42 lines
1.0 KiB
<?php |
|
|
|
/** |
|
* |
|
* @package OpenEMR |
|
* @link |
|
* @author Ken Schaefer <kschaefer@harmonyhealthmedical.com> |
|
* @copyright Copyright (c) 2022 Ken Schaefer |
|
* @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 |
|
*/ |
|
|
|
require_once("../../globals.php"); |
|
require_once("$srcdir/forms.inc"); |
|
require_once("$srcdir/options.inc.php"); |
|
|
|
use OpenEMR\Common\Csrf\CsrfUtils; |
|
use OpenEMR\Core\Header; |
|
|
|
if (!empty($_POST)) { |
|
if (!CsrfUtils::verifyCsrfToken($_POST["csrf_token_form"])) { |
|
CsrfUtils::csrfNotVerified(); |
|
} |
|
} |
|
|
|
// Store form variables |
|
$form_from_date = (isset($_POST['form_from_date'])) ? DateToYYYYMMDD($_POST['form_from_date']) : date('Y-m-d'); |
|
|
|
if (!empty($_POST['form-name'])) { |
|
// Process form data |
|
} |
|
|
|
?> |
|
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<title><?php echo xlt('Template'); ?></title> |
|
<?php Header::setupHeader(['datetime-picker', 'report-helper']); ?> |
|
</head> |
|
<body class="body_top"> |
|
<span class='title'><?php echo xlt('Template'); ?></span> |
|
</body> |
|
</html>
|