openvk/Web/Presenters/templates/Gifts/Confirm.xml

31 lines
1.1 KiB
XML
Raw Permalink Normal View History

{extends "../@layout.xml"}
{block title}
2021-10-07 23:09:14 +03:00
{_send_gift}
{/block}
{block header}
<a href="{$user->getURL()}">{$user->getCanonicalName()}</a> »
2021-10-07 23:09:14 +03:00
<a href="/gifts?act=pick&user={$user->getId()}">{_gift_select}</a> »
<a href="/gifts?act=pick&user={$user->getId()}">{_collections}</a> »
<a href="/gifts?act=menu&user={$user->getId()}&pack={$cat->getId()}">{$cat->getName(tr("__lang"))}</a> »
2021-10-07 23:09:14 +03:00
{_confirm}
{/block}
{block content}
<center>
<img class="gift_confirm_pic" style="max-width: 256px;" src="{$gift->getImage(2)}" alt="Подарок" />
<form style="width: 65%;" method="POST">
2021-10-07 23:09:14 +03:00
<textarea name="comment" style="resize: vertical; height: 65px;" placeholder="{_gift_your_message}"></textarea>
<br/><br/>
<input type="hidden" name="hash" value="{$csrfToken}" />
2021-10-07 23:09:14 +03:00
<input type="submit" value="{_send}" class="button" />
<label>
2021-10-07 23:09:14 +03:00
<input type="checkbox" name="anonymous"> {_as_anonymous}
</label>
</form>
</center>
{/block}