adm/style/acp_users_signature.html
changeset 0 ceef6d64c21d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/adm/style/acp_users_signature.html	Wed Mar 07 16:41:10 2012 +0400
     1.3 @@ -0,0 +1,116 @@
     1.4 +<script type="text/javascript">
     1.5 +// <![CDATA[
     1.6 +
     1.7 +	var form_name = 'user_signature';
     1.8 +	var text_name = 'signature';
     1.9 +
    1.10 +	// Define the bbCode tags
    1.11 +	var bbcode = new Array();
    1.12 +	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 -->);
    1.13 +	var imageTag = false;
    1.14 +
    1.15 +	// Helpline messages
    1.16 +	var help_line = {
    1.17 +		b: '{LA_BBCODE_B_HELP}',
    1.18 +		i: '{LA_BBCODE_I_HELP}',
    1.19 +		u: '{LA_BBCODE_U_HELP}',
    1.20 +		q: '{LA_BBCODE_Q_HELP}',
    1.21 +		c: '{LA_BBCODE_C_HELP}',
    1.22 +		l: '{LA_BBCODE_L_HELP}',
    1.23 +		o: '{LA_BBCODE_O_HELP}',
    1.24 +		p: '{LA_BBCODE_P_HELP}',
    1.25 +		w: '{LA_BBCODE_W_HELP}',
    1.26 +		s: '{LA_BBCODE_S_HELP}',
    1.27 +		f: '{LA_BBCODE_F_HELP}',
    1.28 +		y: '{LA_BBCODE_Y_HELP}',
    1.29 +		d: '{LA_BBCODE_D_HELP}',
    1.30 +		tip: '{L_STYLES_TIP}'
    1.31 +		<!-- BEGIN custom_tags -->
    1.32 +			,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
    1.33 +		<!-- END custom_tags -->
    1.34 +	}
    1.35 +
    1.36 +// ]]>
    1.37 +</script>
    1.38 +<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
    1.39 +
    1.40 +<form id="user_signature" method="post" action="{U_ACTION}">
    1.41 +
    1.42 +	<!-- IF SIGNATURE_PREVIEW -->
    1.43 +		<fieldset>
    1.44 +			<legend>{L_ADMIN_SIG_PREVIEW}</legend>
    1.45 +			<p>{SIGNATURE_PREVIEW}</p>
    1.46 +		</fieldset>
    1.47 +	<!-- ENDIF -->
    1.48 +
    1.49 +	<fieldset>
    1.50 +		<legend>{L_SIGNATURE}</legend>
    1.51 +		<p>{L_SIGNATURE_EXPLAIN}</p>
    1.52 +
    1.53 +		<div id="format-buttons">
    1.54 +			<input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px;" onclick="bbstyle(0)" onmouseover="helpline('b')" onmouseout="helpline('tip')" />
    1.55 +			<input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px;" onclick="bbstyle(2)" onmouseover="helpline('i')" onmouseout="helpline('tip')" />
    1.56 +			<input type="button" class="button2" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px;" onclick="bbstyle(4)" onmouseover="helpline('u')" onmouseout="helpline('tip')" />
    1.57 +			<input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" onmouseout="helpline('tip')" />
    1.58 +			<input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" onmouseout="helpline('tip')" />
    1.59 +			<input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" onmouseout="helpline('tip')" />
    1.60 +			<input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" onmouseout="helpline('tip')" />
    1.61 +			<input type="button" class="button2" accesskey="y" name="addlistitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('y')" onmouseout="helpline('tip')" />
    1.62 +			<!-- IF S_BBCODE_IMG -->
    1.63 +				<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" onmouseout="helpline('tip')" />
    1.64 +			<!-- ENDIF -->
    1.65 +			<!-- IF S_LINKS_ALLOWED -->
    1.66 +				<input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" onmouseover="helpline('w')" onmouseout="helpline('tip')" />
    1.67 +			<!-- ENDIF -->
    1.68 +			<!-- IF S_BBCODE_FLASH -->
    1.69 +				<input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" onmouseover="helpline('d')" onmouseout="helpline('tip')" />
    1.70 +			<!-- ENDIF -->
    1.71 +
    1.72 +			{L_FONT_SIZE}: <select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_FONT_SIZE}" onmouseover="helpline('f')" onmouseout="helpline('tip')">
    1.73 +				<option value="50">{L_FONT_TINY}</option>
    1.74 +				<option value="85">{L_FONT_SMALL}</option>
    1.75 +				<option value="100" selected="selected">{L_FONT_NORMAL}</option>
    1.76 +				<option value="150">{L_FONT_LARGE}</option>
    1.77 +				<option value="200">{L_FONT_HUGE}</option>
    1.78 +			</select>
    1.79 +		<!-- IF .custom_tags -->
    1.80 +			<br /><br />
    1.81 +			<!-- BEGIN custom_tags -->
    1.82 +				<input type="button" class="button2" 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 --> />
    1.83 +			<!-- END custom_tags -->
    1.84 +		<!-- ENDIF -->
    1.85 +
    1.86 +		</div>
    1.87 +
    1.88 +		<p><input type="text" class="text full" style="border: 0; background: none;" name="helpbox" value="{L_STYLES_TIP}" /></p>
    1.89 +
    1.90 +		<dl>
    1.91 +			<dt style="width: 90px;">
    1.92 +				<script type="text/javascript">
    1.93 +				// <![CDATA[
    1.94 +					colorPalette('v', 12, 10);
    1.95 +				// ]]>
    1.96 +				</script>
    1.97 +			</dt>
    1.98 +			<dd style="margin-{S_CONTENT_FLOW_BEGIN}: 90px;"><textarea name="signature" rows="10" cols="60" style="width: 95%;" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();">{SIGNATURE}</textarea></dd>
    1.99 +			<dd style="margin-{S_CONTENT_FLOW_BEGIN}: 90px; margin-top: 5px;">
   1.100 +			<!-- IF S_BBCODE_ALLOWED -->
   1.101 +				<label><input type="checkbox" class="radio" name="disable_bbcode"{S_BBCODE_CHECKED} /> {L_DISABLE_BBCODE}</label>
   1.102 +			<!-- ENDIF -->
   1.103 +			<!-- IF S_SMILIES_ALLOWED -->
   1.104 +				<label><input type="checkbox" class="radio" name="disable_smilies"{S_SMILIES_CHECKED} /> {L_DISABLE_SMILIES}</label>
   1.105 +			<!-- ENDIF -->
   1.106 +			<!-- IF S_LINKS_ALLOWED -->
   1.107 +				<label><input type="checkbox" class="radio" name="disable_magic_url"{S_MAGIC_URL_CHECKED} /> {L_DISABLE_MAGIC_URL}</label>
   1.108 +			<!-- ENDIF -->
   1.109 +			</dd>
   1.110 +			<dd style="margin-{S_CONTENT_FLOW_BEGIN}: 90px; margin-top: 10px;"><strong>{L_OPTIONS}: </strong>{BBCODE_STATUS} :: {IMG_STATUS} :: {FLASH_STATUS} :: {URL_STATUS} :: {SMILIES_STATUS}</dd>
   1.111 +		</dl>
   1.112 +	</fieldset>
   1.113 +
   1.114 +	<fieldset class="submit-buttons">
   1.115 +		<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />&nbsp;
   1.116 +		<input class="button2" type="submit" name="preview" value="{L_PREVIEW}" />
   1.117 +		{S_FORM_TOKEN}
   1.118 +	</fieldset>
   1.119 +</form>
   1.120 \ No newline at end of file