[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/styles/subsilver2/template/ -> posting_buttons.html (source)

   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              e: '{LA_BBCODE_LISTITEM_HELP}',
  20              o: '{LA_BBCODE_O_HELP}',
  21              p: '{LA_BBCODE_P_HELP}',
  22              w: '{LA_BBCODE_W_HELP}',
  23              a: '{LA_BBCODE_A_HELP}',
  24              s: '{LA_BBCODE_S_HELP}',
  25              f: '{LA_BBCODE_F_HELP}',
  26              y: '{LA_BBCODE_Y_HELP}',
  27              d: '{LA_BBCODE_D_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_SUPER_TEMPLATE_PATH}/editor.js"></script>
  37  
  38  <!-- IF S_BBCODE_ALLOWED -->
  39          <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')" />
  40          <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')" />
  41          <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')" />
  42          <!-- IF S_BBCODE_QUOTE -->
  43              <input type="button" class="btnbbcode" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" onmouseout="helpline('tip')" />
  44          <!-- ENDIF -->
  45          <input type="button" class="btnbbcode" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" onmouseout="helpline('tip')" />
  46          <input type="button" class="btnbbcode" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" onmouseout="helpline('tip')" />
  47          <input type="button" class="btnbbcode" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" onmouseout="helpline('tip')" />
  48          <input type="button" class="btnbbcode" accesskey="y" name="addlistitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" />                
  49          <!-- IF S_BBCODE_IMG -->
  50              <input type="button" class="btnbbcode" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" onmouseout="helpline('tip')" />
  51          <!-- ENDIF -->
  52          <!-- IF S_LINKS_ALLOWED -->
  53              <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')" />
  54          <!-- ENDIF -->
  55          <!-- IF S_BBCODE_FLASH -->
  56              <input type="button" class="btnbbcode" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" onmouseover="helpline('d')" onmouseout="helpline('tip')" />
  57          <!-- ENDIF -->
  58          <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')">
  59              <option value="50">{L_FONT_TINY}</option>
  60              <option value="85">{L_FONT_SMALL}</option>
  61              <option value="100" selected="selected">{L_FONT_NORMAL}</option>
  62              <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
  63                  <option value="150">{L_FONT_LARGE}</option>
  64                  <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
  65                      <option value="200">{L_FONT_HUGE}</option>
  66                  <!-- ENDIF -->
  67              <!-- ENDIF -->
  68          </select></span>
  69  <!-- ENDIF -->
  70      </td>
  71  </tr>
  72  <!-- IF S_BBCODE_ALLOWED and .custom_tags -->
  73      <tr valign="middle" align="{S_CONTENT_FLOW_BEGIN}">
  74          <td colspan="2">
  75          <!-- BEGIN custom_tags -->
  76              <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 --> />
  77          <!-- END custom_tags -->
  78          </td>
  79      </tr>
  80  <!-- ENDIF -->
  81  <!-- IF S_BBCODE_ALLOWED -->
  82  <tr>
  83      <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>
  84      <!-- IF not $S_SIGNATURE and not S_EDIT_DRAFT -->
  85          <td class="genmed" align="center">{L_FONT_COLOR}</td>
  86      <!-- ENDIF -->
  87  </tr>
  88  <!-- ENDIF -->


Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1