Files
oav/dotclear._no/themes/polyvalence/tpl/gal_simple/gallery_item.html
2023-03-20 12:18:38 +01:00

72 lines
3.2 KiB
HTML
Executable File

<tpl:EntryIf extended="1">
<div class="post-excerpt" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">{{tpl:EntryExcerpt}}</div>
</tpl:EntryIf>
<div class="post-content" property="isPartOf" content="#p{{tpl:EntryID}}">{{tpl:EntryContent pr="1"}}</div>
<tpl:SysIf current_tpl="gal_simple/gallery.html">
<div class="gallery-thumbnails">
<tpl:GalleryItemEntries>
<tpl:EntriesHeader>
<tpl:GalleryPagination>
<nav class="pagination">
<tpl:PaginationIf start="0"><a href="{{tpl:PaginationURL offset="-1"}}{{tpl:GalleryThemeParam}}" class="next">&#171; {{tpl:lang previous images}}
</a> - </tpl:PaginationIf>
{{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
<tpl:PaginationIf end="0"> - <a href="{{tpl:PaginationURL offset="+1"}}{{tpl:GalleryThemeParam}}" class="prev">
{{tpl:lang next images}} &#187;</a></tpl:PaginationIf>
</nav>
</tpl:GalleryPagination>
</tpl:EntriesHeader>
<div id="ph{{tpl:EntryID}}" class="gallery-thumbnail" property="blogPost" typeof="BlogPosting" resource="#ph{{tpl:EntryID}}">
<figure class="gallery-thumbnail-img" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">
<a href="{{tpl:GalleryItemURL}}" property="url" content="{{tpl:GalleryItemURL}}" resource="#ph{{tpl:EntryID}}">
<img src="{{tpl:GalleryItemThumbURL size="t"}}" property="thumbnailUrl" data-img-url-sq="{{tpl:GalleryItemThumbURL size="sq"}}" data-img-url-t="{{tpl:GalleryItemThumbURL size="t"}}" data-img-url-m="{{tpl:GalleryItemThumbURL size="m"}}" alt="{{tpl:EntryTitle}}"/>
</a>
</figure>
<div class="gallery-thumbnail-desc">
<span class="gallery-nb-comment">{{tpl:EntryCommentCount none="Pas de réaction" one="1 réaction" more="%s réactions"}}</span><span property="image" content="{{tpl:GalleryItemThumbURL size="m"}}"></span>
</div>
</div>
<tpl:EntriesFooter>
<div style="clear:both;"></div>
</div>
<tpl:GalleryPagination>
<p class="pagination">
<tpl:PaginationIf start="0"><a href="{{tpl:PaginationURL offset="-1"}}" class="next">&#171; {{tpl:lang previous images}}
</a> - </tpl:PaginationIf>
{{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
<tpl:PaginationIf end="0"> - <a href="{{tpl:PaginationURL offset="+1"}}" class="prev">
{{tpl:lang next images}} &#187;</a></tpl:PaginationIf>
</p>
</tpl:GalleryPagination>
</tpl:EntriesFooter>
</tpl:GalleryItemEntries>
</tpl:SysIf>
<tpl:SysIf current_tpl="!gal_simple/gallery.html">
<div class="gallery-thumbnails">
<tpl:GalleryItemEntries>
<div class="gallery-thumbnail">
<!--<div class="gallery-thumbnail-img">-->
<figure class="gallery-thumbnail-img">
<a href="{{tpl:GalleryItemURL}}">
<img src="{{tpl:GalleryItemThumbURL size="t"}}" data-img-url-sq="{{tpl:GalleryItemThumbURL size="sq"}}" data-img-url-t="{{tpl:GalleryItemThumbURL size="t"}}" data-img-url-m="{{tpl:GalleryItemThumbURL size="m"}}" alt="{{tpl:EntryTitle}}"/>
</a>
</figure>
</div>
</tpl:GalleryItemEntries>
<div style="clear:both;"></div>
</div>
<p class="read-it"><a href="{{tpl:EntryURL}}"
title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
reading}}</a>...</p>
</tpl:SysIf>