Dotclear

source: plugins/agora/default-templates/thread.html @ 1872

Revision 1872, 7.5 KB checked in by Osku, 14 years ago (diff)

Agora - still in progress but you can try it

  • Update to local version
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:EntryTitle encode_html="1"}} - {{tpl:lang Agora}} - {{tpl:BlogName encode_html="1"}}</title>
10 
11  <meta name="description" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Forum}}" />
12  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
13  <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
14  <meta name="date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
15
16  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
17  <meta name="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Forum}} - {{tpl:BlogName encode_html="1"}}" />
18  <meta name="dc.description" lang="{{tpl:BlogLanguage}}" content="{{tpl:BlogDescription remove_html="1"}}" />
19  <meta name="dc.language" content="{{tpl:BlogLanguage}}" />
20  <meta name="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
21  <meta name="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
22  <meta name="dc.date" scheme="W3CDTF" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
23  <meta name="dc.type" content="text" />
24  <meta name="dc.format" content="text/html" />
25 
26  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
27  <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
28  <tpl:Subforums>
29  <link rel="section" href="{{tpl:SubforumURL}}" title="{{tpl:CategoryTitle encode_html="1"}}" />
30  </tpl:Subforums>
31 
32
33  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:AgoraFeedURL type="atom"}}" />
34  <link rel="EditURI" type="application/rsd+xml" title="RSD" href="{{tpl:BlogRSDURL}}" />
35  <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
36 
37  {{tpl:include src="_head.html"}}
38
39</head>
40
41<body class="dc-thread">
42<div id="page">
43{{tpl:include src="_top.html"}}
44
45<div id="wrapper">
46
47<div id="main">
48  <div id="content">
49
50  <div id="content-info">
51 
52    <h2><a href="{{tpl:forumURL}}">{{tpl:lang Agora}}</a> &rsaquo;  <a href="{{tpl:ThreadCategoryURL}}">{{tpl:EntryCategory}}</a>
53    </h2>
54   
55  </div>
56
57<div id="p" class="post {{tpl:EntryIfSelected}} {{tpl:EntryIfClosed}}">
58   
59    <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2>
60    <!--p class="post-info">{{tpl:CategoryDescription}} </p-->
61      <p class="post-info">
62 {{tpl:lang by}} <a href="{{tpl:ThreadProfileUserID}}">{{tpl:EntryAuthorID}}</a> {{tpl:lang on}} {{tpl:EntryCreaDate}}
63     - <a href="{{tpl:ThreadURL}}">{{tpl:lang Permalink}}</a> 
64<tpl:userIsModo>
65- <a href="{{tpl:ModerationEditThread}}">{{tpl:lang edit}}</a>
66- <a href="{{tpl:ModerationDeleteThread}}">{{tpl:lang delete}}</a>
67</tpl:userIsModo>
68      </p>
69    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
70    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
71   
72      <div class="post-content">{{tpl:EntryContent}}</div>
73   
74    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
75    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
76   
77    </div>
78      <div id="comments">
79            <tpl:EntryTags type="nb_messages">
80    <h3>{{tpl:TagID}}&nbsp;{{tpl:lang message(s)}}</h3>
81    </tpl:EntryTags>
82
83<tpl:Messages>
84
85    <tpl:MessagesHeader>
86      <dl>
87    </tpl:MessagesHeader>
88
89      <dt id="c{{tpl:MessageID}}" class="{{tpl:MessageIfOdd}} {{tpl:MessageIfFirst}}"><a
90      href="#c{{tpl:MessageID}}" class="comment-number">{{tpl:MessageOrderNumber}}.</a>
91      {{tpl:lang On}} {{tpl:MessageDate}}, {{tpl:MessageTime}}
92      {{tpl:lang by}} <a href="{{tpl:MessageProfileUserID}}">{{tpl:MessageAuthor}}</a>
93      <tpl:userIsModo>
94      - <a href="{{tpl:ModerationEditMessage}}"> {{tpl:lang edit}}</a>
95      - <a href="{{tpl:ModerationDeleteMessage}}"> {{tpl:lang delete}}</a>
96      </tpl:userIsModo>
97
98</dt>
99     
100      <dd class="{{tpl:MessageIfOdd}} {{tpl:MessageIfFirst}}">
101      <!-- # --BEHAVIOR-- publicMessageBeforeContent -->
102      {{tpl:SysBehavior behavior="publicMessageBeforeContent"}}
103     
104      {{tpl:MessageContent}}
105     
106      <!-- # --BEHAVIOR-- publicMessageAfterContent -->
107      {{tpl:SysBehavior behavior="publicMessageAfterContent"}}
108      </dd>
109
110
111
112
113        <tpl:MessagesFooter>
114      </dl>
115      <tpl:agoPagination>
116        <p class="pagination"><tpl:agoPaginationIf start="0"><a href="{{tpl:agoPaginationURL offset="-1"}}" class="prev">&#171;
117        {{tpl:lang previous messages}}</a> - </tpl:agoPaginationIf>
118        {{tpl:lang page}} {{tpl:agoPaginationCurrent}} {{tpl:lang of}} {{tpl:agoPaginationCounter}}
119        <tpl:agoPaginationIf end="0"> - <a href="{{tpl:agoPaginationURL offset="+1"}}" class="next">{{tpl:lang next messages}}
120        &#187;</a></tpl:agoPaginationIf></p>
121      </tpl:agoPagination>
122    </tpl:MessagesFooter>
123
124  </tpl:Messages>
125 
126      <tpl:SysIfThreadUpdated>
127      <p class="message" id="pr">{{tpl:lang Status of thread has been modified.}}</p>
128    </tpl:SysIfThreadUpdated>
129 
130<tpl:EntryIf comments_active="0">
131 <h3>{{tpl:lang Thread closed}}</h3>
132</tpl:EntryIf>
133      </div>
134
135<tpl:EntryIf comments_active="1">
136   
137<tpl:authForm>
138    <!-- # Thread form -->
139    <form action="{{tpl:ThreadURL}}#pr" method="post" id="comment-form">
140
141<tpl:SysIfFormError>
142<p class="error" id="pr">{{tpl:SysFormError}}</p>
143</tpl:SysIfFormError>
144
145     <tpl:IfMessagePreview>
146        <div id="pr">
147          <h3>{{tpl:lang Your answer}}</h3>
148          <dl>
149            <dd class="comment-preview">{{tpl:MessagePreviewContent}}</dd>
150          </dl>
151          <p class="buttons"><input type="submit" class="submit" value="{{tpl:lang send}}" /></p>
152        </div>
153      </tpl:IfMessagePreview>
154     
155      <h3>{{tpl:lang Add an answer}}</h3>
156      <fieldset>
157        <!-- # --BEHAVIOR-- publicAnswerFormBeforeContent -->
158        {{tpl:SysBehavior behavior="publicAnswerFormBeforeContent"}}
159           
160        <p class="field"><label for="p_content">{{tpl:lang Message}}&nbsp;:</label>
161        <textarea name="p_content" id="p_content" cols="35"
162        rows="7">{{tpl:MessagePreviewContent raw="1" encode_html="1"}}</textarea>
163        </p>
164        <p class="form-help">{{tpl:lang HTML code is displayed as text and web addresses are
165        automatically converted.}}</p>
166       
167        <!-- # --BEHAVIOR-- publicAnswerFormAfterContent -->
168        {{tpl:SysBehavior behavior="publicAnswerFormAfterContent"}}
169      </fieldset>
170     
171      <fieldset>
172        <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" />
173        <tpl:IfMessagePreview><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfMessagePreview></p>
174      </fieldset>
175    </form>
176</tpl:authForm>
177</tpl:EntryIf>
178
179  <tpl:EntryIf comments_active="1">
180  <p id="comments-feed"><a class="feed" href="{{tpl:AgoraFeedURL type="atom"}}/answers/{{tpl:EntryID}}"
181  title="{{tpl:lang This thread's answers Atom feed}}">{{tpl:lang This thread's answers feed}}</a></p>
182  </tpl:EntryIf>
183   
184  </div>
185
186</div> <!-- End #main -->
187
188<div id="sidebar">
189  <div id="blognav">
190    {{tpl:Widgets type="nav"}}
191  </div> <!-- End #blognav -->
192 
193  <div id="blogextra">
194    {{tpl:Widgets type="extra"}}
195  </div> <!-- End #blogextra -->
196</div>
197
198</div> <!-- End #wrapper -->
199
200{{tpl:include src="_footer.html"}}
201</div> <!-- End #page -->
202</body>
203</html>
Note: See TracBrowser for help on using the repository browser.

Sites map