Changeset 30901 for extensions/GDThumb/template
- Timestamp:
- Jan 23, 2015, 7:56:01 PM (10 years ago)
- Location:
- extensions/GDThumb/template
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GDThumb/template/gdthumb_cat.tpl
r30225 r30901 15 15 <span class="thumbName"> 16 16 <span class="thumbTitle">{$cat.NAME} 17 {if !empty($cat.icon_ts)} 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="(!)"> 17 {if $GDThumb.thumb_mode_album !== "overlay-ex"} 18 {if !empty($cat.icon_ts)} 19 <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="(!)"> 20 {/if} 19 21 {/if} 20 22 </span> 21 23 {if $GDThumb.thumb_mode_album == "overlay-ex"} 22 <span class="thumbInfo"> 23 <span class="item-num">{$cat.count_images}</span> 24 <span class="glyphicon glyphicon-th-large grid-gallery-icon"></span> 25 </span> 24 <span class="thumbInfo"> 25 <span class="item-num">{$cat.count_images}</span> 26 <span class="glyphicon glyphicon-th-large grid-gallery-icon"></span> 27 {if !empty($cat.icon_ts)} 28 <span class="new-thumb glyphicon glyphicon-asterisk" title="{$cat.icon_ts.TITLE}" alt="(!)"></span> 29 {/if} 30 </span> 26 31 {elseif $GDThumb.thumb_metamode !== "hide"} 27 32 {if isset($cat.INFO_DATES) } -
extensions/GDThumb/template/gdthumb_thumb.tpl
r30890 r30901 1 1 {if !empty($thumbnails)} 2 2 {* 3 {$thumbnails|print_r} 4 *} 3 5 {foreach from=$thumbnails item=thumbnail} 4 6 {assign var=derivative value=$pwg->derivative($GDThumb_derivative_params, $thumbnail.src_image)} 7 {assign var=media_type value={media_type file=$thumbnail.file}} 8 5 9 <li class="gdthumb"> 6 10 {if $GDThumb.thumb_mode_photo !== "hide" } … … 20 24 {/if} 21 25 {/if} 26 {if $GDThumb.thumb_mode_album !== "overlay-ex"} 22 27 {if !empty($thumbnail.icon_ts)} 23 28 <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" alt="(!)"> 24 29 {/if} 30 {/if} 25 31 </span> 26 32 {if $GDThumb.thumb_mode_album == "overlay-ex"} 27 33 <span class="thumbInfo"> 28 34 <span class="hit-num">{$thumbnail.hit}</span> 29 <span class="glyphicon {if $derivative->is_cached()}{if $derivative->get_url()|strstr:"/piwigo-videojs/"}glyphicon-film{else}glyphicon-picture{/if}{else}glyphicon-picture{/if}"></span> 35 <span class="glyphicon {if $media_type=="video"}glyphicon-film{elseif $media_type=="music"}glyphicon-music{elseif $media_type=="doc"}glyphicon-file{elseif $media_type=="pdf"}glyphicon-book{else}glyphicon-picture{/if}"></span> 36 {if !empty($thumbnail.icon_ts)} 37 <span class="new-thumb glyphicon glyphicon-asterisk" title="{$thumbnail.icon_ts.TITLE}" alt="(!)"></span> 38 {/if} 30 39 {if $thumbnail.rating_score > 0} 31 40 <span class="rank-num glyphicon glyphicon-star">{$thumbnail.rating_score|string_format:"%d"}</span>
Note: See TracChangeset
for help on using the changeset viewer.