feature 2588: new classes to help css personalization.

- on mainpage_categories.tpl
New classes odd & even on .thumbnailCategories LI
- on thumbnails.tpl
class thumbName for $thumbnail.NAME
(if someone wants to hide the thumbnail name, and not the nb comments or hits)

git-svn-id: http://piwigo.org/svn/trunk@14239 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
Zaphod 2012-04-20 20:17:38 +00:00
commit 0c5cdf28e8
2 changed files with 3 additions and 3 deletions

View file

@ -8,8 +8,8 @@
}
{/html_style}{/strip}
<ul class="thumbnailCategories">
{foreach from=$category_thumbnails item=cat}
<li>
{foreach from=$category_thumbnails item=cat name=cat_loop}
<li class="{if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
<div class="thumbnailCategory">
<div class="illustration">
<a href="{$cat.URL}">

View file

@ -34,7 +34,7 @@
</span>
{if $SHOW_THUMBNAIL_CAPTION }
<span class="thumbLegend">
{$thumbnail.NAME}
<span class="thumbName">{$thumbnail.NAME}</span>
{if !empty($thumbnail.icon_ts)}
<img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" alt="(!)">
{/if}