{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" visible="*"}
{hook name="image-edit.top" image_id=$imageId}
{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}" current_tab="images" noamp=1}" } {form_hidden_fields} {render_form_field field="success_url" value="{url path="/admin/image/type/%image/%id/update" image=$imageType id=$ID}"} {render_form_field field="locale" value="$edit_language_locale"} {if $form_error}
{$form_error_message}
{/if}

{intl l="Image information"}

{intl l="Preview"} :

{if $PROCESSING_ERROR} {else} {/if}

{render_form_field field="file"} {form_field field='visible'}
{intl l='Visibility'}
{$label}
{/form_field} {render_form_field field="title" value=$TITLE} {render_form_field field="chapo" value=$CHAPO} {render_form_field field="postscriptum" value=$POSTSCRIPTUM}
{render_form_field field="description" value=$DESCRIPTION extra_class="wysiwyg"}
{include file = "includes/inner-form-toolbar.html" hide_submit_buttons = false hide_flags = true page_url = "{url path="/admin/image/type/%image/%id/update" image=$imageType id=$ID}" close_url = "{url path="{$redirectUrl}" current_tab="images"}" } {/form}
{hook name="image-edit.bottom" image_id=$imageId} {/loop} {elseloop rel="image_edit"}
{intl l='Back'}
{intl l="Sorry, image ID=%id was not found." id={$imageId}}
{/elseloop}
{/block} {block name="javascript-last-call"} {hook name="image.edit-js" location="image-edit-js" source="{$imageType}" image_id="{$imageId}" } {hook name="wysiwyg.js" location="wysiwyg-image-edit-js" } {/block}