|
1 <!-- IF S_BBCODE_ALLOWED --> |
|
2 <div id="colour_palette" style="display: none;"> |
|
3 <dl style="clear: left;"> |
|
4 <dt><label>{L_FONT_COLOR}:</label></dt> |
|
5 <dd id="palette-container"> |
|
6 </dd> |
|
7 </dl> |
|
8 </div> |
|
9 |
|
10 <div id="format-buttons"> |
|
11 <input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" /> |
|
12 <input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" /> |
|
13 <input type="button" class="button2" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}" /> |
|
14 <!-- IF S_BBCODE_QUOTE --> |
|
15 <input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" /> |
|
16 <!-- ENDIF --> |
|
17 <input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" /> |
|
18 <input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" /> |
|
19 <input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" /> |
|
20 <input type="button" class="button2" accesskey="y" name="addlistitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" /> |
|
21 <!-- IF S_BBCODE_IMG --> |
|
22 <input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}" /> |
|
23 <!-- ENDIF --> |
|
24 <!-- IF S_LINKS_ALLOWED --> |
|
25 <input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" title="{L_BBCODE_W_HELP}" /> |
|
26 <!-- ENDIF --> |
|
27 <!-- IF S_BBCODE_FLASH --> |
|
28 <input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}" /> |
|
29 <!-- ENDIF --> |
|
30 <select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}"> |
|
31 <option value="50">{L_FONT_TINY}</option> |
|
32 <option value="85">{L_FONT_SMALL}</option> |
|
33 <option value="100" selected="selected">{L_FONT_NORMAL}</option> |
|
34 <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 --> |
|
35 <option value="150">{L_FONT_LARGE}</option> |
|
36 <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 --> |
|
37 <option value="200">{L_FONT_HUGE}</option> |
|
38 <!-- ENDIF --> |
|
39 <!-- ENDIF --> |
|
40 </select> |
|
41 <input type="button" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" /> |
|
42 <!-- BEGIN custom_tags --> |
|
43 <input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" /> |
|
44 <!-- END custom_tags --> |
|
45 </div> |
|
46 <!-- ENDIF --> |