source: trunk/forum/styles/wowpurple/template/posting_buttons.html

Last change on this file was 400, checked in by george, 16 years ago
  • Přidáno: Nové forum phpBB 3.
File size: 4.9 KB
Line 
1<tr valign="middle" align="{S_CONTENT_FLOW_BEGIN}">
2 <td colspan="2">
3 <script type="text/javascript">
4 // <![CDATA[
5
6 // Define the bbCode tags
7 var bbcode = new Array();
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 -->);
9 var imageTag = false;
10
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.A_BBCODE_HELPLINE}'
30 <!-- END custom_tags -->
31 }
32
33 // ]]>
34 </script>
35 <script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
36
37<!-- IF S_BBCODE_ALLOWED -->
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')" />
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')" />
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')" />
41 <!-- IF S_BBCODE_QUOTE -->
42 <input type="button" class="btnbbcode" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" onmouseout="helpline('tip')" />
43 <!-- ENDIF -->
44 <input type="button" class="btnbbcode" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" onmouseout="helpline('tip')" />
45 <input type="button" class="btnbbcode" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" onmouseout="helpline('tip')" />
46 <input type="button" class="btnbbcode" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" onmouseout="helpline('tip')" />
47 <input type="button" class="btnbbcode" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />
48 <!-- IF S_BBCODE_IMG -->
49 <input type="button" class="btnbbcode" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" onmouseout="helpline('tip')" />
50 <!-- ENDIF -->
51 <!-- IF S_LINKS_ALLOWED -->
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')" />
53 <!-- ENDIF -->
54 <!-- IF S_BBCODE_FLASH -->
55 <input type="button" class="btnbbcode" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" onmouseover="helpline('d')" onmouseout="helpline('tip')" />
56 <!-- ENDIF -->
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')">
58 <option value="50">{L_FONT_TINY}</option>
59 <option value="85">{L_FONT_SMALL}</option>
60 <option value="100" selected="selected">{L_FONT_NORMAL}</option>
61 <option value="150">{L_FONT_LARGE}</option>
62 <option value="200">{L_FONT_HUGE}</option>
63 </select></span>
64<!-- ENDIF -->
65 </td>
66</tr>
67<!-- IF S_BBCODE_ALLOWED and .custom_tags -->
68 <tr valign="middle" align="{S_CONTENT_FLOW_BEGIN}">
69 <td colspan="2">
70 <!-- BEGIN custom_tags -->
71 <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 --> />
72 <!-- END custom_tags -->
73 </td>
74 </tr>
75<!-- ENDIF -->
76<!-- IF S_BBCODE_ALLOWED -->
77<tr>
78 <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>
79 <!-- IF not $S_SIGNATURE and not S_EDIT_DRAFT -->
80 <td class="genmed" align="center">{L_FONT_COLOR}</td>
81 <!-- ENDIF -->
82</tr>
83<!-- ENDIF -->
Note: See TracBrowser for help on using the repository browser.