Ignore:
Timestamp:
Mar 14, 2012, 2:52:28 PM (12 years ago)
Author:
plg
Message:

import theme Simple version 2.5.2

  • more flexible layout for thumbnails
  • more flexible layout for categories
  • restore the possibility to hide thumbnails caption.
  • center image in slideshow
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/simple_themes/simple/template/thumbnails.tpl

    r13546 r13557  
    66      <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" />
    77    </a>
     8    {if $SHOW_THUMBNAIL_CAPTION }
    89    <p>
    910      {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}
     
    1314      {if isset($thumbnail.NB_COMMENTS)}
    1415      <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
    15         {$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
     16        ({$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)})
    1617      </span>
    1718      {/if}
    18 {*      {if isset($thumbnail.NB_HITS)}
     19      {*
     20      {if isset($thumbnail.NB_HITS)}
    1921      <span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
    2022        {$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
    2123      </span>
    22       {/if} *}
     24      {/if}
     25      *}
    2326    </p>
     27    {/if}
    2428  </li>
    2529  {/foreach}
Note: See TracChangeset for help on using the changeset viewer.