{extends file="admin-layout.tpl"} {block name="no-return-functions"} {$admin_current_location = 'tools'} {/block} {block name="page-title"}{intl l='SellerImage'}{/block} {block name="check-resource"}admin.module{/block} {block name="check-access"}update{/block} {block name="check-module"}ArtabanMarketplace{/block} {block name="main-content"}
{assign var='width' value=580} {loop type='ampseller_image' name='image_edit' id="{$seller_image_id}" width=$width backend_context="1" lang="$edit_language_id" visible="*"}
{intl l='Edit image "%name"' name={$TITLE}}
{assign var='update_image_url' value={url path="/admin/module/artabanmarketplace/seller_image/edit?seller_image_id={$ID}"}} {assign var='redirect_seller_url' value={url path="/admin/module/artabanmarketplace/seller/edit?seller_id={$SELLER_ID}"}} {form name='seller_image.update'} {include file = "includes/inner-form-toolbar.html" hide_submit_buttons = false page_url = "$update_image_url" close_url = "{url path="{$redirect_seller_url}" current_tab="images" noamp=1}" } {form_hidden_fields form=$form} {render_form_field form=$form field="success_url" value="$update_image_url"} {render_form_field form=$form field="locale" value="$edit_language_locale"} {form_field form=$form field='id'} {/form_field} {form_field form=$form field='seller_id'} {/form_field} {if $form_error}
{$form_error_message}
{/if}

{intl l="Image information"}

{intl l="Preview"} :

{render_form_field form=$form field="file"} {form_field form=$form field='visible'}
{intl l='Visibility'}
{$label}
{/form_field} {render_form_field form=$form field="title" value=$TITLE} {render_form_field form=$form field="chapo" value=$CHAPO} {render_form_field form=$form field="postscriptum" value=$POSTSCRIPTUM}
{render_form_field form=$form field="description" value=$DESCRIPTION extra_class="wysiwyg"}
{include file = "includes/inner-form-toolbar.html" hide_submit_buttons = false hide_flags = true page_url = "$update_image_url" close_url = "{url path="{$redirect_seller_url}" current_tab="images" noamp=1}" } {/form}
{/loop} {elseloop rel="image_edit"} {assign var='redirect_seller_url' value={url path="/admin/module/artabanmarketplace/seller/edit?seller_id={$SELLER_ID}"}}
{intl l='Back'}
{intl l="Sorry, image ID=%id was not found." id={$seller_image_id}}
{/elseloop}
{/block} {block name="javascript-initialization"} {javascripts file='assets/js/main.js'}
{/javascripts} {/block} {block name="javascript-last-call"} {hook name="image.edit-js" location="image-edit-js" source="seller" image_id="{$seller_image_id}" } {hook name="wysiwyg.js" location="wysiwyg-image-edit-js" } {/block}