|
|
@ -11,14 +11,14 @@ |
|
|
if (empty($username)) { |
|
|
if (empty($username)) { |
|
|
echo 'error'; |
|
|
echo 'error'; |
|
|
} |
|
|
} |
|
|
} ?>" name="user" placeholder="Username"/>
|
|
|
|
|
|
|
|
|
} ?>" name="user" placeholder="<?php echo i18n('User'); ?>"/>
|
|
|
<br> |
|
|
<br> |
|
|
<label><?php echo i18n('Password');?> <span class="required">*</span></label>
|
|
|
<label><?php echo i18n('Password');?> <span class="required">*</span></label>
|
|
|
<input type="password" class="form-control <?php if (isset($password)) {
|
|
|
<input type="password" class="form-control <?php if (isset($password)) {
|
|
|
if (empty($password)) { |
|
|
if (empty($password)) { |
|
|
echo 'error'; |
|
|
echo 'error'; |
|
|
} |
|
|
} |
|
|
} ?>" name="password" placeholder="Password"/>
|
|
|
|
|
|
|
|
|
} ?>" name="password" placeholder="<?php echo i18n('Password'); ?>"/>
|
|
|
<br> |
|
|
<br> |
|
|
<input type="hidden" name="csrf_token" value="<?php echo get_csrf() ?>"> |
|
|
<input type="hidden" name="csrf_token" value="<?php echo get_csrf() ?>"> |
|
|
<?php if (config('google.reCaptcha') === 'true'): ?>
|
|
|
<?php if (config('google.reCaptcha') === 'true'): ?>
|
|
|
@ -30,4 +30,4 @@ |
|
|
</form> |
|
|
</form> |
|
|
<?php } else { |
|
|
<?php } else { |
|
|
header('location: admin'); |
|
|
header('location: admin'); |
|
|
} ?>
|
|
|
|
|
|
|
|
|
} ?>
|