Add privacy policy checkbox (required by GDPR)

This commit is contained in:
Daniel Winzen
2018-09-10 19:30:12 +02:00
parent 382ea73efb
commit acc8782043

View File

@ -160,6 +160,7 @@ if(isset($_REQUEST['private_key'])){
echo htmlspecialchars($_REQUEST['private_key']);
}
echo '</textarea></td></tr>';
echo '<tr><td colspan="2"><label><input type="checkbox" name="accept_privacy" required>I have read and agreed to the <a href="'.$host.'/privacy.php" target="_blank">Privacy Policy</a></label><br></td></tr>';
echo '<tr><td colspan="2"><input type="submit" value="Register"></td></tr>';
echo '</table></form>';
echo '</body></html>';