Misc fixes, fixes normal registrations
This commit is contained in:
1 parent
8f1fa6dab5
commit
2e4e2a1ef9
9 files changed
+146
-14
No files matched your search
@@ -110,6 +110,8 @@ if( isset($_POST['submit']) ) {
|
||||
<section class="activation">
|
||||
<?php if(strlen($validation_errors) > 0 ) {
|
||||
echo "<span class=\"error\">$validation_errors</span>";
|
||||
} else {
|
||||
echo "<span class=\"error hidden\"></span>";
|
||||
} ?>
|
||||
<form method="post" class="activation-form">
|
||||
<!-- Profile -->
|
||||
@@ -118,8 +120,8 @@ if( isset($_POST['submit']) ) {
|
||||
<input type="hidden" name="firstname" value="<?php echo $user['firstname']; ?>"/>
|
||||
<input type="hidden" name="lastname" value="<?php echo $user['lastname']; ?>"/>
|
||||
<!-- Account -->
|
||||
<div class="form-row">
|
||||
<label for="id_username">Brukernavn:</label><input id="id_username" type="text" name="username" placeholder="Brukernavn" value="<?php echo $username; ?>" />
|
||||
<div class="form-row username-row">
|
||||
<label for="id_username">Brukernavn:</label><input id="id_username" type="text" name="username" placeholder="Brukernavn" value="<?php echo $username; ?>" maxlength="12"/><div class="username-check"></div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="id_password">Passord:</label><input id="id_password" type="password" name="password" placeholder="Passord" value="<?php echo $password; ?>"/>
|
||||
|
||||
Reference in new issue
Block a user