openvk/Web/Presenters/templates/Group/Admin.xml

45 lines
1.8 KiB
XML
Raw Normal View History

2020-06-07 19:04:43 +03:00
{extends "../@layout.xml"}
{block title}{$manager->getUser()->getFullName()}{/block}
{block header}
<a href="{$club->getURL()}">{$club->getName()}</a> » {_edit_group} » {$manager->getUser()->getFullName()}
{/block}
{block content}
<div class="container_gray">
<form method="POST" enctype="multipart/form-data" action="/club{$club->getId()}/setAdmin.jsp">
<table cellspacing="7" cellpadding="0" width="40%" border="0" align="center">
<tbody>
<tr>
<td width="120" valign="top">
<span class="nobold">{_"comment"}: </span>
</td>
<td>
<input type="text" name="comment" value="{$manager->getComment()}" />
</td>
</tr>
<tr>
<td width="120" valign="top">
<span class="nobold"></span>
</td>
<td>
<!-- TODO: <input type="checkbox" name="wall" value="1" {if $club->canPost()}checked{/if}/> Виден в контактах -->
</td>
</tr>
<tr>
<td>
</td>
<td>
<input type="hidden" name="user" value="{$manager->getUser()->getId()}">
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" value="{_'save'}" class="button" />
</td>
</tr>
</tbody>
</table>
</form>
</div>
{/block}