mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 16:35:35 +02:00
#5642 This should be a little easier to manage.
git-svn-id: file:///svn/phpbb/trunk@6670 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
883bfbf981
commit
22c729c41b
phpBB/styles/subSilver/template
@ -4,57 +4,6 @@
|
|||||||
<!-- INCLUDE overall_header.html -->
|
<!-- INCLUDE overall_header.html -->
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<script language="javascript" type="text/javascript">
|
|
||||||
<!--
|
|
||||||
|
|
||||||
var form_name = 'post';
|
|
||||||
var text_name = 'message';
|
|
||||||
|
|
||||||
// Define the bbCode tags
|
|
||||||
bbcode = new Array();
|
|
||||||
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 -->);
|
|
||||||
imageTag = false;
|
|
||||||
|
|
||||||
// Helpline messages
|
|
||||||
var help_line = {
|
|
||||||
b: '{LA_BBCODE_B_HELP}',
|
|
||||||
i: '{LA_BBCODE_I_HELP}',
|
|
||||||
u: '{LA_BBCODE_U_HELP}',
|
|
||||||
q: '{LA_BBCODE_Q_HELP}',
|
|
||||||
c: '{LA_BBCODE_C_HELP}',
|
|
||||||
l: '{LA_BBCODE_L_HELP}',
|
|
||||||
o: '{LA_BBCODE_O_HELP}',
|
|
||||||
p: '{LA_BBCODE_P_HELP}',
|
|
||||||
w: '{LA_BBCODE_W_HELP}',
|
|
||||||
s: '{LA_BBCODE_S_HELP}',
|
|
||||||
f: '{LA_BBCODE_F_HELP}',
|
|
||||||
e: '{LA_BBCODE_E_HELP}',
|
|
||||||
d: '{LA_BBCODE_D_HELP}',
|
|
||||||
t: '{LA_BBCODE_T_HELP}',
|
|
||||||
tip: '{L_STYLES_TIP}'
|
|
||||||
<!-- BEGIN custom_tags -->
|
|
||||||
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.BBCODE_HELPLINE}'
|
|
||||||
<!-- END custom_tags -->
|
|
||||||
}
|
|
||||||
|
|
||||||
function checkForm()
|
|
||||||
{
|
|
||||||
if (document.post.message.value.length < 2)
|
|
||||||
{
|
|
||||||
alert('{LA_EMPTY_MESSAGE}');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// document.post.post.disabled = true;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<script language="javascript" type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
|
|
||||||
|
|
||||||
<!-- IF S_FORUM_RULES -->
|
<!-- IF S_FORUM_RULES -->
|
||||||
<div class="forumrules">
|
<div class="forumrules">
|
||||||
<!-- IF U_FORUM_RULES -->
|
<!-- IF U_FORUM_RULES -->
|
||||||
@ -247,51 +196,16 @@ function checkForm()
|
|||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</td>
|
</td>
|
||||||
<td class="row2" valign="top">
|
<td class="row2" valign="top">
|
||||||
|
<script language="javascript" type="text/javascript">
|
||||||
|
<!--
|
||||||
|
|
||||||
|
var form_name = 'post';
|
||||||
|
var text_name = 'message';
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
|
||||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||||
<tr valign="middle" align="left">
|
<!-- INCLUDE posting_buttons.html -->
|
||||||
<td colspan="2">
|
|
||||||
<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')" />
|
|
||||||
<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')" />
|
|
||||||
<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')" />
|
|
||||||
<!-- IF S_BBCODE_QUOTE -->
|
|
||||||
<input type="button" class="btnbbcode" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" onmouseout="helpline('tip')" />
|
|
||||||
<!-- ENDIF -->
|
|
||||||
<input type="button" class="btnbbcode" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" onmouseout="helpline('tip')" />
|
|
||||||
<input type="button" class="btnbbcode" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" onmouseout="helpline('tip')" />
|
|
||||||
<input type="button" class="btnbbcode" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" onmouseout="helpline('tip')" />
|
|
||||||
<input type="button" class="btnbbcode" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />
|
|
||||||
<!-- IF S_BBCODE_IMG -->
|
|
||||||
<input type="button" class="btnbbcode" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" onmouseout="helpline('tip')" />
|
|
||||||
<!-- ENDIF -->
|
|
||||||
<!-- IF S_LINKS_ALLOWED -->
|
|
||||||
<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')" />
|
|
||||||
<!-- ENDIF -->
|
|
||||||
<!-- IF S_BBCODE_FLASH -->
|
|
||||||
<input type="button" class="btnbbcode" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" onmouseover="helpline('d')" onmouseout="helpline('tip')" />
|
|
||||||
<!-- ENDIF -->
|
|
||||||
<span class="genmed" style="white-space: 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')">
|
|
||||||
<option value="7">{L_FONT_TINY}</option>
|
|
||||||
<option value="9">{L_FONT_SMALL}</option>
|
|
||||||
<option value="12" selected="selected">{L_FONT_NORMAL}</option>
|
|
||||||
<option value="18">{L_FONT_LARGE}</option>
|
|
||||||
<option value="24">{L_FONT_HUGE}</option>
|
|
||||||
</select></span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<!-- IF .custom_tags -->
|
|
||||||
<tr valign="middle" align="left">
|
|
||||||
<td colspan="2">
|
|
||||||
<!-- BEGIN custom_tags -->
|
|
||||||
<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 --> />
|
|
||||||
<!-- END custom_tags -->
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<!-- ENDIF -->
|
|
||||||
<tr>
|
|
||||||
<td><input type="text" name="helpbox" style="width:100%" maxlength="100" class="helpline" value="{L_STYLES_TIP}" /></td>
|
|
||||||
<td class="genmed" align="center">{L_FONT_COLOR}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td valign="top" style="width: 100%;"><textarea name="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" style="width: 98%;">{MESSAGE}</textarea></td>
|
<td valign="top" style="width: 100%;"><textarea name="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" style="width: 98%;">{MESSAGE}</textarea></td>
|
||||||
<td width="80" align="center" valign="top">
|
<td width="80" align="center" valign="top">
|
||||||
|
94
phpBB/styles/subSilver/template/posting_buttons.html
Normal file
94
phpBB/styles/subSilver/template/posting_buttons.html
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
<tr valign="middle" align="left">
|
||||||
|
<td colspan="2">
|
||||||
|
<script language="javascript" type="text/javascript">
|
||||||
|
<!--
|
||||||
|
|
||||||
|
// Define the bbCode tags
|
||||||
|
bbcode = new Array();
|
||||||
|
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 -->);
|
||||||
|
imageTag = false;
|
||||||
|
|
||||||
|
// Helpline messages
|
||||||
|
var help_line = {
|
||||||
|
b: '{LA_BBCODE_B_HELP}',
|
||||||
|
i: '{LA_BBCODE_I_HELP}',
|
||||||
|
u: '{LA_BBCODE_U_HELP}',
|
||||||
|
q: '{LA_BBCODE_Q_HELP}',
|
||||||
|
c: '{LA_BBCODE_C_HELP}',
|
||||||
|
l: '{LA_BBCODE_L_HELP}',
|
||||||
|
o: '{LA_BBCODE_O_HELP}',
|
||||||
|
p: '{LA_BBCODE_P_HELP}',
|
||||||
|
w: '{LA_BBCODE_W_HELP}',
|
||||||
|
s: '{LA_BBCODE_S_HELP}',
|
||||||
|
f: '{LA_BBCODE_F_HELP}',
|
||||||
|
e: '{LA_BBCODE_E_HELP}',
|
||||||
|
d: '{LA_BBCODE_D_HELP}',
|
||||||
|
t: '{LA_BBCODE_T_HELP}',
|
||||||
|
tip: '{L_STYLES_TIP}'
|
||||||
|
<!-- BEGIN custom_tags -->
|
||||||
|
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.BBCODE_HELPLINE}'
|
||||||
|
<!-- END custom_tags -->
|
||||||
|
}
|
||||||
|
|
||||||
|
function checkForm()
|
||||||
|
{
|
||||||
|
if (document.post.message.value.length < 2)
|
||||||
|
{
|
||||||
|
alert('{LA_EMPTY_MESSAGE}');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// document.post.post.disabled = true;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
|
<script language="javascript" type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
<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')" />
|
||||||
|
<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')" />
|
||||||
|
<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')" />
|
||||||
|
<!-- IF S_BBCODE_QUOTE -->
|
||||||
|
<input type="button" class="btnbbcode" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" onmouseout="helpline('tip')" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<input type="button" class="btnbbcode" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" onmouseout="helpline('tip')" />
|
||||||
|
<input type="button" class="btnbbcode" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" onmouseout="helpline('tip')" />
|
||||||
|
<input type="button" class="btnbbcode" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" onmouseout="helpline('tip')" />
|
||||||
|
<input type="button" class="btnbbcode" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />
|
||||||
|
<!-- IF S_BBCODE_IMG -->
|
||||||
|
<input type="button" class="btnbbcode" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" onmouseout="helpline('tip')" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_LINKS_ALLOWED -->
|
||||||
|
<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')" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_BBCODE_FLASH -->
|
||||||
|
<input type="button" class="btnbbcode" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" onmouseover="helpline('d')" onmouseout="helpline('tip')" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<span class="genmed" style="white-space: 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')">
|
||||||
|
<option value="7">{L_FONT_TINY}</option>
|
||||||
|
<option value="9">{L_FONT_SMALL}</option>
|
||||||
|
<option value="12" selected="selected">{L_FONT_NORMAL}</option>
|
||||||
|
<option value="18">{L_FONT_LARGE}</option>
|
||||||
|
<option value="24">{L_FONT_HUGE}</option>
|
||||||
|
</select></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<!-- IF .custom_tags -->
|
||||||
|
<tr valign="middle" align="left">
|
||||||
|
<td colspan="2">
|
||||||
|
<!-- BEGIN custom_tags -->
|
||||||
|
<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 --> />
|
||||||
|
<!-- END custom_tags -->
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<tr>
|
||||||
|
<td><input type="text" name="helpbox" style="width:100%" maxlength="100" class="helpline" value="{L_STYLES_TIP}" /></td>
|
||||||
|
<!-- IF not $S_SIGNATURE and not S_EDIT_DRAFT -->
|
||||||
|
<td class="genmed" align="center">{L_FONT_COLOR}</td>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</tr>
|
@ -60,40 +60,33 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="row1" width="22%"><b class="genmed">{L_MESSAGE}: </b><br /><span class="gensmall">{L_EDIT_DRAFT_EXPLAIN}</span></td>
|
<td class="row1" width="22%"><b class="genmed">{L_MESSAGE}: </b><br /><span class="gensmall">{L_EDIT_DRAFT_EXPLAIN}</span></td>
|
||||||
<td class="row2">
|
<td class="row2">
|
||||||
|
<script language="javascript" type="text/javascript">
|
||||||
|
<!--
|
||||||
|
|
||||||
|
var form_name = 'ucp';
|
||||||
|
var text_name = 'message';
|
||||||
|
//-->
|
||||||
|
</script>
|
||||||
<table cellspacing="0" cellpadding="2" border="0">
|
<table cellspacing="0" cellpadding="2" border="0">
|
||||||
<tr align="center" valign="middle">
|
<!-- INCLUDE posting_buttons.html -->
|
||||||
<td><input class="btnbbcode" type="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" onmouseover="helpline('b')" /></td>
|
<tr>
|
||||||
<td><input class="btnbbcode" type="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" onmouseover="helpline('i')" /></td>
|
<td colspan="9"><textarea class="post" name="message" rows="10" cols="70" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{DRAFT_MESSAGE}</textarea></td>
|
||||||
<td><input class="btnbbcode" type="button" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" onmouseover="helpline('u')" /></td>
|
|
||||||
<td><input class="btnbbcode" type="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" /></td>
|
|
||||||
<td><input class="btnbbcode" type="button" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" /></td>
|
|
||||||
<td><input class="btnbbcode" type="button" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" /></td>
|
|
||||||
<td><input class="btnbbcode" type="button" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" /></td>
|
|
||||||
<td><input class="btnbbcode" type="button" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" /></td>
|
|
||||||
<td><input class="btnbbcode" type="button" accesskey="w" name="addbbcode18" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(18)" onmouseover="helpline('w')" /></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="9">
|
<td colspan="9">
|
||||||
<table width="100%" cellspacing="0" cellpadding="0" border="0">
|
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td><span class="genmed"> {L_FONT_SIZE}:</span> <select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" onmouseover="helpline('f')">
|
<td align="left">
|
||||||
<option value="7">{L_FONT_TINY}</option>
|
<script type="text/javascript">
|
||||||
<option value="9">{L_FONT_SMALL}</option>
|
<!--
|
||||||
<option value="12" selected="selected">{L_FONT_NORMAL}</option>
|
colorPalette('h', 6, 5)
|
||||||
<option value="18">{L_FONT_LARGE}</option>
|
//-->
|
||||||
<option value="24">{L_FONT_HUGE}</option>
|
</script>
|
||||||
</select></td>
|
</td>
|
||||||
<td class="gensmall" nowrap="nowrap" align="right"><a href="#" onclick="bbstyle(-1); return false;" onmouseover="helpline('a')">{L_CLOSE_TAGS}</a></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td colspan="9"><input class="helpline" type="text" name="helpbox" size="45" maxlength="100" value="{L_STYLES_TIP}" /></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="9"><textarea class="post" name="message" rows="10" cols="76" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{DRAFT_MESSAGE}</textarea></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -1,46 +1,13 @@
|
|||||||
<!-- INCLUDE ucp_header.html -->
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
<script language="javascript" type="text/javascript">
|
<!-- DEFINE $S_SIGNATURE = 1 -->
|
||||||
<!--
|
|
||||||
|
|
||||||
var form_name = 'ucp';
|
|
||||||
var text_name = 'signature';
|
|
||||||
|
|
||||||
// Define the bbCode tags
|
|
||||||
bbcode = new Array();
|
|
||||||
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 -->);
|
|
||||||
imageTag = false;
|
|
||||||
|
|
||||||
// Helpline messages
|
|
||||||
var help_line = {
|
|
||||||
b: '{LA_BBCODE_B_HELP}',
|
|
||||||
i: '{LA_BBCODE_I_HELP}',
|
|
||||||
u: '{LA_BBCODE_U_HELP}',
|
|
||||||
q: '{LA_BBCODE_Q_HELP}',
|
|
||||||
c: '{LA_BBCODE_C_HELP}',
|
|
||||||
l: '{LA_BBCODE_L_HELP}',
|
|
||||||
o: '{LA_BBCODE_O_HELP}',
|
|
||||||
p: '{LA_BBCODE_P_HELP}',
|
|
||||||
w: '{LA_BBCODE_W_HELP}',
|
|
||||||
s: '{LA_BBCODE_S_HELP}',
|
|
||||||
f: '{LA_BBCODE_F_HELP}',
|
|
||||||
e: '{LA_BBCODE_E_HELP}',
|
|
||||||
d: '{LA_BBCODE_D_HELP}',
|
|
||||||
t: '{LA_BBCODE_T_HELP}',
|
|
||||||
tip: '{L_STYLES_TIP}'
|
|
||||||
<!-- BEGIN custom_tags -->
|
|
||||||
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.BBCODE_HELPLINE}'
|
|
||||||
<!-- END custom_tags -->
|
|
||||||
}
|
|
||||||
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<script language="javascript" type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
|
|
||||||
|
|
||||||
<table class="tablebg" width="100%" cellspacing="1">
|
<table class="tablebg" width="100%" cellspacing="1">
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="2">{L_TITLE}</th>
|
<th colspan="2">{L_TITLE}</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">{L_SIGNATURE_EXPLAIN}</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
<!-- IF ERROR -->
|
<!-- IF ERROR -->
|
||||||
<tr>
|
<tr>
|
||||||
@ -49,62 +16,28 @@ var help_line = {
|
|||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row1" width="20%"><b class="genmed">{L_SIGNATURE}: </b><br /><span class="gensmall">{L_SIGNATURE_EXPLAIN}</span></td>
|
<td colspan="2" class="row2">
|
||||||
<td class="row2">
|
<script language="javascript" type="text/javascript">
|
||||||
|
<!--
|
||||||
|
var form_name = 'ucp';
|
||||||
|
var text_name = 'signature';
|
||||||
|
-->
|
||||||
|
</script>
|
||||||
|
|
||||||
<table cellspacing="0" cellpadding="2" border="0">
|
<table cellspacing="0" cellpadding="2" border="0">
|
||||||
<tr valign="middle" align="left">
|
<!-- INCLUDE posting_buttons.html -->
|
||||||
<td colspan="2">
|
|
||||||
<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')" />
|
|
||||||
<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')" />
|
|
||||||
<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')" />
|
|
||||||
<!-- IF S_BBCODE_QUOTE -->
|
|
||||||
<input type="button" class="btnbbcode" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" onmouseout="helpline('tip')" />
|
|
||||||
<!-- ENDIF -->
|
|
||||||
<input type="button" class="btnbbcode" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" onmouseout="helpline('tip')" />
|
|
||||||
<input type="button" class="btnbbcode" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" onmouseout="helpline('tip')" />
|
|
||||||
<input type="button" class="btnbbcode" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" onmouseout="helpline('tip')" />
|
|
||||||
<input type="button" class="btnbbcode" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />
|
|
||||||
<!-- IF S_BBCODE_IMG -->
|
|
||||||
<input type="button" class="btnbbcode" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" onmouseout="helpline('tip')" />
|
|
||||||
<!-- ENDIF -->
|
|
||||||
<!-- IF S_LINKS_ALLOWED -->
|
|
||||||
<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')" />
|
|
||||||
<!-- ENDIF -->
|
|
||||||
<!-- IF S_BBCODE_FLASH -->
|
|
||||||
<input type="button" class="btnbbcode" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" onmouseover="helpline('d')" onmouseout="helpline('tip')" />
|
|
||||||
<!-- ENDIF -->
|
|
||||||
<span class="genmed" style="white-space: 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')">
|
|
||||||
<option value="7">{L_FONT_TINY}</option>
|
|
||||||
<option value="9">{L_FONT_SMALL}</option>
|
|
||||||
<option value="12" selected="selected">{L_FONT_NORMAL}</option>
|
|
||||||
<option value="18">{L_FONT_LARGE}</option>
|
|
||||||
<option value="24">{L_FONT_HUGE}</option>
|
|
||||||
</select></span>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<!-- IF .custom_tags -->
|
|
||||||
<tr valign="middle" align="left">
|
|
||||||
<td colspan="2">
|
|
||||||
<!-- BEGIN custom_tags -->
|
|
||||||
<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}')"<!-- ENDIF --> />
|
|
||||||
<!-- END custom_tags -->
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<!-- ENDIF -->
|
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="9"><input type="text" name="helpbox" style="width:100%" maxlength="100" class="helpline" value="{L_STYLES_TIP}" /></td>
|
<td><textarea class="post" name="signature" rows="10" cols="76" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{SIGNATURE}</textarea></td>
|
||||||
</tr>
|
<td></td>
|
||||||
<tr>
|
|
||||||
<td colspan="9"><textarea class="post" name="signature" rows="10" cols="80" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{SIGNATURE}</textarea></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="9">
|
<td colspan="9">
|
||||||
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
<table cellspacing="0" cellpadding="0" border="0" width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="black" align="center">
|
<td align="left">
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
<!--
|
<!--
|
||||||
colorPalette('h', 18, 5)
|
colorPalette('h', 6, 5)
|
||||||
//-->
|
//-->
|
||||||
</script>
|
</script>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user