]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blob - phpBB2/templates/christmasWithoutSnow/posting_body.tpl
c16b19cd0a64cf42fa52cf2422a894c7cc169001
[www.vanrenterghem.biz.git] / phpBB2 / templates / christmasWithoutSnow / posting_body.tpl
1 <script language="JavaScript" type="text/javascript">\r
2 <!--\r
3 // bbCode control by\r
4 // subBlue design\r
5 // www.subBlue.com\r
6 \r
7 // Startup variables\r
8 var imageTag = false;\r
9 var theSelection = false;\r
10 \r
11 // Check for Browser & Platform for PC & IE specific bits\r
12 // More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html\r
13 var clientPC = navigator.userAgent.toLowerCase(); // Get client info\r
14 var clientVer = parseInt(navigator.appVersion); // Get browser version\r
15 \r
16 var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));\r
17 var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1)\r
18                 && (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1)\r
19                 && (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));\r
20 var is_moz = 0;\r
21 \r
22 var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1));\r
23 var is_mac = (clientPC.indexOf("mac")!=-1);\r
24 \r
25 // Helpline messages\r
26 b_help = "{L_BBCODE_B_HELP}";\r
27 i_help = "{L_BBCODE_I_HELP}";\r
28 u_help = "{L_BBCODE_U_HELP}";\r
29 q_help = "{L_BBCODE_Q_HELP}";\r
30 c_help = "{L_BBCODE_C_HELP}";\r
31 l_help = "{L_BBCODE_L_HELP}";\r
32 o_help = "{L_BBCODE_O_HELP}";\r
33 p_help = "{L_BBCODE_P_HELP}";\r
34 w_help = "{L_BBCODE_W_HELP}";\r
35 a_help = "{L_BBCODE_A_HELP}";\r
36 s_help = "{L_BBCODE_S_HELP}";\r
37 f_help = "{L_BBCODE_F_HELP}";\r
38 \r
39 // Define the bbCode tags\r
40 bbcode = new Array();\r
41 bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]');\r
42 imageTag = false;\r
43 \r
44 // Shows the help messages in the helpline window\r
45 function helpline(help) {\r
46         document.post.helpbox.value = eval(help + "_help");\r
47 }\r
48 \r
49 \r
50 // Replacement for arrayname.length property\r
51 function getarraysize(thearray) {\r
52         for (i = 0; i < thearray.length; i++) {\r
53                 if ((thearray[i] == "undefined") || (thearray[i] == "") || (thearray[i] == null))\r
54                         return i;\r
55                 }\r
56         return thearray.length;\r
57 }\r
58 \r
59 // Replacement for arrayname.push(value) not implemented in IE until version 5.5\r
60 // Appends element to the array\r
61 function arraypush(thearray,value) {\r
62         thearray[ getarraysize(thearray) ] = value;\r
63 }\r
64 \r
65 // Replacement for arrayname.pop() not implemented in IE until version 5.5\r
66 // Removes and returns the last element of an array\r
67 function arraypop(thearray) {\r
68         thearraysize = getarraysize(thearray);\r
69         retval = thearray[thearraysize - 1];\r
70         delete thearray[thearraysize - 1];\r
71         return retval;\r
72 }\r
73 \r
74 \r
75 function checkForm() {\r
76 \r
77         formErrors = false;    \r
78 \r
79         if (document.post.message.value.length < 2) {\r
80                 formErrors = "{L_EMPTY_MESSAGE}";\r
81         }\r
82 \r
83         if (formErrors) {\r
84                 alert(formErrors);\r
85                 return false;\r
86         } else {\r
87                 bbstyle(-1);\r
88                 //formObj.preview.disabled = true;\r
89                 //formObj.submit.disabled = true;\r
90                 return true;\r
91         }\r
92 }\r
93 \r
94 function emoticon(text) {\r
95         var txtarea = document.post.message;\r
96         text = ' ' + text + ' ';\r
97         if (txtarea.createTextRange && txtarea.caretPos) {\r
98                 var caretPos = txtarea.caretPos;\r
99                 caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;\r
100                 txtarea.focus();\r
101         } else {\r
102                 txtarea.value  += text;\r
103                 txtarea.focus();\r
104         }\r
105 }\r
106 \r
107 function bbfontstyle(bbopen, bbclose) {\r
108         var txtarea = document.post.message;\r
109 \r
110         if ((clientVer >= 4) && is_ie && is_win) {\r
111                 theSelection = document.selection.createRange().text;\r
112                 if (!theSelection) {\r
113                         txtarea.value += bbopen + bbclose;\r
114                         txtarea.focus();\r
115                         return;\r
116                 }\r
117                 document.selection.createRange().text = bbopen + theSelection + bbclose;\r
118                 txtarea.focus();\r
119                 return;\r
120         }\r
121         else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))\r
122         {\r
123                 mozWrap(txtarea, bbopen, bbclose);\r
124                 return;\r
125         }\r
126         else\r
127         {\r
128                 txtarea.value += bbopen + bbclose;\r
129                 txtarea.focus();\r
130         }\r
131         storeCaret(txtarea);\r
132 }\r
133 \r
134 \r
135 function bbstyle(bbnumber) {\r
136         var txtarea = document.post.message;\r
137 \r
138         txtarea.focus();\r
139         donotinsert = false;\r
140         theSelection = false;\r
141         bblast = 0;\r
142 \r
143         if (bbnumber == -1) { // Close all open tags & default button names\r
144                 while (bbcode[0]) {\r
145                         butnumber = arraypop(bbcode) - 1;\r
146                         txtarea.value += bbtags[butnumber + 1];\r
147                         buttext = eval('document.post.addbbcode' + butnumber + '.value');\r
148                         eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');\r
149                 }\r
150                 imageTag = false; // All tags are closed including image tags :D\r
151                 txtarea.focus();\r
152                 return;\r
153         }\r
154 \r
155         if ((clientVer >= 4) && is_ie && is_win)\r
156         {\r
157                 theSelection = document.selection.createRange().text; // Get text selection\r
158                 if (theSelection) {\r
159                         // Add tags around selection\r
160                         document.selection.createRange().text = bbtags[bbnumber] + theSelection + bbtags[bbnumber+1];\r
161                         txtarea.focus();\r
162                         theSelection = '';\r
163                         return;\r
164                 }\r
165         }\r
166         else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))\r
167         {\r
168                 mozWrap(txtarea, bbtags[bbnumber], bbtags[bbnumber+1]);\r
169                 return;\r
170         }\r
171         \r
172         // Find last occurance of an open tag the same as the one just clicked\r
173         for (i = 0; i < bbcode.length; i++) {\r
174                 if (bbcode[i] == bbnumber+1) {\r
175                         bblast = i;\r
176                         donotinsert = true;\r
177                 }\r
178         }\r
179 \r
180         if (donotinsert) {              // Close all open tags up to the one just clicked & default button names\r
181                 while (bbcode[bblast]) {\r
182                                 butnumber = arraypop(bbcode) - 1;\r
183                                 txtarea.value += bbtags[butnumber + 1];\r
184                                 buttext = eval('document.post.addbbcode' + butnumber + '.value');\r
185                                 eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');\r
186                                 imageTag = false;\r
187                         }\r
188                         txtarea.focus();\r
189                         return;\r
190         } else { // Open tags\r
191         \r
192                 if (imageTag && (bbnumber != 14)) {             // Close image tag before adding another\r
193                         txtarea.value += bbtags[15];\r
194                         lastValue = arraypop(bbcode) - 1;       // Remove the close image tag from the list\r
195                         document.post.addbbcode14.value = "Img";        // Return button back to normal state\r
196                         imageTag = false;\r
197                 }\r
198                 \r
199                 // Open tag\r
200                 txtarea.value += bbtags[bbnumber];\r
201                 if ((bbnumber == 14) && (imageTag == false)) imageTag = 1; // Check to stop additional tags after an unclosed image tag\r
202                 arraypush(bbcode,bbnumber+1);\r
203                 eval('document.post.addbbcode'+bbnumber+'.value += "*"');\r
204                 txtarea.focus();\r
205                 return;\r
206         }\r
207         storeCaret(txtarea);\r
208 }\r
209 \r
210 // From http://www.massless.org/mozedit/\r
211 function mozWrap(txtarea, open, close)\r
212 {\r
213         var selLength = txtarea.textLength;\r
214         var selStart = txtarea.selectionStart;\r
215         var selEnd = txtarea.selectionEnd;\r
216         if (selEnd == 1 || selEnd == 2) \r
217                 selEnd = selLength;\r
218 \r
219         var s1 = (txtarea.value).substring(0,selStart);\r
220         var s2 = (txtarea.value).substring(selStart, selEnd)\r
221         var s3 = (txtarea.value).substring(selEnd, selLength);\r
222         txtarea.value = s1 + open + s2 + close + s3;\r
223         return;\r
224 }\r
225 \r
226 // Insert at Claret position. Code from\r
227 // http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130\r
228 function storeCaret(textEl) {\r
229         if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate();\r
230 }\r
231 \r
232 //-->\r
233 </script>\r
234 \r
235 <!-- BEGIN privmsg_extensions -->\r
236 <table border="0" cellspacing="0" cellpadding="0" align="center" width="100%">\r
237   <tr> \r
238         <td valign="top" align="center" width="100%"> \r
239           <table height="40" cellspacing="2" cellpadding="2" border="0">\r
240                 <tr valign="middle"> \r
241                   <td>{INBOX_IMG}</td>\r
242                   <td><span class="cattitle">{INBOX_LINK}&nbsp;&nbsp;</span></td>\r
243                   <td>{SENTBOX_IMG}</td>\r
244                   <td><span class="cattitle">{SENTBOX_LINK}&nbsp;&nbsp;</span></td>\r
245                   <td>{OUTBOX_IMG}</td>\r
246                   <td><span class="cattitle">{OUTBOX_LINK}&nbsp;&nbsp;</span></td>\r
247                   <td>{SAVEBOX_IMG}</td>\r
248                   <td><span class="cattitle">{SAVEBOX_LINK}&nbsp;&nbsp;</span></td>\r
249                 </tr>\r
250           </table>\r
251         </td>\r
252   </tr>\r
253 </table>\r
254 \r
255 <br clear="all" />\r
256 <!-- END privmsg_extensions -->\r
257 \r
258 <form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">\r
259 \r
260 {POST_PREVIEW_BOX}\r
261 {ERROR_BOX}\r
262 \r
263 <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">\r
264         <tr> \r
265                 <td align="left"><span  class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a>\r
266                 <!-- BEGIN switch_not_privmsg --> \r
267                 -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>\r
268                 <!-- END switch_not_privmsg -->\r
269         </tr>\r
270 </table>\r
271 \r
272 <table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">\r
273         <tr> \r
274                 <th class="thHead" colspan="2" height="25"><b>{L_POST_A}</b></th>\r
275         </tr>\r
276         <!-- BEGIN switch_username_select -->\r
277         <tr> \r
278                 <td class="row1"><span class="gen"><b>{L_USERNAME}</b></span></td>\r
279                 <td class="row2"><span class="genmed"><input type="text" class="post" tabindex="1" name="username" size="25" maxlength="25" value="{USERNAME}" /></span></td>\r
280         </tr>\r
281         <!-- END switch_username_select -->\r
282         <!-- BEGIN switch_privmsg -->\r
283         <tr> \r
284                 <td class="row1"><span class="gen"><b>{L_USERNAME}</b></span></td>\r
285                 <td class="row2"><span class="genmed"><input type="text"  class="post" name="username" maxlength="25" size="25" tabindex="1" value="{USERNAME}" />&nbsp;<input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="liteoption" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /></span></td>\r
286         </tr>\r
287         <!-- END switch_privmsg -->\r
288         <tr> \r
289           <td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>\r
290           <td class="row2" width="78%"> <span class="gen"> \r
291                 <input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" />\r
292                 </span> </td>\r
293         </tr>\r
294         <tr> \r
295           <td class="row1" valign="top"> \r
296                 <table width="100%" border="0" cellspacing="0" cellpadding="1">\r
297                   <tr> \r
298                         <td><span class="gen"><b>{L_MESSAGE_BODY}</b></span> </td>\r
299                   </tr>\r
300                   <tr> \r
301                         <td valign="middle" align="center"> <br />\r
302                           <table width="100" border="0" cellspacing="0" cellpadding="5">\r
303                                 <tr align="center"> \r
304                                   <td colspan="{S_SMILIES_COLSPAN}" class="gensmall"><b>{L_EMOTICONS}</b></td>\r
305                                 </tr>\r
306                                 <!-- BEGIN smilies_row -->\r
307                                 <tr align="center" valign="middle"> \r
308                                   <!-- BEGIN smilies_col -->\r
309                                   <td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" border="0" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td>\r
310                                   <!-- END smilies_col -->\r
311                                 </tr>\r
312                                 <!-- END smilies_row -->\r
313                                 <!-- BEGIN switch_smilies_extra -->\r
314                                 <tr align="center"> \r
315                                   <td colspan="{S_SMILIES_COLSPAN}"><span  class="nav"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=300');return false;" target="_phpbbsmilies" class="nav">{L_MORE_SMILIES}</a></span></td>\r
316                                 </tr>\r
317                                 <!-- END switch_smilies_extra -->\r
318                           </table>\r
319                         </td>\r
320                   </tr>\r
321                 </table>\r
322           </td>\r
323           <td class="row2" valign="top"><span class="gen"> <span class="genmed"> </span> \r
324                 <table width="450" border="0" cellspacing="0" cellpadding="2">\r
325                   <tr align="center" valign="middle"> \r
326                         <td><span class="genmed"> \r
327                           <input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onClick="bbstyle(0)" onMouseOver="helpline('b')" />\r
328                           </span></td>\r
329                         <td><span class="genmed"> \r
330                           <input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onClick="bbstyle(2)" onMouseOver="helpline('i')" />\r
331                           </span></td>\r
332                         <td><span class="genmed"> \r
333                           <input type="button" class="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onClick="bbstyle(4)" onMouseOver="helpline('u')" />\r
334                           </span></td>\r
335                         <td><span class="genmed"> \r
336                           <input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onClick="bbstyle(6)" onMouseOver="helpline('q')" />\r
337                           </span></td>\r
338                         <td><span class="genmed"> \r
339                           <input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onClick="bbstyle(8)" onMouseOver="helpline('c')" />\r
340                           </span></td>\r
341                         <td><span class="genmed"> \r
342                           <input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onClick="bbstyle(10)" onMouseOver="helpline('l')" />\r
343                           </span></td>\r
344                         <td><span class="genmed"> \r
345                           <input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onClick="bbstyle(12)" onMouseOver="helpline('o')" />\r
346                           </span></td>\r
347                         <td><span class="genmed"> \r
348                           <input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 40px"  onClick="bbstyle(14)" onMouseOver="helpline('p')" />\r
349                           </span></td>\r
350                         <td><span class="genmed"> \r
351                           <input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" />\r
352                           </span></td>\r
353                   </tr>\r
354                   <tr> \r
355                         <td colspan="9"> \r
356                           <table width="100%" border="0" cellspacing="0" cellpadding="0">\r
357                                 <tr> \r
358                                   <td><span class="genmed"> &nbsp;{L_FONT_COLOR}: \r
359                                         <select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">\r
360                                           <option style="color:black; background-color: {T_TD_COLOR1}" value="{T_FONTCOLOR1}" class="genmed">{L_COLOR_DEFAULT}</option>\r
361                                           <option style="color:darkred; background-color: {T_TD_COLOR1}" value="darkred" class="genmed">{L_COLOR_DARK_RED}</option>\r
362                                           <option style="color:red; background-color: {T_TD_COLOR1}" value="red" class="genmed">{L_COLOR_RED}</option>\r
363                                           <option style="color:orange; background-color: {T_TD_COLOR1}" value="orange" class="genmed">{L_COLOR_ORANGE}</option>\r
364                                           <option style="color:brown; background-color: {T_TD_COLOR1}" value="brown" class="genmed">{L_COLOR_BROWN}</option>\r
365                                           <option style="color:yellow; background-color: {T_TD_COLOR1}" value="yellow" class="genmed">{L_COLOR_YELLOW}</option>\r
366                                           <option style="color:green; background-color: {T_TD_COLOR1}" value="green" class="genmed">{L_COLOR_GREEN}</option>\r
367                                           <option style="color:olive; background-color: {T_TD_COLOR1}" value="olive" class="genmed">{L_COLOR_OLIVE}</option>\r
368                                           <option style="color:cyan; background-color: {T_TD_COLOR1}" value="cyan" class="genmed">{L_COLOR_CYAN}</option>\r
369                                           <option style="color:blue; background-color: {T_TD_COLOR1}" value="blue" class="genmed">{L_COLOR_BLUE}</option>\r
370                                           <option style="color:darkblue; background-color: {T_TD_COLOR1}" value="darkblue" class="genmed">{L_COLOR_DARK_BLUE}</option>\r
371                                           <option style="color:indigo; background-color: {T_TD_COLOR1}" value="indigo" class="genmed">{L_COLOR_INDIGO}</option>\r
372                                           <option style="color:violet; background-color: {T_TD_COLOR1}" value="violet" class="genmed">{L_COLOR_VIOLET}</option>\r
373                                           <option style="color:white; background-color: {T_TD_COLOR1}" value="white" class="genmed">{L_COLOR_WHITE}</option>\r
374                                           <option style="color:black; background-color: {T_TD_COLOR1}" value="black" class="genmed">{L_COLOR_BLACK}</option>\r
375                                         </select> &nbsp;{L_FONT_SIZE}:<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">\r
376                                           <option value="7" class="genmed">{L_FONT_TINY}</option>\r
377                                           <option value="9" class="genmed">{L_FONT_SMALL}</option>\r
378                                           <option value="12" selected class="genmed">{L_FONT_NORMAL}</option>\r
379                                           <option value="18" class="genmed">{L_FONT_LARGE}</option>\r
380                                           <option  value="24" class="genmed">{L_FONT_HUGE}</option>\r
381                                         </select>\r
382                                         </span></td>\r
383                                   <td nowrap="nowrap" align="right"><span class="gensmall"><a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span></td>\r
384                                 </tr>\r
385                           </table>\r
386                         </td>\r
387                   </tr>\r
388                   <tr> \r
389                         <td colspan="9"> <span class="gensmall"> \r
390                           <input type="text" name="helpbox" size="45" maxlength="100" style="width:450px; font-size:10px" class="helpline" value="{L_STYLES_TIP}" />\r
391                           </span></td>\r
392                   </tr>\r
393                   <tr> \r
394                         <td colspan="9"><span class="gen"> \r
395                           <textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>\r
396                           </span></td>\r
397                   </tr>\r
398                 </table>\r
399                 </span></td>\r
400         </tr>\r
401         <tr> \r
402           <td class="row1" valign="top"><span class="gen"><b>{L_OPTIONS}</b></span><br /><span class="gensmall">{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td>\r
403           <td class="row2"><span class="gen"> </span> \r
404                 <table cellspacing="0" cellpadding="1" border="0">\r
405                   <!-- BEGIN switch_html_checkbox -->\r
406                   <tr> \r
407                         <td> \r
408                           <input type="checkbox" name="disable_html" {S_HTML_CHECKED} />\r
409                         </td>\r
410                         <td><span class="gen">{L_DISABLE_HTML}</span></td>\r
411                   </tr>\r
412                   <!-- END switch_html_checkbox -->\r
413                   <!-- BEGIN switch_bbcode_checkbox -->\r
414                   <tr> \r
415                         <td> \r
416                           <input type="checkbox" name="disable_bbcode" {S_BBCODE_CHECKED} />\r
417                         </td>\r
418                         <td><span class="gen">{L_DISABLE_BBCODE}</span></td>\r
419                   </tr>\r
420                   <!-- END switch_bbcode_checkbox -->\r
421                   <!-- BEGIN switch_smilies_checkbox -->\r
422                   <tr> \r
423                         <td> \r
424                           <input type="checkbox" name="disable_smilies" {S_SMILIES_CHECKED} />\r
425                         </td>\r
426                         <td><span class="gen">{L_DISABLE_SMILIES}</span></td>\r
427                   </tr>\r
428                   <!-- END switch_smilies_checkbox -->\r
429                   <!-- BEGIN switch_signature_checkbox -->\r
430                   <tr> \r
431                         <td> \r
432                           <input type="checkbox" name="attach_sig" {S_SIGNATURE_CHECKED} />\r
433                         </td>\r
434                         <td><span class="gen">{L_ATTACH_SIGNATURE}</span></td>\r
435                   </tr>\r
436                   <!-- END switch_signature_checkbox -->\r
437                   <!-- BEGIN switch_notify_checkbox -->\r
438                   <tr> \r
439                         <td> \r
440                           <input type="checkbox" name="notify" {S_NOTIFY_CHECKED} />\r
441                         </td>\r
442                         <td><span class="gen">{L_NOTIFY_ON_REPLY}</span></td>\r
443                   </tr>\r
444                   <!-- END switch_notify_checkbox -->\r
445                   <!-- BEGIN switch_delete_checkbox -->\r
446                   <tr> \r
447                         <td> \r
448                           <input type="checkbox" name="delete" />\r
449                         </td>\r
450                         <td><span class="gen">{L_DELETE_POST}</span></td>\r
451                   </tr>\r
452                   <!-- END switch_delete_checkbox -->\r
453                   <!-- BEGIN switch_type_toggle -->\r
454                   <tr> \r
455                         <td></td>\r
456                         <td><span class="gen">{S_TYPE_TOGGLE}</span></td>\r
457                   </tr>\r
458                   <!-- END switch_type_toggle -->\r
459                 </table>\r
460           </td>\r
461         </tr>\r
462         {POLLBOX} \r
463         <tr> \r
464           <td class="catBottom" colspan="2" align="center" height="28"> {S_HIDDEN_FORM_FIELDS}<input type="submit" tabindex="5" name="preview" class="mainoption" value="{L_PREVIEW}" />&nbsp;<input type="submit" accesskey="s" tabindex="6" name="post" class="mainoption" value="{L_SUBMIT}" /></td>\r
465         </tr>\r
466   </table>\r
467 \r
468   <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">\r
469         <tr> \r
470           <td align="right" valign="top"><span class="gensmall">{S_TIMEZONE}</span></td>\r
471         </tr>\r
472   </table>\r
473 </form>\r
474 \r
475 <table width="100%" cellspacing="2" border="0" align="center">\r
476   <tr> \r
477         <td valign="top" align="right">{JUMPBOX}</td>\r
478   </tr>\r
479 </table>\r
480 \r
481 {TOPIC_REVIEW_BOX}\r