Changeset 12960 for extensions/stripped/template/mainpage_categories.tpl
- Timestamp:
- Jan 28, 2012, 6:45:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped/template/mainpage_categories.tpl
r12153 r12960 1 {php} 2 global $stripped; 3 $this->assign( 'stripped', $stripped ); 4 {/php} 1 5 <ul class="thumbnailCategories"> 2 {foreach from=$category_thumbnails item=cat }3 <li >6 {foreach from=$category_thumbnails item=cat name=catloop} 7 <li class="odd{if ($smarty.foreach.catloop.iteration-1) % 2 == 0}0{else}1{/if}" {if ($stripped.albumFrame)}onclick="window.location='{$cat.URL}';"{/if}> 4 8 <div class="thumbnailCategory"> 5 9 <div class="illustration"> … … 12 16 <a href="{$cat.URL}">{$cat.NAME}</a> 13 17 {if !empty($cat.icon_ts)} 14 <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent _album{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)">18 <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)"> 15 19 {/if} 16 20 </h3> 17 <div class="text" >21 <div class="text" {if !$stripped.albumFrame}onclick="window.location='{$cat.URL}';"{/if}> 18 22 {if isset($cat.INFO_DATES) } 19 <p class=" thumbCatDescNfoDate">{$cat.INFO_DATES}</p>23 <p class="dates">{$cat.INFO_DATES}</p> 20 24 {/if} 21 <p class=" thumbCatDescNbImg">{$cat.CAPTION_NB_IMAGES}</p>25 <p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p> 22 26 {if not empty($cat.DESCRIPTION)} 23 <p class="thumbCatDesc">{$cat.DESCRIPTION}</p>27 <p>{$cat.DESCRIPTION}</p> 24 28 {/if} 25 29 </div>
Note: See TracChangeset
for help on using the changeset viewer.