Dotclear

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

Revision 2184, 8.6 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 robots="NOINDEX"}}" />
8 
9  <title>{{tpl:CategoryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
10  <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:CategoryDescription cut_string="180" remove_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:CategoryTitle encode_html="1"}} - {{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:CategoryDescription remove_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="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
26  <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
27 
28  <tpl:Entries no_content="1">
29    <tpl:EntriesHeader>
30      <tpl:Pagination>
31        <tpl:PaginationIf end="0">
32        <link rel="previous" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
33        </tpl:PaginationIf>
34       
35        <tpl:PaginationIf start="0">
36        <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
37        </tpl:PaginationIf>
38      </tpl:Pagination>
39    </tpl:EntriesHeader>
40   
41    <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
42  </tpl:Entries>
43 
44  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:CategoryFeedURL type="atom"}}" />
45 
46  {{tpl:include src="_head.html"}}
47</head>
48
49<body class="dc-category">
50  <div id="body">
51    {{tpl:include src="_top.html"}}
52
53    <div id="page" class="{{tpl:Freshy2LayoutClass}}">
54      <div class="container">
55     <div id="frame">
56       <div id="content">
57      <div class="post">
58              <h2 class="post-title">&#187; {{tpl:lang Category}} : <tpl:CategoryParents><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a> &rsaquo; </tpl:CategoryParents>{{tpl:CategoryTitle encode_html="1"}}</h2>
59          <div class="entry">{{tpl:CategoryDescription}}</div>
60
61     <tpl:CategoryIf has_entries="1">
62          <div class="metacat">
63        <div class="cat">
64        <!-- # cat/ss-cat -->
65          <tpl:CategoryFirstChildren>
66                <tpl:CategoriesHeader><p>{{tpl:lang Subcategories}}<span class="item"></tpl:CategoriesHeader><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a><tpl:LoopPosition start="1" length="-1">, </tpl:LoopPosition>
67                <tpl:CategoriesFooter></span></p></tpl:CategoriesFooter>
68          </tpl:CategoryFirstChildren>
69         <!-- # flux -->
70                <img alt="{{tpl:lang This category's entries Atom feed}}" src="{{tpl:BlogThemeURL}}/images/icons/feed-icon-16x16.gif" /><span class="flux"><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}"
71                title="{{tpl:lang This category's entries Atom feed}}" class="feed">{{tpl:lang Entries feed}}</a></span>
72                <tpl:SysIf comments_active="1">
73                <img alt="{{tpl:lang This category's comments Atom feed}}" src="{{tpl:BlogThemeURL}}/images/icons/feed-icon-16x16.gif" /><span class="flux"><a type="application/atom+xml" href="{{tpl:CategoryFeedURL type="atom"}}/comments"
74                title="{{tpl:lang This category's comments Atom feed}}" class="feed">{{tpl:lang Comments feed}}</a></span>
75                </tpl:SysIf>
76        </div>
77    </div>
78            </tpl:CategoryIf>
79           
80      </div>
81     
82         <tpl:Entries>
83           <div class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" xml:lang="{{tpl:EntryLang}}">
84          <h2 id="p{{tpl:EntryID}}" class="post-title"><a
85          href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
86
87         <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
88         {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
89   
90          <!-- # Entry with an excerpt -->
91          <tpl:EntryIf extended="1">
92            <div class="entry">{{tpl:EntryExcerpt}}</div>
93            <p class="read-it"><a href="{{tpl:EntryURL}}"
94            title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
95            reading}}</a>...</p>
96          </tpl:EntryIf>
97
98          <!-- # Entry without excerpt -->
99          <tpl:EntryIf extended="0">
100            <div class="entry">{{tpl:EntryContent}}</div>
101          </tpl:EntryIf>
102
103         <!-- # --BEHAVIOR-- publicEntryAfterContent -->
104         {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
105     
106      <div class="meta">
107        <ul>
108          <!-- # item auteur -->
109          <li>{{tpl:lang By}} <span class="author">{{tpl:EntryAuthorLink}}</span> | {{tpl:EntryDate}} | {{tpl:EntryTime}}</li>
110
111             <!-- # item comm cat tags -->
112             <li>
113          <!-- # comm -->     
114               <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> 
115               <!-- # cat --> 
116               <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> 
117            <!-- # meta -->
118          <tpl:EntryTags>
119                <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>
120                <tpl:TagsFooter></span></tpl:TagsFooter>
121                </tpl:EntryTags>
122          </li>
123          <!-- # item rss-comm rss-ping attach -->
124          <tpl:EntryIf operator="or" comments_active="1" pings_active="1" has_attachment="1">
125          <li>
126          </tpl:EntryIf>
127          <tpl:EntryIf comments_active="1">
128                         <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>
129          </tpl:EntryIf>
130          <tpl:EntryIf pings_active="1">
131                <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>
132          </tpl:EntryIf>
133               <tpl:EntryIf has_attachment="1">
134          <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>
135          </tpl:EntryIf>
136          <tpl:EntryIf operator="or" comments_active="1" pings_active="1" has_attachment="1">
137          </li>
138          </tpl:EntryIf> 
139        </ul>
140      </div>
141
142           </div> <!-- end #post -->
143
144           <tpl:EntriesFooter>
145          <tpl:Pagination>
146            <p class="navigation">
147              <tpl:PaginationIf end="0">
148                <span class="alignleft">&#171; <a href="{{tpl:PaginationURL offset="+1"}}" class="prev">{{tpl:lang previous entries}}</a></span>
149              </tpl:PaginationIf>
150              <tpl:PaginationIf start="0">
151                <span class="alignright"><a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}</a> &#187;</span></tpl:PaginationIf>
152            </p>
153          </tpl:Pagination>
154           </tpl:EntriesFooter>
155         </tpl:Entries>
156       </div> <!-- End #content -->
157
158       {{tpl:include src="_sidebar.html"}}
159     </div> <!-- End #frame -->
160      </div> <!-- End #container -->
161    </div> <!-- End #page -->
162
163    {{tpl:include src="_footer.html"}}
164  </div> <!-- End #body -->
165</body>
166</html>
Note: See TracBrowser for help on using the repository browser.

Sites map