{style}{literal} .ow_oembed_attachment { position: relative; padding-right: 20px; margin-bottom: 4px; } .ow_oembed_attachment .two_column .attachment_left { float: left; max-width: 150px; margin-right: 8px; } .ow_oembed_attachment .two_column .attachment_right { display: inline-block; } .ow_oembed_attachment .video div.attachment_left { position: relative; } .ow_oembed_attachment .video div.attachment_right { display: inline-block; } .ow_oembed_attachment .one_column .attachment_left { display: none; } .ow_oembed_attachment .attachment_left img { width: 100%; height: auto; max-width: none; } .ow_oembed_attachment .attachment_left embed, .ow_oembed_attachment .attachment_left object, .ow_oembed_attachment .attachment_left iframe { width: 300px; height: 220px; } .ow_oembed_attachment:hover .attachment_delete { display: block; } .attachment_delete { position: absolute; right: 0; width:12px; height:12px; display: none; } .ow_oembed_attachment .link.two_column, .ow_oembed_attachment .video.two_column { padding-left: 108px; } .ow_oembed_attachment .video.two_column.ow_video_playing { padding-left: 0; } .ow_oembed_attachment .link.two_column .attachment_left, .ow_oembed_attachment .video.two_column .attachment_left { max-width: 100px; margin-left: -108px; margin-top: 4px; } .ow_oembed_attachment .video.two_column.ow_video_playing .attachment_left { margin: 0 0 4px 0; width: 100%; max-width: none; } .ow_oembed_attachment .link .ow_oembed_video_cover { display: none; } {/literal}{/style} {*
{if !empty($data.thumbnail_url) } {elseif !empty($data.url)} {elseif !empty($data.html)} {$data.html} {/if} {if !empty($data.allImages) && count($data.allImages) > 1}
{text key="base+ajax_attachment_select_image"}
{text key="base+ajax_attachment_select_image_title"}
{foreach from=$data.allImages item="img"}
{/foreach}
{/if}
{if !empty($data.title)} {elseif $data.type != "photo"} {/if} {if !empty($data.description)}
{$data.description}
{/if}
*} {if $data.type == "photo"}
{if !empty($data.thumbnail_url) }
{elseif !empty($data.url)}
{/if}
{else}
{if !empty($data.thumbnail_url) || !empty($data.url)}
{if !empty($data.thumbnail_url) } {elseif !empty($data.url)} {/if} {if !empty($data.allImages) && count($data.allImages) > 1} {text key="base+ajax_attachment_select_image"}
{text key="base+ajax_attachment_select_image_title"}
{foreach from=$data.allImages item="img"}
{/foreach}
{/if}
{/if}
{if !empty($data.title)} {$data.title} {/if}
{if !empty($data.description)}
{$data.description}
{/if}
{/if}