mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/8173] Removed some redundant code in the BBCode JavaScript.
This commit is contained in:
commit
124b8a92ec
4 changed files with 6 additions and 8 deletions
|
@ -22,9 +22,8 @@
|
||||||
w: '{LA_BBCODE_W_HELP}',
|
w: '{LA_BBCODE_W_HELP}',
|
||||||
s: '{LA_BBCODE_S_HELP}',
|
s: '{LA_BBCODE_S_HELP}',
|
||||||
f: '{LA_BBCODE_F_HELP}',
|
f: '{LA_BBCODE_F_HELP}',
|
||||||
e: '{LA_BBCODE_E_HELP}',
|
y: '{LA_BBCODE_Y_HELP}',
|
||||||
d: '{LA_BBCODE_D_HELP}',
|
d: '{LA_BBCODE_D_HELP}',
|
||||||
t: '{LA_BBCODE_T_HELP}',
|
|
||||||
tip: '{L_STYLES_TIP}'
|
tip: '{L_STYLES_TIP}'
|
||||||
<!-- BEGIN custom_tags -->
|
<!-- BEGIN custom_tags -->
|
||||||
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
|
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
|
||||||
|
@ -56,7 +55,7 @@
|
||||||
<input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" onmouseout="helpline('tip')" />
|
<input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" onmouseout="helpline('tip')" />
|
||||||
<input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" onmouseout="helpline('tip')" />
|
<input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" onmouseout="helpline('tip')" />
|
||||||
<input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" onmouseout="helpline('tip')" />
|
<input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" onmouseout="helpline('tip')" />
|
||||||
<input type="button" class="button2" accesskey="y" name="addlistitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />
|
<input type="button" class="button2" accesskey="y" name="addlistitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('y')" onmouseout="helpline('tip')" />
|
||||||
<!-- IF S_BBCODE_IMG -->
|
<!-- IF S_BBCODE_IMG -->
|
||||||
<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" onmouseout="helpline('tip')" />
|
<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" onmouseout="helpline('tip')" />
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
|
@ -48,7 +48,7 @@ $lang = array_merge($lang, array(
|
||||||
'BBCODE_A_HELP' => 'Inline uploaded attachment: [attachment=]filename.ext[/attachment]',
|
'BBCODE_A_HELP' => 'Inline uploaded attachment: [attachment=]filename.ext[/attachment]',
|
||||||
'BBCODE_B_HELP' => 'Bold text: [b]text[/b]',
|
'BBCODE_B_HELP' => 'Bold text: [b]text[/b]',
|
||||||
'BBCODE_C_HELP' => 'Code display: [code]code[/code]',
|
'BBCODE_C_HELP' => 'Code display: [code]code[/code]',
|
||||||
'BBCODE_E_HELP' => 'List: Add list element',
|
'BBCODE_D_HELP' => 'Flash: [flash=width,height]http://url[/flash]',
|
||||||
'BBCODE_F_HELP' => 'Font size: [size=85]small text[/size]',
|
'BBCODE_F_HELP' => 'Font size: [size=85]small text[/size]',
|
||||||
'BBCODE_IS_OFF' => '%sBBCode%s is <em>OFF</em>',
|
'BBCODE_IS_OFF' => '%sBBCode%s is <em>OFF</em>',
|
||||||
'BBCODE_IS_ON' => '%sBBCode%s is <em>ON</em>',
|
'BBCODE_IS_ON' => '%sBBCode%s is <em>ON</em>',
|
||||||
|
@ -61,7 +61,7 @@ $lang = array_merge($lang, array(
|
||||||
'BBCODE_S_HELP' => 'Font colour: [color=red]text[/color] Tip: you can also use color=#FF0000',
|
'BBCODE_S_HELP' => 'Font colour: [color=red]text[/color] Tip: you can also use color=#FF0000',
|
||||||
'BBCODE_U_HELP' => 'Underline text: [u]text[/u]',
|
'BBCODE_U_HELP' => 'Underline text: [u]text[/u]',
|
||||||
'BBCODE_W_HELP' => 'Insert URL: [url]http://url[/url] or [url=http://url]URL text[/url]',
|
'BBCODE_W_HELP' => 'Insert URL: [url]http://url[/url] or [url=http://url]URL text[/url]',
|
||||||
'BBCODE_D_HELP' => 'Flash: [flash=width,height]http://url[/flash]',
|
'BBCODE_Y_HELP' => 'List: Add list element',
|
||||||
'BUMP_ERROR' => 'You cannot bump this topic so soon after the last post.',
|
'BUMP_ERROR' => 'You cannot bump this topic so soon after the last post.',
|
||||||
|
|
||||||
'CANNOT_DELETE_REPLIED' => 'Sorry but you may only delete posts which have not been replied to.',
|
'CANNOT_DELETE_REPLIED' => 'Sorry but you may only delete posts which have not been replied to.',
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
a: '{LA_BBCODE_A_HELP}',
|
a: '{LA_BBCODE_A_HELP}',
|
||||||
s: '{LA_BBCODE_S_HELP}',
|
s: '{LA_BBCODE_S_HELP}',
|
||||||
f: '{LA_BBCODE_F_HELP}',
|
f: '{LA_BBCODE_F_HELP}',
|
||||||
e: '{LA_BBCODE_E_HELP}',
|
y: '{LA_BBCODE_Y_HELP}',
|
||||||
d: '{LA_BBCODE_D_HELP}'
|
d: '{LA_BBCODE_D_HELP}'
|
||||||
<!-- BEGIN custom_tags -->
|
<!-- BEGIN custom_tags -->
|
||||||
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
|
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
|
||||||
|
|
|
@ -22,9 +22,8 @@
|
||||||
a: '{LA_BBCODE_A_HELP}',
|
a: '{LA_BBCODE_A_HELP}',
|
||||||
s: '{LA_BBCODE_S_HELP}',
|
s: '{LA_BBCODE_S_HELP}',
|
||||||
f: '{LA_BBCODE_F_HELP}',
|
f: '{LA_BBCODE_F_HELP}',
|
||||||
e: '{LA_BBCODE_E_HELP}',
|
y: '{LA_BBCODE_Y_HELP}',
|
||||||
d: '{LA_BBCODE_D_HELP}',
|
d: '{LA_BBCODE_D_HELP}',
|
||||||
t: '{LA_BBCODE_T_HELP}',
|
|
||||||
tip: '{L_STYLES_TIP}'
|
tip: '{L_STYLES_TIP}'
|
||||||
<!-- BEGIN custom_tags -->
|
<!-- BEGIN custom_tags -->
|
||||||
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
|
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
|
||||||
|
|
Loading…
Add table
Reference in a new issue