source: tags/2.0.1/template-extension/distributed/samples/my-thumbnails2.tpl @ 3211

Last change on this file since 3211 was 2825, checked in by vdigital, 16 years ago

Neuronal correction... {html_head} in error related to template-extension/distributed/samples/my-thumbnails2.tpl
(=> A new function to build).

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 625 bytes
Line 
1{* $Id: my-thumbnails2.tpl 2825 2008-11-05 13:54:28Z vdigital $ *}
2<!-- This is a sample of template extensions -->
3{if !empty($thumbnails)}
4{html_head}<link rel="stylesheet" type="text/css" href="./template-extension/distributed/samples/my-thumbnails2.css">{/html_head}
5<ul class="thumbnails">
6{foreach from=$thumbnails item=thumbnail}
7        <li>
8        <fieldset class="fld1">
9                <legend class="thumbLegend">
10                {if !empty($thumbnail.NAME)}{$thumbnail.NAME}{/if}
11                </legend>
12                <a href="{$thumbnail.URL}" class="lap2">
13                        <span><img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" /></span>
14                </a>
15  </fieldset>
16        </li>
17{/foreach}
18</ul>
19{/if}
Note: See TracBrowser for help on using the repository browser.