{**
* XS2: Форма авторизации пользователя
*
* This file is developed by Solutecs, LLC for the purpose of the company
* and is provided together with XS2 Framework as and inherent part of the
* system. This file can be used on the terms of License Agreement.
*
* +7 (495) 585-0833 / 13 Rusakovskaya street, Moscow 107140 Russia
*
* @link http://www.solutecs.com
* @copyright ©1998-2007 Solutecs, LLC
* @version 1.XX
*}
{* Форма авторизации пользователя *}
{if !$currentUser}
<form name="userLogin" method="POST" action="{$_THE.REQUEST_URI}">
<input type="hidden" name="action" value="loginUser">
Логин: <input type="text" name="Login"><br>
Пароль: <input type="password" name="Password"><br>
<input type="submit" value="Войти">
</form>
{else}
<a href="{xs2Href mod="users" obj="user" met="edit"}">{$currentUser.NName}</a><br>
<form name="userLogin" method="POST" action="{$_THE.REQUEST_URI}">
<input type="hidden" name="action" value="logoutUser">
<input type="submit" value="Выйти">
</form>
{/if}
{* /Форма авторизации пользователя *}
|
|