diff options
author | plegall <plg@piwigo.org> | 2010-03-09 20:17:00 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-03-09 20:17:00 +0000 |
commit | c9dfb3a41f0341531594de215a25d7cb0091ca56 (patch) | |
tree | 3d7ca60026e80650cb47aaadabb38646d5213438 /template/default/mainpage_categories.tpl | |
parent | d63e90c5d022d5b88b66c33972533bab20edcec5 (diff) |
feature 1494: move all *.tpl files from template/yoga to the new
template/default (from which yoga derives)
git-svn-id: http://piwigo.org/svn/trunk@5095 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default/mainpage_categories.tpl')
-rw-r--r-- | template/default/mainpage_categories.tpl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/template/default/mainpage_categories.tpl b/template/default/mainpage_categories.tpl new file mode 100644 index 000000000..0a88d3534 --- /dev/null +++ b/template/default/mainpage_categories.tpl @@ -0,0 +1,31 @@ + +<ul class="thumbnailCategories"> +{foreach from=$category_thumbnails item=cat} + <li> + <div class="thumbnailCategory"> + <div class="illustration"> + <a href="{$cat.URL}"> + <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'shows images at the root of this category'|@translate}"> + </a> + </div> + <div class="description"> + <h3> + <a href="{$cat.URL}">{$cat.NAME}</a> + {if !empty($cat.icon_ts)} + <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="(!)"> + {/if} + </h3> + <div class="text"> + {if isset($cat.INFO_DATES) } + <p class="dates">{$cat.INFO_DATES}</p> + {/if} + <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p> + {if not empty($cat.DESCRIPTION)} + <p>{$cat.DESCRIPTION}</p> + {/if} + </div> + </div> + </div> + </li> +{/foreach} +</ul> |