aboutsummaryrefslogtreecommitdiffstats
path: root/template-extension/distributed/samples/my-thumbnails2.tpl
blob: abd4096ae16c4797ca4d8ce80414129564dd75be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{* $Id$ *}
<!-- This is a sample of template extensions -->
{if !empty($thumbnails)}
{html_head}<link rel="stylesheet" type="text/css" href="{$smarty.template|substr:6:-3}css">{/html_head}
<ul class="thumbnails">
{foreach from=$thumbnails item=thumbnail}
	<li>
	<fieldset class="wrap1">
		<legend class="thumbLegend">
		{if !empty($thumbnail.ELEMENT_NAME)}{$thumbnail.ELEMENT_NAME}{/if}
		</legend>
		<a href="{$thumbnail.U_IMG_LINK}" class="wrap2">
			<img class="thumbnail" src="{$thumbnail.IMAGE}" alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}" />
		</a>
  </fieldset>
	</li>
{/foreach}
</ul>
{/if}