Dotclear

source: inc/public/default-templates/mustek/search.html @ 3017:671366477262

Revision 3017:671366477262, 5.0 KB checked in by franck <carnet.franck.paul@…>, 10 years ago (diff)

Apply extension/heritage templating system to mustek templateset, addresses #2099

Line 
1{{tpl:extends parent="__layout.html"}}
2
3<tpl:Block name="head-title">
4     <title>{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
5</tpl:Block>
6
7<tpl:Block name="meta-robots">
8     <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" />
9</tpl:Block>
10
11<tpl:Block name="dc-entry">
12     <meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
13     <meta property="dc.language" content="{{tpl:BlogLanguage}}" />
14     <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
15</tpl:Block>
16
17<tpl:Block name="head-linkrel">
18     <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
19     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
20     <tpl:Entries no_content="1">
21          <tpl:EntriesHeader>
22               <tpl:Pagination>
23                    <tpl:PaginationIf end="0">
24                         <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
25                    </tpl:PaginationIf>
26
27                    <tpl:PaginationIf start="0">
28                         <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
29                    </tpl:PaginationIf>
30               </tpl:Pagination>
31          </tpl:EntriesHeader>
32          <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
33     </tpl:Entries>
34     <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
35</tpl:Block>
36
37<tpl:Block name="body-tag"><body class="dc-search"></tpl:Block>
38
39<tpl:Block name="main-content">
40     <div id="content-info">
41          <h2>{{tpl:lang Search}}</h2>
42          <tpl:SysIf search_count="==0">
43               <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned no result."}}</p>
44          </tpl:SysIf>
45          <tpl:SysIf search_count="==1">
46               <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> result."}}</p>
47          </tpl:SysIf>
48          <tpl:SysIf search_count="&gt;1">
49               <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> results."}}</p>
50          </tpl:SysIf>
51     </div>
52
53     <tpl:Entries>
54          <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" role="article">
55               <!-- # New day date -->
56               <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
57
58               <h2 class="post-title"><a
59               href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
60
61               <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}}
62               {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}
63               <tpl:EntryIf has_category="1">
64               - <a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>
65               </tpl:EntryIf>
66               </p>
67
68               <tpl:EntryTags>
69                    <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader>
70                    <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
71                    <tpl:TagsFooter></ul></tpl:TagsFooter>
72               </tpl:EntryTags>
73
74               <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
75               {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
76
77               <!-- # Entry with an excerpt -->
78               <tpl:EntryIf extended="1">
79                    <div class="post-content">{{tpl:EntryExcerpt}}</div>
80                    <p class="read-it"><a href="{{tpl:EntryURL}}"
81                    title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
82                    reading}}</a><span class="readmore-ellipsis">...</span></p>
83               </tpl:EntryIf>
84
85               <!-- # Entry without excerpt -->
86               <tpl:EntryIf extended="0">
87                    <div class="post-content">{{tpl:EntryContent}}</div>
88               </tpl:EntryIf>
89
90               <!-- # --BEHAVIOR-- publicEntryAfterContent -->
91               {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
92
93               <!-- # Number of comments, trackbacks and attachments -->
94               <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
95                    <p class="post-info-co">
96               </tpl:EntryIf>
97               <tpl:EntryIf show_comments="1">
98                    <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
99               </tpl:EntryIf>
100               <tpl:EntryIf show_pings="1">
101                    <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
102               <tpl:EntryIf has_attachment="1">
103                    <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
104               <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
105                    </p>
106               </tpl:EntryIf>
107          </div>
108
109          <tpl:EntriesFooter>
110               <tpl:Pagination>
111                    <p class="pagination"><tpl:PaginationIf end="0"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171;
112                    {{tpl:lang previous entries}}</a> - </tpl:PaginationIf>
113                    {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
114                    <tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}
115                    &#187;</a></tpl:PaginationIf></p>
116               </tpl:Pagination>
117          </tpl:EntriesFooter>
118     </tpl:Entries>
119</tpl:Block>
Note: See TracBrowser for help on using the repository browser.

Sites map