mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
- normalized some template variable names between category thumbnails and thumbnails (take advantage of full template change with smarty and do it now) git-svn-id: http://piwigo.org/svn/trunk@2515 68402e56-0260-453c-a942-63ccdbb3a9ee
19 lines
599 B
Smarty
19 lines
599 B
Smarty
{* $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.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} |