Dotclear

source: themes/ductile/tpl/_entry-short.html @ 681:4a4d866f3b8c

Revision 681:4a4d866f3b8c, 3.0 KB checked in by Franck <carnet.franck.paul@…>, 14 years ago (diff)

Merge branche themes dans la branche default

Line 
1<div id="p{{tpl:EntryID}}" class="post short {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">
2     <!-- # New day date -->
3     <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
4     
5     <h2 class="post-title"><a href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
6     
7     <div class="post-attr">
8          <p class="post-info">
9               <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span>
10               <span class="post-date">{{tpl:EntryDate}}. </span>
11               <tpl:EntryIf has_category="1">
12                    <tpl:EntryCategoriesBreadcrumb>
13                         <span class="post-breadcrumb-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></span> ›
14                    </tpl:EntryCategoriesBreadcrumb>
15                    <span class="post-cat"><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span>
16               </tpl:EntryIf>
17          </p>
18         
19          <tpl:EntryTags>
20               <tpl:TagsHeader>
21                    <p class="post-tags">
22               </tpl:TagsHeader>
23                         <a href="{{tpl:TagURL}}">{{tpl:TagID}}</a>
24               <tpl:TagsFooter>
25                    </p>
26               </tpl:TagsFooter>
27          </tpl:EntryTags>
28     </div>   
29     
30     <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
31     {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
32     
33     <!-- # Entry with an excerpt -->
34     <tpl:EntryIf extended="1">
35          <div class="post-content">
36               {{tpl:EntryFirstImage size="t" class="post-icon"}}
37               {{tpl:EntryExcerpt}}
38          </div>
39          <p class="read-it"><a href="{{tpl:EntryURL}}"
40           title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue reading}}</a>
41          </p>
42     </tpl:EntryIf>
43     
44     <!-- # Entry without excerpt -->
45     <tpl:EntryIf extended="0">
46          <div class="post-content">
47               {{tpl:EntryFirstImage size="t" class="post-icon"}}
48               <p>
49                    {{tpl:EntryContent encode_html="1" remove_html="1" cut_string="300"}}
50                    <tpl:EntryIfContentIsCut encode_html="1" remove_html="1" cut_string="300">
51                    &nbsp;[…]
52                    </tpl:EntryIfContentIsCut>
53               </p>
54          </div>
55          <tpl:EntryIfContentIsCut encode_html="1" remove_html="1" cut_string="300">
56               <p class="read-it"><a href="{{tpl:EntryURL}}"
57                title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue reading}}</a></p>
58          </tpl:EntryIfContentIsCut>
59     </tpl:EntryIf>
60     
61     <!-- # --BEHAVIOR-- publicEntryAfterContent -->
62     {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
63     
64     <!-- # Number of comments, trackbacks and attachments -->
65     <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
66          <p class="post-info-co">
67     </tpl:EntryIf>
68     <tpl:EntryIf show_comments="1">
69               <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
70     </tpl:EntryIf>
71     <tpl:EntryIf show_pings="1">
72               <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
73     <tpl:EntryIf has_attachment="1">
74               <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
75     <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
76          </p>
77     </tpl:EntryIf>
78</div>
Note: See TracBrowser for help on using the repository browser.

Sites map