aboutsummaryrefslogtreecommitdiffstats
path: root/template-extension/distributed/samples/my-thumbnails2.tpl
blob: d74d099404b82f4eab3aa61c1da0656d96773082 (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|dirname}/my-thumbnails2.css">{/html_head}
<ul class="thumbnails">
{foreach from=$thumbnails item=thumbnail}
	<li>
	<fieldset class="fld1">
		<legend class="thumbLegend">
		{if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if}
		</legend>
		<a href="{$thumbnail.URL}" class="lap2">
			<span><img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" /></span>
		</a>
  </fieldset>
	</li>
{/foreach}
</ul>
{/if}