source: branches/posledni/forum/styles/wowred/template/posting_body.html

Last change on this file was 400, checked in by george, 16 years ago
  • Přidáno: Nové forum phpBB 3.
File size: 15.1 KB
Line 
1<!-- IF S_PRIVMSGS -->
2 <!-- INCLUDE ucp_header.html -->
3<!-- ELSE -->
4 <!-- INCLUDE overall_header.html -->
5<!-- ENDIF -->
6
7<!-- IF S_FORUM_RULES -->
8 <div class="forumrules">
9 <!-- IF U_FORUM_RULES -->
10 <h3>{L_FORUM_RULES}</h3><br />
11 <a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
12 <!-- ELSE -->
13 <h3>{L_FORUM_RULES}</h3><br />
14 {FORUM_RULES}
15 <!-- ENDIF -->
16 </div>
17
18 <br clear="all" />
19<!-- ENDIF -->
20
21<!-- IF not S_PRIVMSGS -->
22 <div id="pageheader">
23 <h2><!-- IF TOPIC_TITLE --><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- ELSE --><a class="titles" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><!-- ENDIF --></h2>
24
25 <!-- IF MODERATORS -->
26 <p class="moderators">{L_MODERATORS}: {MODERATORS}</p>
27 <!-- ENDIF -->
28 <!-- IF U_MCP -->
29 <p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
30 <!-- ENDIF -->
31 </div>
32
33 <br clear="all" /><br />
34<!-- ENDIF -->
35
36<!-- IF not S_SHOW_PM_BOX -->
37 <form action="{S_POST_ACTION}" method="post" name="postform"{S_FORM_ENCTYPE}>
38<!-- ENDIF -->
39
40<!-- IF S_DRAFT_LOADED -->
41 <table class="tablebg" width="100%" cellspacing="1">
42 <tr>
43 <th align="center">{L_INFORMATION}</th>
44 </tr>
45 <tr>
46 <td class="row1" align="center"><span class="gen"><!-- IF S_PRIVMSGS -->{L_DRAFT_LOADED_PM}<!-- ELSE -->{L_DRAFT_LOADED}<!-- ENDIF --></span></td>
47 </tr>
48 </table>
49
50 <br clear="all" />
51<!-- ENDIF -->
52
53<!-- IF S_SHOW_DRAFTS -->
54 <table class="tablebg" width="100%" cellspacing="1">
55 <tr>
56 <th colspan="3" align="center">{L_LOAD_DRAFT}</th>
57 </tr>
58 <tr>
59 <td class="row1" colspan="3" align="center"><span class="gen">{L_LOAD_DRAFT_EXPLAIN}</span></td>
60 </tr>
61 <tr>
62 <th>{L_SAVE_DATE}</th>
63 <th>{L_DRAFT_TITLE}</th>
64 <th>{L_OPTIONS}</th>
65 </tr>
66 <!-- BEGIN draftrow -->
67
68 <!-- IF draftrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
69
70 <td class="postdetails" style="padding: 4px;">{draftrow.DATE}</td>
71 <td style="padding: 4px;"><b class="gen">{draftrow.DRAFT_SUBJECT}</b>
72 <!-- IF draftrow.S_LINK_TOPIC --><br /><span class="gensmall">{L_TOPIC}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a></span>
73 <!-- ELSEIF draftrow.S_LINK_FORUM --><br /><span class="gensmall">{L_FORUM}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a></span>
74 <!-- ELSEIF draftrow.S_LINK_PM --><br /><span class="gensmall">{L_PRIVATE_MESSAGE}</span>
75 <!-- ELSE --><br /><span class="gensmall">{L_NO_TOPIC_FORUM}</span><!-- ENDIF -->
76 </td>
77 <td style="padding: 4px;" align="center"><span class="gen"><a href="{draftrow.U_INSERT}">{L_LOAD_DRAFT}</a></td>
78 </tr>
79 <!-- END draftrow -->
80 </table>
81
82 <br clear="all" />
83<!-- ENDIF -->
84
85
86<!-- IF S_POST_REVIEW --><!-- INCLUDE posting_review.html --><!-- ENDIF -->
87<!-- IF S_DISPLAY_PREVIEW --><!-- INCLUDE posting_preview.html --><!-- ENDIF -->
88
89
90<!-- IF not S_PRIVMSGS and S_UNGLOBALISE -->
91 <table class="tablebg" width="100%" cellspacing="1">
92 <tr>
93 <th>{L_MOVE}</th>
94 </tr>
95 <tr>
96 <td class="spacer" colspan="2"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>
97 </tr>
98 <tr>
99 <td class="row2" align="center"><span class="gen">{L_UNGLOBALISE_EXPLAIN}<br /><br />{L_SELECT_DESTINATION_FORUM}&nbsp;&nbsp;</span><select name="to_forum_id">{S_FORUM_SELECT}</select><br /><br /><input class="btnmain" type="submit" name="post" value="{L_CONFIRM}" />&nbsp;&nbsp; <input class="btnlite" type="submit" name="cancel_unglobalise" value="{L_CANCEL}" /></td>
100 </tr>
101 </table>
102
103 <br clear="all" />
104<!-- ENDIF -->
105
106<table class="tablebg" width="100%" cellspacing="1">
107<tr>
108 <th colspan="2"><b>{L_POST_A}</b></th>
109</tr>
110
111<!-- IF ERROR -->
112 <tr>
113 <td class="row2" colspan="2" align="center"><span class="genmed error">{ERROR}</span></td>
114 </tr>
115<!-- ENDIF -->
116
117<!-- IF S_DELETE_ALLOWED -->
118 <tr>
119 <td class="row1"><b class="genmed">{L_DELETE_POST}:</b></td>
120 <td class="row2"><input type="checkbox" class="radio" name="delete" /> <span class="gensmall">[ {L_DELETE_POST_WARN} ]</span></td>
121 </tr>
122<!-- ENDIF -->
123
124<!-- IF S_SHOW_TOPIC_ICONS or S_SHOW_PM_ICONS -->
125 <tr>
126 <td class="row1"><b class="genmed">{L_ICON}:</b></td>
127 <td class="row2">
128 <table width="100%" cellspacing="0" cellpadding="0" border="0">
129 <tr>
130 <td><input type="radio" class="radio" name="icon" value="0"{S_NO_ICON_CHECKED} /><span class="genmed"><!-- IF S_SHOW_TOPIC_ICONS -->{L_NO_TOPIC_ICON}<!-- ELSE -->{L_NO_PM_ICON}<!-- ENDIF --></span> <!-- BEGIN topic_icon --><span style="white-space: nowrap;"><input type="radio" class="radio" name="icon" value="{topic_icon.ICON_ID}"{topic_icon.S_ICON_CHECKED} /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" hspace="2" vspace="2" /></span> <!-- END topic_icon --></td>
131 </tr>
132 </table>
133 </td>
134 </tr>
135<!-- ENDIF -->
136
137<!-- IF not S_PRIVMSGS and S_DISPLAY_USERNAME -->
138 <tr>
139 <td class="row1"><b class="genmed">{L_USERNAME}:</b></td>
140 <td class="row2"><input class="post" type="text" tabindex="1" name="username" size="25" value="{USERNAME}" /></td>
141 </tr>
142<!-- ENDIF -->
143
144<!-- IF S_PRIVMSGS -->
145 <tr>
146 <td class="row1"><b class="genmed">{L_TO}:</b></td>
147 <td class="row2">
148 {S_HIDDEN_ADDRESS_FIELD}
149 <!-- BEGIN to_recipient -->
150 <span style="display: block; float: {S_CONTENT_FLOW_BEGIN};" class="nowrap genmed"><strong>
151 <!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><span class="sep">{to_recipient.NAME}</span></a><!-- ELSE -->{to_recipient.NAME_FULL}<!-- ENDIF --></strong>&nbsp;<!-- IF not S_EDIT_POST --><input class="post" type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="{L_REMOVE}" />&nbsp;<!-- ENDIF -->
152 </span>
153 <!-- BEGINELSE -->
154 <span class="genmed">{L_NO_TO_RECIPIENT}</span>
155 <!-- END to_recipient -->
156 </td>
157 </tr>
158 <!-- IF S_ALLOW_MASS_PM -->
159 <tr>
160 <td class="row1"><b class="genmed">{L_BCC}:</b></td>
161 <td class="row2">
162 <!-- BEGIN bcc_recipient -->
163 <span class="genmed nowrap"><strong>
164 <!-- IF bcc_recipient.IS_GROUP --><a href="{bcc_recipient.U_VIEW}"><span class="sep">{bcc_recipient.NAME}</span></a><!-- ELSE -->{bcc_recipient.NAME_FULL}<!-- ENDIF --></strong>&nbsp;<!-- IF not S_EDIT_POST --><input class="post" type="submit" name="remove_{bcc_recipient.TYPE}[{bcc_recipient.UG_ID}]" value="{L_REMOVE}" />&nbsp;<!-- ENDIF -->
165 </span>
166 <!-- BEGINELSE -->
167 <span class="genmed">{L_NO_BCC_RECIPIENT}</span>
168 <!-- END bcc_recipient -->
169 </td>
170 </tr>
171 <!-- ENDIF -->
172<!-- ENDIF -->
173
174<tr>
175 <td class="row1" width="22%"><b class="genmed">{L_SUBJECT}:</b></td>
176 <td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}" /></td>
177</tr>
178<tr>
179 <td class="row1" valign="top"><b class="genmed">{L_MESSAGE_BODY}:</b><br /><span class="gensmall">{L_MESSAGE_BODY_EXPLAIN}&nbsp;</span><br /><br />
180 <!-- IF S_SMILIES_ALLOWED -->
181 <table width="100%" cellspacing="5" cellpadding="0" border="0" align="center">
182 <tr>
183 <td class="gensmall" align="center"><b>{L_SMILIES}</b></td>
184 </tr>
185 <tr>
186 <td align="center">
187 <!-- BEGIN smiley -->
188 <a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;" style="line-height: 20px;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" hspace="2" vspace="2" /></a>
189 <!-- END smiley -->
190 </td>
191 </tr>
192
193 <!-- IF S_SHOW_SMILEY_LINK -->
194 <tr>
195 <td align="center"><a class="nav" href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a></td>
196 </tr>
197 <!-- ENDIF -->
198
199 </table>
200 <!-- ENDIF -->
201 </td>
202 <td class="row2" valign="top">
203 <script type="text/javascript">
204 // <![CDATA[
205 var form_name = 'postform';
206 var text_name = 'message';
207 // ]]>
208 </script>
209
210 <table width="100%" cellspacing="0" cellpadding="0" border="0">
211 <!-- INCLUDE posting_buttons.html -->
212 <tr>
213 <td valign="top" style="width: 100%;"><textarea name="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" style="width: 98%;">{MESSAGE}</textarea></td>
214 <!-- IF S_BBCODE_ALLOWED -->
215 <td width="80" align="center" valign="top">
216 <script type="text/javascript">
217 // <![CDATA[
218 colorPalette('v', 7, 6)
219 // ]]>
220 </script>
221 </td>
222 <!-- ENDIF -->
223 </tr>
224 </table>
225 </td>
226</tr>
227
228<!-- IF S_INLINE_ATTACHMENT_OPTIONS -->
229 <tr>
230 <td class="row1"><b class="genmed">{L_ATTACHMENTS}:</b></td>
231 <td class="row2"><select name="attachments">{S_INLINE_ATTACHMENT_OPTIONS}</select>&nbsp;<input type="button" class="btnbbcode" accesskey="a" value="{L_PLACE_INLINE}" name="attachinline" onclick="attach_form = document.forms[form_name].elements['attachments']; attach_inline(attach_form.value, attach_form.options[attach_form.selectedIndex].text);" onmouseover="helpline('a')" onmouseout="helpline('tip')" />
232 </td>
233 </tr>
234<!-- ENDIF -->
235
236<tr>
237 <td class="row1" valign="top"><b class="genmed">{L_OPTIONS}:</b><br />
238 <table cellspacing="2" cellpadding="0" border="0">
239 <tr>
240 <td class="gensmall">{BBCODE_STATUS}</td>
241 </tr>
242 <!-- IF S_BBCODE_ALLOWED -->
243 <tr>
244 <td class="gensmall">{IMG_STATUS}</td>
245 </tr>
246 <tr>
247 <td class="gensmall">{FLASH_STATUS}</td>
248 </tr>
249 <tr>
250 <td class="gensmall">{URL_STATUS}</td>
251 </tr>
252 <tr>
253 <td class="gensmall">{SMILIES_STATUS}</td>
254 </tr>
255 <!-- ENDIF -->
256 </table>
257 </td>
258 <td class="row2">
259 <table cellpadding="1">
260 <!-- IF S_BBCODE_ALLOWED -->
261 <tr>
262 <td><input type="checkbox" class="radio" name="disable_bbcode"{S_BBCODE_CHECKED} /></td>
263 <td class="gen">{L_DISABLE_BBCODE}</td>
264 </tr>
265 <!-- ENDIF -->
266
267 <!-- IF S_SMILIES_ALLOWED -->
268 <tr>
269 <td><input type="checkbox" class="radio" name="disable_smilies"{S_SMILIES_CHECKED} /></td>
270 <td class="gen">{L_DISABLE_SMILIES}</td>
271 </tr>
272 <!-- ENDIF -->
273
274 <!-- IF S_LINKS_ALLOWED -->
275 <tr>
276 <td><input type="checkbox" class="radio" name="disable_magic_url"{S_MAGIC_URL_CHECKED} /></td>
277 <td class="gen">{L_DISABLE_MAGIC_URL}</td>
278 </tr>
279 <!-- ENDIF -->
280
281 <!-- IF S_SIG_ALLOWED -->
282 <tr>
283 <td><input type="checkbox" class="radio" name="attach_sig"{S_SIGNATURE_CHECKED} /></td>
284 <td class="gen">{L_ATTACH_SIG}</td>
285 </tr>
286 <!-- ENDIF -->
287
288 <!-- IF S_NOTIFY_ALLOWED -->
289 <tr>
290 <td><input type="checkbox" class="radio" name="notify"{S_NOTIFY_CHECKED} /></td>
291 <td class="gen">{L_NOTIFY_REPLY}</td>
292 </tr>
293 <!-- ENDIF -->
294
295 <!-- IF not S_PRIVMSGS -->
296 <!-- IF S_LOCK_TOPIC_ALLOWED -->
297 <tr>
298 <td><input type="checkbox" class="radio" name="lock_topic"{S_LOCK_TOPIC_CHECKED} /></td>
299 <td class="gen">{L_LOCK_TOPIC}</td>
300 </tr>
301 <!-- ENDIF -->
302
303 <!-- IF S_LOCK_POST_ALLOWED -->
304 <tr>
305 <td><input type="checkbox" class="radio" name="lock_post"{S_LOCK_POST_CHECKED} /></td>
306 <td class="gen">{L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</td>
307 </tr>
308 <!-- ENDIF -->
309
310 <!-- IF S_TYPE_TOGGLE -->
311 <tr>
312 <td>&nbsp;</td>
313 <td class="gen"><!-- IF S_EDIT_POST -->{L_CHANGE_TOPIC_TO}<!-- ELSE -->{L_POST_TOPIC_AS}<!-- ENDIF -->: <!-- BEGIN topic_type --><input type="radio" class="radio" name="topic_type" value="{topic_type.VALUE}"{topic_type.S_CHECKED} />{topic_type.L_TOPIC_TYPE}&nbsp;&nbsp;<!-- END topic_type --></td>
314 </tr>
315 <!-- ENDIF -->
316 <!-- ENDIF -->
317 </table>
318 </td>
319</tr>
320
321<!-- IF S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY -->
322 <tr>
323 <td class="row1"><b class="genmed">{L_STICK_TOPIC_FOR}:</b><br /><span class="gensmall">{L_STICKY_ANNOUNCE_TIME_LIMIT}</span></td>
324 <td class="row2"><input class="post" type="text" name="topic_time_limit" size="3" maxlength="3" value="{TOPIC_TIME_LIMIT}" />&nbsp;<b class="gen">{L_DAYS}</b> <span class="gensmall">{L_STICK_TOPIC_FOR_EXPLAIN}</span></td>
325 </tr>
326<!-- ENDIF -->
327
328<!-- IF S_EDIT_REASON -->
329 <tr>
330 <td class="row1" valign="top"><b class="genmed">{L_EDIT_REASON}:</b></td>
331 <td class="row2"><input class="post" type="text" name="edit_reason" size="50" value="{EDIT_REASON}" /></td>
332 </tr>
333<!-- ENDIF -->
334
335<!-- IF S_CONFIRM_CODE -->
336 <tr>
337 <th colspan="2" valign="middle">{L_POST_CONFIRMATION}</th>
338 </tr>
339 <tr>
340 <td class="row3" colspan="2"><span class="gensmall">{L_POST_CONFIRM_EXPLAIN}</span></td>
341 </tr>
342 <tr>
343 <td class="row1" colspan="2" align="center">
344 <input type="hidden" name="confirm_id" value="{CONFIRM_ID}" />
345 {CONFIRM_IMAGE}
346 </td>
347 </tr>
348 <tr>
349 <td class="row1"><b class="genmed">{L_CONFIRM_CODE}: </b><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
350 <td class="row2"><input class="post" type="text" name="confirm_code" size="8" maxlength="8" /></td>
351 </tr>
352<!-- ENDIF -->
353
354<!-- IF S_SHOW_ATTACH_BOX or S_SHOW_POLL_BOX -->
355 <tr>
356 <td class="cat" colspan="2" align="center">
357 <input class="btnlite" type="submit" tabindex="5" name="preview" value="{L_PREVIEW}" />
358 &nbsp; <input class="btnmain" type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" />
359 <!-- IF S_SAVE_ALLOWED -->&nbsp; <input class="btnlite" type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE}" /><!-- ENDIF -->
360 <!-- IF S_HAS_DRAFTS -->&nbsp; <input class="btnlite" type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD}" /><!-- ENDIF -->
361 &nbsp; <input class="btnlite" type="submit" accesskey="c" tabindex="9" name="cancel" value="{L_CANCEL}" />
362 </td>
363 </tr>
364
365 <!-- IF S_SHOW_ATTACH_BOX --><!-- INCLUDE posting_attach_body.html --><!-- ENDIF -->
366
367 <!-- IF S_SHOW_POLL_BOX -->
368 <!-- INCLUDE posting_poll_body.html -->
369 <!-- ELSEIF S_POLL_DELETE -->
370 <tr>
371 <td class="row1"><span class="genmed"><b>{L_POLL_DELETE}:</b></span></td>
372 <td class="row2"><input type="checkbox" class="radio" name="poll_delete" /></td>
373 </tr>
374 <!-- ENDIF -->
375<!-- ENDIF -->
376
377<tr>
378 <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}
379 <input class="btnlite" type="submit" tabindex="10" name="preview" value="{L_PREVIEW}" />
380 &nbsp; <input class="btnmain" type="submit" accesskey="s" tabindex="11" name="post" value="{L_SUBMIT}" />
381 <!-- IF not S_SHOW_ATTACH_BOX and not S_SHOW_POLL_BOX -->
382 <!-- IF S_SAVE_ALLOWED -->&nbsp; <input class="btnlite" type="submit" accesskey="k" tabindex="12" name="save" value="{L_SAVE}" /><!-- ENDIF -->
383 <!-- IF S_HAS_DRAFTS -->&nbsp; <input class="btnlite" type="submit" accesskey="d" tabindex="13" name="load" value="{L_LOAD}" /><!-- ENDIF -->
384 <!-- ENDIF -->
385 &nbsp; <input class="btnlite" type="submit" accesskey="c" tabindex="14" name="cancel" value="{L_CANCEL}" />
386 </td>
387</tr>
388</table>
389
390<br clear="all" />
391
392<!-- IF S_DISPLAY_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF -->
393<!-- IF S_DISPLAY_HISTORY --><!-- INCLUDE ucp_pm_history.html --><!-- ENDIF -->
394
395<!-- IF S_PRIVMSGS -->
396 <!-- INCLUDE ucp_footer.html -->
397<!-- ELSE -->
398
399 <!-- INCLUDE breadcrumbs.html -->
400 {S_FORM_TOKEN}
401 </form>
402
403 <!-- IF S_DISPLAY_ONLINE_LIST -->
404 <br clear="all" />
405
406 <table class="tablebg" width="100%" cellspacing="1">
407 <tr>
408 <td class="cat"><h4>{L_WHO_IS_ONLINE}</h4></td>
409 </tr>
410 <tr>
411 <td class="row1"><span class="gensmall">{LOGGED_IN_USER_LIST}</span></td>
412 </tr>
413 </table>
414 <!-- ENDIF -->
415
416 <br clear="all" />
417
418 <table width="100%" cellspacing="1">
419 <tr>
420 <td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></td>
421 </tr>
422 </table>
423
424 <!-- INCLUDE overall_footer.html -->
425<!-- ENDIF -->
Note: See TracBrowser for help on using the repository browser.