mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
dd307f29c2
Co-authored-by: celestora <kitsuruko@gmail.com>
94 lines
3.4 KiB
XML
94 lines
3.4 KiB
XML
{extends "../@layout.xml"}
|
|
{block title}{_"registration"}{/block}
|
|
|
|
{block header}
|
|
{_"registration"}
|
|
{/block}
|
|
|
|
{block headIncludes}
|
|
{if !$referer}
|
|
<meta name="description" content="Зарегистрируйтесь в OpenVK прямо сейчас!" />
|
|
{else}
|
|
<meta property="og:title" content="{$referer->getFullName()} приглашает вас в OpenVK!" />
|
|
<meta property="og:image" content="{$referer->getAvatarUrl()}" />
|
|
|
|
<meta name="description"
|
|
content="Присоединяйтесь к {$referer->getFullName()} и множеству других пользователей в OpenVK!" />
|
|
{/if}
|
|
{/block}
|
|
|
|
{block content}
|
|
<p n:if="!is_null($referer)" align="center">
|
|
<strong>{$referer->getFullName()}</strong> приглашает вас в OpenVK!
|
|
</p>
|
|
|
|
<form method="POST" enctype="multipart/form-data">
|
|
<table cellspacing="7" cellpadding="0" width="40%" border="0" align="center">
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<span>{_"name"}: </span>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="first_name" required />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<span>{_"surname"}: </span>
|
|
</td>
|
|
<td>
|
|
<input type="text" name="last_name" required />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<span>{_"gender"}: </span>
|
|
</td>
|
|
<td>
|
|
{var femalePreferred = OPENVK_ROOT_CONF["openvk"]["preferences"]["femaleGenderPriority"]}
|
|
<select name="sex" required>
|
|
<option n:attr="selected => !$femalePreferred" value="male">{_"male"}</option>
|
|
<option n:attr="selected => $femalePreferred" value="female">{_"female"}</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr></tr>
|
|
<tr>
|
|
<td>
|
|
<span>{_"email"}: </span>
|
|
</td>
|
|
<td>
|
|
<input type="email" name="email" required />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<span>{_"password"}: </span>
|
|
</td>
|
|
<td>
|
|
<input type="password" name="password" required />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<span>CAPTCHA: </span>
|
|
</td>
|
|
<td>
|
|
{captcha_template()|noescape}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
<input type="hidden" name="hash" value="{$csrfToken}" />
|
|
<input type="submit" value="{_'registration'}" class="button" />
|
|
<a href="/login">{_"log_in"}</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
{/block}
|