Вход Регистрация
Файл: concrete5.7.5.6/concrete/authentication/concrete/form.php
Строк: 55
<?php defined('C5_EXECUTE') or die('Access denied.');
$form Core::make('helper/form');
/** @var ConcreteCoreFormServiceForm $form */
?>

<form method="post" action="<?php echo URL::to('/login''authenticate'$this->getAuthenticationTypeHandle()) ?>">

    <div class="form-group">
        <input name="uName" class="form-control col-sm-12" placeholder="<?php echo Config::get('concrete.user.registration.email_registration') ? t('Email Address') : t('Username')?>" autofocus="autofocus" />
    </div>

    <div class="form-group">
        <label>&nbsp;</label>
        <input name="uPassword" class="form-control" type="password" placeholder="<?php echo t('Password')?>" />
    </div>

    <div class="checkbox">
        <label style="font-weight:normal">
            <input type="checkbox" name="uMaintainLogin" value="1">
            <?php echo t('Stay signed in for two weeks'?>
        </label>
    </div>

    <?php if (isset($locales) && is_array($locales) && count($locales) > 0) { ?>
        <div class="form-group">
            <label for="USER_LOCALE" class="control-label"><?php echo t('Language'?></label>
            <?php echo $form->select('USER_LOCALE'$locales?>
        </div>
    <?php ?>

    <div class="form-group">
        <button class="btn btn-primary"><?php echo t('Log in'?></button>
        <a href="<?php echo URL::to('/login''concrete''forgot_password')?>" class="btn pull-right"><?php echo t('Forgot Password'?></a>
    </div>

    <?php Core::make('helper/validation/token')->output('login_' $this->getAuthenticationTypeHandle()); ?>

    <?php if (Config::get('concrete.user.registration.enabled')) { ?>
        <br/>
        <hr/>
        <a href="<?php echo URL::to('/register')?>" class="btn btn-block btn-success"><?php echo t('Not a member? Register')?></a>
    <?php ?>

</form>
Онлайн: 1
Реклама