openvk/Web/Presenters/templates/Photos/EditPhoto.xml
2021-09-17 15:38:38 +07:00

30 lines
977 B
XML

{extends "../@layout.xml"}
{block title}Изменить фотографию{/block}
{block header}
<a href="{$thisUser->getURL()}">{$thisUser->getCanonicalName()}</a>
»
{_"photo"}
{/block}
{block content}
<form method="post" enctype="multipart/form-data">
<table cellspacing="6">
<tbody>
<tr>
<td width="120" valign="top"><span class="nobold">{_"description"}:</span></td>
<td>
<textarea style="margin: 0px; height: 50px; width: 159px; resize: none;" name="desc">{$photo->getDescription()}</textarea>
</td>
</tr>
<tr>
<td width="120" valign="top"></td>
<td>
<input type="hidden" name="hash" value="{$csrfToken}" />
<input type="submit" class="button" name="submit" value="{_'save'}" />
</td>
</tr>
</tbody>
</table>
</form>
{/block}