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

23 lines
888 B
PHP

<?php echo template::formOpen('userAuthForm'); ?>
<div class="row">
<div class="col4 offset4">
<?php echo template::text('userAuthKey', [
'label' => helper::translate('Clé envoyée par message')
]); ?>
</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(); ?>