|
indvdum@0
|
1 |
<tr valign="middle" align="{S_CONTENT_FLOW_BEGIN}">
|
|
indvdum@0
|
2 |
<td colspan="2">
|
|
indvdum@0
|
3 |
<script type="text/javascript">
|
|
indvdum@0
|
4 |
// <![CDATA[
|
|
indvdum@0
|
5 |
|
|
indvdum@0
|
6 |
// Define the bbCode tags
|
|
indvdum@0
|
7 |
var bbcode = new Array();
|
|
indvdum@0
|
8 |
var 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 -->);
|
|
indvdum@0
|
9 |
var imageTag = false;
|
|
indvdum@0
|
10 |
|
|
indvdum@0
|
11 |
// Helpline messages
|
|
indvdum@0
|
12 |
var help_line = {
|
|
indvdum@0
|
13 |
b: '{LA_BBCODE_B_HELP}',
|
|
indvdum@0
|
14 |
i: '{LA_BBCODE_I_HELP}',
|
|
indvdum@0
|
15 |
u: '{LA_BBCODE_U_HELP}',
|
|
indvdum@0
|
16 |
q: '{LA_BBCODE_Q_HELP}',
|
|
indvdum@0
|
17 |
c: '{LA_BBCODE_C_HELP}',
|
|
indvdum@0
|
18 |
l: '{LA_BBCODE_L_HELP}',
|
|
indvdum@0
|
19 |
o: '{LA_BBCODE_O_HELP}',
|
|
indvdum@0
|
20 |
p: '{LA_BBCODE_P_HELP}',
|
|
indvdum@0
|
21 |
w: '{LA_BBCODE_W_HELP}',
|
|
indvdum@0
|
22 |
a: '{LA_BBCODE_A_HELP}',
|
|
indvdum@0
|
23 |
s: '{LA_BBCODE_S_HELP}',
|
|
indvdum@0
|
24 |
f: '{LA_BBCODE_F_HELP}',
|
|
indvdum@0
|
25 |
y: '{LA_BBCODE_Y_HELP}',
|
|
indvdum@0
|
26 |
d: '{LA_BBCODE_D_HELP}',
|
|
indvdum@0
|
27 |
tip: '{L_STYLES_TIP}'
|
|
indvdum@0
|
28 |
<!-- BEGIN custom_tags -->
|
|
indvdum@0
|
29 |
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
|
|
indvdum@0
|
30 |
<!-- END custom_tags -->
|
|
indvdum@0
|
31 |
}
|
|
indvdum@0
|
32 |
|
|
indvdum@0
|
33 |
// ]]>
|
|
indvdum@0
|
34 |
</script>
|
|
indvdum@0
|
35 |
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/editor.js"></script>
|
|
indvdum@0
|
36 |
|
|
indvdum@0
|
37 |
<!-- IF S_BBCODE_ALLOWED -->
|
|
indvdum@0
|
38 |
<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')" />
|
|
indvdum@0
|
39 |
<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')" />
|
|
indvdum@0
|
40 |
<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')" />
|
|
indvdum@0
|
41 |
<!-- IF S_BBCODE_QUOTE -->
|
|
indvdum@0
|
42 |
<input type="button" class="btnbbcode" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" onmouseout="helpline('tip')" />
|
|
indvdum@0
|
43 |
<!-- ENDIF -->
|
|
indvdum@0
|
44 |
<input type="button" class="btnbbcode" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" onmouseout="helpline('tip')" />
|
|
indvdum@0
|
45 |
<input type="button" class="btnbbcode" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" onmouseout="helpline('tip')" />
|
|
indvdum@0
|
46 |
<input type="button" class="btnbbcode" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" onmouseout="helpline('tip')" />
|
|
indvdum@0
|
47 |
<input type="button" class="btnbbcode" accesskey="y" name="addlistitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />
|
|
indvdum@0
|
48 |
<!-- IF S_BBCODE_IMG -->
|
|
indvdum@0
|
49 |
<input type="button" class="btnbbcode" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" onmouseout="helpline('tip')" />
|
|
indvdum@0
|
50 |
<!-- ENDIF -->
|
|
indvdum@0
|
51 |
<!-- IF S_LINKS_ALLOWED -->
|
|
indvdum@0
|
52 |
<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')" />
|
|
indvdum@0
|
53 |
<!-- ENDIF -->
|
|
indvdum@0
|
54 |
<!-- IF S_BBCODE_FLASH -->
|
|
indvdum@0
|
55 |
<input type="button" class="btnbbcode" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" onmouseover="helpline('d')" onmouseout="helpline('tip')" />
|
|
indvdum@0
|
56 |
<!-- ENDIF -->
|
|
indvdum@0
|
57 |
<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')">
|
|
indvdum@0
|
58 |
<option value="50">{L_FONT_TINY}</option>
|
|
indvdum@0
|
59 |
<option value="85">{L_FONT_SMALL}</option>
|
|
indvdum@0
|
60 |
<option value="100" selected="selected">{L_FONT_NORMAL}</option>
|
|
indvdum@0
|
61 |
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
|
|
indvdum@0
|
62 |
<option value="150">{L_FONT_LARGE}</option>
|
|
indvdum@0
|
63 |
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
|
|
indvdum@0
|
64 |
<option value="200">{L_FONT_HUGE}</option>
|
|
indvdum@0
|
65 |
<!-- ENDIF -->
|
|
indvdum@0
|
66 |
<!-- ENDIF -->
|
|
indvdum@0
|
67 |
</select></span>
|
|
indvdum@0
|
68 |
<!-- ENDIF -->
|
|
indvdum@0
|
69 |
</td>
|
|
indvdum@0
|
70 |
</tr>
|
|
indvdum@0
|
71 |
<!-- IF S_BBCODE_ALLOWED and .custom_tags -->
|
|
indvdum@0
|
72 |
<tr valign="middle" align="{S_CONTENT_FLOW_BEGIN}">
|
|
indvdum@0
|
73 |
<td colspan="2">
|
|
indvdum@0
|
74 |
<!-- BEGIN custom_tags -->
|
|
indvdum@0
|
75 |
<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 --> />
|
|
indvdum@0
|
76 |
<!-- END custom_tags -->
|
|
indvdum@0
|
77 |
</td>
|
|
indvdum@0
|
78 |
</tr>
|
|
indvdum@0
|
79 |
<!-- ENDIF -->
|
|
indvdum@0
|
80 |
<!-- IF S_BBCODE_ALLOWED -->
|
|
indvdum@0
|
81 |
<tr>
|
|
indvdum@0
|
82 |
<td<!-- IF $S_SIGNATURE or S_EDIT_DRAFT --> colspan="2"<!-- ENDIF -->><input type="text" readonly="readonly" name="helpbox" style="width:100%" class="helpline" value="{L_STYLES_TIP}" /></td>
|
|
indvdum@0
|
83 |
<!-- IF not $S_SIGNATURE and not S_EDIT_DRAFT -->
|
|
indvdum@0
|
84 |
<td class="genmed" align="center">{L_FONT_COLOR}</td>
|
|
indvdum@0
|
85 |
<!-- ENDIF -->
|
|
indvdum@0
|
86 |
</tr>
|
|
indvdum@0
|
87 |
<!-- ENDIF -->
|