{extends file="admin-layout.tpl"} {block name="page-title"}{intl l='Edit an image'}{/block} {block name="check-access"}update{/block} {block name="main-content"}
{loop type="image" name="image_edit" source="{$imageType}" id="{$imageId}" width="580" backend_context="1" lang="$edit_language_id"}
{intl l='Edit image "%name"' name={$TITLE}}
{form name="$formId"}
{include file = "includes/inner-form-toolbar.html" hide_submit_buttons = false page_url = "{url path="/admin/image/type/{$imageType}/{$ID}/update"}" close_url = "{url path="{$redirectUrl}" noamp=1}" } {form_hidden_fields form=$form} {form_field form=$form field='success_url'} {/form_field} {form_field form=$form field='locale'} {/form_field} {if $form_error}
{$form_error_message}
{/if}

{intl l="Image information"}

{$TITLE}

{form_field form=$form field='file'}
{/form_field} {form_field form=$form field='title'}
{/form_field} {form_field form=$form field='chapo'}
{/form_field} {form_field form=$form field='postscriptum'}
{/form_field}
{form_field form=$form field='description'}
{/form_field}
{include file = "includes/inner-form-toolbar.html" hide_submit_buttons = false hide_flags = true page_url = "{url path="/admin/image/type/{$imageType}/{$ID}/update"}" close_url = "{url path="{$redirectUrl}"}" }
{/form}
{/loop} {elseloop rel="image_edit"}
{intl l="Sorry, image ID=%id was not found." id={$imageId}}
{/elseloop}
{/block} {block name="javascript-initialization"} {javascripts file='assets/js/main.js'} {/javascripts} {/block} {block name="javascript-last-call"} {module_include location='image-edit-js'} {/block}