{strip} {$_tooltips = [ "product-media-dialog-1" => [ "id" => "product-media-dialog-1", "html" => _w("Enter a description that will be used in the TITLE and in META tags used by search systems.") ], "product-media-photo-main" => [ "id" => "product-media-photo-main", "html" => _w("The first image in the list is the main product image. To set another main image, move it to the beginning of the list.") ] ]} {$_templates = []} {* Подтверждение удаления пачки фотографий *} {capture assign="_media_delete_photos"}{include file="./dialogs/media_delete_photos.html" inline}{/capture} {$_templates["dialog_media_delete_photos"] = $_media_delete_photos} {* Подтверждение удаления одной фотографии из диалога редактирования *} {capture assign="_media_image_delete_confirm"}{include file="./dialogs/media_image_delete_confirm.html" inline}{/capture} {$_templates["dialog_media_image_delete_confirm"] = $_media_image_delete_confirm} {capture assign="_media_image_dialog"}{include file="./dialogs/media_image_dialog.html" inline}{/capture} {$_templates["dialog_media_image"] = $_media_image_dialog} {* Если имеются несохраненные данные в фотке *} {capture assign="_media_image_unsaved_changes_confirm"}{include file="./dialogs/media_image_unsaved_changes_confirm.html" inline}{/capture} {$_templates["dialog_media_image_unsaved_changes_confirm"] = $_media_image_unsaved_changes_confirm} {$_components = []} {$_globals_components = $wa->globals("components")} {if !empty($_globals_components)} {$_components = array_merge($_components, $_globals_components)} {/if} {capture assign="_component_loading_file"}
{/capture} {$_templates["component-loading-file"] = $_component_loading_file} {$_sprite_url = "`$wa_url`wa-apps/shop/img/backend/products/product/icons.svg?v=`$wa->version()`"} {/strip}
{* @event backend_prod_content.%plugin_id%.top *} {if !empty($backend_prod_content_event)}{foreach $backend_prod_content_event as $_}{ifset($_.top)}{/foreach}{/if} {* @event backend_prod_content.%plugin_id%.bottom *} {if !empty($backend_prod_content_event)}{foreach $backend_prod_content_event as $_}{ifset($_.bottom)}{/foreach}{/if}