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

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

import theme Simple version 2.3

  • if cl_conflit is used, don't add jQuery.noConflict
  • fix the possibility to toggle visibility of image informations
  • show logout link when connected - thanks to gbo
  • update jquery to 1.4.4
  • backport commit from piwigo: r6244, r6430 & r6438
  • add gitignore
  • update javascripts + add script to combine/minify
  • apply r6594 from piwigo's trunk
  • move jquery in the header, using known_script
  • translation for the menu title
  • add 1px icon start_filter.png to avoid loading error with rvtree plugin
  • margin for error & info divs
File size: 906 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="{'shows images at the root of this category'|@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.