{* ================================================================================ *}
{* ========================= Редактирование фото ================================== *}
{* ================================================================================ *}
<div class="con_heading">{$LANG.EDIT_PHOTO}</div>
<form action="{$action}" method="POST" enctype="multipart/form-data">

	<table border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td width="120" valign="top">
            	<table width="110" border="0" cellspacing="0" cellpadding="0"><tr>
            	<td width="110" align="center" valign="top" style="border:solid 1px gray; padding:5px; background-color:#FFFFFF;"><img alt="" src="{$images}" border="0" style="border:solid 1px black" /></td>
        		</tr></table>
   			</td>
            <td width="460" align="right" valign="top">
            	<table width="460">
                  <tr>
                      <td valign="top"><strong>{$LANG.PHOTO_TITLE}: </strong></td>
                  </tr>
                  <tr>
                      <td valign="top"><input name="title" type="text" id="title" size="40" maxlength="250" value="{$photo.title|escape:'html'}"/></td>
                  </tr>
                  <tr>
                      <td valign="top"><strong>{$LANG.PHOTO_DESC}:</strong> </td>
                  </tr>
                  <tr>
                      <td valign="top"><textarea name="description" cols="39" rows="5" id="description">{$photo.description}</textarea></td>
                  </tr>
                  <tr>
                      <td valign="top"><strong>{$LANG.TAGS}:</strong></td>
                  </tr>
                  <tr>
                     <td valign="top"><input name="tags" type="text" id="tags" size="40" value="{$photo_tag|escape:'html'}"/>
                                              <br />
                                              <span><small>{$LANG.KEYWORDS}</small></span></td>
                  </tr>
                  <tr>
                     <td valign="top"><strong>{$LANG.REPLACE_FILE}</strong>:</td>
                  </tr>
                  <tr>
                     <td valign="top"><input name="Filedata" type="file" size="30" /></td>
                  </tr>
                  <tr>
                     <td valign="top">
                            <input style="margin-top:10px;font-size:18px" type="submit" name="save" value="{$LANG.SAVE}" />
							<input style="margin-top:10px;font-size:18px" type="button" name="cancel" value="{$LANG.CANCEL}" onclick="window.history.go(-1)"/>
                     </td>
                 </tr>
               </table>
              </td>
         </tr>
   </table>
</form>