{style}{literal} .ow_photo_item_widget { width: 72px; height: 72px; background-size: cover; background-repeat: no-repeat; } {/literal}{/style} {capture assign='cmp'}
{if $latest || $featured || $toprated} {if isset($menu)}{$menu}{/if} {/if} {capture assign='nocontent'}
{text key='photo+no_photo'}, {text key='photo+add_new'}
{/capture}
{foreach from=$latest item='p'} `$p.id`]"}" list-type="latest">
{foreachelse} {$nocontent} {/foreach}
{if $featured} {/if} {if $showToolbar} {if $latest}{/if} {if $featured}{/if} {if $toprated}{/if} {/if}
{/capture} {if $wrapBox} {block_decorator name='box' capEnabled=$showTitle langLabel='photo+photo_list_widget' iconClass='ow_ic_picture' type=$boxType addClass="ow_stdmargin clearfix" toolbar=$toolbars.latest} {$cmp} {/block_decorator} {else} {$cmp} {if $latest}
{decorator name='box_toolbar' itemList=$toolbars.latest}
{/if} {/if}