1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 09:24:25 +03:00
ifhub.club/application/frontend/components/auth/modal.auth.tpl
2015-02-17 21:40:36 +07:00

22 lines
937 B
Smarty
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{**
* Модальное окно с формами входа, регистрации и напоминанием пароля
*}
{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'} ]
]]}