source: extensions/simple_themes/simple/template/mainpage_categories.tpl @ 13551

Last change on this file since 13551 was 13551, checked in by plg, 12 years ago

import theme Simple version 2.4

compatibility with piwigo 2.2:

  • update template, language strings + misc things
  • use rating and core.scripts from default theme
  • cleanup useless javascript stuff
  • use new combined_css feature - thanks to P@t
  • replace known_script with combine_script
File size: 914 bytes
Line 
1<ul class="thumbnailCategories">
2  {foreach from=$category_thumbnails item=cat}
3  <li>
4    <div class="illustration">
5      <a href="{$cat.URL}">
6        <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}">
7      </a>
8    </div>
9    <div class="description">
10      <h3>
11        <a href="{$cat.URL}">{$cat.NAME}</a>
12        {if !empty($cat.icon_ts)}
13        <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="(!)">
14        {/if}
15      </h3>
16      {if isset($cat.INFO_DATES) }
17      <p class="thumbCatDescNfoDate">{$cat.INFO_DATES}</p>
18      {/if}
19      <p class="thumbCatDescNbImg">{$cat.CAPTION_NB_IMAGES}</p>
20      {if not empty($cat.DESCRIPTION)}
21      <p class="thumbCatDesc">{$cat.DESCRIPTION}</p>
22      {/if}
23    </div>
24  </li>
25  {/foreach}
26</ul>
Note: See TracBrowser for help on using the repository browser.