aboutsummaryrefslogtreecommitdiffstats
path: root/template-extension/distributed/samples/my-thumbnails2.tpl
blob: 3a4b7e3c9f725b6bcb9b34c7daf2c4e74040fa8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{* $Id: /piwigo/trunk/template-extension/distributed/samples/my-thumbnails2.tpl 7025 2009-03-09T19:41:45.898712Z nikrou  $ *}
<!-- This is a sample of template extensions -->
{if !empty($thumbnails)}
{html_head}<link rel="stylesheet" type="text/css" href="./template-extension/distributed/samples/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}