37 lines
1.1 KiB
PHP
37 lines
1.1 KiB
PHP
<?php defined('BLUDIT') or die('Bludit CMS.');
|
|
|
|
echo '<h1 class="text-center mb-5 mt-5 font-weight-normal" style="color: #555;">BLUDIT</h1>';
|
|
|
|
echo Bootstrap::formOpen(array());
|
|
|
|
echo Bootstrap::formInputHidden(array(
|
|
'name'=>'tokenCSRF',
|
|
'value'=>$Security->getTokenCSRF()
|
|
));
|
|
|
|
echo '
|
|
<div class="form-group">
|
|
<input type="text" value="'.(isset($_POST['username'])?$_POST['username']:'').'" class="form-control form-control-lg" id="jsusername" name="username" placeholder="'.$L->g('Username').'">
|
|
</div>
|
|
';
|
|
|
|
echo '
|
|
<div class="form-group">
|
|
<input type="password" class="form-control form-control-lg" id="jspassword" name="password" placeholder="'.$L->g('Password').'">
|
|
</div>
|
|
';
|
|
|
|
echo '
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="checkbox" value="true" id="jsremember" name="remember">
|
|
<label class="form-check-label" for="jsremember">'.$L->g('Remember me').'</label>
|
|
</div>
|
|
|
|
<div class="form-group mt-4">
|
|
<button type="submit" class="btn btn-primary mr-2 w-100 text-" name="save">'.$L->g('Login').'</button>
|
|
</div>
|
|
';
|
|
|
|
echo '</form>';
|
|
|
|
?>
|