2020-06-07 19:04:43 +03:00
|
|
|
{extends "@layout.xml"}
|
|
|
|
|
|
|
|
{block title}
|
|
|
|
Редактировать {$user->getCanonicalName()}
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block heading}
|
|
|
|
{$user->getCanonicalName()}
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
{block content}
|
|
|
|
<div class="aui-tabs horizontal-tabs">
|
2021-09-11 17:39:14 +03:00
|
|
|
<form class="aui" method="POST">
|
2020-06-07 19:04:43 +03:00
|
|
|
<div class="field-group">
|
|
|
|
<label for="avatar">
|
|
|
|
Аватарка
|
|
|
|
</label>
|
|
|
|
<span id="avatar" class="aui-avatar aui-avatar-project aui-avatar-xlarge">
|
|
|
|
<span class="aui-avatar-inner">
|
|
|
|
<img src="{$user->getAvatarUrl()}"></img>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="field-group">
|
|
|
|
<label for="id">
|
|
|
|
ID
|
|
|
|
</label>
|
|
|
|
<input class="text medium-field" type="number" id="id" disabled value="{$user->getId()}" />
|
|
|
|
</div>
|
|
|
|
<div class="field-group">
|
|
|
|
<label for="guid">
|
|
|
|
GUID
|
|
|
|
</label>
|
|
|
|
<input class="text medium-field" id="guid" disabled value="{$user->getChandlerUser()->getId()}" />
|
|
|
|
</div>
|
|
|
|
<div class="field-group">
|
|
|
|
<label for="first_name">
|
|
|
|
Имя
|
|
|
|
</label>
|
|
|
|
<input class="text medium-field" type="text" id="first_name" name="first_name" value="{$user->getFirstName()}" />
|
|
|
|
</div>
|
|
|
|
<div class="field-group">
|
|
|
|
<label for="last_name">
|
|
|
|
Фамилия
|
|
|
|
</label>
|
|
|
|
<input class="text medium-field" type="text" id="last_name" name="last_name" value="{$user->getLastName()}" />
|
|
|
|
</div>
|
|
|
|
<div class="field-group">
|
|
|
|
<label for="nickname">
|
|
|
|
Никнейм
|
|
|
|
</label>
|
|
|
|
<input class="text medium-field" type="text" id="nickname" name="nickname" value="{$user->getPseudo()}" />
|
|
|
|
</div>
|
|
|
|
<div class="field-group">
|
|
|
|
<label for="status">
|
|
|
|
Статус
|
|
|
|
</label>
|
|
|
|
<input class="text medium-field" type="text" id="status" name="status" value="{$user->getStatus()}" />
|
|
|
|
</div>
|
|
|
|
<div class="field-group">
|
|
|
|
<label for="email">
|
|
|
|
E-Mail
|
|
|
|
</label>
|
|
|
|
<input class="text medium-field" type="email" id="email" name="email" value="{$user->getEmail()}" />
|
|
|
|
</div>
|
2021-09-11 17:39:14 +03:00
|
|
|
<hr>
|
2020-06-07 19:04:43 +03:00
|
|
|
<div class="field-group">
|
2021-09-11 17:39:14 +03:00
|
|
|
<label for="city">
|
|
|
|
Верификация
|
2020-06-07 19:04:43 +03:00
|
|
|
</label>
|
2021-09-11 17:39:14 +03:00
|
|
|
<input class="toggle-large" type="checkbox" id="verify" name="verify" value="1" {if $user->isVerified()} checked {/if} />
|
2020-06-07 19:04:43 +03:00
|
|
|
</div>
|
|
|
|
<div class="field-group">
|
|
|
|
<label for="city">
|
2021-09-11 17:39:14 +03:00
|
|
|
Онлайн статус
|
2020-06-07 19:04:43 +03:00
|
|
|
</label>
|
2021-09-11 17:39:14 +03:00
|
|
|
<select name="online" class="select">
|
|
|
|
<option value="0" {if $user->onlineStatus() > 2}selected{/if}>По-умолчанию</option>
|
|
|
|
<option value="1" {if $user->onlineStatus() == 1}selected{/if}>Инкогнито</option>
|
|
|
|
<option value="2" {if $user->onlineStatus() == 2}selected{/if}>Юзер умер</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="buttons-container">
|
|
|
|
<div class="buttons">
|
|
|
|
<input type="hidden" name="case" value="info">
|
|
|
|
<input class="button submit" type="submit" value="Сохранить">
|
|
|
|
</div>
|
2020-06-07 19:04:43 +03:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{/block}
|