fixed TF in inglese

This commit is contained in:
2025-09-12 15:15:33 +02:00
parent d106d42c03
commit 18364b7127
22 changed files with 1945 additions and 952 deletions
+14 -12
View File
@@ -15,7 +15,11 @@ if ($formname == "Y") {
$UpdateQuery = new WA_MySQLi_Query($cmctrfdb);
$UpdateQuery->Action = "update";
$UpdateQuery->Table = "auth_users";
$UpdateQuery->bindColumn("privacyaccepted", "s", "" . ((isset($_POST["datetoday"])) ? $_POST["datetoday"] : "") . "", "WA_DEFAULT");
$dateToday = (isset($_POST["datetoday"])) ? $_POST["datetoday"] : "";
$UpdateQuery->bindColumn("privacyaccepted", "s", $dateToday, "WA_DEFAULT");
$UpdateQuery->bindColumn("termuseaccepted", "s", $dateToday, "WA_DEFAULT");
$UpdateQuery->addFilter("id", "=", "i", "" . ($iduserlogin) . "");
$UpdateQuery->execute();
@@ -109,12 +113,9 @@ $companyData = mysqli_fetch_assoc($companydetails);
<!-- card for show requirements -->
<div class="card">
<div class="card-body">
<h4 class="mt-0 header-title">Accettazione Privacy</h4>
<p>Per procedere all'utilizzo di questo portale è necessario accettare i regolamenti sotto indicati:</p>
<a href="https://www.cimac.it/it/privacy-policy/" target="blank"><button type="button" class="btn btn-outline-primary waves-effect waves-light">Privacy Policy</button></a> <a href="https://www.cimac.it/it/cookie-policy/" target="blank"><button type="button" class="btn btn-outline-primary waves-effect waves-light">Cookie Policy</button></a> <a href="https://www.cimac.it/informativa-privacy/" target="blank"><button type="button" class="btn btn-outline-primary waves-effect waves-light">Informativa Policy</button></a>
<br><br>
<h4 class="mt-0 header-title">Accettazione Regolamenti / Regulations Acceptance</h4>
<p>Per procedere all'utilizzo di questo portale è necessario accettare i regolamenti sotto indicati:<br>
To proceed with the use of this portal, you must accept the regulations listed below:</p>
<br>
<form action="" method="post" name="formcompany" class="was-validated" id="regulationForm">
@@ -126,9 +127,9 @@ $companyData = mysqli_fetch_assoc($companydetails);
<input type="checkbox" class="custom-control-input" id="toggleTerms" onchange="checkToggles()">
<label class="custom-control-label" for="toggleTerms">
Accetto i termini e le condizioni duso della piattaforma PPEASY
<a href="#" target="_blank">qui presenti</a> /
<a href="terminiecondizioni.php" target="_blank">qui presenti</a> /
I agree to
<a href="#" target="_blank">these terms and conditions</a> of use of the PPEASY platform
<a href="termsandconditions.php" target="_blank">these terms and conditions</a> of use of the PPEASY platform
</label>
</div>
@@ -137,16 +138,17 @@ $companyData = mysqli_fetch_assoc($companydetails);
<input type="checkbox" class="custom-control-input" id="togglePrivacy" onchange="checkToggles()">
<label class="custom-control-label" for="togglePrivacy">
Dichiaro di aver letto e compreso linformativa sui dati personali
<a href="#" target="_blank">qui presente</a>. Tratteremo i tuoi dati in conformità con la privacy policy di CIMAC /
<a href="informativappeasy.php" target="_blank">qui presente</a>./
I declare that I have read and understood the information on
<a href="#" target="_blank">personal data herein</a>. We will handle your data in conformity with CIMAC privacy policy
<a href="privacydoc.php" target="_blank">personal data herein</a>.
</label>
</div>
<!-- Bottone finale -->
<button class="btn btn-gradient-primary mt-3" type="submit" id="acceptBtn" disabled>
ACCETTO I REGOLAMENTI SOPRA RIPORTATI
ACCETTO I REGOLAMENTI SOPRA RIPORTATI / I ACCEPT THE ABOVE REGULATIONS
</button>
</form>
<script>
function checkToggles() {