aboutsummaryrefslogtreecommitdiffstats
path: root/template-extension/distributed/samples/my-thumbnails2.tpl
blob: 205cc80e8ecaeee6dabb0221a1fe27895c6314a5 (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="fld1">
		<legend class="thumbLegend">
		{if !empty($thumbnail.ELEMENT_NAME)}{$thumbnail.ELEMENT_NAME}{/if}
		</legend>
		<a href="{$thumbnail.U_IMG_LINK}" class="lap2">
			<span><img class="thumbnail" src="{$thumbnail.IMAGE}" alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}" /></span>
		</a>
  </fieldset>
	</li>
{/foreach}
</ul>
{/if}