Last change
on this file since 3188 was
3188,
checked in by patdenice, 15 years ago
|
Move get_icon function.
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
903 bytes
|
Rev | Line | |
---|
[2231] | 1 | {* $Id: mainpage_categories.tpl 3188 2009-03-11 17:25:26Z patdenice $ *} |
---|
| 2 | |
---|
[1132] | 3 | <ul class="thumbnailCategories"> |
---|
[2515] | 4 | {foreach from=$category_thumbnails item=cat} |
---|
| 5 | <li> |
---|
| 6 | <div class="thumbnailCategory"> |
---|
| 7 | <div class="illustration"> |
---|
| 8 | <a href="{$cat.URL}"> |
---|
[3120] | 9 | <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'hint_category'|@translate}"> |
---|
[2515] | 10 | </a> |
---|
| 11 | </div> |
---|
| 12 | <div class="description"> |
---|
| 13 | <h3> |
---|
| 14 | <a href="{$cat.URL}">{$cat.NAME}</a> |
---|
[3188] | 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} |
---|
[2515] | 18 | </h3> |
---|
[3120] | 19 | <div class="text"> |
---|
| 20 | {if isset($cat.INFO_DATES) } |
---|
| 21 | <p class="dates">{$cat.INFO_DATES}</p> |
---|
| 22 | {/if} |
---|
| 23 | <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p> |
---|
| 24 | {if not empty($cat.DESCRIPTION)} |
---|
| 25 | <p>{$cat.DESCRIPTION}</p> |
---|
| 26 | {/if} |
---|
| 27 | </div> |
---|
[2515] | 28 | </div> |
---|
| 29 | </div> |
---|
| 30 | </li> |
---|
| 31 | {/foreach} |
---|
[1132] | 32 | </ul> |
---|
Note: See
TracBrowser
for help on using the repository browser.