openvk/Web/Presenters/templates/Photos/EditPhoto.xml

31 lines
971 B
XML
Raw Normal View History

2020-06-07 19:04:43 +03:00
{extends "../@layout.xml"}
{block title}Изменить фотографию{/block}
{block header}
<a href="{$thisUser->getURL()}">{$thisUser->getCanonicalName()}</a>
»
2022-08-09 09:37:08 +03:00
{_photo}
2020-06-07 19:04:43 +03:00
{/block}
{block content}
<form method="post" enctype="multipart/form-data">
<table cellspacing="6">
<tbody>
<tr>
2022-08-09 09:37:08 +03:00
<td width="120" valign="top"><span class="nobold">{_description}:</span></td>
2020-06-07 19:04:43 +03:00
<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}" />
2022-08-09 09:37:08 +03:00
<input type="submit" class="button" name="submit" value="{_save}" />
2020-06-07 19:04:43 +03:00
</td>
</tr>
</tbody>
</table>
</form>
{/block}