| 1 | <script type="text/javascript">
 | 
|---|
| 2 | // <![CDATA[
 | 
|---|
| 3 | 
 | 
|---|
| 4 |         var form_name = 'user_signature';
 | 
|---|
| 5 |         var text_name = 'signature';
 | 
|---|
| 6 | 
 | 
|---|
| 7 |         // Define the bbCode tags
 | 
|---|
| 8 |         var bbcode = new Array();
 | 
|---|
| 9 |         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 -->);
 | 
|---|
| 10 |         var imageTag = false;
 | 
|---|
| 11 | 
 | 
|---|
| 12 |         // Helpline messages
 | 
|---|
| 13 |         var help_line = {
 | 
|---|
| 14 |                 b: '{LA_BBCODE_B_HELP}',
 | 
|---|
| 15 |                 i: '{LA_BBCODE_I_HELP}',
 | 
|---|
| 16 |                 u: '{LA_BBCODE_U_HELP}',
 | 
|---|
| 17 |                 q: '{LA_BBCODE_Q_HELP}',
 | 
|---|
| 18 |                 c: '{LA_BBCODE_C_HELP}',
 | 
|---|
| 19 |                 l: '{LA_BBCODE_L_HELP}',
 | 
|---|
| 20 |                 o: '{LA_BBCODE_O_HELP}',
 | 
|---|
| 21 |                 p: '{LA_BBCODE_P_HELP}',
 | 
|---|
| 22 |                 w: '{LA_BBCODE_W_HELP}',
 | 
|---|
| 23 |                 s: '{LA_BBCODE_S_HELP}',
 | 
|---|
| 24 |                 f: '{LA_BBCODE_F_HELP}',
 | 
|---|
| 25 |                 e: '{LA_BBCODE_E_HELP}',
 | 
|---|
| 26 |                 d: '{LA_BBCODE_D_HELP}',
 | 
|---|
| 27 |                 t: '{LA_BBCODE_T_HELP}',
 | 
|---|
| 28 |                 tip: '{L_STYLES_TIP}'
 | 
|---|
| 29 |                 <!-- BEGIN custom_tags -->
 | 
|---|
| 30 |                         ,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
 | 
|---|
| 31 |                 <!-- END custom_tags -->
 | 
|---|
| 32 |         }
 | 
|---|
| 33 | 
 | 
|---|
| 34 | // ]]>
 | 
|---|
| 35 | </script>
 | 
|---|
| 36 | <script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
 | 
|---|
| 37 | 
 | 
|---|
| 38 | <form id="user_signature" method="post" action="{U_ACTION}">
 | 
|---|
| 39 | 
 | 
|---|
| 40 |         <!-- IF SIGNATURE_PREVIEW -->
 | 
|---|
| 41 |                 <fieldset>
 | 
|---|
| 42 |                         <legend>{L_ADMIN_SIG_PREVIEW}</legend>
 | 
|---|
| 43 |                         <p>{SIGNATURE_PREVIEW}</p>
 | 
|---|
| 44 |                 </fieldset>
 | 
|---|
| 45 |         <!-- ENDIF -->
 | 
|---|
| 46 | 
 | 
|---|
| 47 |         <fieldset>
 | 
|---|
| 48 |                 <legend>{L_SIGNATURE}</legend>
 | 
|---|
| 49 |                 <p>{L_SIGNATURE_EXPLAIN}</p>
 | 
|---|
| 50 | 
 | 
|---|
| 51 |                 <div id="format-buttons">
 | 
|---|
| 52 |                         <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')" />
 | 
|---|
| 53 |                         <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')" />
 | 
|---|
| 54 |                         <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')" />
 | 
|---|
| 55 |                         <input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" onmouseout="helpline('tip')" />
 | 
|---|
| 56 |                         <input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" onmouseout="helpline('tip')" />
 | 
|---|
| 57 |                         <input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" onmouseout="helpline('tip')" />
 | 
|---|
| 58 |                         <input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" onmouseout="helpline('tip')" />
 | 
|---|
| 59 |                         <input type="button" class="button2" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />
 | 
|---|
| 60 |                         <!-- IF S_BBCODE_IMG -->
 | 
|---|
| 61 |                                 <input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" onmouseout="helpline('tip')" />
 | 
|---|
| 62 |                         <!-- ENDIF -->
 | 
|---|
| 63 |                         <!-- IF S_LINKS_ALLOWED -->
 | 
|---|
| 64 |                                 <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')" />
 | 
|---|
| 65 |                         <!-- ENDIF -->
 | 
|---|
| 66 |                         <!-- IF S_BBCODE_FLASH -->
 | 
|---|
| 67 |                                 <input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" onmouseover="helpline('d')" onmouseout="helpline('tip')" />
 | 
|---|
| 68 |                         <!-- ENDIF -->
 | 
|---|
| 69 | 
 | 
|---|
| 70 |                         {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')">
 | 
|---|
| 71 |                                 <option value="50">{L_FONT_TINY}</option>
 | 
|---|
| 72 |                                 <option value="85">{L_FONT_SMALL}</option>
 | 
|---|
| 73 |                                 <option value="100" selected="selected">{L_FONT_NORMAL}</option>
 | 
|---|
| 74 |                                 <option value="150">{L_FONT_LARGE}</option>
 | 
|---|
| 75 |                                 <option value="200">{L_FONT_HUGE}</option>
 | 
|---|
| 76 |                         </select>
 | 
|---|
| 77 |                 <!-- IF .custom_tags -->
 | 
|---|
| 78 |                         <br /><br />
 | 
|---|
| 79 |                         <!-- BEGIN custom_tags -->
 | 
|---|
| 80 |                                 <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 --> />
 | 
|---|
| 81 |                         <!-- END custom_tags -->
 | 
|---|
| 82 |                 <!-- ENDIF -->
 | 
|---|
| 83 | 
 | 
|---|
| 84 |                 </div>
 | 
|---|
| 85 | 
 | 
|---|
| 86 |                 <p><input type="text" class="text full" style="border: 0; background: none;" name="helpbox" value="{L_STYLES_TIP}" /></p>
 | 
|---|
| 87 | 
 | 
|---|
| 88 |                 <dl>
 | 
|---|
| 89 |                         <dt style="width: 90px;">
 | 
|---|
| 90 |                                 <script type="text/javascript">
 | 
|---|
| 91 |                                 // <![CDATA[
 | 
|---|
| 92 |                                         colorPalette('v', 12, 10);
 | 
|---|
| 93 |                                 // ]]>
 | 
|---|
| 94 |                                 </script>
 | 
|---|
| 95 |                         </dt>
 | 
|---|
| 96 |                         <dd style="margin-left: 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>
 | 
|---|
| 97 |                         <dd style="margin-left: 90px; margin-top: 5px;">
 | 
|---|
| 98 |                         <!-- IF S_BBCODE_ALLOWED -->
 | 
|---|
| 99 |                                 <label><input type="checkbox" class="radio" name="disable_bbcode"{S_BBCODE_CHECKED} /> {L_DISABLE_BBCODE}</label>
 | 
|---|
| 100 |                         <!-- ENDIF -->
 | 
|---|
| 101 |                         <!-- IF S_SMILIES_ALLOWED -->
 | 
|---|
| 102 |                                 <label><input type="checkbox" class="radio" name="disable_smilies"{S_SMILIES_CHECKED} /> {L_DISABLE_SMILIES}</label>
 | 
|---|
| 103 |                         <!-- ENDIF -->
 | 
|---|
| 104 |                         <!-- IF S_LINKS_ALLOWED -->
 | 
|---|
| 105 |                                 <label><input type="checkbox" class="radio" name="disable_magic_url"{S_MAGIC_URL_CHECKED} /> {L_DISABLE_MAGIC_URL}</label>
 | 
|---|
| 106 |                         <!-- ENDIF -->
 | 
|---|
| 107 |                         </dd>
 | 
|---|
| 108 |                         <dd style="margin-left: 90px; margin-top: 10px;"><strong>{L_OPTIONS}: </strong>{BBCODE_STATUS} :: {IMG_STATUS} :: {FLASH_STATUS} :: {URL_STATUS} :: {SMILIES_STATUS}</dd>
 | 
|---|
| 109 |                 </dl>
 | 
|---|
| 110 |         </fieldset>
 | 
|---|
| 111 | 
 | 
|---|
| 112 |         <fieldset class="submit-buttons">
 | 
|---|
| 113 |                 <input class="button1" type="submit" name="update" value="{L_SUBMIT}" /> 
 | 
|---|
| 114 |                 <input class="button2" type="submit" name="preview" value="{L_PREVIEW}" />
 | 
|---|
| 115 |                 {S_FORM_TOKEN}
 | 
|---|
| 116 |         </fieldset>
 | 
|---|
| 117 | </form>
 | 
|---|