source: trunk/themes/default/template/mainpage_categories.tpl @ 12123

Last change on this file since 12123 was 12123, checked in by plg, 13 years ago

merge r12122 from branch 2.2 to trunk

bug 2436 fixed: remove HTML tags when displaying album name as tooltip

  • Property svn:eol-style set to LF
File size: 900 bytes
RevLine 
[2231]1
[1132]2<ul class="thumbnailCategories">
[2515]3{foreach from=$category_thumbnails item=cat}
4        <li>
5                <div class="thumbnailCategory">
6                        <div class="illustration">
7                        <a href="{$cat.URL}">
[12123]8                                <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}">
[2515]9                        </a>
10                        </div>
11                        <div class="description">
12                                <h3>
13                                        <a href="{$cat.URL}">{$cat.NAME}</a>
[3188]14                                        {if !empty($cat.icon_ts)}
[8362]15                                        <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)">
[3188]16                                        {/if}
[2515]17                                </h3>
[3120]18                <div class="text">
19                                {if isset($cat.INFO_DATES) }
20                                <p class="dates">{$cat.INFO_DATES}</p>
21                                {/if}
22                                <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p>
23                                {if not empty($cat.DESCRIPTION)}
24                                <p>{$cat.DESCRIPTION}</p>
25                                {/if}
26                </div>
[2515]27                        </div>
28                </div>
29        </li>
30{/foreach}
[1132]31</ul>
Note: See TracBrowser for help on using the repository browser.