diff options
author | vdigital <vdigital@piwigo.org> | 2008-07-30 19:24:55 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2008-07-30 19:24:55 +0000 |
commit | 4dcec5fb8a2c85a9292374672b887b46f2862a53 (patch) | |
tree | 13d43412374bfae8f9be91397e1703a7f92419dd /template-extension/distributed/samples/my-thumbnails2.tpl | |
parent | c8c61b7f3af2cf48ee72b3b3fe9fca1376a5cf13 (diff) |
Feature:837 "Extend for templates" could have dedicated .css files.
git-svn-id: http://piwigo.org/svn/trunk@2462 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template-extension/distributed/samples/my-thumbnails2.tpl')
-rw-r--r-- | template-extension/distributed/samples/my-thumbnails2.tpl | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/template-extension/distributed/samples/my-thumbnails2.tpl b/template-extension/distributed/samples/my-thumbnails2.tpl index 0f17542d1..33f6e0569 100644 --- a/template-extension/distributed/samples/my-thumbnails2.tpl +++ b/template-extension/distributed/samples/my-thumbnails2.tpl @@ -4,32 +4,14 @@ <ul class="thumbnails"> {foreach from=$thumbnails item=thumbnail} <li> - <span class="wrap1"> - <span class="wrap2"> - <a href="{$thumbnail.U_IMG_LINK}"> + <fieldset class="wrap1"> + <legend class="thumbLegend"> + {if !empty($thumbnail.ELEMENT_NAME)}{$thumbnail.ELEMENT_NAME}{/if} + </legend> + <a href="{$thumbnail.U_IMG_LINK}" class="wrap2"> <img class="thumbnail" src="{$thumbnail.IMAGE}" alt="{$thumbnail.IMAGE_ALT}" title="{$thumbnail.IMAGE_TITLE}" /> </a> - </span> - <span class="thumbLegend" style="color:#3F6;"> - © 2008 Piwigo<br /> - {if !empty($thumbnail.ELEMENT_NAME)}{$thumbnail.ELEMENT_NAME}{/if} - {if !empty($thumbnail.IMAGE_TS)}{$thumbnail.IMAGE_TS}{/if} - - {if isset($thumbnail.NB_COMMENTS)} - <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> - <br /> - {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)} - </span> - {/if} - - {if isset($thumbnail.NB_HITS)} - <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits"> - <br /> - {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)} - </span> - {/if} - </span> - </span> + </fieldset> </li> {/foreach} </ul> |