ZwiiCMS/core/module/user/view/auth/auth.php

23 lines
873 B
PHP

<?php echo template::formOpen('userAuthForm'); ?>
<div class="row">
<div class="col4 offset4">
<?php echo template::text('userAuthKey', [
'label' => helper::translate('Clé')
]); ?>
</div>
</div>
<div class="row" id="buttonsContainer">
<div class="col2" id="backContainer">
<?php echo template::button('userAuthBack', [
'href' => $this->getUrl(2) ? helper::baseUrl() . ' user/login' . str_replace('_', '/', str_replace('__', '#', $this->getUrl(2))) : helper::baseUrl() . ' user/login',
'value' => template::ico('left')
]); ?>
</div>
<div class="col3 offset7" id="loginContainer">
<?php echo template::submit('userLoginSubmit', [
'value' => helper::translate('Connexion'),
'ico' => ''
]); ?>
</div>
</div>
<?php echo template::formClose(); ?>