mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
92 lines
3.4 KiB
XML
92 lines
3.4 KiB
XML
{extends "@layout.xml"}
|
|
|
|
{block title}
|
|
Редактировать {$user->getCanonicalName()}
|
|
{/block}
|
|
|
|
{block heading}
|
|
{$user->getCanonicalName()}
|
|
{/block}
|
|
|
|
{block content}
|
|
<div class="aui-tabs horizontal-tabs">
|
|
<form class="aui" method="POST">
|
|
<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()}" style="object-fit: cover;"></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>
|
|
<hr>
|
|
<div class="field-group">
|
|
<label for="city">
|
|
Верификация
|
|
</label>
|
|
<input class="toggle-large" type="checkbox" id="verify" name="verify" value="1" {if $user->isVerified()} checked {/if} />
|
|
</div>
|
|
<div class="field-group">
|
|
<label for="city">
|
|
Онлайн статус
|
|
</label>
|
|
<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="hash" value="{$csrfToken}" />
|
|
<input class="button submit" type="submit" value="Сохранить">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
</div>
|
|
{/block}
|