mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 01:14:24 +03:00
22 lines
937 B
Smarty
22 lines
937 B
Smarty
{**
|
||
* Модальное окно с формами входа, регистрации и напоминанием пароля
|
||
*}
|
||
|
||
{if ! Config::Get('general.reg.invite')}
|
||
{component 'auth' template='registration' assign=auth_tab_reg}
|
||
{else}
|
||
{component 'auth' template='invite' assign=auth_tab_reg}
|
||
{/if}
|
||
|
||
{component 'modal'
|
||
title = {lang 'auth.authorization'}
|
||
options = [ 'center' => 'false' ]
|
||
showFooter = false
|
||
classes = 'js-modal-default'
|
||
mods = 'auth'
|
||
id = 'modal-login'
|
||
tabs = [ 'tabs' => [
|
||
[ 'text' => {lang 'auth.login.title'}, 'content' => {component 'auth' template='login'}, 'classes' => 'js-auth-tab-login' ],
|
||
[ 'text' => {lang 'auth.registration.title'}, 'content' => $auth_tab_reg, 'classes' => 'js-auth-tab-reg' ],
|
||
[ 'text' => {lang 'auth.reset.title'}, 'content' => {component 'auth' template='reset'} ]
|
||
]]} |