source: branches/2.0/template/yoga/mainpage_categories.tpl @ 3046

Last change on this file since 3046 was 3031, checked in by vdigital, 15 years ago
  • Change the title logic for a better index in Google images

(It was already done but it should be improved).

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 746 bytes
Line 
1{* $Id: mainpage_categories.tpl 3031 2008-12-30 20:17:37Z vdigital $ *}
2
3<ul class="thumbnailCategories">
4{foreach from=$category_thumbnails item=cat}
5        <li>
6                <div class="thumbnailCategory">
7                        <div class="illustration">
8                        <a href="{$cat.URL}">
9                                <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|replace:'"':' '} - {'hint_category'|@translate}">
10                        </a>
11                        </div>
12                        <div class="description">
13                                <h3>
14                                        <a href="{$cat.URL}">{$cat.NAME}</a>
15                                        {$cat.ICON_TS}
16                                </h3>
17        <div class="text">
18                                {if isset($cat.INFO_DATES) }
19                                <p class="dates">{$cat.INFO_DATES}</p>
20                                {/if}
21                                <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p>
22                                {if not empty($cat.DESCRIPTION)}
23                                <p>{$cat.DESCRIPTION}</p>
24                                {/if}
25        </div>
26                        </div>
27                </div>
28        </li>
29{/foreach}
30</ul>
Note: See TracBrowser for help on using the repository browser.