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