[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

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

   1  
   2  <script type="text/javascript">
   3  // <![CDATA[
   4      var form_name = 'postform';
   5      var text_name = <!-- IF $SIG_EDIT -->'signature'<!-- ELSE -->'message'<!-- ENDIF -->;
   6      var load_draft = false;
   7      var upload = false;
   8  
   9      // Define the bbCode tags
  10      var bbcode = new Array();
  11      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 -->);
  12      var imageTag = false;
  13  
  14      // Helpline messages
  15      var help_line = {
  16          b: '{LA_BBCODE_B_HELP}',
  17          i: '{LA_BBCODE_I_HELP}',
  18          u: '{LA_BBCODE_U_HELP}',
  19          q: '{LA_BBCODE_Q_HELP}',
  20          c: '{LA_BBCODE_C_HELP}',
  21          l: '{LA_BBCODE_L_HELP}',
  22          o: '{LA_BBCODE_O_HELP}',
  23          p: '{LA_BBCODE_P_HELP}',
  24          w: '{LA_BBCODE_W_HELP}',
  25          a: '{LA_BBCODE_A_HELP}',
  26          s: '{LA_BBCODE_S_HELP}',
  27          f: '{LA_BBCODE_F_HELP}',
  28          y: '{LA_BBCODE_Y_HELP}',
  29          d: '{LA_BBCODE_D_HELP}'
  30          <!-- BEGIN custom_tags -->
  31              ,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
  32          <!-- END custom_tags -->
  33      }
  34  
  35  	function change_palette()
  36      {
  37          phpbb.toggleDisplay('colour_palette');
  38          e = document.getElementById('colour_palette');
  39  
  40          if (e.style.display == 'block')
  41          {
  42              document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
  43          }
  44          else
  45          {
  46              document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
  47          }
  48      }
  49  
  50  // ]]>
  51  </script>
  52  <!-- INCLUDEJS {T_ASSETS_PATH}/javascript/editor.js -->
  53  
  54  <!-- IF S_BBCODE_ALLOWED -->
  55  <div id="colour_palette" style="display: none;">
  56      <dl style="clear: left;">
  57          <dt><label>{L_FONT_COLOR}{L_COLON}</label></dt>
  58          <dd id="color_palette_placeholder" data-orientation="h" data-height="12" data-width="15" data-bbcode="true"></dd>
  59      </dl>
  60  </div>
  61  
  62  <!-- EVENT posting_editor_buttons_before -->
  63  <div id="format-buttons">
  64      <input type="button" class="button2 bbcode-b" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" />
  65      <input type="button" class="button2 bbcode-i" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" />
  66      <input type="button" class="button2 bbcode-u" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}" />
  67      <!-- IF S_BBCODE_QUOTE -->
  68          <input type="button" class="button2 bbcode-quote" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" />
  69      <!-- ENDIF -->
  70      <input type="button" class="button2 bbcode-code" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" />
  71      <input type="button" class="button2 bbcode-list" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" />
  72      <input type="button" class="button2 bbcode-list-" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" />
  73      <input type="button" class="button2 bbcode-asterisk" accesskey="y" name="addlistitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
  74      <!-- IF S_BBCODE_IMG -->
  75          <input type="button" class="button2 bbcode-img" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}" />
  76      <!-- ENDIF -->
  77      <!-- IF S_LINKS_ALLOWED -->
  78          <input type="button" class="button2 bbcode-url" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" title="{L_BBCODE_W_HELP}" />
  79      <!-- ENDIF -->
  80      <!-- IF S_BBCODE_FLASH -->
  81          <input type="button" class="button2 bbcode-flash" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}" />
  82      <!-- ENDIF -->
  83      <select name="addbbcode20" class="bbcode-size" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
  84          <option value="50">{L_FONT_TINY}</option>
  85          <option value="85">{L_FONT_SMALL}</option>
  86          <option value="100" selected="selected">{L_FONT_NORMAL}</option>
  87          <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
  88              <option value="150">{L_FONT_LARGE}</option>
  89              <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
  90                  <option value="200">{L_FONT_HUGE}</option>
  91              <!-- ENDIF -->
  92          <!-- ENDIF -->
  93      </select>
  94      <input type="button" class="button2 bbcode-color" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
  95  
  96      <!-- EVENT posting_editor_buttons_custom_tags_before -->
  97  
  98      <!-- BEGIN custom_tags -->
  99          <input type="button" class="button2 bbcode-{custom_tags.BBCODE_TAG_CLEAN}" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
 100      <!-- END custom_tags -->
 101  </div>
 102  <!-- EVENT posting_editor_buttons_after -->
 103  <!-- ENDIF -->


Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1