ZwiiCMS/core/module/user/view/auth/auth.php
2024-12-07 18:10:54 +01:00

23 lines
885 B
PHP

<?php echo template::formOpen('userAuthForm'); ?>
<div class="row">
<div class="col4 offset4">
<?php echo template::text('userAuthKey', [
'label' => helper::translate('Clé reçue par couriel')
]); ?>
</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="col2 offset8" id="loginContainer">
<?php echo template::submit('userLoginSubmit', [
'value' => template::ico('check'),
'ico' => '',
]); ?>
</div>
</div>
<?php echo template::formClose(); ?>