fixing a signature bug being there for more than two years [Bug #7436]
[phpbb.git] / phpBB / styles / subSilver / template / posting_buttons.html
blobb07f18a5ea901e41e665fd4689a2b380c964a915
1 <tr valign="middle" align="left">
2 <td colspan="2">
3 <script type="text/javascript">
4 <!--
6 // Define the bbCode tags
7 bbcode = new Array();
8 bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]','[flash=]', '[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);
9 imageTag = false;
11 // Helpline messages
12 var help_line = {
13 b: '{LA_BBCODE_B_HELP}',
14 i: '{LA_BBCODE_I_HELP}',
15 u: '{LA_BBCODE_U_HELP}',
16 q: '{LA_BBCODE_Q_HELP}',
17 c: '{LA_BBCODE_C_HELP}',
18 l: '{LA_BBCODE_L_HELP}',
19 o: '{LA_BBCODE_O_HELP}',
20 p: '{LA_BBCODE_P_HELP}',
21 w: '{LA_BBCODE_W_HELP}',
22 s: '{LA_BBCODE_S_HELP}',
23 f: '{LA_BBCODE_F_HELP}',
24 e: '{LA_BBCODE_E_HELP}',
25 d: '{LA_BBCODE_D_HELP}',
26 t: '{LA_BBCODE_T_HELP}',
27 tip: '{L_STYLES_TIP}'
28 <!-- BEGIN custom_tags -->
29 ,cb_{custom_tags.BBCODE_ID}: '{custom_tags.BBCODE_HELPLINE}'
30 <!-- END custom_tags -->
33 function checkForm()
35 if (document.post.message.value.length < 2)
37 alert('{LA_EMPTY_MESSAGE}');
38 return false;
40 else
42 // document.post.post.disabled = true;
43 return true;
47 //-->
48 </script>
49 <script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
52 <input type="button" class="btnbbcode" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px;" onclick="bbstyle(0)" onmouseover="helpline('b')" onmouseout="helpline('tip')" />
53 <input type="button" class="btnbbcode" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px;" onclick="bbstyle(2)" onmouseover="helpline('i')" onmouseout="helpline('tip')" />
54 <input type="button" class="btnbbcode" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px;" onclick="bbstyle(4)" onmouseover="helpline('u')" onmouseout="helpline('tip')" />
55 <!-- IF S_BBCODE_QUOTE -->
56 <input type="button" class="btnbbcode" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" onmouseout="helpline('tip')" />
57 <!-- ENDIF -->
58 <input type="button" class="btnbbcode" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" onmouseout="helpline('tip')" />
59 <input type="button" class="btnbbcode" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" onmouseout="helpline('tip')" />
60 <input type="button" class="btnbbcode" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" onmouseout="helpline('tip')" />
61 <input type="button" class="btnbbcode" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />
62 <!-- IF S_BBCODE_IMG -->
63 <input type="button" class="btnbbcode" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" onmouseout="helpline('tip')" />
64 <!-- ENDIF -->
65 <!-- IF S_LINKS_ALLOWED -->
66 <input type="button" class="btnbbcode" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" onmouseover="helpline('w')" onmouseout="helpline('tip')" />
67 <!-- ENDIF -->
68 <!-- IF S_BBCODE_FLASH -->
69 <input type="button" class="btnbbcode" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" onmouseover="helpline('d')" onmouseout="helpline('tip')" />
70 <!-- ENDIF -->
71 <span class="genmed nowrap">{L_FONT_SIZE}: <select class="gensmall" name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" onmouseover="helpline('f')" onmouseout="helpline('tip')">
72 <option value="7">{L_FONT_TINY}</option>
73 <option value="9">{L_FONT_SMALL}</option>
74 <option value="12" selected="selected">{L_FONT_NORMAL}</option>
75 <option value="18">{L_FONT_LARGE}</option>
76 <option value="24">{L_FONT_HUGE}</option>
77 </select></span>
78 </td>
79 </tr>
80 <!-- IF .custom_tags -->
81 <tr valign="middle" align="left">
82 <td colspan="2">
83 <!-- BEGIN custom_tags -->
84 <input type="button" class="btnbbcode" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})"<!-- IF custom_tags.BBCODE_HELPLINE !== '' --> onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')" onmouseout="helpline('tip')"<!-- ENDIF --> />
85 <!-- END custom_tags -->
86 </td>
87 </tr>
88 <!-- ENDIF -->
89 <tr>
90 <td<!-- IF $S_SIGNATURE or S_EDIT_DRAFT --> colspan="2"<!-- ENDIF -->><input type="text" readonly="readonly" name="helpbox" style="width:100%" maxlength="100" class="helpline" value="{L_STYLES_TIP}" /></td>
91 <!-- IF not $S_SIGNATURE and not S_EDIT_DRAFT -->
92 <td class="genmed" align="center">{L_FONT_COLOR}</td>
93 <!-- ENDIF -->
94 </tr>