Verzeichnisstruktur phpBB-3.3.15


Veröffentlicht
28.08.2024

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

posting_buttons.html

Zuletzt modifiziert: 02.04.2025, 15:02 - Dateigröße: 5.30 KiB


001   
002  <script>
003      var form_name = 'postform';
004      var text_name = <!-- IF $SIG_EDIT -->'signature'<!-- ELSE -->'message'<!-- ENDIF -->;
005      var load_draft = false;
006      var upload = false;
007   
008      // Define the bbCode tags
009      var bbcode = new Array();
010      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 -->);
011      var imageTag = false;
012   
013      function change_palette()
014      {
015          phpbb.toggleDisplay('colour_palette');
016          e = document.getElementById('colour_palette');
017   
018          if (e.style.display == 'block')
019          {
020              document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
021          }
022          else
023          {
024              document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
025          }
026      }
027  </script>
028  <!-- INCLUDEJS {T_ASSETS_PATH}/javascript/editor.js -->
029   
030  <!-- IF S_BBCODE_ALLOWED -->
031  <div id="colour_palette" style="display: none;">
032      <dl style="clear: left;">
033          <dt><label>{L_FONT_COLOR}{L_COLON}</label></dt>
034          <dd id="color_palette_placeholder" class="color_palette_placeholder" data-color-palette="h" data-height="12" data-width="15" data-bbcode="true"></dd>
035      </dl>
036  </div>
037   
038  <!-- EVENT posting_editor_buttons_before -->
039  <div id="format-buttons" class="format-buttons">
040      <button type="button" class="button button-icon-only bbcode-b" accesskey="b" name="addbbcode0" value=" B " onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}">
041          <i class="icon fa-bold fa-fw" aria-hidden="true"></i>
042      </button>
043      <button type="button" class="button button-icon-only bbcode-i" accesskey="i" name="addbbcode2" value=" i " onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}">
044          <i class="icon fa-italic fa-fw" aria-hidden="true"></i>
045      </button>
046      <button type="button" class="button button-icon-only bbcode-u" accesskey="u" name="addbbcode4" value=" u " onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}">
047          <i class="icon fa-underline fa-fw" aria-hidden="true"></i>
048      </button>
049      <!-- IF S_BBCODE_QUOTE -->
050      <button type="button" class="button button-icon-only bbcode-quote" accesskey="q" name="addbbcode6" value="Quote" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}">
051          <i class="icon fa-quote-left fa-fw" aria-hidden="true"></i>
052      </button>
053      <!-- ENDIF -->
054      <button type="button" class="button button-icon-only bbcode-code" accesskey="c" name="addbbcode8" value="Code" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}">
055          <i class="icon fa-code fa-fw" aria-hidden="true"></i>
056      </button>
057      <button type="button" class="button button-icon-only bbcode-list" accesskey="l" name="addbbcode10" value="List" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}">
058          <i class="icon fa-list fa-fw" aria-hidden="true"></i>
059      </button>
060      <button type="button" class="button button-icon-only bbcode-list-" accesskey="o" name="addbbcode12" value="List=" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}">
061          <i class="icon fa-list-ol fa-fw" aria-hidden="true"></i>
062      </button>
063      <button type="button" class="button button-icon-only bbcode-asterisk" accesskey="y" name="addlistitem" value="[*]" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}">
064          <i class="icon fa-asterisk fa-fw" aria-hidden="true"></i>
065      </button>
066      <!-- IF S_BBCODE_IMG -->
067      <button type="button" class="button button-icon-only bbcode-img" accesskey="p" name="addbbcode14" value="Img" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}">
068          <i class="icon fa-image fa-fw" aria-hidden="true"></i>
069      </button>
070      <!-- ENDIF -->
071      <!-- IF S_LINKS_ALLOWED -->
072      <button type="button" class="button button-icon-only bbcode-url" accesskey="w" name="addbbcode16" value="URL" onclick="bbstyle(16)" title="{L_BBCODE_W_HELP}">
073          <i class="icon fa-link fa-fw" aria-hidden="true"></i>
074      </button>
075      <!-- ENDIF -->
076      <!-- IF S_BBCODE_FLASH -->
077      <button type="button" class="button button-icon-only bbcode-flash" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}">
078          <i class="icon fa-flash fa-fw" aria-hidden="true"></i>
079      </button>
080      <!-- ENDIF -->
081      <button type="button" class="button button-icon-only bbcode-color" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}">
082          <i class="icon fa-tint fa-fw" aria-hidden="true"></i>
083      </button>
084      <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}">
085          <option value="50">{L_FONT_TINY}</option>
086          <option value="85">{L_FONT_SMALL}</option>
087          <option value="100" selected="selected">{L_FONT_NORMAL}</option>
088          <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
089              <option value="150">{L_FONT_LARGE}</option>
090              <!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
091                  <option value="200">{L_FONT_HUGE}</option>
092              <!-- ENDIF -->
093          <!-- ENDIF -->
094      </select>
095   
096      <!-- EVENT posting_editor_buttons_custom_tags_before -->
097   
098      <!-- BEGIN custom_tags -->
099      <button type="button" class="button button-secondary 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          {custom_tags.BBCODE_TAG}
101      </button>
102      <!-- END custom_tags -->
103  </div>
104  <!-- EVENT posting_editor_buttons_after -->
105  <!-- ENDIF -->
106