<!-- MODULE Block new products -->
{capture name=id}
	id="new-products_block_right"
{/capture}

{capture name=class}
	block products_block
{/capture}

{capture name=title}
	{l s='New products' mod='blocknewproducts'}
{/capture}

{capture name=content}
	{if $new_products !== false}
		{if	file_exists("$tpl_dir./modules/slider.tpl")}
			{include file="$tpl_dir./modules/slider.tpl" id="newproducts_slider" products=$new_products link=$link}
		{/if}
	{else}
		<p>&raquo; {l s='No new products at this time' mod='blocknewproducts'}</p>
	{/if}
{/capture}

{if isset($blockId)}
	{include file='../block.tpl' id=$smarty.capture.id class=$smarty.capture.class title=$smarty.capture.title content=$smarty.capture.content blockId=$blockId}
{/if}
<!-- /MODULE Block new products -->
