mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 09:43:01 +02:00
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:
@@ -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}">
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user