source: trunk/forum/styles/prosilver/template/viewtopic_body.html

Last change on this file was 702, checked in by george, 15 years ago
  • Upraveno: Aktualizace fóra.
File size: 14.1 KB
Line 
1<!-- INCLUDE overall_header.html -->
2<!-- IF U_MCP --><p>[&nbsp;<a href="{U_MCP}">{L_MCP}</a>&nbsp;]</p><!-- ENDIF -->
3<h2><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2>
4<!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body -->
5<!-- IF FORUM_DESC --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF -->
6
7<!-- IF MODERATORS or U_MCP -->
8 <p>
9 <!-- IF MODERATORS -->
10 <strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}
11 <!-- ENDIF -->
12
13 </p>
14<!-- ENDIF -->
15
16<!-- IF S_FORUM_RULES -->
17 <div class="rules">
18 <div class="inner"><span class="corners-top"><span></span></span>
19
20 <!-- IF U_FORUM_RULES -->
21 <a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a>
22 <!-- ELSE -->
23 <strong>{L_FORUM_RULES}</strong><br />
24 {FORUM_RULES}
25 <!-- ENDIF -->
26
27 <span class="corners-bottom"><span></span></span></div>
28 </div>
29<!-- ENDIF -->
30
31<div class="topic-actions">
32
33 <div class="buttons">
34 <!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
35 <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a></div>
36 <!-- ENDIF -->
37 </div>
38
39 <!-- IF S_DISPLAY_SEARCHBOX -->
40 <div class="search-box">
41 <form method="post" id="topic-search" action="{S_SEARCHBOX_ACTION}">
42 <fieldset>
43 <input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_TOPIC}" onclick="if(this.value=='{LA_SEARCH_TOPIC}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_TOPIC}';" />
44 <input class="button2" type="submit" value="{L_SEARCH}" />
45 <input type="hidden" value="{TOPIC_ID}" name="t" />
46 <input type="hidden" value="msgonly" name="sf" />
47 </fieldset>
48 </form>
49 </div>
50 <!-- ENDIF -->
51
52 <!-- IF PAGINATION or TOTAL_POSTS -->
53 <div class="pagination">
54 <!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --><a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> &bull; <!-- ENDIF -->{TOTAL_POSTS}
55 <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
56 </div>
57 <!-- ENDIF -->
58
59</div>
60<div class="clear"></div>
61
62<!-- IF S_HAS_POLL -->
63 <form method="post" action="{S_POLL_ACTION}">
64
65 <div class="panel">
66 <div class="inner"><span class="corners-top"><span></span></span>
67
68 <div class="content">
69 <h2>{POLL_QUESTION}</h2>
70 <p class="author">{L_POLL_LENGTH}<!-- IF S_CAN_VOTE and L_POLL_LENGTH --><br /><!-- ENDIF --><!-- IF S_CAN_VOTE -->{L_MAX_VOTES}<!-- ENDIF --></p>
71
72 <fieldset class="polls">
73 <!-- BEGIN poll_option -->
74 <dl class="<!-- IF poll_option.POLL_OPTION_VOTED -->voted<!-- ENDIF -->"<!-- IF poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF -->>
75 <dt><!-- IF S_CAN_VOTE --><label for="vote_{poll_option.POLL_OPTION_ID}">{poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt>
76 <!-- IF S_CAN_VOTE --><dd style="width: auto;"><!-- IF S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF -->
77 <!-- IF S_DISPLAY_RESULTS --><dd class="resultbar"><div class="<!-- IF poll_option.POLL_OPTION_PCT < 20 -->pollbar1<!-- ELSEIF poll_option.POLL_OPTION_PCT < 40 -->pollbar2<!-- ELSEIF poll_option.POLL_OPTION_PCT < 60 -->pollbar3<!-- ELSEIF poll_option.POLL_OPTION_PCT < 80 -->pollbar4<!-- ELSE -->pollbar5<!-- ENDIF -->" style="width:{poll_option.POLL_OPTION_PERCENT};">{poll_option.POLL_OPTION_RESULT}</div></dd>
78 <dd><!-- IF poll_option.POLL_OPTION_RESULT == 0 -->{L_NO_VOTES}<!-- ELSE -->{poll_option.POLL_OPTION_PERCENT}<!-- ENDIF --></dd><!-- ENDIF -->
79 </dl>
80 <!-- END poll_option -->
81
82 <!-- IF S_DISPLAY_RESULTS -->
83 <dl>
84 <dt>&nbsp;</dt>
85 <dd class="resultbar">{L_TOTAL_VOTES} : {TOTAL_VOTES}</dd>
86 </dl>
87 <!-- ENDIF -->
88
89 <!-- IF S_CAN_VOTE -->
90 <dl style="border-top: none;">
91 <dt>&nbsp;</dt>
92 <dd class="resultbar"><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="button1" /></dd>
93 </dl>
94 <!-- ENDIF -->
95
96 <!-- IF not S_DISPLAY_RESULTS -->
97 <dl style="border-top: none;">
98 <dt>&nbsp;</dt>
99 <dd class="resultbar"><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></dd>
100 </dl>
101 <!-- ENDIF -->
102 </fieldset>
103 </div>
104
105 <span class="corners-bottom"><span></span></span></div>
106 {S_FORM_TOKEN}
107 {S_HIDDEN_FIELDS}
108 </div>
109
110
111 </form>
112 <hr />
113<!-- ENDIF -->
114
115<!-- BEGIN postrow -->
116 <!-- IF postrow.S_FIRST_UNREAD --><a id="unread"></a><!-- ENDIF -->
117 <div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->">
118 <div class="inner"><span class="corners-top"><span></span></span>
119
120 <div class="postbody">
121 <!-- IF postrow.S_IGNORE_POST -->
122 <div class="ignore">{postrow.L_IGNORE_POST}</div>
123 <!-- ELSE -->
124
125 <!-- IF not S_IS_BOT -->
126 <!-- IF postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE -->
127 <ul class="profile-icons">
128 <!-- IF postrow.U_EDIT --><li class="edit-icon"><a href="{postrow.U_EDIT}" title="{L_EDIT_POST}"><span>{L_EDIT_POST}</span></a></li><!-- ENDIF -->
129 <!-- IF postrow.U_DELETE --><li class="delete-icon"><a href="{postrow.U_DELETE}" title="{L_DELETE_POST}"><span>{L_DELETE_POST}</span></a></li><!-- ENDIF -->
130 <!-- IF postrow.U_REPORT --><li class="report-icon"><a href="{postrow.U_REPORT}" title="{L_REPORT_POST}"><span>{L_REPORT_POST}</span></a></li><!-- ENDIF -->
131 <!-- IF postrow.U_WARN --><li class="warn-icon"><a href="{postrow.U_WARN}" title="{L_WARN_USER}"><span>{L_WARN_USER}</span></a></li><!-- ENDIF -->
132 <!-- IF postrow.U_INFO --><li class="info-icon"><a href="{postrow.U_INFO}" title="{L_INFORMATION}"><span>{L_INFORMATION}</span></a></li><!-- ENDIF -->
133 <!-- IF postrow.U_QUOTE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF -->
134 </ul>
135 <!-- ENDIF -->
136 <!-- ENDIF -->
137
138 <h3 <!-- IF postrow.S_FIRST_ROW -->class="first"<!-- ENDIF -->><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></h3>
139 <p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> &raquo; {postrow.POST_DATE} </p>
140
141 <!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
142 <p class="rules">
143 <!-- IF postrow.S_POST_UNAPPROVED -->{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}"><strong>{L_POST_UNAPPROVED}</strong></a><br /><!-- ENDIF -->
144 <!-- IF postrow.S_POST_REPORTED -->{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a><!-- ENDIF -->
145 </p>
146 <!-- ENDIF -->
147
148 <div class="content">{postrow.MESSAGE}</div>
149
150 <!-- IF postrow.S_HAS_ATTACHMENTS -->
151 <dl class="attachbox">
152 <dt>{L_ATTACHMENTS}</dt>
153 <!-- BEGIN attachment -->
154 <dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
155 <!-- END attachment -->
156 </dl>
157 <!-- ENDIF -->
158
159 <!-- IF postrow.S_DISPLAY_NOTICE --><div class="rules">{L_DOWNLOAD_NOTICE}</div><!-- ENDIF -->
160 <!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
161 <div class="notice">{postrow.EDITED_MESSAGE}
162 <!-- IF postrow.EDIT_REASON --><br /><strong>{L_REASON}:</strong> <em>{postrow.EDIT_REASON}</em><!-- ENDIF -->
163 </div>
164 <!-- ENDIF -->
165
166 <!-- IF postrow.BUMPED_MESSAGE --><div class="notice"><br /><br />{postrow.BUMPED_MESSAGE}</div><!-- ENDIF -->
167 <!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
168 <!-- ENDIF -->
169
170 </div>
171
172 <!-- IF not postrow.S_IGNORE_POST -->
173 <dl class="postprofile" id="profile{postrow.POST_ID}">
174 <dt>
175 <!-- IF postrow.POSTER_AVATAR -->
176 <!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><br />
177 <!-- ENDIF -->
178 <!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
179 </dt>
180
181 <!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
182
183 <dd>&nbsp;</dd>
184
185 <!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->
186 <!-- IF postrow.POSTER_JOINED --><dd><strong>{L_JOINED}:</strong> {postrow.POSTER_JOINED}</dd><!-- ENDIF -->
187 <!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
188
189 <!-- IF postrow.S_PROFILE_FIELD1 -->
190 <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
191 <dd><strong>{postrow.PROFILE_FIELD1_NAME}:</strong> {postrow.PROFILE_FIELD1_VALUE}</dd>
192 <!-- ENDIF -->
193
194 <!-- BEGIN custom_fields -->
195 <dd><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
196 <!-- END custom_fields -->
197
198 <!-- IF not S_IS_BOT -->
199 <!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER -->
200 <dd>
201 <ul class="profile-icons">
202 <!-- IF postrow.U_PM --><li class="pm-icon"><a href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
203 <!-- IF postrow.U_EMAIL --><li class="email-icon"><a href="{postrow.U_EMAIL}" title="{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}"><span>{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}</span></a></li><!-- ENDIF -->
204 <!-- IF postrow.U_WWW --><li class="web-icon"><a href="{postrow.U_WWW}" title="{L_VISIT_WEBSITE}: {postrow.U_WWW}"><span>{L_WEBSITE}</span></a></li><!-- ENDIF -->
205 <!-- IF postrow.U_MSN --><li class="msnm-icon"><a href="{postrow.U_MSN}" onclick="popup(this.href, 550, 320); return false;" title="{L_MSNM}"><span>{L_MSNM}</span></a></li><!-- ENDIF -->
206 <!-- IF postrow.U_ICQ --><li class="icq-icon"><a href="{postrow.U_ICQ}" onclick="popup(this.href, 550, 320); return false;" title="{L_ICQ}"><span>{L_ICQ}</span></a></li><!-- ENDIF -->
207 <!-- IF postrow.U_YIM --><li class="yahoo-icon"><a href="{postrow.U_YIM}" onclick="popup(this.href, 780, 550); return false;" title="{L_YIM}"><span>{L_YIM}</span></a></li><!-- ENDIF -->
208 <!-- IF postrow.U_AIM --><li class="aim-icon"><a href="{postrow.U_AIM}" onclick="popup(this.href, 550, 320); return false;" title="{L_AIM}"><span>{L_AIM}</span></a></li><!-- ENDIF -->
209 <!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
210 </ul>
211 </dd>
212 <!-- ENDIF -->
213 <!-- ENDIF -->
214
215 </dl>
216 <!-- ENDIF -->
217
218 <div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
219
220 <span class="corners-bottom"><span></span></span></div>
221 </div>
222
223 <hr class="divider" />
224<!-- END postrow -->
225<!-- IF S_QUICK_REPLY -->
226 <!-- INCLUDE quickreply_editor.html -->
227<!-- ENDIF -->
228<!-- IF S_NUM_POSTS > 1 or PREVIOUS_PAGE -->
229 <form id="viewtopic" method="post" action="{S_TOPIC_ACTION}">
230
231 <fieldset class="display-options" style="margin-top: 0; ">
232 <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
233 <!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
234 <!-- IF not S_IS_BOT -->
235 <label>{L_DISPLAY_POSTS}: {S_SELECT_SORT_DAYS}</label>
236 <label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label> <label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label>
237 <!-- ENDIF -->
238 </fieldset>
239
240 </form>
241 <hr />
242<!-- ENDIF -->
243
244<div class="topic-actions">
245 <div class="buttons">
246 <!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
247 <div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->reply-icon<!-- ENDIF -->"><a href="{U_POST_REPLY_TOPIC}" title="<!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF -->"><span></span><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a></div>
248 <!-- ENDIF -->
249 </div>
250
251 <!-- IF PAGINATION or TOTAL_POSTS -->
252 <div class="pagination">
253 {TOTAL_POSTS}
254 <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
255 </div>
256 <!-- ENDIF -->
257</div>
258
259<!-- INCLUDE jumpbox.html -->
260
261<!-- IF S_TOPIC_MOD -->
262 <form method="post" action="{S_MOD_ACTION}">
263 <fieldset class="quickmod">
264 <label for="quick-mod-select">{L_QUICK_MOD}:</label> {S_TOPIC_MOD} <input type="submit" value="{L_GO}" class="button2" />
265 {S_FORM_TOKEN}
266 </fieldset>
267 </form>
268<!-- ENDIF -->
269
270<!-- IF S_DISPLAY_ONLINE_LIST -->
271 <h3><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></h3>
272 <p>{LOGGED_IN_USER_LIST}</p>
273<!-- ENDIF -->
274
275<!-- INCLUDE overall_footer.html -->
Note: See TracBrowser for help on using the repository browser.