Add precautionary warning when exporting CSV data, still need to add modals for client data

This commit is contained in:
johnnyq 2023-04-23 14:27:45 -04:00
parent 53092fe9ca
commit 541d1dd667
3 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,8 @@
<form action="post.php" method="post" autocomplete="off">
<div class="modal-body bg-white">
<?php require_once("inc_export_warning.php"); ?>
<div class="form-group">
<label>Date From</label>
<div class="input-group">

4
inc_export_warning.php Normal file
View File

@ -0,0 +1,4 @@
<div class="alert alert-warning">
<h5>Warning</h5>
Be cautious with <strong>CSV</strong> data as it can contain <strong>malicious</strong> code that may execute in certain applications like <strong>Microsoft Office</strong>. Review data before exporting or opening such files.
</div>

View File

@ -10,6 +10,8 @@
<form action="post.php" method="post" autocomplete="off">
<div class="modal-body bg-white">
<?php require_once("inc_export_warning.php"); ?>
<div class="form-group">
<label>Date From</label>
<div class="input-group">