Added noscript

This commit is contained in:
Joey Lai
2017-02-02 13:19:39 +01:00
parent 67eb7b991e
commit 044ed6a9d3
4 changed files with 16 additions and 4 deletions

View File

@@ -133,6 +133,12 @@ label {
color: red;
}
.login_containerNoscript {
padding: 4px;
text-align: center;
color: red;
}
@keyframes animatezoom {
from {transform: scale(0)}
to {transform: scale(1)}
@@ -150,7 +156,7 @@ label {
margin: 16px auto;
overflow-y: auto;
padding: 20px;
width: 600px;
width: 650px;
}
select{

View File

@@ -132,7 +132,7 @@ function validateFBEmail($variable){
} else if (!filter_var($variable, FILTER_VALIDATE_EMAIL)) {
throw new emailException("Geldige email invullen");
} else if (getExistingFBEmail() == 1){
throw new emailException("Email bestaal al!");
throw new emailException("Uw email wordt al gebruikt voor een ander account!");
} else if (strlen($variable) > 255) {
throw new emailException("Mag maximaal 50 karakters!");
}

View File

@@ -55,7 +55,6 @@
*<span class="error"> <?php echo $fbConfirmpasswordErr;?></span>
</div>
<?php if(empty($userBday)) { ?>
<!-- Register birthday -->
<div class="login_containerregister">
@@ -67,6 +66,7 @@
</div>
<?php } ?>
</div>
*<span class="error"> <?php echo $fbEmailErr;?></span>
<div class="modal-footer">
<button type="submit"
value="fbRegister"
@@ -77,7 +77,6 @@
</div>
</div>
<input type="hidden"
name="fbName"
value="<?php echo $fbName ?>">

View File

@@ -1,3 +1,9 @@
<div class="login_containerNoscript">
<noscript>
<a href="http://www.enable-javascript.com/nl/" target="_blank">Om deze site te gebruiken is het noodzakelijk om Javascript aan te zetten.
Klikt hier voor de instructies om je Javascript te activeren</a>.
</noscript>
</div>
<div>
<img style="width:50%;margin-left:25%"
src="/img/top-logo.png"
@@ -67,6 +73,7 @@
?>
<script>
// Get the modal
var modal = document.getElementById('myModal');
var registerModal = document.getElementById('registerModal');