- a bunch of fixes
[phpbb.git] / phpBB / styles / subSilver / template / viewtopic_body.html
blobbee02f94eeddcd72f2e83be8eac132c152a01993
1 <!-- INCLUDE overall_header.html -->
3 <!-- IF S_FORUM_RULES -->
4 <div class="forumrules">
5 <!-- IF U_FORUM_RULES -->
6 <h3 style="color:red">{L_FORUM_RULES}</h3><br />
7 <a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
8 <!-- ELSE -->
9 <h3 style="color:red">{L_FORUM_RULES}</h3><br />
10 {FORUM_RULES}
11 <!-- ENDIF -->
12 </div>
14 <br clear="all" />
15 <!-- ENDIF -->
17 <div id="pageheader">
18 <h2><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2>
20 <!-- IF MODERATORS -->
21 <p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p>
22 <!-- ENDIF -->
23 <!-- IF U_MCP -->
24 <p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
25 <!-- ENDIF -->
26 </div>
28 <br clear="all" /><br />
30 <div id="pagecontent">
32 <table width="100%" cellspacing="1">
33 <tr>
34 <td align="left" valign="middle" nowrap="nowrap"><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a></td>
35 <!-- IF TOTAL_POSTS -->
36 <td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
37 <td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
38 <td class="gensmall" width="100%" align="right" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
39 <!-- ENDIF -->
40 </tr>
41 </table>
43 <table class="tablebg" width="100%" cellspacing="1">
44 <tr>
45 <td class="cat" colspan="2">
46 <table width="100%" cellspacing="0">
47 <tr>
48 <td class="nav" nowrap="nowrap">&nbsp;
49 <!-- IF U_WATCH_TOPIC --><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC or U_BOOKMARK_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
50 <!-- IF U_BOOKMARK_TOPIC --><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
51 <!-- IF U_PRINT_TOPIC --><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}">{L_PRINT_TOPIC}</a><!-- IF U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
52 <!-- IF U_EMAIL_TOPIC --><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}">{L_EMAIL_TOPIC}</a><!-- IF U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
53 <!-- IF U_BUMP_TOPIC --><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a><!-- ENDIF -->
54 </td>
55 <td class="nav" align="right" nowrap="nowrap"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a><!-- IF U_VIEW_UNREAD_POST --> | <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a><!-- ENDIF --> | <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>&nbsp;</td>
56 </tr>
57 </table>
58 </td>
59 </tr>
60 <!-- IF S_HAS_POLL -->
61 <tr>
62 <td class="row2" colspan="2" align="center"><br clear="all" />
64 <form method="post" action="{S_POLL_ACTION}">
66 <table cellspacing="0" cellpadding="4" border="0" align="center">
67 <tr>
68 <td align="center"><span class="gen"><b>{POLL_QUESTION}</b></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td>
69 </tr>
70 <tr>
71 <td align="left">
72 <table cellspacing="0" cellpadding="2" border="0">
73 <!-- BEGIN poll_option -->
74 <tr>
75 <!-- IF S_CAN_VOTE -->
76 <td>
77 <!-- IF S_IS_MULTI_CHOICE -->
78 <input type="checkbox" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
79 <!-- ELSE -->
80 <input type="radio" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
81 <!-- ENDIF -->
82 </td>
83 <!-- ENDIF -->
84 <td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td>
85 <!-- IF S_DISPLAY_RESULTS -->
86 <td>{POLL_LEFT_CAP_IMG}{poll_option.POLL_OPTION_IMG}{POLL_RIGHT_CAP_IMG}</td>
87 <td class="gen" align="right"><b>&nbsp;{poll_option.POLL_OPTION_PERCENT}&nbsp;</b></td>
88 <td class="gen" align="center">[ {poll_option.POLL_OPTION_RESULT} ]</td>
89 <!-- IF poll_option.POLL_OPTION_VOTED -->
90 <td class="gensmall" valign="top"><b title="{L_POLL_VOTED_OPTION}">x</b></td>
91 <!-- ENDIF -->
92 <!-- ENDIF -->
93 </tr>
94 <!-- END poll_option -->
95 </table>
96 </td>
97 </tr>
98 <!-- IF S_CAN_VOTE -->
99 <tr>
100 <td align="center"><span class="gensmall">{L_MAX_VOTES}</span><br /><br /><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="btnlite" /></td>
101 </tr>
102 <!-- ENDIF -->
103 <!-- IF S_DISPLAY_RESULTS -->
104 <tr>
105 <td class="gensmall" colspan="4" align="center"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></td>
106 </tr>
107 <!-- ELSE -->
108 <tr>
109 <td align="center"><span class="gensmall"><b><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></b></span></td>
110 </tr>
111 <!-- ENDIF -->
112 </table>
113 {S_HIDDEN_FIELDS}
115 </form>
117 </td>
118 </tr>
119 <!-- ENDIF -->
120 </table>
122 <!-- BEGIN postrow -->
123 <table class="tablebg" width="100%" cellspacing="1">
124 <!-- IF postrow.S_FIRST_ROW -->
125 <tr>
126 <th>{L_AUTHOR}</th>
127 <th>{L_MESSAGE}</th>
128 </tr>
129 <!-- ENDIF -->
130 <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
132 <!-- IF postrow.S_IGNORE_POST -->
133 <td class="gensmall" colspan="2" height="25" align="center"><!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>{postrow.L_IGNORE_POST}</td>
134 <!-- ELSE -->
136 <td align="center" valign="middle">
137 <!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>
138 <b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b>
139 </td>
140 <td width="100%" height="25">
141 <table width="100%" cellspacing="0">
142 <tr>
143 <!-- IF postrow.POST_ICON_IMG -->
144 <td><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" title="" /></td>
145 <!-- ENDIF -->
146 <td class="gensmall" width="100%"><div style="float:left">&nbsp;<b>{L_POST_SUBJECT}:</b> {postrow.POST_SUBJECT}</div><div style="float:right"><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><b>{L_POSTED}:</b> {postrow.POST_DATE}&nbsp;</div></td>
147 </tr>
148 </table>
149 </td>
150 </tr>
152 <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
154 <td valign="top">
155 <table cellspacing="4" align="center" width="150">
156 <!-- IF postrow.ONLINE_IMG -->
157 <tr>
158 <td>{postrow.ONLINE_IMG}</td>
159 </tr>
160 <!-- ENDIF -->
161 <!-- IF postrow.POSTER_RANK -->
162 <tr>
163 <td class="postdetails">{postrow.POSTER_RANK}</td>
164 </tr>
165 <!-- ENDIF -->
166 <!-- IF postrow.RANK_IMAGE -->
167 <tr>
168 <td>{postrow.RANK_IMAGE}</td>
169 </tr>
170 <!-- ENDIF -->
171 <!-- IF postrow.POSTER_AVATAR -->
172 <tr>
173 <td>{postrow.POSTER_AVATAR}</td>
174 </tr>
175 <!-- ENDIF -->
176 </table>
178 <span class="postdetails">
179 <!-- IF postrow.POSTER_JOINED --><br /><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
180 <!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
181 <!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->
183 <!-- IF postrow.S_PROFILE_FIELD1 -->
184 <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
185 <br /><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}
186 <!-- ENDIF -->
188 <!-- BEGIN custom_fields -->
189 <br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}
190 <!-- END custom_fields -->
191 </span>
193 </td>
194 <td valign="top">
195 <table width="100%" cellspacing="5">
196 <tr>
197 <td>
198 <!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
199 <table width="100%" cellspacing="0">
200 <tr>
201 <td class="gensmall"><!-- IF postrow.S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span> <!-- ENDIF --> <!-- IF postrow.S_POST_REPORTED --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></td>
202 </tr>
203 </table>
205 <br clear="all" />
206 <!-- ENDIF -->
208 <div class="postbody">{postrow.MESSAGE}</div>
210 <!-- IF postrow.S_HAS_ATTACHMENTS -->
211 <br clear="all" /><br />
213 <table class="tablebg" width="100%" cellspacing="1">
214 <tr>
215 <td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
216 </tr>
217 <!-- BEGIN attachment -->
218 <tr>
219 <!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td>
220 </tr>
221 <!-- END attachment -->
222 </table>
223 <!-- ENDIF -->
225 <!-- IF postrow.S_DISPLAY_NOTICE -->
226 <span class="gensmall" style="color:red;"><br /><br />{L_DOWNLOAD_NOTICE}</span>
227 <!-- ENDIF -->
228 <!-- IF postrow.SIGNATURE -->
229 <span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>
230 <!-- ENDIF -->
232 <!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
233 <!-- IF postrow.EDIT_REASON -->
234 <br /><br />
235 <table class="tablebg" width="100%" cellspacing="1">
236 <tr>
237 <td class="row3"><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
238 </tr>
239 <tr>
240 <td class="row2"><span class="genmed">{postrow.EDIT_REASON}</span></td>
241 </tr>
242 </table>
243 <!-- ELSE -->
244 <br /><br />
245 <span class="gensmall">{postrow.EDITED_MESSAGE}</span>
246 <!-- ENDIF -->
247 <!-- ENDIF -->
249 <!-- IF postrow.BUMPED_MESSAGE -->
250 <span class="gensmall">{postrow.BUMPED_MESSAGE}</span>
251 <!-- ENDIF -->
253 <!-- IF not postrow.S_HAS_ATTACHMENTS --><br clear="all" /><br /><!-- ENDIF -->
255 <table width="100%" cellspacing="0">
256 <tr valign="middle">
257 <td class="gensmall" align="right">
258 <!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF -->
259 <!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF -->
260 <!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF -->
261 <!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->
262 </td>
263 </tr>
264 </table>
265 </td>
266 </tr>
267 </table>
268 </td>
269 </tr>
271 <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
273 <td nowrap="nowrap">&nbsp;</td>
274 <td><div class="gensmall" style="float: left;">&nbsp;<!-- IF postrow.U_PROFILE --><a href="{postrow.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->&nbsp;</div> <div class="gensmall" style="float:right"><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> &nbsp;</div></td>
275 </tr>
277 <!-- ENDIF -->
279 <tr>
280 <td class="spacer" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
281 </tr>
282 </table>
283 <!-- END postrow -->
285 <table width="100%" cellspacing="1" class="tablebg">
286 <tr align="center">
287 <td class="cat" colspan="2"><form name="viewtopic" method="post" action="{S_TOPIC_ACTION}"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="btnlite" type="submit" value="{L_GO}" name="sort" /></form></td>
288 </tr>
289 </table>
291 <table width="100%" cellspacing="1">
292 <tr>
293 <td align="left" valign="middle" nowrap="nowrap"><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a></td>
294 <!-- IF TOTAL_POSTS -->
295 <td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
296 <td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
297 <td class="gensmall" width="100%" align="right" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
298 <!-- ENDIF -->
299 </tr>
300 </table>
302 </div>
304 <div id="pagefooter"></div>
306 <br clear="all" />
308 <!-- INCLUDE breadcrumbs.html -->
310 <!-- IF S_DISPLAY_ONLINE_LIST -->
311 <br clear="all" />
313 <table class="tablebg" width="100%" cellspacing="1">
314 <tr>
315 <td class="cat"><h4>{L_WHO_IS_ONLINE}</h4></td>
316 </tr>
317 <tr>
318 <td class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td>
319 </tr>
320 </table>
321 <!-- ENDIF -->
323 <br clear="all" />
325 <table width="100%" cellspacing="1">
326 <tr>
327 <td width="40%" valign="top" nowrap="nowrap" align="left"><!-- IF S_TOPIC_MOD --><form method="post" action="{S_MOD_ACTION}"><span class="gensmall">{L_QUICK_MOD}:</span> {S_TOPIC_MOD} <input class="btnlite" type="submit" value="{L_GO}" /></form><!-- ENDIF --></td>
328 <td align="right" valign="top" nowrap="nowrap"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span></td>
329 </tr>
330 </table>
332 <br clear="all" />
334 <table width="100%" cellspacing="0">
335 <tr>
336 <td><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
337 <td align="right"><!-- INCLUDE jumpbox.html --></td>
338 </tr>
339 </table>
341 <!-- INCLUDE overall_footer.html -->