Rev | Line | |
---|
[6109] | 1 | <!-- **GBL** >MAINPAGE_CATEGORIES> --> |
---|
| 2 | |
---|
| 3 | <ul class="thumbnailCategories"> |
---|
| 4 | {foreach from=$category_thumbnails item=cat name=catloop} |
---|
| 5 | <li class="odd{if ($smarty.foreach.catloop.iteration-1) % 2 == 0}0{else}1{/if}"> |
---|
| 6 | <div class="thumbnailCategory"> |
---|
| 7 | <div class="illustration"> |
---|
| 8 | <a href="{$cat.URL}"> |
---|
[6700] | 9 | <img {if isset($cat.EXTRA_CLASS)}class="{$cat.EXTRA_CLASS}"{/if} src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'shows images at the root of this category'|@translate}"> |
---|
[6109] | 10 | </a> |
---|
| 11 | </div> |
---|
| 12 | <div class="description"> |
---|
| 13 | <h3> |
---|
| 14 | <a href="{$cat.URL}">{$cat.NAME}</a> |
---|
| 15 | {if !empty($cat.icon_ts)} |
---|
| 16 | <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)"> |
---|
| 17 | {/if} |
---|
| 18 | </h3> |
---|
| 19 | <div class="text"> |
---|
| 20 | {if isset($cat.INFO_DATES) } |
---|
| 21 | <p class="thumbCatDescNfoDate">{$cat.INFO_DATES}</p> |
---|
| 22 | {/if} |
---|
| 23 | <p class="thumbCatDescNbImg">{$cat.CAPTION_NB_IMAGES}</p> |
---|
| 24 | {if not empty($cat.DESCRIPTION)} |
---|
| 25 | <p class="thumbCatDesc">{$cat.DESCRIPTION}</p> |
---|
| 26 | {/if} |
---|
| 27 | </div> |
---|
| 28 | </div> |
---|
| 29 | </div> |
---|
| 30 | </li> |
---|
| 31 | {/foreach} |
---|
| 32 | </ul> |
---|
| 33 | |
---|
| 34 | <!-- **GBL** <MAINPAGE_CATEGORIES< --> |
---|
Note: See
TracBrowser
for help on using the repository browser.