Dotclear

source: themes/freshy2/tpl/homepagemode.html @ 2184

Revision 2184, 11.3 KB checked in by brol, 14 years ago (diff)

Suppression de {{MetaSeparator?}} et {{CatSeparator?}} au profit de <tpl:LoopPosition start="1" length="-1">, </tpl:LoopPosition>
Affichage différent pour tags.html
Mise en place d'une alerte pour les utilisateurs d'ie6
Corrections diverses
Upgrade en 1.7

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{tpl:BlogLanguage}}" lang="{{tpl:BlogLanguage}}">
4<head>
5  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6  <meta name="MSSmartTagsPreventParsing" content="TRUE" />
7  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" />
8 
9  <title>{{tpl:BlogName encode_html="1"}}</title>
10  <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription cut_string="180" encode_html="1"}}" />
11  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
12  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
13  <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
14 
15  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
16  <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
17  <meta name="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription encode_html="1"}}" />
18  <meta name="dc.language" content="{{tpl:BlogLanguage}}" />
19  <meta name="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
20  <meta name="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
21  <meta name="dc.date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
22  <meta name="dc.type" content="text" />
23  <meta name="dc.format" content="text/html" />
24 
25  <link rel="contents" title="{{tpl:lang Archives}}" href="{{tpl:BlogArchiveURL}}" />
26  <tpl:Categories>
27  <link rel="section" href="{{tpl:CategoryURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" />
28  </tpl:Categories>
29
30  <link rel="Start" href="{{tpl:BlogFirstPageURL}}" title="{{tpl:lang Entries}}" />
31
32  <tpl:IfZonesContext tag="Entries" zone="0">
33  <tpl:Entries no_content="1">
34    <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
35  </tpl:Entries>
36  </tpl:IfZonesContext>
37
38  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
39  <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" />
40  <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
41 
42  {{tpl:include src="_head.html"}}
43</head>
44
45<body class="dc-home">
46  <div id="body">
47    {{tpl:include src="_top.html"}}
48
49    <div id="page" class="{{tpl:Freshy2LayoutClass}}">
50      <div class="container">
51     <div id="frame">
52       <div id="content">
53 
54  <tpl:IfTplIntro>
55  <div class="post intro homepagemode"> 
56    <tpl:IfTplIntroTitle>
57      <h2 class="post-title">{{tpl:TplIntroTitle encode_html="1"}}</h2>
58    </tpl:IfTplIntroTitle> 
59    <tpl:IfTplIntroDesc>
60      <div class="post-content">{{tpl:TplIntroDesc}}</div>
61    </tpl:IfTplIntroDesc>
62  </div>
63  </tpl:IfTplIntro>
64
65  <tpl:IfZonesContext tag="Entries" zone="0">
66  <tpl:Entries>
67 
68    <tpl:EntriesHeader>
69      <tpl:IfTagTitleOrDesc>
70      <div class="post zone {{tpl:TagZoneId}}">
71        <tpl:IfTagTitle>
72        <h2 class="post-title">{{tpl:TagTitle encode_html="1"}}</h2>
73        </tpl:IfTagTitle>
74        <tpl:IfTagDesc>
75        <div class="post-content">{{tpl:TagDesc}}</div>
76        </tpl:IfTagDesc>
77      </div>
78      </tpl:IfTagTitleOrDesc>
79    </tpl:EntriesHeader>
80
81    <div class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">
82
83    <!-- # New day date -->
84    <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
85   
86    <h2 id="p{{tpl:EntryID}}" class="post-title"><a
87    href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
88   
89    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
90    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
91   
92    <!-- # Entry with an excerpt -->
93    <tpl:EntryIf extended="1">
94      <div class="post-content">{{tpl:EntryExcerpt}}</div>
95      <p class="read-it"><a href="{{tpl:EntryURL}}"
96      title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
97      reading}}</a>...</p>
98    </tpl:EntryIf>
99   
100    <!-- # Entry without excerpt -->
101    <tpl:EntryIf extended="0">
102      <div class="post-content">{{tpl:EntryContent}}</div>
103    </tpl:EntryIf>
104   
105    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
106    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
107     
108      <div class="meta">
109        <ul>
110          <!-- # item auteur -->
111          <li>{{tpl:lang By}} <span class="author">{{tpl:EntryAuthorLink}}</span> | {{tpl:EntryDate}} | {{tpl:EntryTime}}</li>
112
113             <!-- # item comm cat tags -->
114             <li>
115          <!-- # comm -->     
116               <tpl:EntryIf show_comments="1">{{tpl:lang Comments}}<span class="item"><a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a></span></tpl:EntryIf> 
117               <!-- # cat --> 
118               <tpl:EntryIf has_category="1">{{tpl:lang Category}}<span class="item"><tpl:EntryCategoriesBreadcrumb><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo; </tpl:EntryCategoriesBreadcrumb><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span></tpl:EntryIf> 
119            <!-- # meta -->
120          <tpl:EntryTags>
121                <tpl:TagsHeader>{{tpl:lang Tags}}<span class="item"></tpl:TagsHeader><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a><tpl:LoopPosition start="1" length="-1">, </tpl:LoopPosition>
122                <tpl:TagsFooter></span></tpl:TagsFooter>
123                </tpl:EntryTags>
124          </li>
125          <!-- # item rss-comm rss-ping attach -->
126          <tpl:EntryIf operator="or" comments_active="1" pings_active="1" has_attachment="1">
127          <li>
128          </tpl:EntryIf>
129          <tpl:EntryIf comments_active="1">
130                         <img alt="{{tpl:lang This post's comments Atom feed}}" src="{{tpl:BlogThemeURL}}/images/icons/feed-icon-16x16.gif" /><span class="flux"><a href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></span>
131          </tpl:EntryIf>
132          <tpl:EntryIf pings_active="1">
133                <img alt="{{tpl:lang Trackback}}" src="{{tpl:BlogThemeURL}}/images/icons/trackback-icon-16x16.gif" /><span class="flux"><a href="{{tpl:EntryURL}}#pings" rel="trackback" title="{{tpl:lang Trackback}}">{{tpl:EntryPingCount}}</a></span>
134          </tpl:EntryIf>
135               <tpl:EntryIf has_attachment="1">
136          <img alt="{{tpl:lang Attachments}}" src="{{tpl:BlogThemeURL}}/images/icons/download-icon-16x16.gif" /><span class="flux"><a href="{{tpl:EntryURL}}#attachments">{{tpl:EntryAttachmentCount}}</a></span>
137          </tpl:EntryIf>
138          <tpl:EntryIf operator="or" comments_active="1" pings_active="1" has_attachment="1">
139          </li>
140          </tpl:EntryIf> 
141        </ul>
142      </div>
143    </div>
144   
145    <tpl:EntriesFooter>
146
147    </tpl:EntriesFooter>
148  </tpl:Entries>
149  </tpl:IfZonesContext>
150
151  <tpl:IfZonesContext tag="Entries" zone="1">
152  <tpl:Entries zone="1">
153 
154    <tpl:EntriesHeader>
155      <tpl:IfTagTitleOrDesc>
156      <div class="post zone {{tpl:TagZoneId}}">
157        <tpl:IfTagTitle>
158        <h2 class="post-title">{{tpl:TagTitle encode_html="1"}}</h2>
159        </tpl:IfTagTitle>
160        <tpl:IfTagDesc>
161        <div class="post-content">{{tpl:TagDesc}}</div>
162        </tpl:IfTagDesc>
163      </div>
164      </tpl:IfTagTitleOrDesc>
165    </tpl:EntriesHeader>
166     
167    <div class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">
168
169    <!-- # New day date -->
170    <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
171   
172    <h2 id="p{{tpl:EntryID}}" class="post-title"><a
173    href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
174   
175    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
176    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
177   
178    <!-- # Entry with an excerpt -->
179    <tpl:EntryIf extended="1">
180      <div class="post-content">{{tpl:EntryExcerpt}}</div>
181      <p class="read-it"><a href="{{tpl:EntryURL}}"
182      title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
183      reading}}</a>...</p>
184    </tpl:EntryIf>
185   
186    <!-- # Entry without excerpt -->
187    <tpl:EntryIf extended="0">
188      <div class="post-content">{{tpl:EntryContent}}</div>
189    </tpl:EntryIf>
190   
191    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
192    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
193     
194      <div class="meta">
195        <ul>
196          <!-- # item auteur -->
197          <li>{{tpl:lang By}} <span class="author">{{tpl:EntryAuthorLink}}</span> | {{tpl:EntryDate}} | {{tpl:EntryTime}}</li>
198
199             <!-- # item comm cat tags -->
200             <li>
201          <!-- # comm -->     
202               <tpl:EntryIf show_comments="1">{{tpl:lang Comments}}<span class="item"><a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a></span></tpl:EntryIf> 
203               <!-- # cat --> 
204               <tpl:EntryIf has_category="1">{{tpl:lang Category}}<span class="item"><tpl:EntryCategoriesBreadcrumb><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo; </tpl:EntryCategoriesBreadcrumb><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span></tpl:EntryIf> 
205            <!-- # meta -->
206          <tpl:EntryTags>
207                <tpl:TagsHeader>{{tpl:lang Tags}}<span class="item"></tpl:TagsHeader><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a><tpl:LoopPosition start="1" length="-1">, </tpl:LoopPosition>
208                <tpl:TagsFooter></span></tpl:TagsFooter>
209                </tpl:EntryTags>
210          </li>
211          <!-- # item rss-comm rss-ping attach -->
212          <tpl:EntryIf operator="or" comments_active="1" pings_active="1" has_attachment="1">
213          <li>
214          </tpl:EntryIf>
215          <tpl:EntryIf comments_active="1">
216                         <img alt="{{tpl:lang This post's comments Atom feed}}" src="{{tpl:BlogThemeURL}}/images/icons/feed-icon-16x16.gif" /><span class="flux"><a href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></span>
217          </tpl:EntryIf>
218          <tpl:EntryIf pings_active="1">
219                <img alt="{{tpl:lang Trackback}}" src="{{tpl:BlogThemeURL}}/images/icons/trackback-icon-16x16.gif" /><span class="flux"><a href="{{tpl:EntryURL}}#pings" rel="trackback" title="{{tpl:lang Trackback}}">{{tpl:EntryPingCount}}</a></span>
220          </tpl:EntryIf>
221               <tpl:EntryIf has_attachment="1">
222          <img alt="{{tpl:lang Attachments}}" src="{{tpl:BlogThemeURL}}/images/icons/download-icon-16x16.gif" /><span class="flux"><a href="{{tpl:EntryURL}}#attachments">{{tpl:EntryAttachmentCount}}</a></span>
223          </tpl:EntryIf>
224          <tpl:EntryIf operator="or" comments_active="1" pings_active="1" has_attachment="1">
225          </li>
226          </tpl:EntryIf> 
227        </ul>
228      </div>
229    </div>
230   
231    <tpl:EntriesFooter>
232
233    </tpl:EntriesFooter>
234
235  </tpl:Entries>
236  </tpl:IfZonesContext>
237
238  <p class="pagination"><a href="{{tpl:BlogFirstPageURL}}">{{tpl:lang Entries}} &#187;</a></p>
239
240       </div> <!-- End #content -->
241
242       {{tpl:include src="_sidebar.html"}}
243     </div> <!-- End #frame -->
244      </div> <!-- End #container -->
245    </div> <!-- End #page -->
246
247    {{tpl:include src="_footer.html"}}
248  </div> <!-- End #body -->
249</body>
250</html>
Note: See TracBrowser for help on using the repository browser.

Sites map