Cleanup and consolidatio

This commit is contained in:
Josh North 2021-06-12 09:37:18 -04:00
parent 4e1d504339
commit 51a2df894e
2 changed files with 25 additions and 12 deletions

View File

@ -107,43 +107,43 @@ if(empty($form_data['form_data_stage'])){
<div class="form-group form-row">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="q1" required>
<label class="form-check-label" for="q1"><b>I have NOT experienced any of the following symptoms in the past 48 hours.</b><br>Fever, chills, cough, shortness of breath, fatigue, muscle or body aches, headache, new loss of taste or smell, sore throat, congestion or runny nose, nausea or vomiting, diarrhea.</label>
<div class="invalid-feedback">You must answer to proceed.</div>
<label class="form-check-label" for="q1"><b><?php echo $transLang['COVID-Q1-TITLE']; ?></b><br><?php echo $transLang['COVID-Q1-TEXT']; ?></label>
<div class="invalid-feedback"><?php echo $transLang['REQUIRED']; ?></div>
</div>
</div>
<div class="form-group form-row">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="q2" required>
<label class="form-check-label" for="q2"><b>I am NOT isolating or quarantining due to a positive test for COVID-19 nor do I believe that I may be sick with COVID-19.</b></label>
<div class="invalid-feedback">You must answer to proceed.</div>
<label class="form-check-label" for="q2"><b><?php echo $transLang['COVID-Q2-TITLE']; ?></b><br><?php echo $transLang['COVID-Q2-TEXT']; ?></label>
<div class="invalid-feedback"><?php echo $transLang['REQUIRED']; ?></div>
</div>
</div>
<div class="form-group form-row">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="q3" required>
<label class="form-check-label" for="q3"><b>I have NOT been in close physical contact in the last 14 days with:</b><br>Anyone who is known to have laboratory-confirmed COVID-19? OR Anyone who has any symptoms consistent with COVID-19?</label>
<div class="invalid-feedback">You must answer to proceed.</div>
<label class="form-check-label" for="q3"><b><?php echo $transLang['COVID-Q3-TITLE']; ?></b><br><?php echo $transLang['COVID-Q3-TEXT']; ?></label>
<div class="invalid-feedback"><?php echo $transLang['REQUIRED']; ?></div>
</div>
</div>
<div class="form-group form-row">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="q4" required>
<label class="form-check-label" for="q4"><b>I am NOT currently waiting on the results of a COVID-19 test.</b><br>IMPORTANT: ANSWER "NO" IF YOU ARE WAITING ON THE RESULTS OF A PRE-TRAVEL OR POST-TRAVEL COVID-19 TEST</label>
<div class="invalid-feedback">You must answer to proceed.</div>
<label class="form-check-label" for="q4"><b><?php echo $transLang['COVID-Q4-TITLE']; ?></b><br><?php echo $transLang['COVID-Q4-TEXT']; ?></label>
<div class="invalid-feedback"><?php echo $transLang['REQUIRED']; ?></div>
</div>
</div>
<div class="form-group form-row">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="q5" required>
<label class="form-check-label" for="q5"><b>I have NOT traveled in the past 10 days.</b><br>Travel is defined as any trip that is overnight AND on public transportation (plane, train, bus, Uber, Lyft, cab, etc.) OR any trip that is overnight AND with people who are not in your household.</label>
<div class="invalid-feedback">You must answer to proceed.</div>
<label class="form-check-label" for="q5"><b><?php echo $transLang['COVID-Q5-TITLE']; ?></b><br><?php echo $transLang['COVID-Q5-TEXT']; ?></label>
<div class="invalid-feedback"><?php echo $transLang['REQUIRED']; ?></div>
</div>
</div>
<div class="form-group form-row">
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="q6" required>
<label class="form-check-label" for="q6"><b>I certify that my responses are true and correct.</b><br>All visitors must answer the above questions and then certify their answers are true and correct.</label>
<div class="invalid-feedback">You must answer to proceed.</div>
<label class="form-check-label" for="q6"><b><?php echo $transLang['COVID-Q6-TITLE']; ?></b><br><?php echo $transLang['COVID-Q6-TEXT']; ?></label>
<div class="invalid-feedback"><?php echo $transLang['REQUIRED']; ?></div>
</div>
</div>
<div class="row">&nbsp;</div>

View File

@ -1,3 +1,16 @@
COVID-Q1-TITLE = 'I have NOT experienced any of the following symptoms in the past 48 hours.'
COVID-Q1-TEXT = 'Fever, chills, cough, shortness of breath, fatigue, muscle or body aches, headache, new loss of taste or smell, sore throat, congestion or runny nose, nausea or vomiting, diarrhea.'
COVID-Q2-TITLE = 'I am NOT isolating or quarantining due to a positive test for COVID-19 nor do I believe that I may be sick with COVID-19.'
COVID-Q2-TEXT = ''
COVID-Q3-TITLE = 'I have NOT been in close physical contact in the last 14 days with:'
COVID-Q3-TEXT = 'Anyone who is known to have laboratory-confirmed COVID-19? OR Anyone who has any symptoms consistent with COVID-19?'
COVID-Q4-TITLE = 'I am NOT currently waiting on the results of a COVID-19 test.'
COVID-Q4-TEXT = 'IMPORTANT: ANSWER "NO" IF YOU ARE WAITING ON THE RESULTS OF A PRE-TRAVEL OR POST-TRAVEL COVID-19 TEST'
COVID-Q5-TITLE = 'I have NOT traveled in the past 10 days.'
COVID-Q5-TEXT = 'Travel is defined as any trip that is overnight AND on public transportation (plane, train, bus, Uber, Lyft, cab, etc.) OR any trip that is overnight AND with people who are not in your household.'
COVID-Q6-TITLE = 'I certify that my responses are true and correct.'
COVID-Q6-TEXT = 'All visitors must answer the above questions and then certify their answers are true and correct.'
ACCESS_LEVEL = 'Access'
ACCOUNT = 'Account'
ACCOUNT_INFO_DESC = 'You may make changes to your user profile below. To change your password, enter a new password twice below and press save. Minimum password length is '